/* ==========================================================================
   Kit Site Complet — design system (v3: 16 teme, cate 4 pe domeniu)
   - Toate valorile vin din variabile; tema se alege cu <html data-preset="...">.
   - Culorile pot fi suprascrise din admin prin atributul style de pe <html>.
   - Fara CSS injectat din JavaScript, fara !important.
   - Aspect comun tuturor temelor: poza mare pe toata latimea in prima sectiune, cu textul peste ea,
     titluri serif, eticheta mica in majuscule, doua butoane, banda de avantaje dedesubt.
   - Fonturile sunt in /assets/fonts/ (OFL, reduse la caracterele limbii romane).
   ========================================================================== */

/* ---------- Fonturi ---------- */
@font-face { font-family: "Kit Serif"; src: url("/assets/fonts/KitSerif-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Kit Serif"; src: url("/assets/fonts/KitSerif-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Kit Brand"; src: url("/assets/fonts/Poppins-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Kit Brand"; src: url("/assets/fonts/Poppins-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }

/* ---------- Temele (culorile; generate din src/site/presets.js, verificate de test/presets.test.mjs) ---------- */
html[data-preset="modern"] {
  --bg: #0B1115;
  --surface: #151E24;
  --raised: #232E34;
  --text: #E9E3D9;
  --heading: #FFF7E9;
  --muted: #C3BEB4;
  --accent: #CBA974;
  --on-accent: #1D160D;
  --link: #E4C698;
  --field-line: #8D9590;
  --line: #303B41;
  --strip-bg: #151E24;
  --strip-text: #E9E3D9;
  --strip-muted: #C3BEB4;
  --strip-icon: #CBA974;
  --font-display: "Kit Serif", Georgia, serif;
  --display-weight: 400;
  --brand-color: var(--heading);
  color-scheme: dark;
}
html[data-preset="corporate"] {
  --bg: #F5F4EF;
  --surface: #FFFFFF;
  --raised: #E9EAE3;
  --text: #1D2D37;
  --heading: #172B38;
  --muted: #52636C;
  --accent: #254B60;
  --on-accent: #FFFFFF;
  --link: #245065;
  --field-line: #7C827D;
  --line: #E9EAE3;
  --strip-bg: #FFFFFF;
  --strip-text: #1D2D37;
  --strip-muted: #52636C;
  --strip-icon: #254B60;
  --font-display: "Kit Brand", var(--font-body);
  --display-weight: 700;
  --brand-color: var(--accent);
  color-scheme: light;
}
html[data-preset="elegant"] {
  --bg: #15110D;
  --surface: #211B15;
  --raised: #30271E;
  --text: #EDE3D3;
  --heading: #FFF1DC;
  --muted: #C4B6A1;
  --accent: #CDA773;
  --on-accent: #21170D;
  --link: #E1BF8E;
  --field-line: #A08E75;
  --line: #453A2D;
  --strip-bg: #211B15;
  --strip-text: #EDE3D3;
  --strip-muted: #C4B6A1;
  --strip-icon: #CDA773;
  --font-display: "Kit Serif", Georgia, serif;
  --display-weight: 400;
  --brand-color: var(--heading);
  color-scheme: dark;
}
html[data-preset="tehnologic"] {
  --bg: #0B1220;
  --surface: #141F30;
  --raised: #1E2C3E;
  --text: #EEF1F5;
  --heading: #F8FAFC;
  --muted: #B4C1D0;
  --accent: #9CAAF7;
  --on-accent: #13182F;
  --link: #B2C0FF;
  --field-line: #8392A6;
  --line: #1E2C3E;
  --strip-bg: #141F30;
  --strip-text: #EEF1F5;
  --strip-muted: #B4C1D0;
  --strip-icon: #9CAAF7;
  --font-display: "Kit Brand", var(--font-body);
  --display-weight: 700;
  --brand-color: var(--heading);
  color-scheme: dark;
}
html[data-preset="medical"] {
  --bg: #F4F7F3;
  --surface: #FFFFFF;
  --raised: #E5EDE6;
  --text: #253D37;
  --heading: #193E36;
  --muted: #526C63;
  --accent: #2D6657;
  --on-accent: #FFFFFF;
  --link: #285E50;
  --field-line: #73857D;
  --line: #E5EDE6;
  --strip-bg: #FFFFFF;
  --strip-text: #253D37;
  --strip-muted: #526C63;
  --strip-icon: #2D6657;
  --font-display: "Kit Serif", Georgia, serif;
  --display-weight: 400;
  --brand-color: var(--accent);
  color-scheme: light;
}
html[data-preset="stomatologie"] {
  --bg: #0A201F;
  --surface: #173230;
  --raised: #244441;
  --text: #E4EFEB;
  --heading: #F7FFFC;
  --muted: #BDD0C6;
  --accent: #B9D7C6;
  --on-accent: #10251C;
  --link: #C5E3D1;
  --field-line: #86A296;
  --line: #345752;
  --strip-bg: #173230;
  --strip-text: #E4EFEB;
  --strip-muted: #BDD0C6;
  --strip-icon: #B9D7C6;
  --font-display: "Kit Brand", var(--font-body);
  --display-weight: 500;
  --brand-color: var(--accent);
  color-scheme: dark;
}
html[data-preset="estetica"] {
  --bg: #1A111B;
  --surface: #291D2A;
  --raised: #3B2B3B;
  --text: #F0DFE8;
  --heading: #FFF1F8;
  --muted: #D0B8C9;
  --accent: #D9B0C3;
  --on-accent: #281721;
  --link: #ECC8DA;
  --field-line: #AC94A6;
  --line: #503A4E;
  --strip-bg: #291D2A;
  --strip-text: #F0DFE8;
  --strip-muted: #D0B8C9;
  --strip-icon: #D9B0C3;
  --font-display: "Kit Serif", Georgia, serif;
  --display-weight: 400;
  --brand-color: var(--accent);
  color-scheme: dark;
}
html[data-preset="pediatrie"] {
  --bg: #FCF8EF;
  --surface: #FFFFFF;
  --raised: #F5EADB;
  --text: #354339;
  --heading: #274C43;
  --muted: #647062;
  --accent: #A95226;
  --on-accent: #FFFFFF;
  --link: #874422;
  --field-line: #8B8370;
  --line: #F5EADB;
  --strip-bg: #FFFFFF;
  --strip-text: #354339;
  --strip-muted: #647062;
  --strip-icon: #A95226;
  --font-display: "Kit Brand", var(--font-body);
  --display-weight: 500;
  --brand-color: var(--heading);
  color-scheme: light;
}
html[data-preset="italian"] {
  --bg: #160D14;
  --surface: #261922;
  --raised: #382630;
  --text: #F1E5D8;
  --heading: #FFF0DE;
  --muted: #D0BAAE;
  --accent: #D6B37F;
  --on-accent: #28190F;
  --link: #E9CB9C;
  --field-line: #A48A8D;
  --line: #4B343E;
  --strip-bg: #261922;
  --strip-text: #F1E5D8;
  --strip-muted: #D0BAAE;
  --strip-icon: #D6B37F;
  --font-display: "Kit Serif", Georgia, serif;
  --display-weight: 400;
  --brand-color: var(--heading);
  color-scheme: dark;
}
html[data-preset="urban"] {
  --bg: #191F21;
  --surface: #252D2F;
  --raised: #313B3D;
  --text: #F4EEE5;
  --heading: #FFF9EE;
  --muted: #C4C7BE;
  --accent: #E5AA88;
  --on-accent: #281B17;
  --link: #EBBA9F;
  --field-line: #8F9C99;
  --line: #313B3D;
  --strip-bg: #252D2F;
  --strip-text: #F4EEE5;
  --strip-muted: #C4C7BE;
  --strip-icon: #E5AA88;
  --font-display: "Kit Brand", var(--font-body);
  --display-weight: 700;
  --brand-color: var(--heading);
  color-scheme: dark;
}
html[data-preset="traditional"] {
  --bg: #142A22;
  --surface: #20382D;
  --raised: #2B4437;
  --text: #F5F1E3;
  --heading: #FFF9E9;
  --muted: #C7CCB8;
  --accent: #D4BD7D;
  --on-accent: #20251A;
  --link: #E2CC93;
  --field-line: #8E9E89;
  --line: #2B4437;
  --strip-bg: #20382D;
  --strip-text: #F5F1E3;
  --strip-muted: #C7CCB8;
  --strip-icon: #D4BD7D;
  --font-display: "Kit Serif", Georgia, serif;
  --display-weight: 700;
  --brand-color: var(--heading);
  color-scheme: dark;
}
html[data-preset="cafenea"] {
  --bg: #18110E;
  --surface: #291F19;
  --raised: #3A2D23;
  --text: #F0E3D0;
  --heading: #FFF0D9;
  --muted: #CFBBA1;
  --accent: #D8AF7A;
  --on-accent: #24190E;
  --link: #E8CBA3;
  --field-line: #A18D78;
  --line: #4D3C2E;
  --strip-bg: #291F19;
  --strip-text: #F0E3D0;
  --strip-muted: #CFBBA1;
  --strip-icon: #D8AF7A;
  --font-display: "Kit Serif", Georgia, serif;
  --display-weight: 400;
  --brand-color: var(--heading);
  color-scheme: dark;
}
html[data-preset="fitness"] {
  --bg: #080F12;
  --surface: #132024;
  --raised: #1E3034;
  --text: #E8EFE9;
  --heading: #F8FFF8;
  --muted: #BDD0C4;
  --accent: #C8E391;
  --on-accent: #172612;
  --link: #D3ECA6;
  --field-line: #8BA99D;
  --line: #30464A;
  --strip-bg: #132024;
  --strip-text: #E8EFE9;
  --strip-muted: #BDD0C4;
  --strip-icon: #C8E391;
  --font-display: "Kit Brand", var(--font-body);
  --display-weight: 700;
  --brand-color: var(--heading);
  color-scheme: dark;
}
html[data-preset="yoga"] {
  --bg: #F6F3ED;
  --surface: #FFFDFA;
  --raised: #E9E6DB;
  --text: #3D443B;
  --heading: #465441;
  --muted: #58614F;
  --accent: #606C4E;
  --on-accent: #FFFFFF;
  --link: #536142;
  --field-line: #888D7D;
  --line: #E9E6DB;
  --strip-bg: #FFFDFA;
  --strip-text: #3D443B;
  --strip-muted: #58614F;
  --strip-icon: #606C4E;
  --font-display: "Kit Serif", Georgia, serif;
  --display-weight: 400;
  --brand-color: var(--heading);
  color-scheme: light;
}
html[data-preset="arte-martiale"] {
  --bg: #19191D;
  --surface: #25262B;
  --raised: #32343A;
  --text: #F5F1EB;
  --heading: #FFF9F1;
  --muted: #C8C2C0;
  --accent: #D39791;
  --on-accent: #2A1719;
  --link: #EDB2AC;
  --field-line: #9D969A;
  --line: #32343A;
  --strip-bg: #25262B;
  --strip-text: #F5F1EB;
  --strip-muted: #C8C2C0;
  --strip-icon: #D39791;
  --font-display: "Kit Brand", var(--font-body);
  --display-weight: 700;
  --brand-color: var(--heading);
  color-scheme: dark;
}
html[data-preset="outdoor"] {
  --bg: #15271D;
  --surface: #223729;
  --raised: #304634;
  --text: #F0F1E3;
  --heading: #FBF9E8;
  --muted: #C7D1BB;
  --accent: #D0DE95;
  --on-accent: #20301A;
  --link: #D9E8A4;
  --field-line: #91A088;
  --line: #304634;
  --strip-bg: #223729;
  --strip-text: #F0F1E3;
  --strip-muted: #C7D1BB;
  --strip-icon: #D0DE95;
  --font-display: "Kit Serif", Georgia, serif;
  --display-weight: 700;
  --brand-color: var(--heading);
  color-scheme: dark;
}
/* ---------- Tokeni comuni ---------- */
:root {
  --font-body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Kit Serif", Georgia, "Times New Roman", serif;
  --font-brand: "Kit Brand", var(--font-body);

  --t-xs: 0.8125rem;
  --t-sm: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --t-base: clamp(1.0625rem, 1.02rem + 0.2vw, 1.125rem);
  --t-lg: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
  --t-h3: clamp(1.3rem, 1.18rem + 0.5vw, 1.55rem);
  --t-h2: clamp(2rem, 1.45rem + 2.1vw, 3.1rem);
  --t-h1: clamp(2.5rem, 1.5rem + 3.9vw, 4.9rem);

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --section: clamp(72px, 9vw, 128px);
  --wrap: 1240px;
  --gutter: 20px;
  --header-h: 76px;
  --r-sm: 12px;     /* carduri, campuri */
  --r-lg: 16px;     /* imagini */
  --r-btn: 6px;     /* butoane */
  --r-pill: 999px;  /* etichete */

  --shadow-sm: 0 1px 2px color-mix(in srgb, var(--text) 6%, transparent), 0 10px 28px -18px color-mix(in srgb, var(--text) 26%, transparent);
  --shadow-lg: 0 2px 4px color-mix(in srgb, var(--text) 5%, transparent), 0 30px 60px -30px color-mix(in srgb, var(--text) 34%, transparent);

  /* Subsolul: banda inchisa la toate temele (pe cele deschise, o nuanta foarte inchisa a textului). */
  --foot-bg: color-mix(in srgb, var(--text) 90%, var(--accent));
  --foot-text: color-mix(in srgb, var(--bg) 96%, var(--accent));
  --foot-muted: color-mix(in srgb, var(--bg) 74%, var(--foot-bg));
  --foot-line: color-mix(in srgb, var(--bg) 16%, var(--foot-bg));
  --foot-accent: color-mix(in srgb, var(--accent) 45%, white);

  /* Hero „Fâșie colorată” pe temele deschise. */
  --band-a: color-mix(in srgb, var(--text) 78%, var(--accent));
  --band-b: color-mix(in srgb, var(--accent) 62%, var(--text));
  --band-text: var(--bg);
  --band-muted: color-mix(in srgb, var(--bg) 82%, var(--band-a));
  --band-accent: color-mix(in srgb, var(--accent) 40%, white);
  --band-ink: var(--text);
}
html[data-tone="dark"] {
  --foot-bg: color-mix(in srgb, var(--bg) 62%, black);
  --foot-text: var(--text);
  --foot-muted: var(--muted);
  --foot-line: var(--line);
  --foot-accent: var(--link);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 960px) { :root { --header-h: 96px; } }

/* ---------- Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 var(--t-base)/1.65 var(--font-body);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--heading); margin: 0 0 0.45em; text-wrap: balance; overflow-wrap: break-word; font-weight: 700; }
h1 { font-size: var(--t-h1); line-height: 1.12; letter-spacing: -0.012em; margin-bottom: 0.4em; }
h2 { font-size: var(--t-h2); line-height: 1.16; letter-spacing: -0.01em; }
h3 { font-size: var(--t-h3); line-height: 1.25; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
strong { color: var(--heading); font-weight: 650; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--on-accent); }

/* Cuvintele evidentiate in titluri (*cuvinte* in admin) */
.hl { font-style: normal; color: var(--link); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: 68ch; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--heading); }
.lead { font-size: var(--t-lg); color: var(--muted); max-width: 56ch; line-height: 1.6; }
.lead p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: var(--r-btn); font-weight: 700; }
.skip:focus { left: 16px; }

/* ---------- Eticheta de deasupra titlului: majuscule rare, in culoarea temei ---------- */
.eyebrow { display: block; margin: 0 0 var(--s-4); font: 700 var(--t-xs)/1.35 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--link); }

/* ---------- Text formatat (subtitlu, liste, citat) ---------- */
:where(.prose, .lead, .intro, .b-faq, .person-bio, .booking-note, .card) h3 { font-size: var(--t-lg); margin: 1.4em 0 0.5em; }
:where(.prose, .lead, .intro, .b-faq, .person-bio, .booking-note, .card) h3:first-child { margin-top: 0; }
:where(.prose, .lead, .intro, .b-faq, .person-bio, .booking-note, .card) :is(ul, ol) { margin: 0 0 1em; padding-left: 1.3em; }
:where(.prose, .lead, .intro, .b-faq, .person-bio, .booking-note, .card) li { margin-bottom: 0.35em; }
:where(.prose, .lead, .intro, .b-faq, .person-bio, .booking-note, .card) li::marker { color: var(--accent); }
:where(.prose, .lead, .intro, .b-faq, .person-bio, .booking-note, .card) blockquote { margin: 1.2em 0; padding: 0.2em 0 0.2em 1.1em; border-left: 3px solid var(--accent); color: var(--heading); font-size: var(--t-lg); }
:where(.prose, .lead, .intro, .b-faq, .person-bio, .booking-note, .card) blockquote p:last-child { margin-bottom: 0; }

/* Lista cu bife (blocul Imagine + text si listele din descrierea Hero-ului) */
.checklist, .b-hero .lead ul { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; gap: var(--s-3); }
.checklist li, .b-hero .lead ul li { position: relative; padding-left: 34px; color: var(--muted); margin: 0; }
.checklist li::before, .b-hero .lead ul li::before {
  content: ""; position: absolute; left: 0; top: 0.12em; width: 22px; height: 22px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 18%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
}
.checklist li::after, .b-hero .lead ul li::after {
  content: ""; position: absolute; left: 7px; top: calc(0.12em + 6px); width: 8px; height: 5px;
  border-left: 2px solid var(--link); border-bottom: 2px solid var(--link); transform: rotate(-45deg);
}
.b-hero .lead ul li { color: var(--text); font-size: var(--t-base); }

/* ---------- Butoane ----------
   data-btn="mare" (pus de pagina cand textul butonului are contrast intre 3:1 si 4,5:1 cu culoarea lui):
   textul butoanelor devine mare si ingrosat, ca sa ramana usor de citit (regula WCAG pentru text mare). */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: var(--r-btn);
  font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
html[data-btn="mare"] .btn { font-size: 1.1875rem; min-height: 54px; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 24px -14px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, white); transform: translateY(-1px); }
.btn-ghost { color: var(--text); border-color: color-mix(in srgb, var(--text) 26%, transparent); background: var(--surface); }
html[data-tone="dark"] .btn-ghost { background: color-mix(in srgb, var(--bg) 55%, transparent); border-color: color-mix(in srgb, var(--text) 55%, transparent); }
.btn-ghost:hover { border-color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

/* ---------- Antet ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent); backdrop-filter: blur(14px) saturate(1.3); }
.header-row { display: flex; align-items: center; gap: var(--s-5); min-height: var(--header-h); }
/* Pe paginile care incep cu o poza pe toata latimea, antetul sta peste poza (transparent) si nu ramane fix. */
body:has(main > .b-hero.is-full:first-child) .site-header { position: absolute; left: 0; right: 0; background: none; border-bottom-color: transparent; backdrop-filter: none; }
main > .b-hero.is-full:first-child { padding-top: calc(var(--header-h) + clamp(48px, 6vw, 90px)); }

/* Marca firmei: simbol + nume (cu partea colorata) + slogan; forma depinde de tema (data-brand) */
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; color: var(--heading); text-decoration: none; margin: 0; }
.brand:hover { text-decoration: none; }
.brand.has-logo img { height: 44px; width: auto; max-width: 220px; object-fit: contain; }
.brand-mark {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; object-fit: cover;
  background: var(--accent); color: var(--on-accent); font: 700 1.2rem/1 var(--font-brand);
}
img.brand-mark { background: none; }
.brand-text { display: grid; gap: 3px; min-width: 0; }
.brand-name { font: 700 1.4rem/1.05 var(--font-brand); letter-spacing: -0.01em; color: var(--brand-color, var(--heading)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-brand="sans-caps"] .brand-name { text-transform: uppercase; letter-spacing: 0.02em; font-size: 1.3rem; }
html[data-brand="serif-caps"] .brand-mark { font-family: var(--font-display); font-weight: 400; }
html[data-brand="serif-caps"] .brand-name { font: 400 1.55rem/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.12em; }
.brand-accent { color: var(--link); }
.brand-tag { font: 600 0.6875rem/1.25 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 420px) { .brand-tag { display: none; } }

.nav-desktop { display: none; margin-left: auto; flex: none; }
.nav-desktop a { white-space: nowrap; }
.site-header .brand { flex: 0 1 auto; }
.nav-desktop ul, .nav-mobile ul, .site-footer ul { list-style: none; margin: 0; padding: 0; }
.nav-desktop ul { display: flex; gap: clamp(16px, 2vw, 30px); }
.nav-desktop a { color: color-mix(in srgb, var(--heading) 88%, var(--bg)); text-decoration: none; padding: 10px 0; display: inline-block; font-size: 0.97rem; font-weight: 600; }
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: var(--link); }
.nav-desktop a[aria-current="page"] { box-shadow: inset 0 -2px 0 currentColor; }
.header-cta { display: none; min-height: 46px; padding: 0 22px; white-space: nowrap; flex: none; }
.nav-mobile { margin-left: auto; }
.nav-mobile > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 0 16px; border: 1px solid color-mix(in srgb, var(--text) 30%, transparent); border-radius: var(--r-btn); color: var(--heading); font-size: var(--t-sm); font-weight: 650;
  background: color-mix(in srgb, var(--bg) 60%, transparent);
}
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile > summary::before { content: ""; width: 16px; height: 10px; border-block: 2px solid currentColor; box-shadow: inset 0 -4px 0 -2px currentColor; }
.nav-mobile[open] > summary { border-color: var(--accent); }
.nav-mobile[open] > nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: var(--s-3) var(--gutter) var(--s-5); box-shadow: var(--shadow-lg); }
.nav-mobile nav li a { display: block; padding: 15px 0; color: var(--heading); text-decoration: none; font-size: var(--t-lg); font-weight: 600; border-bottom: 1px solid var(--line); }
.nav-mobile nav li a[aria-current="page"] { color: var(--link); }
.nav-mobile nav .btn { margin-top: var(--s-5); width: 100%; }
@media (min-width: 960px) {
  .nav-desktop { display: block; }
  .header-cta { display: inline-flex; }
  .nav-mobile { display: none; }
}

