/* Berbecu.ro — design system
   Tokenurile sunt în :root. Regula de contrast:
   --green-500 (verdele din logo) NU se folosește pentru text pe alb (contrast 2,7:1).
   Pentru text/linkuri pe alb folosește --green-700. Pe negru, --green-400.
*/

@font-face { font-family: 'Inter'; src: url('/fonts/inter-400.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-600.woff') format('woff'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter Display'; src: url('/fonts/inter-display-800.woff') format('woff'); font-weight: 800; font-display: swap; }

:root {
  /* Culoare */
  --ink-950: #0b0d0b;
  --ink-900: #121512;
  --ink-800: #1c201c;
  --ink-700: #2c312c;
  --ink-500: #5b625b;
  --ink-400: #858c85;
  --ink-200: #d9ddd7;
  --ink-100: #eceee9;
  --ink-50: #f6f7f4;
  --white: #ffffff;

  --green-400: #93c95a; /* text/accent pe fundal închis */
  --green-500: #74a831; /* verdele brandului: fundaluri, butoane cu text negru */
  --green-600: #5c8a22;
  --green-700: #3f6b12; /* text și linkuri pe alb (≈ 6:1) */
  --green-50: #f1f7e8;

  --red-700: #b42318;
  --red-50: #fef3f2;
  --amber-700: #8a5a00;
  --amber-50: #fff8e6;

  --bg: var(--white);
  --bg-subtle: var(--ink-50);
  --text: var(--ink-900);
  --text-muted: var(--ink-500);
  --border: var(--ink-200);
  --link: var(--green-700);
  --focus: #1f6feb;

  /* Tipografie */
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Inter Display', 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-2xl: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  --fs-3xl: clamp(2.25rem, 1.5rem + 3.4vw, 4rem);
  --lh-tight: 1.08;
  --lh-body: 1.6;

  /* Spațiere (scară 4px) */
  --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;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgb(0 0 0 / .06), 0 4px 16px rgb(0 0 0 / .06);
  --shadow-lg: 0 2px 4px rgb(0 0 0 / .08), 0 16px 40px rgb(0 0 0 / .12);
  --container: 1160px;
  --gutter: 16px;
  --tap: 48px; /* țintă minimă de atingere */
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* ───────── Bază */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: var(--fs-base); line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: var(--lh-tight); letter-spacing: -0.02em; margin: 0 0 var(--s-4); text-wrap: balance; }
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); letter-spacing: -0.01em; font-family: var(--font-body); font-weight: 600; line-height: 1.3; }
p { margin: 0 0 var(--s-4); text-wrap: pretty; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: #8ab4ff; }

.skip-link { position: absolute; left: var(--s-4); top: -100px; z-index: 100; background: var(--white); color: var(--ink-900); padding: var(--s-3) var(--s-4); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); font-weight: 600; }
.skip-link:focus { top: var(--s-3); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-block: var(--s-8); }
.section--subtle { background: var(--bg-subtle); }
.section--tight { padding-block: var(--s-7); }
.eyebrow { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); margin-bottom: var(--s-3); display: inline-flex; align-items: center; gap: var(--s-2); }
.eyebrow::before { content: ''; width: 20px; height: 2px; background: currentColor; }
.lead { font-size: var(--fs-lg); color: var(--text-muted); max-width: 62ch; }
.muted { color: var(--text-muted); }
.small { font-size: var(--fs-sm); }

