/* =============================================================
   NovaWebDesign — pagina-ghid /servicii-web-design și /en/web-design-services
   Pornește de la stilul paginii /creare-site-cluj (css/local.css: hero, carduri de pachet, pași).
   Aici: cuprinsul lipit sus pe PC, secțiunile cu ancore, întrebările frecvente ca acordeon
   (<details>, fără JavaScript) și contactul. Fără 3D și fără animații grele.
   ============================================================= */
.gh-hero { padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.gh-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 1rem; padding: 0; font-size: 0.85rem; color: var(--text-muted); }
.gh-crumbs li + li::before { content: '/'; margin-right: 0.35rem; color: var(--text-muted); }
.gh-crumbs a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.25); }
.gh-crumbs a:hover { color: var(--text-primary); }
.gh-def {
  max-width: 44rem;
  margin: 0 0 1.75rem;
  padding: 0.15rem 0 0.15rem 1.1rem;
  border-left: 3px solid var(--accent-primary);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  color: var(--text-secondary);
}
.gh-def strong { color: var(--text-primary); font-weight: 650; }
.gh-meta { margin: 1.25rem 0 0; font-size: 0.875rem; color: var(--text-muted); }
.gh-meta a { color: var(--accent-secondary); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Așezarea: cuprins + conținut ---------- */
.gh-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: clamp(3rem, 6vw, 5rem); }
.gh-toc {
  margin: 0 0 0.5rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(var(--nv-card-rgb), 0.72);
}
.gh-toc__t { margin: 0 0 0.6rem; font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-secondary); }
.gh-toc ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; counter-reset: gh; }
.gh-toc li { counter-increment: gh; }
.gh-toc a {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  min-height: 40px;
  padding: 0.45rem 0;
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.gh-toc a::before { content: counter(gh, decimal-leading-zero); flex: none; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; color: var(--text-muted); }
.gh-toc a:hover, .gh-toc a[aria-current] { color: var(--text-primary); }
.gh-toc a[aria-current]::before { color: var(--accent-secondary); }

/* ---------- Secțiunile ---------- */
.gh-sec { padding: clamp(2.5rem, 5vw, 3.75rem) 0 0; scroll-margin-top: 0; }   /* html are deja scroll-padding-top (antetul fix); secțiunea are spațiu sus */
.gh-sec__head { margin-bottom: 1.5rem; }
.gh-sec__head .section-label { margin-bottom: 0.5rem; }
.gh-sec__t { margin: 0 0 0.75rem; font-family: var(--font-display); font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.18; letter-spacing: -0.02em; color: var(--text-primary); }
.gh-sec__intro, .gh-p { max-width: 46rem; margin: 0; color: var(--text-secondary); line-height: 1.7; }
.gh-p + .gh-p { margin-top: 1rem; }

.gh-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.gh-card { padding: 1.35rem 1.4rem; border-radius: var(--radius-lg); border: 1px solid var(--border-subtle); background: var(--bg-card); }
.gh-card h3 { margin: 0 0 0.45rem; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; line-height: 1.3; color: var(--text-primary); }
.gh-card p { margin: 0; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.65; }

.gh-offer {
  margin: 0 0 1.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(var(--nv-acc-rgb), 0.45);
  background: radial-gradient(120% 140% at 0% 0%, rgba(var(--nv-acc-rgb), 0.16), transparent 60%), rgba(var(--nv-card-rgb), 0.8);
  line-height: 1.65;
  color: var(--text-secondary);
}
.gh-offer strong { color: var(--nv-acc-hi, var(--text-primary)); }
.gh-offer[hidden] { display: none; }

.gh-plans { display: grid; gap: 1.5rem; align-items: stretch; }
.gh-plans .lc-plan__price { font-size: clamp(1.75rem, 3.4vw, 2.3rem); }
.gh-plans--4 .lc-plan__price { font-size: clamp(1.5rem, 2.8vw, 1.9rem); }
.gh-plan__who { margin: -0.5rem 0 1.25rem; font-size: 0.9rem; line-height: 1.55; color: var(--text-secondary); }
.gh-plan__who b { color: var(--text-primary); font-weight: 600; }

.gh-notes { max-width: 46rem; margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.gh-notes li { position: relative; padding-left: 1.2rem; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.65; }
.gh-notes li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-secondary); }