/* ---------- Structura paginii ---------- */
main > section { padding-block: var(--section); }
main > section + section { padding-top: 0; }
main > section.v-contrast, main > section.v-accent, main > section + section.v-contrast, main > section + section.v-accent { padding-top: var(--section); }
.v-contrast { background: var(--surface); }
.page-head { padding-top: var(--section); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: var(--s-5) 0 0; margin: 0; font-size: var(--t-sm); color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--muted); }
.section-head { margin-bottom: clamp(36px, 4.5vw, 60px); max-width: 52rem; }
.section-head h2 { margin-bottom: 0.3em; }
.section-head .intro, .contact-head .intro, .booking-head .intro { font-size: var(--t-lg); color: var(--muted); max-width: 58ch; line-height: 1.6; }
.section-head .intro p, .contact-head .intro p, .booking-head .intro p { color: var(--muted); }
.section-head .intro > :last-child, .contact-head .intro > :last-child, .booking-head .intro > :last-child { margin-bottom: 0; }

/* ---------- Imaginile din continut (Imagine + text, Video, Hero „Imagine în chenar”) ---------- */
.framed { position: relative; }
.framed img, .framed .video-facade { position: relative; z-index: 1; border-radius: var(--r-lg); }
.framed img { box-shadow: var(--shadow-lg); }

/* ---------- Bloc: Hero ---------- */
.b-hero { padding-top: clamp(48px, 7vw, 112px); position: relative; isolation: isolate; }
.hero-grid { display: grid; gap: var(--s-7); align-items: center; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-text .lead { margin-top: var(--s-2); }
.hero-note { font-size: var(--t-sm); color: var(--muted); margin: var(--s-5) 0 0; max-width: 56ch; }
@media (min-width: 960px) {
  .b-hero.v-chenar .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); }
  .b-hero.v-centrat .hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .b-hero.v-centrat .lead { margin-inline: auto; }
  .b-hero.v-centrat .actions { justify-content: center; }
  .b-hero.v-centrat .lead ul { justify-items: center; }
}
.b-hero.v-centrat .hero-text { max-width: 62rem; }
.b-hero.v-centrat .hero-media { width: 100%; }
.b-hero.v-centrat .hero-media img { aspect-ratio: 21 / 9; border-radius: var(--r-lg); }