/* ───────── Butoane */
.btn {
  --btn-bg: var(--green-500); --btn-fg: var(--ink-950); --btn-bd: var(--green-500);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: var(--tap); padding: 0 var(--s-5); border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg); border: 2px solid var(--btn-bd);
  font: 600 var(--fs-base)/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .05s;
}
.btn:hover { --btn-bg: #83b83e; --btn-bd: #83b83e; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .55; cursor: not-allowed; }
.btn--dark { --btn-bg: var(--ink-900); --btn-fg: var(--white); --btn-bd: var(--ink-900); }
.btn--dark:hover { --btn-bg: var(--ink-700); --btn-bd: var(--ink-700); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink-900); --btn-bd: var(--ink-200); }
.btn--ghost:hover { --btn-bg: var(--ink-50); --btn-bd: var(--ink-400); }
.on-dark .btn--ghost { --btn-fg: var(--white); --btn-bd: rgb(255 255 255 / .3); }
.on-dark .btn--ghost:hover { --btn-bg: rgb(255 255 255 / .08); --btn-bd: rgb(255 255 255 / .6); }
.btn--lg { min-height: 56px; padding: 0 var(--s-6); font-size: var(--fs-lg); }
.btn--block { width: 100%; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ───────── Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: var(--s-2); text-decoration: none; color: var(--ink-950); }
.brand img { width: 44px; height: 46px; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.03em; line-height: 1; }
.brand__tld { color: var(--green-700); font-size: .7em; }
.on-dark .brand { color: var(--white); }
.on-dark .brand__tld { color: var(--green-400); }
.nav { display: flex; align-items: center; gap: var(--s-2); }
.nav__links { display: none; list-style: none; margin: 0; padding: 0; gap: var(--s-1); }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3); color: var(--ink-800); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); border-radius: var(--radius-sm); }
.nav__links a:hover, .nav__links a[aria-current='page'] { background: var(--ink-50); color: var(--ink-950); }
.nav .btn { min-height: 44px; padding: 0 var(--s-4); font-size: var(--fs-sm); }
@media (min-width: 860px) { .nav__links { display: flex; } }
.menu-toggle { min-height: 44px; min-width: 44px; display: inline-grid; place-items: center; background: none; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; color: var(--ink-900); }
@media (min-width: 860px) { .menu-toggle.nav__more, .mobile-menu { display: none !important; } }
.mobile-menu { border-top: 1px solid var(--border); padding-top: var(--s-3); padding-bottom: var(--s-4); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu a { display: flex; min-height: var(--tap); align-items: center; font-weight: 600; color: var(--ink-900); text-decoration: none; border-bottom: 1px solid var(--ink-100); }
.mobile-menu[hidden] { display: none; }

/* ───────── Hero */
.hero { position: relative; overflow: hidden; color: var(--white); background: var(--ink-950); }
.hero::before { /* teren + linia de iarbă din logo, fără imagini stock */
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 85% 10%, rgb(116 168 49 / .22), transparent 60%),
    radial-gradient(60% 50% at 0% 100%, rgb(116 168 49 / .14), transparent 60%),
    repeating-linear-gradient(115deg, rgb(255 255 255 / .018) 0 2px, transparent 2px 14px);
}
.hero__inner { position: relative; padding-top: var(--s-8); padding-bottom: var(--s-8); display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 980px) { .hero__inner { grid-template-columns: 1.15fr .85fr; padding-top: var(--s-9); padding-bottom: var(--s-9); } }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--green-400); }
.hero .lead { color: rgb(255 255 255 / .78); }
.hero__arc { position: absolute; left: -10%; right: -10%; bottom: -1px; height: 64px; }
.hero__points { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); list-style: none; padding: 0; margin: var(--s-5) 0 0; color: rgb(255 255 255 / .82); font-size: var(--fs-sm); }
.hero__points li { display: inline-flex; align-items: center; gap: var(--s-2); }
.hero__points svg { color: var(--green-400); flex: none; }

/* Căutare serviciu + localitate */
.finder { background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: var(--s-5); box-shadow: var(--shadow-lg); }
.finder h2 { font-size: var(--fs-lg); font-family: var(--font-body); font-weight: 600; letter-spacing: -0.01em; margin-bottom: var(--s-4); }
.finder .field { margin-bottom: var(--s-4); }
.finder__note { margin: var(--s-3) 0 0; font-size: var(--fs-xs); color: var(--text-muted); }

/* ───────── Carduri servicii */
.grid { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-2); transition: border-color .15s, box-shadow .15s, transform .15s; }
.card h3 { margin: 0; font-size: var(--fs-lg); }
.card p { margin: 0; color: var(--text-muted); font-size: var(--fs-sm); }
.card__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--green-50); color: var(--green-700); margin-bottom: var(--s-2); }
.card__cat { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.card--link:hover { border-color: var(--ink-400); box-shadow: var(--shadow); transform: translateY(-2px); }
.card--link a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; } /* tot cardul e clicabil */
.card--link a { color: var(--ink-950); text-decoration: none; }
.card__cta { margin-top: auto; padding-top: var(--s-3); font-weight: 600; font-size: var(--fs-sm); color: var(--green-700); display: inline-flex; align-items: center; gap: var(--s-1); }