.gh-steps .lc-step h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.6rem; }
.gh-when { font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; padding: 0.15rem 0.55rem; border-radius: 999px; color: var(--accent-secondary); background: rgba(var(--nv-acc2-rgb), 0.1); }

.gh-concepts .gh-card h3 a { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--text-primary); text-decoration: underline; text-decoration-color: rgba(var(--nv-acc-rgb), 0.5); text-underline-offset: 4px; }
.gh-concepts .gh-card h3 a:hover { color: var(--accent-secondary); }
.gh-concepts .gh-card h3 a svg { flex: none; color: var(--accent-secondary); }
.gh-url { margin-top: 0.6rem !important; font-size: 0.8rem !important; color: var(--text-muted) !important; overflow-wrap: anywhere; }

.gh-more { margin: 1.5rem 0 0; font-size: 0.95rem; }
.gh-more a { color: var(--accent-secondary); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Întrebări frecvente: <details> ---------- */
.gh-faq { display: grid; gap: 0.6rem; }
.gh-faq__item { border-radius: var(--radius-md); border: 1px solid var(--border-subtle); background: var(--bg-card); transition: border-color var(--transition-fast); }
.gh-faq__item[open] { border-color: rgba(var(--nv-acc-rgb), 0.4); }
.gh-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; padding: 0.8rem 1.1rem; cursor: pointer; list-style: none; border-radius: inherit; }
.gh-faq__item summary::-webkit-details-marker { display: none; }
.gh-faq__item summary:focus-visible { outline: 2px solid var(--accent-secondary); outline-offset: 2px; }
.gh-faq__item summary:hover .gh-faq__q { color: var(--accent-secondary); }
.gh-faq__q { margin: 0; font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.4; color: var(--text-primary); transition: color var(--transition-fast); }
.gh-faq__ar { flex: none; color: var(--text-muted); transition: transform var(--transition-normal); }
.gh-faq__item[open] .gh-faq__ar { transform: rotate(180deg); color: var(--accent-secondary); }
.gh-faq__a { padding: 0 1.1rem 1.05rem; }
.gh-faq__a p { margin: 0; max-width: 44rem; color: var(--text-secondary); line-height: 1.7; }

/* ---------- Contact ---------- */
.gh-contact { padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--radius-xl); border: 1px solid rgba(var(--nv-acc-rgb), 0.25); background: radial-gradient(80% 120% at 50% 0%, rgba(var(--nv-acc-rgb), 0.12), transparent 65%), rgba(var(--nv-card-rgb), 0.8); }
.gh-contact__list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.2rem; }
.gh-contact__list a { display: flex; align-items: center; gap: 0.75rem; min-height: 44px; color: var(--text-primary); overflow-wrap: anywhere; }
.gh-contact__list a:hover { color: var(--accent-secondary); }
.gh-contact__list svg { flex: none; color: var(--accent-secondary); }