/* Poza pe toata latimea, cu textul peste ea (varianta implicita a temelor).
   Poza se estompeaza spre partea cu text in culoarea fundalului temei (inchis sau deschis), ca textul sa se citeasca. */
.b-hero.is-full { display: grid; align-items: center; min-height: clamp(520px, 74vh, 700px); padding-block: clamp(88px, 10vw, 130px) clamp(64px, 8vw, 104px); }
.b-hero.is-full .hero-grid { grid-template-columns: 1fr; }
.b-hero.is-full .hero-text { max-width: 40rem; }
.b-hero.is-full .lead { font-size: clamp(1.1875rem, 1.05rem + 0.55vw, 1.5rem); color: var(--text); opacity: .9; max-width: 34ch; }
@media (min-width: 960px) {
  .b-hero.is-full .actions .btn { min-height: 60px; padding: 0 40px; font-size: 1.0625rem; }
  html[data-btn="mare"] .b-hero.is-full .actions .btn { font-size: 1.1875rem; }
  .site-header .brand-name { font-size: 1.65rem; }
  html[data-brand="sans-caps"] .site-header .brand-name { font-size: 1.5rem; }
  html[data-brand="serif-caps"] .site-header .brand-name { font-size: 1.8rem; }
  .site-header .brand-mark { width: 46px; height: 46px; font-size: 1.35rem; }
  .nav-desktop a { font-size: 1.0625rem; }
  .header-cta { min-height: 54px; padding: 0 30px; font-size: 1.0625rem; }
}
.b-hero.is-full .hero-media { position: absolute; inset: 0; z-index: -1; }
.b-hero.is-full .hero-media img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; box-shadow: none; }
.b-hero.is-full .hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 62%, transparent) 0, transparent 170px),
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 95%, transparent) 0%, color-mix(in srgb, var(--bg) 90%, transparent) 36%, color-mix(in srgb, var(--bg) 40%, transparent) 60%, transparent 82%);
}
.b-hero.is-full.v-text-dreapta .hero-text { justify-self: end; }
.b-hero.is-full.v-text-dreapta .hero-media::after {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 62%, transparent) 0, transparent 170px),
    linear-gradient(270deg, color-mix(in srgb, var(--bg) 95%, transparent) 0%, color-mix(in srgb, var(--bg) 90%, transparent) 36%, color-mix(in srgb, var(--bg) 40%, transparent) 60%, transparent 82%);
}
.b-hero.is-full.v-imagine-fundal .hero-media::after { background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 95%, transparent) 0%, color-mix(in srgb, var(--bg) 82%, transparent) 50%, color-mix(in srgb, var(--bg) 60%, transparent) 100%); }
.b-hero.is-full.v-imagine-fundal .hero-text { max-width: 46rem; }
/* Pe telefon textul ocupa toata latimea: poza se estompeaza de sus in jos. */
@media (max-width: 759px) {
  .b-hero.is-full { min-height: 0; padding-bottom: var(--s-8); }
  .b-hero.is-full .hero-media::after, .b-hero.is-full.v-text-dreapta .hero-media::after, .b-hero.is-full.v-imagine-fundal .hero-media::after {
    background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 76%, transparent) 0%, color-mix(in srgb, var(--bg) 88%, transparent) 40%, color-mix(in srgb, var(--bg) 95%, transparent) 100%);
  }
}

/* Insignele de pe imagine (doar la „Imagine în chenar”) */
.hero-badge {
  position: absolute; z-index: 3; margin: 0; display: inline-flex; align-items: center; gap: 10px; max-width: 70%;
  padding: 11px 16px; border-radius: 10px; font: 650 var(--t-sm)/1.25 var(--font-body); color: var(--heading);
  background: color-mix(in srgb, var(--bg) 82%, transparent); border: 1px solid color-mix(in srgb, var(--text) 16%, transparent);
  backdrop-filter: blur(12px) saturate(1.4); box-shadow: 0 18px 40px -18px color-mix(in srgb, black 55%, transparent);
}
.hero-badge::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hb-1 { top: 22px; right: 14px; }
.hb-2 { bottom: 22px; left: 14px; }
@media (min-width: 1100px) { .hb-1 { right: -22px; } .hb-2 { left: -30px; } }

/* Hero „Fasie colorată”: fundal plin, in degrade, cu text deschis */
.b-hero.v-fasie { padding-block: clamp(72px, 10vw, 150px); }
main > .b-hero.v-fasie + section { padding-top: var(--section); }
html[data-tone="light"] .b-hero.v-fasie { --text: var(--band-text); --heading: var(--band-text); --muted: var(--band-muted); --accent: var(--band-accent); --link: var(--band-accent); --on-accent: var(--band-ink); --surface: var(--band-a); --bg: var(--band-a); --line: color-mix(in srgb, var(--band-text) 22%, transparent); }
.b-hero.v-fasie::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50rem 30rem at 85% 0%, color-mix(in srgb, var(--band-accent) 30%, transparent), transparent 70%), linear-gradient(120deg, var(--band-a) 0%, var(--band-b) 100%); }
html[data-tone="dark"] .b-hero.v-fasie::before { background: radial-gradient(50rem 30rem at 85% 0%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%), linear-gradient(120deg, color-mix(in srgb, var(--surface) 82%, var(--accent)), var(--surface)); }

/* ---------- Bloc: Avantaje și cifre ----------
   Lipit de prima sectiune: banda (culorile --strip-* ale temei). Altundeva: o sectiune obisnuita. */
.adv-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: var(--s-5); }
.adv-list li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-3); min-width: 0; }
.adv-list .ico { width: 34px; height: 34px; color: var(--strip-icon, var(--accent)); flex: none; }
.adv-list p { margin: 0; display: grid; gap: 2px; }
.adv-value { font: 700 clamp(1.6rem, 1.3rem + 1vw, 2.1rem)/1.1 var(--font-body); color: var(--heading); letter-spacing: -0.01em; }
.adv-text { font-size: var(--t-sm); color: var(--muted); line-height: 1.35; }
.b-highlights.has-stats .adv-list li, html[data-strip="row"] .adv-list li { flex-direction: row; text-align: left; align-items: center; }
.b-highlights.has-stats .adv-list .ico { width: 38px; height: 38px; }
.b-hero + .b-highlights {
  --heading: var(--strip-text); --muted: var(--strip-muted);
  background: var(--strip-bg); padding-block: clamp(22px, 3vw, 34px); position: relative; z-index: 2;
  box-shadow: 0 -1px 0 color-mix(in srgb, var(--strip-text) 8%, transparent), 0 18px 40px -30px color-mix(in srgb, black 45%, transparent);
}
.b-hero + .b-highlights .section-head { display: none; }
.b-hero + .b-highlights .adv-text { font-size: 1rem; }
.b-hero + .b-highlights .adv-list { gap: var(--s-4) 0; }
@media (min-width: 760px) {
  .b-hero + .b-highlights:not(.has-stats) .adv-list li + li { border-left: 1px solid color-mix(in srgb, var(--strip-text) 12%, transparent); }
  .b-hero + .b-highlights .adv-list li { padding-inline: var(--s-4); justify-content: center; }
}
.b-hero + .b-highlights + section { padding-top: var(--section); }
.b-highlights.has-stats .adv-text { font-size: var(--t-sm); }
/* ---------- Bloc: Text ---------- */
.b-text.v-ingust .prose { max-width: 58ch; }

/* ---------- Bloc: Imagine + text ---------- */
.media-grid { display: grid; gap: var(--s-7); align-items: center; }
.media-grid .media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
@media (min-width: 900px) {
  .media-grid { grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 96px); }
  .b-media.v-imagine-dreapta .media { order: 2; }
}
.b-media .prose { max-width: 36rem; }

/* ---------- Bloc: Carduri ---------- */
.card-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); counter-reset: card; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .cols-3 .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cols-4 .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: clamp(26px, 2.6vw, 36px) clamp(22px, 2.2vw, 32px); display: flex; flex-direction: column; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.card > picture, .card > img { display: block; }
.card img { width: calc(100% + 2 * clamp(22px, 2.2vw, 32px) - 16px); max-width: none; margin: calc(-1 * clamp(26px, 2.6vw, 36px) + 8px) calc(-1 * clamp(22px, 2.2vw, 32px) + 8px) var(--s-5); aspect-ratio: 16 / 10; object-fit: cover; border-radius: calc(var(--r-sm) - 6px); }
.card h3 { margin-top: 0; margin-bottom: var(--s-3); }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card:has(h3 a):hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); transform: translateY(-3px); }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
/* Varianta „Rânduri numerotate”: 01, titlu mare, text, sageata */
.cols-randuri .card-grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.cols-randuri .card {
  counter-increment: card; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); column-gap: var(--s-4); align-items: baseline;
  background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: clamp(22px, 2.6vw, 34px) 0; box-shadow: none; transform: none;
}
.cols-randuri .card::before { content: counter(card, decimal-leading-zero); grid-row: 1 / span 3; font: 700 var(--t-base)/1 var(--font-body); color: var(--link); font-variant-numeric: tabular-nums; }
.cols-randuri .card img, .cols-randuri .card picture { display: none; }
.cols-randuri .card h3 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.3rem); letter-spacing: -0.03em; margin-bottom: var(--s-2); grid-column: 2; font-weight: var(--h-weight, 700); }
.cols-randuri .card > :not(h3) { grid-column: 2; }
.cols-randuri .card:has(h3 a)::after { content: ""; position: absolute; right: 4px; top: 50%; width: 26px; height: 26px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8.5 7H17v8.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8.5 7H17v8.5'/%3E%3C/svg%3E") center / contain no-repeat; transform: translateY(-50%); transition: transform .2s ease; }
.cols-randuri .card:has(h3 a) { padding-right: 56px; }
.cols-randuri .card:has(h3 a):hover { transform: none; }
.cols-randuri .card:has(h3 a):hover::after { transform: translate(4px, calc(-50% - 4px)); }
@media (min-width: 760px) { .cols-randuri .card { grid-template-columns: 5rem minmax(0, 1fr); } }

/* ---------- Bloc: Proces (o succesiune reala -> numerotare 01, 02 ...) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-6); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: var(--s-6); } }
.steps li { counter-increment: step; border-top: 1px solid var(--line); padding-top: var(--s-6); position: relative; }
.steps li::after { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 2px; background: var(--accent); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: var(--h-weight, 800) clamp(2.4rem, 1.8rem + 1.8vw, 3.4rem)/1 var(--font-display); letter-spacing: -0.03em; color: var(--link); margin-bottom: var(--s-5); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: var(--t-lg); }
.steps p { color: var(--muted); margin: 0; }

/* ---------- Bloc: Galerie ---------- */
.gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); } }
.gallery a { display: block; border-radius: var(--r-sm); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s ease; border-radius: var(--r-sm); }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { font-size: var(--t-sm); color: var(--muted); padding-top: var(--s-2); }
.gallery figure { margin: 0; }

/* ---------- Bloc: Preturi ---------- */
.plans { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; }
.plan.is-featured { border-color: var(--accent); background: var(--raised); box-shadow: 0 30px 60px -36px color-mix(in srgb, var(--accent) 60%, transparent); }
.plan-badge { align-self: flex-start; font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-accent); background: var(--accent); padding: 5px 12px; border-radius: var(--r-pill); margin-bottom: var(--s-4); }
.plan-price { font: var(--h-weight, 800) clamp(2.3rem, 1.8rem + 1.6vw, 3.2rem)/1 var(--font-display); color: var(--text); margin: var(--s-3) 0 var(--s-2); letter-spacing: -0.035em; }
.plan-period { color: var(--muted); font-size: var(--t-sm); margin-bottom: var(--s-5); }
.plan .checklist { margin: 0 0 var(--s-6); }
.plan .btn { margin-top: auto; }
.plan-group + .plan-group { margin-top: var(--s-7); }
.is-tabbed .plan-group { margin-top: 0; }
.plan-group-title { font-size: var(--t-lg); margin-bottom: var(--s-4); }
.plans-note { color: var(--muted); font-size: var(--t-sm); margin-top: var(--s-5); max-width: 70ch; }