.badge { display: inline-flex; align-items: center; gap: var(--s-1); padding: 2px 10px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; background: var(--ink-100); color: var(--ink-700); }
.badge--green { background: var(--green-50); color: var(--green-700); }
.badge--soon { background: var(--ink-100); color: var(--ink-500); }

/* Pași „cum funcționează” */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; position: relative; padding-top: var(--s-7); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--green-600); line-height: 1; }
.steps li::after { content: ''; position: absolute; top: 15px; left: 56px; right: 0; height: 2px; background: linear-gradient(90deg, var(--green-500), transparent); }
.steps h3 { margin-bottom: var(--s-2); }
.steps p { color: var(--text-muted); margin: 0; }

/* Bandă de încredere / explicație verificări */
.trust { display: grid; gap: var(--s-4); }
@media (min-width: 860px) { .trust { grid-template-columns: repeat(3, 1fr); } }
.trust__item { padding: var(--s-5); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--border); }
.trust__item h3 { display: flex; align-items: center; gap: var(--s-2); }
.trust__item p { margin: 0; color: var(--text-muted); font-size: var(--fs-sm); }

/* Domenii în pregătire */
.domain-list { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; margin: 0; }
.domain-list li { padding: var(--s-2) var(--s-4); border-radius: 999px; border: 1px solid var(--border); font-size: var(--fs-sm); background: var(--white); }
.domain-list li[data-live='true'] { border-color: var(--green-500); background: var(--green-50); color: var(--green-700); font-weight: 600; }

/* CTA bandă neagră */
.cta-band { background: var(--ink-950); color: var(--white); border-radius: var(--radius-lg); padding: var(--s-7) var(--s-5); display: grid; gap: var(--s-5); align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 18px solid rgb(116 168 49 / .35); border-left-color: transparent; border-top-color: transparent; transform: rotate(10deg); }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; padding: var(--s-7); } }
.cta-band h2 { color: var(--white); margin-bottom: var(--s-2); }
.cta-band p { color: rgb(255 255 255 / .75); margin: 0; }
.cta-band > * { position: relative; z-index: 1; }

/* ───────── Pagină serviciu */
.page-head { background: var(--ink-950); color: var(--white); padding: var(--s-7) 0; position: relative; overflow: hidden; }
.page-head::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 80% at 100% 0%, rgb(116 168 49 / .2), transparent 60%); }
.page-head > .container { position: relative; }
.page-head h1 { color: var(--white); font-size: var(--fs-2xl); max-width: 22ch; }
.page-head .lead { color: rgb(255 255 255 / .78); }
.breadcrumbs { font-size: var(--fs-sm); margin-bottom: var(--s-4); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--s-1); }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: var(--s-1); color: rgb(255 255 255 / .4); }
.breadcrumbs a { color: rgb(255 255 255 / .8); }
.breadcrumbs [aria-current] { color: var(--white); }
.layout-2 { display: grid; gap: var(--s-7); }
@media (min-width: 980px) { .layout-2 { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } .layout-2 aside { position: sticky; top: 92px; } }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--s-7); }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: var(--s-2); }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: ''; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%233f6b12' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center/16px no-repeat; }
.side-cta { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s-5); box-shadow: var(--shadow); }
.side-cta h2 { font-size: var(--fs-lg); font-family: var(--font-body); font-weight: 600; letter-spacing: -0.01em; }
.area-list { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; }
.area-list li { font-size: var(--fs-sm); padding: 2px 10px; border-radius: 999px; background: var(--ink-50); border: 1px solid var(--border); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--s-4); align-items: center; min-height: var(--tap); padding: var(--s-3) 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--green-700); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-bottom: var(--s-4); color: var(--text-muted); }