@media (min-width: 640px) {
  .gh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gh-contact__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
}
@media (min-width: 700px) {
  .gh-plans--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gh-toc ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .gh-plans:not(.gh-plans--4) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .gh-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 3rem; padding-top: 1rem; }
  .gh-toc { position: sticky; top: 104px; align-self: start; max-height: calc(100vh - 124px); overflow-y: auto; margin: clamp(2.5rem, 5vw, 3.75rem) 0 0; }
  .gh-toc ol { grid-template-columns: minmax(0, 1fr); }
  .gh-steps { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  /* lângă cuprins, cele 3 pachete au ~280 px: carduri mai aerisite, fără rânduri rupte inutil */
  .gh-plans:not(.gh-plans--4) { gap: 1rem; }
  .gh-plans:not(.gh-plans--4) .lc-plan { padding: 1.4rem 1.2rem; }
  .gh-plans:not(.gh-plans--4) .lc-plan li { font-size: 0.9rem; gap: 0.5rem; }
  .gh-plans .lc-plan__deal { font-size: 0.72rem; }
}
@media (max-width: 899.98px) {
  .gh-plans .lc-plan--rec h3 { margin-top: 10px; }
}
@media (max-width: 767.98px) {
  .gh-def { padding-left: 0.85rem; }
  .gh-faq__item summary { padding: 0.75rem 0.95rem; }
  .gh-faq__a { padding: 0 0.95rem 0.95rem; }
}
@media (max-width: 399.98px) {
  .gh-toc ol { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .gh-faq__ar, .gh-faq__q, .gh-toc a { transition: none; }
}

/* =============================================================
   Paginile noi generate de teste/pagini.js (/creare-site-romania, paginile pe domenii, /despre, /cat-costa-un-site)
   folosesc aceeași așezare ca ghidul; aici: legăturile spre domenii, conceptele cu imagine, tabelul de prețuri,
   cardul cu inițiala (până la fotografia reală) și lista „Alte domenii”.
   ============================================================= */
.gh-card__a { color: var(--text-primary); text-decoration: underline; text-decoration-color: rgba(var(--nv-acc-rgb), 0.45); text-underline-offset: 4px; }
.gh-card__a:hover { color: var(--accent-secondary); }
.pg-meta span { white-space: nowrap; }
.pg-meta a { color: var(--accent-secondary); }

/* legături spre paginile pe domenii */
.pg-linkuri li { display: flex; }
.pg-link {
  position: relative; display: flex; flex-direction: column; gap: 0.25rem; width: 100%;
  padding: 1.1rem 2.6rem 1.15rem 1.25rem; border-radius: var(--radius-lg); border: 1px solid var(--border-subtle); background: var(--bg-card);
  color: var(--text-primary); transition: border-color var(--transition-fast), transform var(--transition-fast);
}
.pg-link:hover, .pg-link:focus-visible { border-color: rgba(var(--nv-acc-rgb), 0.5); transform: translateY(-2px); }
.pg-link__t { font-family: var(--font-display); font-size: 1.05rem; font-weight: 650; line-height: 1.3; }
.pg-link__d { font-size: 0.9rem; line-height: 1.5; color: var(--text-secondary); }
.pg-link__ar { position: absolute; right: 1.1rem; top: 1.1rem; color: var(--accent-secondary); }

/* concepte create de echipa Nova (cu imagine sau doar text) */
.pg-concepte { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.pg-concept { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border-subtle); background: var(--bg-card); }
.pg-concept__img { background: rgba(var(--nv-card-rgb), 0.6); border-bottom: 1px solid var(--border-subtle); }
.pg-concept__img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.pg-concept__body { padding: 1.25rem 1.35rem 1.35rem; }
.pg-concept__tag { display: inline-block; margin: 0 0 0.6rem; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; color: var(--accent-secondary); background: rgba(var(--nv-acc2-rgb), 0.1); }
.pg-concept h3 { margin: 0 0 0.45rem; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; line-height: 1.3; color: var(--text-primary); }
.pg-concept__body > p { margin: 0; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.65; }
.pg-concept__body > .pg-concept__tag { color: var(--accent-secondary); font-size: 0.75rem; }
.pg-concept__go { margin-top: 0.9rem !important; }
.pg-concept__go a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; font-weight: 600; color: var(--accent-secondary); text-decoration: underline; text-underline-offset: 4px; }
.pg-concept__go a:hover { color: var(--text-primary); }