/* ---------- Bloc: Tabel comparativ (carduri pe mobil) ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--t-base); }
.compare caption { text-align: left; color: var(--muted); font-size: var(--t-sm); padding-bottom: var(--s-3); }
.compare th, .compare td { text-align: left; padding: var(--s-5); border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { color: var(--muted); font-size: var(--t-sm); font-weight: 700; letter-spacing: 0.02em; }
.compare thead th.is-ours { color: var(--link); text-transform: uppercase; letter-spacing: 0.08em; }
.compare tbody th { font-weight: 650; color: var(--text); }
.compare td { color: var(--muted); }
.compare td.is-ours { color: var(--text); background: color-mix(in srgb, var(--accent) 8%, transparent); font-weight: 600; }
@media (min-width: 720px) {
  .compare { border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--surface); }
  .compare tbody tr:last-child > * { border-bottom: 0; }
}
@media (max-width: 719px) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tr { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: var(--s-3); padding: var(--s-2) var(--s-4); }
  .compare th, .compare td { display: block; border: 0; padding: var(--s-2) 0; }
  .compare tbody th { font-size: var(--t-lg); padding-top: var(--s-3); }
  .compare td::before { content: attr(data-label); display: block; font-size: var(--t-sm); color: var(--muted); }
  .compare td.is-ours { background: none; }
  .compare td.is-ours::before { color: var(--link); }
}

/* ---------- Bloc: Recenzii ---------- */
.reviews { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); }
@media (min-width: 760px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.review { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: clamp(28px, 3vw, 40px) clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; gap: var(--s-5); }
.review blockquote { margin: 0; color: var(--text); font-size: var(--t-lg); line-height: 1.55; }
.review blockquote p:last-child { margin: 0; }
.stars { color: var(--link); letter-spacing: 3px; font-size: var(--t-base); }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: var(--s-3); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--link); font-weight: 700; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.review cite { font-style: normal; font-weight: 700; color: var(--text); display: block; }
.review .role, .review .source { display: block; color: var(--muted); font-size: var(--t-sm); }

/* ---------- Bloc: Intrebari frecvente ---------- */
.b-faq .prose { max-width: 56rem; }
.b-faq details { border-bottom: 1px solid var(--line); }
.b-faq details:first-of-type { border-top: 1px solid var(--line); }
.b-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-5); padding: var(--s-5) 0; font-weight: 650; font-size: var(--t-lg); color: var(--text); line-height: 1.35; }
.b-faq summary:hover { color: var(--link); }
.b-faq summary::-webkit-details-marker { display: none; }
.b-faq summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  background: linear-gradient(var(--accent), var(--accent)) center / 12px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 2px 12px no-repeat;
  transition: transform .2s ease, background-color .2s ease;
}
.b-faq details[open] summary::after { transform: rotate(45deg); background-color: color-mix(in srgb, var(--accent) 12%, transparent); }
.b-faq details > div { padding-bottom: var(--s-5); color: var(--muted); max-width: 68ch; }

/* ---------- Bloc: Indemn la actiune ---------- */
.b-cta .cta-box {
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: calc(var(--r-lg) + 4px); padding: clamp(36px, 6vw, 80px);
  background: radial-gradient(40rem 20rem at 100% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%), linear-gradient(135deg, color-mix(in srgb, var(--accent) 7%, var(--surface)), var(--surface));
  display: grid; gap: var(--s-6); align-items: center;
}
@media (min-width: 900px) { .b-cta .cta-box { grid-template-columns: minmax(0, 1.6fr) auto; } }
.b-cta .cta-box h2 { margin-bottom: 0.25em; }
.b-cta .cta-box p { color: var(--muted); margin: 0; font-size: var(--t-lg); }
.b-cta .cta-box .actions { margin: 0; }
.b-cta.v-accent .cta-box { background: var(--accent); border-color: var(--accent); }
.b-cta.v-accent .cta-box :is(h2, p, .eyebrow) { color: var(--on-accent); }
.b-cta.v-accent .hl { color: var(--on-accent); text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.12em; }
.b-cta.v-accent .btn-primary { background: var(--on-accent); color: var(--link); }
.b-cta.v-accent .btn-primary:hover { background: color-mix(in srgb, var(--on-accent) 80%, white); }
.b-cta.v-accent .btn-ghost { color: var(--on-accent); border-color: color-mix(in srgb, var(--on-accent) 40%, transparent); background: transparent; }

/* ---------- Bloc: Video (incarcat la click) ---------- */
.video-facade { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: var(--raised); cursor: pointer; overflow: hidden; color: inherit; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; box-shadow: none; }
.video-facade .play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; z-index: 2; box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 25%, transparent); }
.video-facade .play::before { content: ""; margin-left: 6px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent var(--on-accent); }
.video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.video-note { font-size: var(--t-sm); color: var(--muted); margin-top: var(--s-5); }

/* ---------- Bloc: Contact ---------- */
.contact-grid { display: grid; gap: var(--s-7); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: var(--s-8); } }
.contact-list { display: grid; gap: var(--s-3); margin: var(--s-6) 0 0; }
.contact-list > div { padding: var(--s-4) var(--s-5); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.contact-list dt { color: var(--link); font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-list dd { margin: 4px 0 0; font-size: var(--t-lg); color: var(--text); font-weight: 600; }
.contact-list dd a { color: var(--text); text-decoration: none; }
.contact-list dd a:hover { color: var(--link); }
.map-facade, .embed-facade { position: relative; min-height: 320px; border: 1px solid var(--line); border-radius: var(--r-lg); background-color: var(--surface); background-image: repeating-linear-gradient(0deg, transparent 0 39px, var(--line) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, var(--line) 39px 40px); display: grid; place-items: center; overflow: hidden; text-align: center; padding: var(--s-6); }
.map-facade p, .embed-facade p { color: var(--muted); font-size: var(--t-sm); max-width: 34ch; margin: var(--s-3) auto 0; }
.map-facade iframe, .embed-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Program de functionare (din setari) ---------- */
.hours { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; max-width: 26rem; font-size: var(--t-base); font-weight: 400; }
.hours li { display: flex; justify-content: space-between; gap: var(--s-4); padding: 6px 0; border-bottom: 1px solid var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours li span:last-child { font-variant-numeric: tabular-nums; text-align: right; }
.hours-note { font-size: var(--t-sm); color: var(--muted); margin: var(--s-2) 0 0; font-weight: 400; }

/* ---------- Etichete scurte (carduri, echipa) ---------- */
.chips { list-style: none; padding: 0; margin: 0 0 var(--s-4); display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: var(--t-sm); line-height: 1.4; color: var(--text); border: 1px solid var(--line); background: var(--bg); border-radius: var(--r-pill); padding: 3px 12px; }
.card .chips li { background: color-mix(in srgb, var(--accent) 8%, var(--bg)); border-color: color-mix(in srgb, var(--accent) 22%, var(--line)); }

/* ---------- Bloc: Echipa ---------- */
.team { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-7) var(--s-5); }
@media (min-width: 640px) { .b-team:not(.is-list) .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .b-team.cols-3 .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .b-team.cols-4 .team { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.person { display: flex; flex-direction: column; min-width: 0; }
.person-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--raised); margin-bottom: var(--s-5); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-initials { position: absolute; inset: 0; display: grid; place-items: center; font: var(--h-weight, 800) clamp(2.5rem, 2rem + 2vw, 3.5rem)/1 var(--font-display); color: var(--link); letter-spacing: 0.02em; }
.person-photo.is-empty { width: 88px; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); margin-bottom: var(--s-4); }
.person-photo.is-empty .person-initials { font-size: 1.75rem; }
.person h3 { margin-bottom: var(--s-1); }
.person-role { color: var(--link); font-weight: 700; font-size: var(--t-xs); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: var(--s-4); }
.person-bio { color: var(--muted); }
.person-bio p:last-child { margin-bottom: 0; }
.person-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.b-team.is-list .team { gap: var(--s-7); }
.b-team.is-list .person-photo { max-width: 220px; }
@media (min-width: 760px) {
  .b-team.is-list .person:has(.is-empty) { grid-template-columns: 88px minmax(0, 1fr); gap: var(--s-5); }
  .b-team.is-list .person { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--s-7); align-items: start; }
  .b-team.is-list .person-photo { margin-bottom: 0; }
  .b-team.is-list .person-bio { max-width: 64ch; }
}

/* ---------- Bloc: Rezervare / programare ---------- */
.booking-box { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 960px) { .booking-box:has(.embed-facade) { grid-template-columns: 1fr 1.1fr; gap: var(--s-8); } }
.booking-box .actions { margin-top: var(--s-6); }
.btn-sub { font-weight: 400; }
.booking-note { color: var(--muted); font-size: var(--t-sm); margin-top: var(--s-6); max-width: 60ch; }
.booking-note p:last-child { margin-bottom: 0; }

/* ---------- File (orar, abonamente) ---------- */
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: var(--s-5); scrollbar-width: thin; }
.tabs[hidden] { display: none; }
.tabs button {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 46px; min-width: 52px; padding: 0 16px;
  font: 650 var(--t-sm)/1 var(--font-body); color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-btn); cursor: pointer;
}
.tabs button abbr { text-decoration: none; }
.tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.tab-count { font-weight: 400; font-size: 0.8em; opacity: 0.8; }
/* Zilele din orar: 7 file egale care incap pe ecranul telefonului (ziua sus, numarul de clase dedesubt). */
.b-schedule .tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; overflow: visible; }
.b-schedule .tabs[hidden] { display: none; }
.b-schedule .tabs button { min-width: 0; min-height: 54px; padding: 4px 2px; flex-direction: column; justify-content: center; gap: 2px; }
.tabs button[aria-selected="true"] .tab-count { opacity: 1; }
.is-tabbed [data-panel]:not(.is-active) { display: none; }
.is-tabbed [data-panel] > h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Bloc: Orar ---------- */
.days { display: grid; gap: var(--s-6); }
.day > h3 { font-size: var(--t-lg); padding-bottom: var(--s-2); border-bottom: 2px solid var(--accent); margin-bottom: var(--s-3); }
.classes { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); }
.class { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--s-3); padding: var(--s-3) var(--s-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); }
.class p { margin: 0; }
.class-time { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }
.class-time span[aria-hidden] { margin: 0 2px; color: var(--muted); }
.class-name { font-weight: 700; color: var(--text); line-height: 1.3; }
.class-meta { color: var(--muted); font-size: var(--t-sm); margin-top: 2px; }
.class .chips { margin: var(--s-2) 0 0; }
.v-contrast .class { background: var(--bg); }
.schedule-note { color: var(--muted); font-size: var(--t-sm); margin-top: var(--s-6); max-width: 70ch; }
@media (min-width: 960px) {
  .days { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: var(--s-3); }
  .class { grid-template-columns: 1fr; gap: 2px; padding: var(--s-3); }
  .class-time { font-size: var(--t-sm); color: var(--link); }
}