/* ───────── Formulare */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s-5); }
.field label, .field legend, .label { font-weight: 600; font-size: var(--fs-sm); color: var(--ink-900); }
.field .hint { font-size: var(--fs-xs); color: var(--text-muted); margin: 0; }
.req { color: var(--red-700); }
.opt { font-weight: 400; color: var(--text-muted); }
.input, .select, .textarea {
  width: 100%; min-height: var(--tap); padding: 10px 14px;
  font: 400 1rem/1.4 var(--font-body); color: var(--ink-950); /* 16px evită zoom-ul pe iOS */
  background: var(--white); border: 1.5px solid var(--ink-400); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 120px; resize: vertical; }
.select { appearance: none; padding-right: 40px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231c201c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E") right 12px center/18px no-repeat; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-700); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink-950); box-shadow: 0 0 0 3px rgb(31 111 235 / .35); }
.input[aria-invalid='true'], .select[aria-invalid='true'], .textarea[aria-invalid='true'] { border-color: var(--red-700); box-shadow: 0 0 0 1px var(--red-700); }
.input-unit { display: flex; align-items: stretch; }
.input-unit .input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-unit span { display: grid; place-items: center; padding: 0 14px; border: 1.5px solid var(--ink-400); border-left: 0; border-radius: 0 var(--radius) var(--radius) 0; background: var(--ink-50); font-weight: 600; font-size: var(--fs-sm); }
.error { display: flex; gap: 6px; align-items: flex-start; color: var(--red-700); font-size: var(--fs-sm); font-weight: 600; margin: 0; }
.error::before { content: '!'; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--red-700); color: var(--white); font-size: 12px; display: grid; place-items: center; }
.error:empty { display: none; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }

.check { display: flex; gap: var(--s-3); align-items: flex-start; min-height: 44px; padding: var(--s-2) 0; cursor: pointer; font-size: var(--fs-sm); }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green-700); flex: none; }

/* Opțiuni mari (servicii) — radio ca carduri */
.choice-grid { display: grid; gap: var(--s-2); }
@media (min-width: 640px) { .choice-grid { grid-template-columns: repeat(2, 1fr); } }
.choice { position: relative; display: flex; flex-direction: column; gap: 2px; padding: var(--s-3) var(--s-4) var(--s-3) 48px; border: 1.5px solid var(--ink-200); border-radius: var(--radius); cursor: pointer; min-height: 64px; justify-content: center; background: var(--white); }
.choice input { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; accent-color: var(--green-700); margin: 0; }
.choice strong { font-weight: 600; font-size: var(--fs-sm); }
.choice span { font-size: var(--fs-xs); color: var(--text-muted); }
.choice:hover { border-color: var(--ink-400); }
.choice:has(input:checked) { border-color: var(--green-600); background: var(--green-50); box-shadow: inset 0 0 0 1px var(--green-600); }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice-group-title { grid-column: 1 / -1; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin: var(--s-3) 0 0; }