/* tabelul de prețuri (pe telefon: un card pe rând, cu eticheta fiecărei coloane) */
.pg-tabel { margin: 0 0 0.5rem; border-radius: var(--radius-lg); border: 1px solid var(--border-subtle); background: var(--bg-card); overflow: hidden; }
.pg-tabel table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.55; }
.pg-tabel caption { padding: 0.9rem 1.1rem 0; text-align: left; font-size: 0.85rem; color: var(--text-muted); caption-side: top; }
.pg-tabel th, .pg-tabel td { padding: 0.9rem 1.1rem; text-align: left; vertical-align: top; border-top: 1px solid var(--border-subtle); color: var(--text-secondary); }
.pg-tabel thead th { border-top: 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-secondary); }
.pg-tabel tbody th { color: var(--text-primary); font-weight: 650; }
.pg-tabel td:last-child { color: var(--text-primary); font-weight: 650; white-space: nowrap; }
@media (max-width: 767.98px) {
  .pg-tabel thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .pg-tabel tr, .pg-tabel th, .pg-tabel td { display: block; }
  .pg-tabel tbody tr { border-top: 1px solid var(--border-subtle); padding: 0.4rem 0; }
  .pg-tabel tbody th, .pg-tabel td { border-top: 0; padding: 0.35rem 1.1rem; }
  .pg-tabel tbody th { padding-top: 0.75rem; font-size: 1.02rem; }
  .pg-tabel td::before { content: attr(data-label); display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
  .pg-tabel td:last-child { white-space: normal; padding-bottom: 0.75rem; }
}

/* cardul cu inițiala (locul fotografiei reale) */
.pg-autor { display: flex; align-items: center; gap: 1.1rem; margin: 0 0 1.5rem; padding: 1.1rem 1.25rem; max-width: 30rem; border-radius: var(--radius-lg); border: 1px solid rgba(var(--nv-acc-rgb), 0.3); background: radial-gradient(120% 140% at 0% 0%, rgba(var(--nv-acc-rgb), 0.14), transparent 60%), var(--bg-card); }
.pg-autor__foto { flex: none; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; border: 1px solid rgba(var(--nv-acc-rgb), 0.55); background: radial-gradient(circle at 30% 25%, rgba(var(--nv-acc-rgb), 0.35), rgba(var(--nv-card-rgb), 1) 70%); box-shadow: 0 0 0 6px rgba(var(--nv-acc-rgb), 0.07); }
.pg-autor__foto span { font-family: var(--font-display); font-size: 2.1rem; font-weight: 650; line-height: 1; color: var(--text-primary); }
.pg-autor__txt p { margin: 0; }
.pg-autor__nume { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--text-primary); }
.pg-autor__rol { font-size: 0.9rem; color: var(--text-secondary); }

/* „Alte domenii” (sub contact) */
.pg-alte { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border-subtle); }
.pg-alte__t { margin: 0 0 0.75rem; font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; color: var(--text-primary); }
.pg-alte ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pg-alte a { display: inline-flex; align-items: center; min-height: 40px; padding: 0.35rem 0.85rem; border-radius: 999px; border: 1px solid var(--border-subtle); font-size: 0.875rem; color: var(--text-secondary); transition: color var(--transition-fast), border-color var(--transition-fast); }
.pg-alte a:hover, .pg-alte a:focus-visible { color: var(--text-primary); border-color: rgba(var(--nv-acc-rgb), 0.5); }
.pg-extern { margin-top: 1.25rem; }

@media (min-width: 700px) {
  .gh-plans.gh-plans--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-concept:not(.pg-concept--text) { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .pg-concept__img { border-bottom: 0; border-right: 1px solid var(--border-subtle); }
  .pg-concept__img img { height: 100%; min-height: 240px; }
}
@media (prefers-reduced-motion: reduce) { .pg-link, .pg-alte a { transition: none; } .pg-link:hover { transform: none; } }

/* linkurile din texte și liste (de ex. „Verifică oferta curentă la pachete”) */
.gh-notes a, .gh-p a, .gh-sec__intro a, .gh-faq__a a { color: var(--accent-secondary); text-decoration: underline; text-underline-offset: 3px; }
.gh-notes a:hover, .gh-p a:hover, .gh-sec__intro a:hover, .gh-faq__a a:hover { color: var(--text-primary); }
/* pe telefon, în sezon: insigna fixă a sezonului (sub antet) nu mai acoperă firimiturile */
@media (max-width: 767.98px) {
  html[data-sezon] .gh-hero .gh-crumbs { margin-top: 2.75rem; }
}