/* ---------- Bloc: Meciuri si rezultate ---------- */
.matches-grid { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .matches-grid { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: var(--s-6); } }
.matches-grid h3 { font-size: var(--t-lg); padding-bottom: var(--s-2); border-bottom: 2px solid var(--accent); }
.match-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.match { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: var(--s-4) var(--s-5); }
.v-contrast .match { background: var(--bg); }
.match p { margin: 0; }
.match-when { display: flex; flex-wrap: wrap; gap: 4px var(--s-3); font-size: var(--t-sm); color: var(--muted); }
.match-when time { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.match .match-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--s-3); margin: var(--s-3) 0; }
.match-teams .side { font-weight: 700; color: var(--text); line-height: 1.25; overflow-wrap: anywhere; }
.match-teams .side:last-child { text-align: right; }
.match-teams .is-us { color: var(--link); }
.match-score { font: 800 var(--t-h3)/1 var(--font-display); color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.match-score span[aria-hidden] { margin: 0 6px; color: var(--muted); }
.match-vs { font-size: var(--t-sm); color: var(--muted); text-transform: uppercase; }
.match-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--s-3); font-size: var(--t-sm); color: var(--muted); }
.match-foot a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; }
.result { font-weight: 700; padding: 1px 8px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--text); }
.result.r-v { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* ---------- Bloc: Meniu (restaurant) ---------- */
.menu-nav { margin-bottom: var(--s-7); }
.menu-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.menu-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--text); text-decoration: none; font-size: var(--t-sm); font-weight: 650; background: var(--surface); }
.menu-nav a:hover { border-color: var(--accent); color: var(--link); }
.menu-sections { display: grid; gap: var(--s-8); }
@media (min-width: 1000px) { .b-menu.v-doua-coloane .menu-sections { grid-template-columns: 1fr 1fr; gap: var(--s-8) var(--s-8); align-items: start; } }
.b-menu.v-o-coloana .menu-sections { max-width: 820px; }
.menu-section { scroll-margin-top: 96px; }
.menu-section > h3 { font-size: calc(var(--t-h3) * 1.15); padding-bottom: var(--s-3); border-bottom: 1px solid var(--accent); margin-bottom: var(--s-2); }
.menu-note { color: var(--muted); font-size: var(--t-sm); font-style: italic; margin: var(--s-3) 0 0; }
.dishes { list-style: none; padding: 0; margin: 0; }
.dish { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.dish:last-child { border-bottom: 0; }
.dish p { margin: 0; }
.dish-head { display: flex; align-items: baseline; gap: var(--s-2); }
.dish-name { font: 600 var(--t-lg)/1.3 var(--font-body); color: var(--text); margin: 0; min-width: 0; letter-spacing: -0.005em; text-transform: none; }
.dish-dots { flex: 1 1 24px; min-width: 24px; border-bottom: 1px dotted var(--field-line); transform: translateY(-0.3em); }
.dish-price { flex: none; font-weight: 700; color: var(--link); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dish-desc { color: var(--muted); margin-top: var(--s-1); max-width: 60ch; }
.dish-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--s-3); font-size: var(--t-sm); color: var(--muted); margin-top: var(--s-2); }
.dish-portion { color: var(--text); font-variant-numeric: tabular-nums; }
.dish-tag { border: 1px solid var(--line); border-radius: var(--r-pill); padding: 1px 8px; color: var(--text); }
.dish-tag.t-casa { border-color: var(--accent); color: var(--link); }
.menu-foot { color: var(--muted); font-size: var(--t-sm); margin-top: var(--s-7); max-width: 70ch; }

/* ---------- Bloc: Lista de preturi ---------- */
.pl-search { max-width: 520px; margin-bottom: var(--s-7); }
.pl-search[hidden] { display: none; }
.pl-search input { font-size: var(--t-base); }
.pl-count { font-size: var(--t-sm); color: var(--muted); margin: var(--s-2) 0 0; min-height: 1.5em; }
.pl-section + .pl-section { margin-top: var(--s-7); }
.pl-section[hidden], .pl-item[hidden] { display: none; }
.pl-section > h3 { font-size: var(--t-h3); padding-bottom: var(--s-3); border-bottom: 2px solid var(--accent); margin-bottom: 0; }
.pl-note { color: var(--muted); font-size: var(--t-sm); margin: var(--s-3) 0 0; }
.pl-items { list-style: none; padding: 0; margin: 0; }
.pl-item { display: grid; gap: var(--s-2); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.pl-item p { margin: 0; }
.pl-name { font-weight: 650; color: var(--text); line-height: 1.35; }
.pl-details { color: var(--muted); font-size: var(--t-sm); margin-top: 2px; max-width: 64ch; }
.pl-side { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--s-4); }
.pl-dur { color: var(--muted); font-size: var(--t-sm); white-space: nowrap; }
.pl-item .pl-price { margin-left: auto; }
.pl-price { font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pl-from { font-weight: 400; color: var(--muted); font-size: var(--t-sm); }
.pl-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; font-size: var(--t-sm); }
@media (min-width: 760px) {
  /* Coloane fixe (durata | pret | buton), ca valorile sa stea aliniate si cand unele lipsesc. */
  .pl-item { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s-5); }
  .pl-side { display: grid; grid-template-columns: 6rem 8rem; align-items: center; gap: var(--s-4); }
  .pl-items:has(.pl-link) .pl-side { grid-template-columns: 6rem 8rem 9.5rem; }
  .pl-dur { grid-column: 1; text-align: right; }
  .pl-item .pl-price { grid-column: 2; margin-left: 0; text-align: right; }
  .pl-link { grid-column: 3; justify-self: end; }
}
.pl-foot { color: var(--muted); font-size: var(--t-sm); margin-top: var(--s-7); max-width: 70ch; }
.v-contrast .pl-search input { background: var(--bg); }

/* ---------- Bloc: Lista din rubrica (blog, proiecte...) ---------- */
.cat-nav { margin-bottom: var(--s-6); }
.cat-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cat-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--text); background: var(--surface); text-decoration: none; font-size: var(--t-sm); font-weight: 650; }
.cat-nav a:hover { border-color: var(--accent); }
.cat-nav a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.entries { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-7) var(--s-5); }
@media (min-width: 640px) { .b-collection:not(.is-list) .entries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .b-collection:not(.is-list) .entries { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.entry { position: relative; display: flex; flex-direction: column; min-width: 0; }
.entry-img { display: block; border-radius: var(--r-sm); overflow: hidden; background: var(--raised); margin-bottom: var(--s-5); }
.entry-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .35s ease; }
.entry:hover .entry-img img { transform: scale(1.04); }
.entry-meta { display: flex; flex-wrap: wrap; gap: 4px var(--s-3); font-size: var(--t-sm); color: var(--muted); margin: 0 0 var(--s-2); }
.entry-cat { color: var(--link); font-weight: 700; font-size: var(--t-xs); letter-spacing: 0.1em; text-transform: uppercase; }
.entry h3 { margin-bottom: var(--s-2); }
.entry h3 a { color: var(--text); text-decoration: none; }
.entry h3 a::after { content: ""; position: absolute; inset: 0; }
.entry:hover h3 a { color: var(--link); }
.entry-summary { color: var(--muted); margin: 0; }
.b-collection.is-list .entries { gap: 0; }
.b-collection.is-list .entry { padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) {
  .b-collection.is-list .entry { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--s-6); align-items: center; }
  .b-collection.is-list .entry:not(:has(.entry-img)) { grid-template-columns: 1fr; }
  .b-collection.is-list .entry-img { margin: 0; }
}
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-3); margin-top: var(--s-7); }
.pager ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.pager ol a { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: var(--r-btn); color: var(--text); text-decoration: none; font-weight: 650; }
.pager ol a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.entries-more { margin: var(--s-6) 0 0; }

/* ---------- Articol: antet, serviciul legat, articole legate ---------- */
.art-head { padding-top: clamp(36px, 5vw, 80px); padding-bottom: var(--s-6); }
.art-head-text { max-width: 52rem; }
.art-head h1 { margin-bottom: var(--s-4); font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4.4rem); }
.art-cat { margin: 0 0 var(--s-4); }
.art-cat a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--link); font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.art-cat a:hover { background: color-mix(in srgb, var(--accent) 22%, transparent); }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 18px; color: var(--muted); font-size: var(--t-sm); margin: 0; }
.art-byline .sep { color: var(--muted); margin-right: 6px; }
.art-read { white-space: nowrap; }
.art-byline { margin: var(--s-2) 0 0; color: var(--muted); font-size: var(--t-sm); }
.art-author { color: var(--text); font-weight: 600; }
.art-img { margin: var(--s-6) 0 0; }
.art-img img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--r-lg); }
.b-hero + .art-head { padding-top: 0; }
.art > .art-head + section { padding-top: var(--s-5); }
.art-service .art-service-box { display: grid; gap: var(--s-5); align-items: center; padding: clamp(24px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r-sm); }
@media (min-width: 900px) { .art-service .art-service-box { grid-template-columns: 1fr auto; } }
.art-service h2 { font-size: var(--t-h3); margin-bottom: var(--s-2); }
.art-service p { color: var(--muted); margin: 0; }
.art-service .eyebrow { margin-bottom: var(--s-3); }
.art-service .actions { margin: 0; }

/* ---------- Bloc: Formular ---------- */
.form-grid { display: grid; gap: var(--s-5); max-width: 760px; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 650; font-size: var(--t-sm); margin-bottom: 8px; color: var(--text); }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 13px 16px; font: inherit; color: var(--text);
  background: var(--surface); border: 1px solid var(--field-line); border-radius: min(var(--r-sm), 14px);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: var(--t-sm); color: var(--muted); }
.field [aria-invalid="true"] { border: 2px solid var(--text); }
.ts { min-height: 65px; }
.form-grid .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
/* Mesajele formularului. Fara JavaScript, serverul trimite la #trimis-N / #netrimis-N si :target le arata;
   cu JavaScript, site.js pune clasa is-on (aceleasi casete, acelasi text). */
.form-status, .form-fail, .form-done { padding: var(--s-4) var(--s-5); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r-sm); }
.form-status { margin: 0; color: var(--text); }
.form-status[hidden] { display: none; }
.form-fail, .form-done { display: none; }
.form-fail:target, .form-fail.is-on, .form-done:target, .form-done.is-on { display: block; }
.form-fail > :last-child, .form-done > :last-child { margin-bottom: 0; }
.form-done { max-width: 760px; margin-bottom: var(--s-5); }
.form-done h3 { font-size: var(--t-h3); margin: 0 0 var(--s-2); }
.b-form:has(.form-done:target) .form-grid, .b-form:has(.form-done.is-on) .form-grid { display: none; }

/* Nota si bifa de acord din formular */
.form-note { font-size: var(--t-sm); color: var(--muted); }
.form-note > :last-child { margin-bottom: 0; }
.check-field label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: var(--t-sm); }
.check-field input[type="checkbox"] { flex: none; width: 22px; height: 22px; min-height: 0; margin: 1px 0 0; accent-color: var(--accent); }

/* ---------- Bloc: Informatii legale (automat) ---------- */
.b-legal .prose h2 { margin-top: var(--s-7); font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
.b-legal .prose h2:first-child { margin-top: 0; }
.legal-dl { display: grid; gap: var(--s-2); margin: 0 0 var(--s-5); }
.legal-dl > div { display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr; gap: var(--s-3); padding-bottom: var(--s-2); border-bottom: 1px solid var(--line); }
.legal-dl dt { font-weight: 600; color: var(--text); }
.legal-dl dd { margin: 0; overflow-wrap: anywhere; }
.legal-table { margin: 0 0 var(--s-5); }
.legal-table table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: var(--s-3); border-bottom: 1px solid var(--line); }
.legal-table thead th { color: var(--muted); font-weight: 600; }
/* Pe telefon, fiecare furnizor devine o fisa (fara derulare orizontala). */
@media (max-width: 699px) {
  .legal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal-table tr { display: block; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
  .legal-table th, .legal-table td { display: block; padding: 2px 0; border: 0; }
  .legal-table td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--text); }
}
.todo { background: var(--surface); outline: 1px dashed var(--muted); padding: 0 4px; border-radius: 3px; }
.anpc, .anpc-text { margin: var(--s-4) 0 0; }
.anpc img { display: block; width: 250px; height: 50px; object-fit: contain; object-position: left center; }

/* ---------- Vizibilitate pe dispozitiv ---------- */
.only-mobile { display: block; } .only-desktop { display: none; }
@media (min-width: 960px) { .only-mobile { display: none; } .only-desktop { display: block; } }

/* ---------- Footer: banda inchisa, cu marca firmei ----------
   In subsol culorile se schimba local (text deschis pe fundal inchis), la toate designurile. */