/* Formular în pași */
.form-shell { max-width: 760px; margin: 0 auto; }
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s-5); box-shadow: var(--shadow); }
@media (min-width: 720px) { .form-card { padding: var(--s-7); } }
.progress { display: flex; gap: var(--s-2); list-style: none; padding: 0; margin: 0 0 var(--s-5); counter-reset: p; }
.progress li { flex: 1; counter-increment: p; font-size: var(--fs-xs); color: var(--text-muted); font-weight: 600; }
.progress li::before { content: ''; display: block; height: 4px; border-radius: 4px; background: var(--ink-200); margin-bottom: 6px; }
.progress li[data-state='done']::before, .progress li[data-state='current']::before { background: var(--green-500); }
.progress li[data-state='current'] { color: var(--ink-950); }
.progress li span { display: none; }
@media (min-width: 640px) { .progress li span { display: inline; } }
.form-step > legend, .form-step__title { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-xl); letter-spacing: -0.02em; margin-bottom: var(--s-2); padding: 0; color: var(--ink-950); }
.form-step + .form-step { margin-top: var(--s-7); padding-top: var(--s-7); border-top: 1px solid var(--border); }
.js .form-step + .form-step { margin-top: 0; padding-top: 0; border-top: 0; }
.js .form-step[hidden] { display: none; }
.form-nav { display: flex; gap: var(--s-3); justify-content: space-between; margin-top: var(--s-6); flex-wrap: wrap-reverse; }
.form-nav .btn--lg { flex: 1 1 220px; }
.form-nav .btn--ghost { flex: 0 1 auto; }
.svc-fields[hidden] { display: none; }
.error-summary { border: 2px solid var(--red-700); background: var(--red-50); border-radius: var(--radius); padding: var(--s-4); margin-bottom: var(--s-5); }
.error-summary h2 { font-size: var(--fs-base); font-family: var(--font-body); font-weight: 600; color: var(--red-700); margin-bottom: var(--s-2); letter-spacing: 0; }
.error-summary ul { margin: 0; }
.error-summary a { color: var(--red-700); font-weight: 600; }
.notice { border-radius: var(--radius); padding: var(--s-4); background: var(--ink-50); border: 1px solid var(--border); font-size: var(--fs-sm); }
.notice--warn { background: var(--amber-50); border-color: #f1d18a; color: #5c3d00; }
.notice--ok { background: var(--green-50); border-color: #cfe5b4; color: #2c4d0b; }
.notice p:last-child { margin: 0; }

/* Încărcare poze */
.dropzone { border: 2px dashed var(--ink-400); border-radius: var(--radius-lg); padding: var(--s-5); text-align: center; background: var(--ink-50); }
.dropzone[data-drag='true'] { border-color: var(--green-600); background: var(--green-50); }
.dropzone input[type=file] { max-width: 100%; }
.js .dropzone input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone__btn { margin-top: var(--s-3); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: var(--s-3); list-style: none; padding: 0; margin: var(--s-4) 0 0; }
.thumbs li { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--white); }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.thumbs .thumb__meta { font-size: 11px; padding: 4px 6px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumbs button { position: absolute; top: 4px; right: 4px; min-width: 36px; min-height: 36px; border-radius: 50%; border: 0; background: rgb(11 13 11 / .82); color: var(--white); cursor: pointer; font-size: 18px; line-height: 1; }
.thumbs .thumb__state { position: absolute; left: 4px; top: 4px; font-size: 11px; font-weight: 600; background: var(--white); border-radius: 999px; padding: 2px 8px; }

.spinner { width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* Confirmare */
.confirm { text-align: center; max-width: 640px; margin: 0 auto; }
.confirm__nr { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: var(--fs-2xl); letter-spacing: 0; padding: var(--s-3) var(--s-5); border-radius: var(--radius); background: var(--ink-950); color: var(--green-400); margin: var(--s-3) 0 var(--s-5); font-variant-numeric: tabular-nums; }
.confirm ol { text-align: left; }

/* Draft legal */
.draft-banner { background: var(--amber-50); border-bottom: 1px solid #f1d18a; color: #5c3d00; font-size: var(--fs-sm); padding: var(--s-3) 0; }

/* ───────── Footer */
.site-footer { background: var(--ink-950); color: rgb(255 255 255 / .75); padding: var(--s-8) 0 var(--s-6); margin-top: var(--s-8); font-size: var(--fs-sm); }
.site-footer a { color: rgb(255 255 255 / .85); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s-6); }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green-400); margin-bottom: var(--s-3); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: var(--s-2); }
.site-footer li a { display: inline-block; padding: 4px 0; }
.footer-bottom { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid rgb(255 255 255 / .12); display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: space-between; color: rgb(255 255 255 / .55); font-size: var(--fs-xs); }

/* Bară CTA fixă pe mobil (pagini de serviciu) */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .96); border-top: 1px solid var(--border); box-shadow: 0 -4px 16px rgb(0 0 0 / .06); }
@media (min-width: 980px) { .mobile-cta { display: none; } }
.has-mobile-cta .site-footer { padding-bottom: calc(var(--s-6) + 80px); }
@media (min-width: 980px) { .has-mobile-cta .site-footer { padding-bottom: var(--s-6); } }

@media print { .site-header, .site-footer, .mobile-cta { display: none; } }