.site-footer {
  --text: var(--foot-text); --heading: var(--foot-text); --brand-color: var(--foot-text); --link: var(--foot-accent); --muted: var(--foot-muted); --line: var(--foot-line); --accent: var(--foot-accent); --on-accent: var(--foot-bg);
  background: radial-gradient(50rem 22rem at 100% 0%, color-mix(in srgb, var(--foot-accent) 9%, transparent), transparent 70%), var(--foot-bg);
  color: var(--muted); padding-block: clamp(56px, 7vw, 96px) var(--s-6); font-size: var(--t-sm);
}
.footer-grid { display: grid; gap: var(--s-7) var(--s-6); grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot-brand .brand { margin-bottom: var(--s-5); }
.foot-brand > p:not(.brand) { max-width: 34ch; font-size: var(--t-base); line-height: 1.6; }
.foot-brand .brand.has-logo img { height: 48px; }
.fh-sub { margin-top: var(--s-5); }
.foot-hours li { margin-bottom: var(--s-1); }
.fh { font: 700 var(--t-base)/1.3 var(--font-body); color: var(--text); margin-bottom: var(--s-4); letter-spacing: -0.005em; text-transform: none; }
.site-footer p { margin: 0 0 var(--s-2); }
.site-footer li { margin-bottom: var(--s-3); }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.copy { border-top: 1px solid var(--line); margin-top: var(--s-8); padding-top: var(--s-5); }
.site-footer .footer-bottom { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; border-top: 1px solid var(--line); margin-top: var(--s-8); padding-top: var(--s-5); }
.site-footer .footer-bottom .copy { border: 0; margin: 0; padding: 0; }
.site-footer .footer-bottom .site-credit { margin: 0; overflow-wrap: anywhere; }
.site-footer .site-credit::before { content: "·"; margin-right: 12px; }
.site-footer .site-credit a { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 639px) {
  .site-footer .footer-bottom { flex-direction: column; align-items: flex-start; }
  .site-footer .site-credit::before { content: none; }
}
/* Pagina principala nu are spatiu dublu inainte de footer */
main > section:last-child { padding-bottom: var(--section); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none; animation: none; scroll-behavior: auto; }
}

/* ---------- Ajustari pentru sectiunile cu fundal de contrast ---------- */
.v-contrast .card, .v-contrast .plan, .v-contrast .review, .v-contrast .field input, .v-contrast .field textarea, .v-contrast .contact-list > div { background: var(--bg); }
.v-contrast .plan.is-featured { background: var(--raised); }
main > section.v-contrast + section { padding-top: var(--section); }

.embed-facade:has(iframe) { min-height: 700px; padding: 0; }
.map-facade > div, .embed-facade > div { position: relative; background: var(--surface); padding: var(--s-5); border-radius: var(--r-sm); }
.v-contrast .map-facade, .v-contrast .embed-facade { background-color: var(--bg); }
.v-contrast .map-facade > div, .v-contrast .embed-facade > div { background: var(--bg); }

/* ==========================================================================
   Designurile cu fundal deschis: culoarea nu e plata nici aici. Lumina foarte fina in culoarea de accent,
   sectiunile „contrast” cu o tenta de accent, cardurile albe cu umbra moale in loc de chenar gros.
   ========================================================================== */
html[data-tone="light"] body {
  background:
    radial-gradient(64rem 38rem at 100% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 66%),
    radial-gradient(48rem 30rem at 0% 26rem, color-mix(in srgb, var(--accent) 4%, transparent), transparent 70%),
    var(--bg);
}
html[data-tone="light"] .b-hero:not(.v-fasie, .is-full)::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(36rem 26rem at 82% 40%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%);
}
html[data-tone="light"] .v-contrast {
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 7%, var(--surface)) 0%, var(--surface) 55%, color-mix(in srgb, var(--accent) 4%, var(--surface)) 100%);
}
html[data-tone="light"] :is(.card, .plan, .review, .contact-list > div) { border-color: color-mix(in srgb, var(--line) 70%, transparent); box-shadow: var(--shadow-sm); }
html[data-tone="light"] .card:has(h3 a):hover { box-shadow: var(--shadow-lg); }
html[data-tone="light"] .cols-randuri .card { box-shadow: none; }
html[data-tone="light"] .hero-badge { background: color-mix(in srgb, var(--surface) 86%, transparent); border-color: color-mix(in srgb, var(--text) 10%, transparent); box-shadow: var(--shadow-lg); }

/* ==========================================================================
   Designuri cu fundal inchis (Dark premium, Energic, Bistro sau orice culori alese cu fundal inchis):
   culoarea nu e mata, ci se estompeaza: lumina difuza in culoarea de accent, zone mai inchise sus si jos,
   carduri cu tenta de la deschis la inchis, butoane cu degrade si stralucire usoara.
   data-tone="dark" il pune pagina, din luminozitatea fundalului (src/site/layout.js).
   Contrastul textului peste aceste zone e verificat in test/presets.test.mjs.
   ========================================================================== */
html[data-tone="dark"] body {
  background:
    radial-gradient(70rem 40rem at 100% 0%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 65%),
    radial-gradient(55rem 36rem at 0% 38%, color-mix(in srgb, var(--accent) 5%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 72%, black) 0, var(--bg) 36rem, var(--bg) calc(100% - 36rem), color-mix(in srgb, var(--bg) 76%, black) 100%);
}
html[data-tone="dark"] .site-header { background: color-mix(in srgb, color-mix(in srgb, var(--bg) 70%, black) 84%, transparent); border-bottom-color: color-mix(in srgb, var(--line) 70%, transparent); }

/* Lumina difuza in spatele primei sectiuni */
html[data-tone="dark"] .b-hero:not(.v-fasie, .is-full)::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40rem 26rem at 80% 35%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 70%),
    radial-gradient(28rem 20rem at 8% 85%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%);
}

/* Sectiunile „contrast”: suprafata care trece in fundal, cu o lumina discreta sus */
html[data-tone="dark"] .v-contrast {
  --card-base: var(--bg);
  background:
    radial-gradient(50rem 22rem at 85% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 80%, var(--bg)) 0%, var(--surface) 45%, color-mix(in srgb, var(--surface) 75%, var(--bg)) 100%);
}

/* Carduri si casete: tenta de la deschis (stanga sus) la inchis (dreapta jos) */
html[data-tone="dark"] :is(.card:not(.cols-randuri .card), .plan, .review, .match, .class, .contact-list > div, .art-service .art-service-box, .form-done, .form-fail, .form-status) {
  background: linear-gradient(155deg, color-mix(in srgb, var(--card-base, var(--surface)) 90%, var(--text)) 0%, var(--card-base, var(--surface)) 40%, color-mix(in srgb, var(--card-base, var(--surface)) 80%, var(--bg)) 100%);
  border-color: color-mix(in srgb, var(--line) 80%, var(--accent));
}
html[data-tone="dark"] .plan.is-featured {
  background: linear-gradient(155deg, color-mix(in srgb, var(--raised) 88%, var(--accent)) 0%, var(--raised) 45%, color-mix(in srgb, var(--raised) 80%, var(--bg)) 100%);
  border-color: var(--accent);
  box-shadow: 0 24px 60px -30px color-mix(in srgb, var(--accent) 60%, transparent);
}
html[data-tone="dark"] .card:has(h3 a):hover { box-shadow: 0 20px 44px -24px color-mix(in srgb, var(--accent) 55%, transparent); }
html[data-tone="dark"] .b-cta:not(.v-accent) .cta-box { box-shadow: 0 30px 80px -40px color-mix(in srgb, var(--accent) 45%, transparent); border-color: color-mix(in srgb, var(--line) 70%, var(--accent)); }
html[data-tone="dark"] .framed img { box-shadow: 0 40px 80px -40px color-mix(in srgb, black 80%, transparent); }

/* Butonul principal si caseta de accent: degrade + stralucire usoara */
html[data-tone="dark"] .btn-primary {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 84%, white) 0%, var(--accent) 55%, color-mix(in srgb, var(--accent) 90%, black) 100%);
  box-shadow: 0 10px 28px -12px color-mix(in srgb, var(--accent) 70%, transparent), inset 0 1px 0 color-mix(in srgb, white 28%, transparent);
}
html[data-tone="dark"] .btn-primary:hover { box-shadow: 0 14px 34px -12px color-mix(in srgb, var(--accent) 85%, transparent), inset 0 1px 0 color-mix(in srgb, white 32%, transparent); }
html[data-tone="dark"] .b-cta.v-accent .cta-box { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 86%, white) 0%, var(--accent) 50%, color-mix(in srgb, var(--accent) 88%, black) 100%); }
html[data-tone="dark"] .b-cta.v-accent .btn-primary { box-shadow: none; }
html[data-tone="dark"] .b-hero.v-fasie::before { background: radial-gradient(50rem 30rem at 85% 0%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%), linear-gradient(120deg, color-mix(in srgb, var(--surface) 82%, var(--accent)), var(--surface)); }

/* Elementele mici pline (eticheta pachetului, fila aleasa, pagina curenta): cand culoarea temei are contrast
   sub 4,5:1 cu textul ei (data-btn="mare"), devin nuantate, cu text in culoarea titlurilor. */
html[data-btn="mare"] :is(.plan-badge, .tabs button[aria-selected="true"], .cat-nav a[aria-current="page"], .pager ol a[aria-current="page"], .result.r-v) {
  background: color-mix(in srgb, var(--accent) 16%, var(--surface)); border-color: var(--accent); color: var(--heading);
}
html[data-btn="mare"] .b-cta.v-accent .cta-box p { font-size: 1.1875rem; font-weight: 700; }

/* ---------- Prima secțiune și antetul pe ecrane mari ----------
   Proporțiile temelor: totul crește odată cu lățimea ecranului (vw), ca la modelele temelor:
   marginile ~5,6% din lățime, titlul cât ~7% din lățime, butoane late, antet înalt. */
@media (min-width: 1200px) {
  :root { --header-h: clamp(104px, 8.6vw, 140px); }
  .wrap { max-width: none; padding-inline: 5.6vw; }
  .b-hero.is-full { min-height: clamp(640px, 76vh, 860px); }
  .b-hero.is-full .hero-text { max-width: min(62vw, 60rem); }
  .b-hero.is-full h1, .b-hero.is-full h2 { font-size: clamp(4.4rem, 7.1vw, 6.2rem); line-height: 1.08; }
  .b-hero.is-full .eyebrow { font-size: clamp(0.95rem, 1.1vw, 1.2rem); margin-bottom: 1.4vw; }
  .b-hero.is-full .lead { font-size: clamp(1.45rem, 1.8vw, 1.75rem); line-height: 1.45; max-width: 36ch; }
  .b-hero.is-full .actions { gap: 1.6vw; margin-top: 2.8vw; }
  .b-hero.is-full .actions .btn { min-height: clamp(70px, 5.4vw, 90px); padding: 0 clamp(44px, 3.8vw, 64px); font-size: clamp(1.2rem, 1.45vw, 1.55rem); border-radius: 8px; }
  html[data-btn="mare"] .b-hero.is-full .actions .btn { font-size: clamp(1.25rem, 1.5vw, 1.6rem); }
  .site-header .brand { gap: 0.9vw; }
  .site-header .brand-name { font-size: clamp(2rem, 2.6vw, 2.8rem); }
  html[data-brand="sans-caps"] .site-header .brand-name { font-size: clamp(1.85rem, 2.4vw, 2.6rem); }
  html[data-brand="serif-caps"] .site-header .brand-name { font-size: clamp(2rem, 2.7vw, 2.9rem); }
  .site-header .brand-tag { font-size: clamp(0.6875rem, 0.75vw, 0.85rem); }
  .site-header .brand-mark { width: clamp(50px, 4vw, 64px); height: clamp(50px, 4vw, 64px); font-size: clamp(1.5rem, 2vw, 2.1rem); border-radius: 12px; }
  .nav-desktop ul { gap: clamp(18px, 2.1vw, 40px); }
  .nav-desktop a { font-size: clamp(1.05rem, 1.3vw, 1.45rem); }
  .header-cta { min-height: clamp(58px, 4.6vw, 76px); padding: 0 clamp(30px, 2.6vw, 46px); font-size: clamp(1.1rem, 1.45vw, 1.5rem); border-radius: 8px; }
  .b-hero + .b-highlights { padding-block: clamp(36px, 3.2vw, 56px); }
  .b-hero + .b-highlights .ico { width: clamp(44px, 3.6vw, 60px); height: clamp(44px, 3.6vw, 60px); }
  .b-hero + .b-highlights .adv-text { font-size: clamp(1.1rem, 1.4vw, 1.45rem); }
  .b-hero + .b-highlights .adv-value { font-size: clamp(2.2rem, 2.9vw, 3.1rem); }
  .b-hero + .b-highlights .adv-list li { gap: 1.1vw; }
}

/* Clinicile: titluri serif mai subțiri și puțin mai mici, ca în modelele temelor (aspect calm, medical). */
html:is([data-preset="medical"], [data-preset="stomatologie"], [data-preset="estetica"], [data-preset="pediatrie"]) :is(h1, h2) { font-weight: 400; letter-spacing: -0.015em; }
@media (min-width: 1200px) {
  html:is([data-preset="medical"], [data-preset="stomatologie"], [data-preset="estetica"], [data-preset="pediatrie"]) .b-hero.is-full :is(h1, h2) { font-size: clamp(4rem, 5.9vw, 6.4rem); }
}

/* Restaurantele și sportul: prima secțiune mai joasă și titluri pe două rânduri, ca în modelele temelor (banda de avantaje se vede din prima). */
@media (min-width: 1200px) {
  html:is([data-preset="italian"], [data-preset="urban"], [data-preset="traditional"], [data-preset="cafenea"], [data-preset="fitness"], [data-preset="yoga"], [data-preset="arte-martiale"], [data-preset="outdoor"]) .b-hero.is-full { min-height: clamp(600px, 70vh, 760px); }
  html:is([data-preset="italian"], [data-preset="urban"], [data-preset="traditional"], [data-preset="cafenea"], [data-preset="fitness"], [data-preset="yoga"], [data-preset="arte-martiale"], [data-preset="outdoor"]) .b-hero.is-full :is(h1, h2) { font-size: clamp(4rem, 5.6vw, 6rem); }
}
html:is([data-preset="italian"], [data-preset="urban"], [data-preset="traditional"], [data-preset="cafenea"], [data-preset="fitness"], [data-preset="yoga"], [data-preset="arte-martiale"], [data-preset="outdoor"]) :is(h1, h2) { font-weight: 400; }

/* ---------- WhatsApp: butonul fix, jos în dreapta, IDENTIC pe toate site-urile kitului ----------
   Același buton ca pe sitecomplet.ro (.floating-whatsapp din public/assets/sc/sitecomplet.css): pastilă cu degradeu
   verde-turcoaz, text închis „◉ WhatsApp”, aceleași dimensiuni și poziții, la toate temele (nu ia culorile temei). */
.wa-float {
  position: fixed; bottom: 23px; right: 24px; z-index: 33;
  display: block; padding: 13px 20px; border-radius: 999px;
  background: linear-gradient(110deg, #61DCCF, #63D7E8); color: #03121b;
  font: 800 14px/1.55 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: normal; text-transform: none;
  text-decoration: none; box-shadow: 0 10px 30px #1fc5c84d;
}
.wa-float:hover, .wa-float:focus { color: #03121b; text-decoration: none; }
.wa-float:focus-visible { outline: 3px solid #83ebff; outline-offset: 3px; }
@media (max-width: 550px) { .wa-float { bottom: 12px; right: 12px; } }
body:has(.wa-float) .site-footer { padding-bottom: 96px; }
@media print { .wa-float { display: none; } }

/* ---------- Recenzii: câte 4 pe rând pe calculator, ghilimele românești, inițiale în cerc colorat ---------- */
@media (min-width: 1200px) { .reviews:has(> li:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.review { border-radius: 22px; gap: var(--s-5); }
.review .stars { margin: 0; font-size: 1.05rem; letter-spacing: 2px; color: var(--accent); }
.review blockquote { font-size: var(--t-base); line-height: 1.65; color: var(--text); quotes: "„" "”"; }
.review blockquote > :first-child::before { content: open-quote; }
.review blockquote > :last-child::after { content: close-quote; }
.review figcaption { padding-top: var(--s-5); border-top: 1px solid var(--line); }
.review .avatar { width: 46px; height: 46px; font-size: 0.95rem; font-weight: 700; color: var(--av, var(--link)); background: color-mix(in srgb, var(--av, var(--link)) 16%, var(--surface)); border: 1.5px solid color-mix(in srgb, var(--av, var(--link)) 70%, transparent); }
.reviews > li:nth-child(4n+2) .avatar { --av: color-mix(in srgb, var(--link) 60%, #3FA7D6); }
.reviews > li:nth-child(4n+3) .avatar { --av: color-mix(in srgb, var(--link) 55%, #8E6FD8); }
.reviews > li:nth-child(4n+4) .avatar { --av: color-mix(in srgb, var(--link) 55%, #2FA37B); }
.review cite { font-size: var(--t-base); }
.review .role, .review .source { font-size: var(--t-sm); }
/* Numele firmei din antet nu se taie. */
.site-header .brand { flex: none; }
.reviews > li { display: flex; }
.reviews > li > .review { flex: 1; }
.review figcaption { align-items: flex-start; }

/* ---------- Prima secțiune: un dreptunghi de înălțime potrivită (nu tot ecranul) ----------
   Înălțimea crește puțin cu lățimea ecranului, dar rămâne moderată; titlul e limitat ca să încapă. */
.b-hero.is-full { min-height: clamp(420px, 34vw, 560px); padding-block: clamp(56px, 6vw, 80px); }
main > .b-hero.is-full:first-child { padding-top: calc(var(--header-h) + clamp(28px, 3vw, 48px)); min-height: calc(var(--header-h) + clamp(420px, 30vw, 520px)); }
@media (min-width: 1200px) {
  .b-hero.is-full, html[data-preset] .b-hero.is-full { min-height: clamp(460px, 32vw, 580px); }
  main > .b-hero.is-full:first-child, html[data-preset] main > .b-hero.is-full:first-child { min-height: calc(var(--header-h) + clamp(400px, 27vw, 500px)); }
  .b-hero.is-full h1, .b-hero.is-full h2, html[data-preset] .b-hero.is-full :is(h1, h2) { font-size: clamp(3.4rem, 4.4vw, 5rem); line-height: 1.08; }
  .b-hero.is-full .lead { font-size: clamp(1.3rem, 1.4vw, 1.5rem); }
  .b-hero.is-full .actions { margin-top: 2vw; }
  .b-hero.is-full .actions .btn { min-height: clamp(60px, 4.4vw, 72px); padding: 0 clamp(36px, 3vw, 52px); font-size: clamp(1.1rem, 1.2vw, 1.3rem); }
}
@media (max-width: 759px) {
  main > .b-hero.is-full:first-child { min-height: 0; padding-bottom: var(--s-7); }
}

/* ---------- Prima secțiune mai joasă: poza + banda de avantaje încap pe ecran de la prima privire ---------- */
.b-hero + .b-highlights + section { padding-top: clamp(48px, 5vw, 72px); }
@media (min-width: 1200px) {
  :root { --header-h: clamp(92px, 6.2vw, 108px); }
  .site-header .brand-name, html[data-brand="sans-caps"] .site-header .brand-name { font-size: clamp(1.6rem, 1.7vw, 2rem); }
  html[data-brand="serif-caps"] .site-header .brand-name { font-size: clamp(1.7rem, 1.8vw, 2.1rem); }
  .site-header .brand-mark { width: clamp(44px, 2.9vw, 52px); height: clamp(44px, 2.9vw, 52px); font-size: clamp(1.3rem, 1.4vw, 1.6rem); }
  .nav-desktop a { font-size: clamp(1rem, 1.05vw, 1.2rem); }
  .header-cta { min-height: clamp(50px, 3.2vw, 58px); padding: 0 clamp(24px, 1.8vw, 32px); font-size: clamp(1rem, 1.05vw, 1.2rem); }
  .b-hero.is-full, html[data-preset] .b-hero.is-full { min-height: clamp(400px, 26vw, 480px); padding-block: 40px; }
  main > .b-hero.is-full:first-child, html[data-preset] main > .b-hero.is-full:first-child { min-height: calc(var(--header-h) + clamp(340px, 21vw, 400px)); padding-top: calc(var(--header-h) + 16px); padding-bottom: 40px; }
  .b-hero.is-full .hero-text { max-width: 46rem; }
  .b-hero.is-full h1, .b-hero.is-full h2, html[data-preset] .b-hero.is-full :is(h1, h2) { font-size: clamp(3rem, 3.4vw, 4rem); }
  .b-hero.is-full .lead { font-size: clamp(1.15rem, 1.2vw, 1.35rem); }
  .b-hero.is-full .actions { margin-top: 28px; }
  .b-hero.is-full .actions .btn { min-height: clamp(54px, 3.4vw, 62px); padding: 0 clamp(30px, 2.4vw, 44px); font-size: clamp(1.05rem, 1.1vw, 1.2rem); }
  .b-hero + .b-highlights { padding-block: clamp(26px, 2vw, 36px); }
}

/* ---------- Pe calculator: poza din prima secțiune + banda de avantaje umplu exact înălțimea ecranului ----------
   Banda are înălțime fixă (--strip-h); poza ia restul ecranului (100svh = înălțimea vizibilă a ferestrei).
   Fără bandă dedesubt, poza ia tot ecranul. Conținutul nu e tăiat niciodată (min-height). */
@media (min-width: 960px) and (min-height: 560px) {
  :root { --strip-h: clamp(96px, 11vh, 128px); }
  main > .b-hero.is-full:first-child, html[data-preset] main > .b-hero.is-full:first-child { min-height: 100svh; padding-top: calc(var(--header-h) + 16px); padding-bottom: 32px; }
  main > .b-hero.is-full:first-child:has(+ .b-highlights), html[data-preset] main > .b-hero.is-full:first-child:has(+ .b-highlights) { min-height: calc(100svh - var(--strip-h)); }
  main > .b-hero.is-full:first-child + .b-highlights { min-height: var(--strip-h); padding-block: 12px; display: grid; align-items: center; }
}

/* ---------- Paginile interioare (cele cu „Acasă / …” sus): antet normal, deasupra pozei, și poză mai joasă ----------
   Doar pagina principală are poza pe tot ecranul, cu meniul peste ea. */
html body:has(> .crumbs):has(main > .b-hero.is-full:first-child) .site-header {
  position: sticky; background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom-color: color-mix(in srgb, var(--line) 80%, transparent); backdrop-filter: blur(14px) saturate(1.3);
}
html[data-tone="dark"] body:has(> .crumbs):has(main > .b-hero.is-full:first-child) .site-header { background: color-mix(in srgb, color-mix(in srgb, var(--bg) 70%, black) 88%, transparent); }
body:has(> .crumbs) .crumbs ol { padding-block: var(--s-4); }
html[data-preset] body:has(> .crumbs) main > .b-hero.is-full:first-child,
html[data-preset] body:has(> .crumbs) main > .b-hero.is-full:first-child:has(+ .b-highlights) {
  min-height: clamp(320px, 34vw, 460px); padding-top: clamp(48px, 5vw, 72px); padding-bottom: clamp(48px, 5vw, 72px);
}
html[data-preset] body:has(> .crumbs) .b-hero.is-full :is(h1, h2) { font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem); }
@media (max-width: 759px) {
  html[data-preset] body:has(> .crumbs) main > .b-hero.is-full:first-child { min-height: 0; }
}
main > .b-hero.is-full + section:not(.b-highlights) { padding-top: clamp(56px, 6vw, 88px); }
/* Banda lipită de poză are înălțime fixă la toate temele (și la cele cu iconița deasupra textului). */
@media (min-width: 960px) and (min-height: 560px) {
  html[data-strip="col"] { --strip-h: clamp(116px, 13vh, 140px); }
  main > .b-hero.is-full:first-child + .b-highlights { height: var(--strip-h); min-height: 0; overflow: hidden; padding-block: 10px; }
  html[data-strip="col"] main > .b-hero.is-full:first-child + .b-highlights .adv-list li { gap: 8px; }
  html[data-strip="col"] main > .b-hero.is-full:first-child + .b-highlights .ico { width: clamp(30px, 2.3vw, 40px); height: clamp(30px, 2.3vw, 40px); }
  html[data-strip="col"] main > .b-hero.is-full:first-child + .b-highlights .adv-text { font-size: clamp(1rem, 1.05vw, 1.15rem); line-height: 1.3; }
}
/* Pe telefon numele firmei se micșorează ca să încapă lângă butonul „Meniu”. */
@media (max-width: 959px) {
  .site-header .brand { flex: 0 1 auto; min-width: 0; }
  html[data-brand="serif-caps"] .site-header .brand-name { font-size: 1.2rem; letter-spacing: 0.06em; }
}

/* Premium edition: all geometry follows the selected preset and admin color tokens. */
:root {
  --wrap: 1280px;
  --section: clamp(76px, 8vw, 132px);
  --r-sm: 4px; --r-lg: 6px; --r-btn: 3px;
  --t-base: clamp(1rem, .96rem + .16vw, 1.08rem);
  --t-h1: clamp(3rem, 2.1rem + 3.5vw, 6rem);
  --t-h2: clamp(2.25rem, 1.6rem + 2.2vw, 4rem);
  --t-h3: clamp(1.4rem, 1.15rem + .65vw, 1.85rem);
}
h1,h2,h3 { font-weight: var(--display-weight,400); letter-spacing: -.045em; }
h1 { line-height: 1.01; max-width: 14ch; }
h2 { line-height: 1.08; }
h3 { line-height: 1.18; letter-spacing: -.025em; }
h1 .hl,h2 .hl { color: var(--link); font-style: italic; font-weight: inherit; }
.eyebrow { display:flex; align-items:center; gap:14px; font:500 .66rem/1.5 var(--font-brand); letter-spacing:.19em; margin-bottom:24px; }
.eyebrow::before { content:''; display:block; width:28px; height:1px; flex:none; background:currentColor; }
.b-hero .lead,.b-hero.is-full .lead { font-size:clamp(1.02rem,.95rem + .23vw,1.18rem); line-height:1.85; max-width:44ch; }
.section-head { max-width:52rem; margin-bottom:48px; }
.section-head .intro,.contact-head .intro,.booking-head .intro { font-size:1.06rem; line-height:1.8; max-width:54ch; }
.section-head h2 { max-width:20ch; }
.btn { min-height:50px; padding:0 25px; font-size:.8rem; letter-spacing:.025em; font-weight:600; border-radius:var(--r-btn); box-shadow:none; gap:18px; transition:background .2s,border-color .2s,transform .2s; }
.btn-primary::after { content:'↗'; font-size:1.1rem; font-weight:400; }
.btn-primary:hover { transform:translateY(-2px); }
.btn-ghost { border-color:var(--field-line); }
.site-header { background:var(--bg); backdrop-filter:none; }
.header-row { min-height:88px; }
.brand-mark { background:none; border:1px solid color-mix(in srgb,var(--heading) 36%,transparent); color:var(--heading); border-radius:50%; width:43px; height:43px; }
.brand-tag { font-size:.55rem; letter-spacing:.11em; font-weight:500; margin-top:7px; }
.brand-name,html[data-brand="sans-caps"] .brand-name { font-size:1.22rem; letter-spacing:.04em; }
html[data-brand="serif-caps"] .brand-name { font-size:1.6rem; letter-spacing:.07em; }
html[data-preset] .site-header .brand-name { font-size:1.35rem; }
html[data-brand="serif-caps"] .site-header .brand-name { font-size:1.6rem; }
html[data-preset] .site-header .brand-mark { width:43px; height:43px; font-size:1.1rem; }
html[data-preset] .nav-desktop a { font-size:.8rem; font-weight:500; letter-spacing:.025em; padding-block:13px; }
html[data-preset] .header-cta { min-height:45px; padding-inline:20px; font-size:.74rem; }
.nav-desktop ul { gap:24px; }
.nav-desktop a[aria-current="page"] { box-shadow:inset 0 -1px currentColor; }
.b-hero.v-chenar { padding-block:clamp(45px,5vw,76px); }
.b-hero.v-chenar .hero-text { max-width:39rem; }
.b-hero.v-chenar .hero-media { position:relative; margin-left:10px; }
.b-hero.v-chenar .hero-media img { width:100%; aspect-ratio:4/4.4; object-fit:cover; border-radius:var(--hero-radius,100px 4px 4px 4px); box-shadow:none; }
.hero-media.framed { padding:0; background:none; border:0; box-shadow:none; }
.hero-badge { border-radius:2px; font-size:.7rem; background:var(--bg); color:var(--heading); border:1px solid var(--line); padding:14px 18px; box-shadow:none; }
html[data-preset] main > .b-hero.is-full:first-child,html[data-preset] main > .b-hero.is-full:first-child:has(+ .b-highlights) { min-height:clamp(600px,80svh,820px); padding-block:calc(var(--header-h) + 70px) 85px; }
html[data-preset] .b-hero.is-full :is(h1,h2) { font-size:clamp(3rem,5.1vw,6.4rem); line-height:1.03; max-width:13ch; }
html[data-preset] .b-hero.is-full .hero-text { max-width:47rem; }
html[data-preset] .b-hero.is-full .actions .btn { min-height:52px; padding:0 27px; font-size:.8rem; }
.b-hero.v-centrat .hero-text :is(h1,h2) { margin-inline:auto; max-width:20ch; }
.b-hero.v-centrat .eyebrow { justify-content:center; }
.b-hero + .b-highlights { background:var(--strip-bg); border-block:1px solid var(--line); padding-block:29px; min-height:0; }
.b-hero + .b-highlights .adv-text { font-size:.78rem; font-weight:500; letter-spacing:.01em; }
.b-highlights .adv-list .ico { width:25px; height:25px; }
.b-hero + .b-highlights + section { padding-top:var(--section); }
.card-grid { gap:32px; }
.card { border:0; border-bottom:1px solid var(--line); background:none; border-radius:0; padding:0 0 28px; box-shadow:none; }
.card img { width:100%; max-width:100%; margin:0 0 27px; aspect-ratio:4/3; border-radius:var(--r-lg); }
.card :is(h3,p,.chips) { margin-inline:0; }
.card h3 { font-size:clamp(1.5rem,1.2rem + .6vw,1.9rem); }
.card h3 a { color:var(--heading); }
.card h3 a::before { content:'↗'; float:right; font:400 1.4rem/1 var(--font-body); color:var(--link); margin:4px 2px 0 15px; }
.card p { font-size:.95rem; line-height:1.8; }
.card:has(h3 a):hover { box-shadow:none; transform:translateY(-4px); border-color:var(--field-line); }
.chips li { border:0; border-radius:0; background:none; font-size:.64rem; padding:0 10px 0 0; letter-spacing:.055em; color:var(--link); }
.media-grid .media img { aspect-ratio:4/4.3; border-radius:var(--r-lg); box-shadow:none; }
.media-grid .prose h2 { max-width:16ch; }
.b-media .prose p { line-height:1.85; font-size:1rem; }
.steps { gap:28px; }
.step { background:none; border-radius:0; box-shadow:none; border-color:var(--line); }
.plan { box-shadow:none; border-radius:4px; padding:38px 30px; }
.plan.is-featured { box-shadow:none; border:1px solid var(--accent); }
.plan-price { font-weight:var(--display-weight,400); font-size:3.4rem; letter-spacing:-.05em; }
.plan-badge { border-radius:2px; font-size:.6rem; letter-spacing:.13em; }
.person-photo.is-empty { border-radius:4px; background:var(--raised); }
.person-photo.is-empty .person-initials { font-size:2rem; font-weight:var(--display-weight,400); }
.person-role { font-size:.65rem; letter-spacing:.06em; line-height:1.6; }
.person-bio { font-size:.93rem; line-height:1.8; }
.review { background:none; box-shadow:none; border:1px solid var(--line); border-radius:4px; padding:32px; }
.review blockquote { font-family:var(--font-display); font-size:1.45rem; font-weight:var(--display-weight,400); line-height:1.5; }
.review .stars { letter-spacing:3px; font-size:.72rem; color:var(--link); }
.faq-list details { border-radius:0; box-shadow:none; }
.faq-list summary { padding-block:24px; }
.menu-section h2 { font-size:2.1rem; padding-bottom:18px; border-bottom:1px solid var(--line); }
.menu-nav a { border-radius:2px; background:none; font-size:.73rem; font-weight:500; }
.menu-item { padding-block:20px; }
.menu-item h3 { font-size:1.35rem; }
.pricelist-group-title { font-size:1.8rem; }
.b-cta { text-align:left; }
.b-cta h2 { max-width:18ch; }
.site-footer { padding-top:70px; }
.site-footer .fh { font:500 .67rem/1.4 var(--font-brand); letter-spacing:.13em; text-transform:uppercase; }
.site-footer p,.site-footer li { font-size:.84rem; line-height:1.9; }
.crumbs { font-size:.74rem; }
:is(input,textarea,select) { border-radius:3px; }
html[data-preset="medical"],html[data-preset="stomatologie"],html[data-preset="pediatrie"] { --r-sm:12px; --r-lg:18px; --r-btn:999px; --hero-radius:120px 18px 18px 18px; }
html[data-preset="estetica"],html[data-preset="yoga"] { --r-lg:90px 5px 5px 5px; --hero-radius:180px 180px 5px 5px; --r-btn:999px; }
html[data-preset="fitness"],html[data-preset="arte-martiale"],html[data-preset="tehnologic"],html[data-preset="urban"] { --r-lg:2px; --hero-radius:2px; }
html[data-preset="fitness"] :is(h1,h2),html[data-preset="arte-martiale"] :is(h1,h2) { letter-spacing:-.065em; line-height:1.08; }
html[data-preset="fitness"] .hl,html[data-preset="arte-martiale"] .hl,html[data-preset="tehnologic"] .hl,html[data-preset="urban"] .hl { font-style:normal; }
html[data-preset="italian"] .hero-media img,html[data-preset="traditional"] .hero-media img { --hero-radius:3px; }
@media(min-width:960px) { .b-hero.v-chenar .hero-grid { grid-template-columns:minmax(0,1fr) minmax(0,.95fr); gap:clamp(45px,6vw,100px); } }
@media(max-width:959px) { .brand-tag { display:none; }.hero-media.framed { margin:15px 0 0; }.b-hero.v-chenar .hero-media img { aspect-ratio:5/4; }.b-hero.v-chenar h1 { font-size:clamp(2.9rem,7vw,5rem); } }
@media(max-width:599px) { :root { --gutter:22px; --section:72px; }.header-row{min-height:76px;}html[data-preset] .site-header .brand-name{font-size:1.05rem;}html[data-brand="serif-caps"] .site-header .brand-name{font-size:1.3rem;}.header-cta{display:none;}h1,.b-hero.v-chenar h1{font-size:clamp(2.8rem,10vw,3.7rem);}.b-hero.v-chenar{padding-top:32px;}.b-hero.v-chenar .hero-media img{aspect-ratio:1.1;}.b-hero .hero-text{max-width:100%;}.hero-badge{padding:10px 12px;font-size:.63rem;}.b-hero .lead{font-size:1rem;}.eyebrow{font-size:.6rem;letter-spacing:.13em;}.section-head{margin-bottom:30px;}.b-hero + .b-highlights{padding-block:24px;}.b-hero + .b-highlights .adv-list{row-gap:22px;}.b-hero + .b-highlights .adv-text{font-size:.7rem;}html[data-preset] main > .b-hero.is-full:first-child,html[data-preset] main > .b-hero.is-full:first-child:has(+ .b-highlights){min-height:680px;padding-top:130px;padding-bottom:60px;}html[data-preset] .b-hero.is-full :is(h1,h2){font-size:3.3rem;}.card-grid{gap:30px;}.btn{font-size:.75rem;min-height:48px;}.media-grid{gap:32px;}.plan{padding:30px 24px;}.site-footer{padding-top:50px;} }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after{scroll-behavior:auto;transition:none;animation:none;} }
