/* ==========================================================================
   Fagus — fagus.ro
   1. Fonturi (găzduite local)
   2. Teme (variabile CSS: luminoasă + întunecată)
   3. Bază
   4. Header
   5. Secțiuni
   6. Formular
   7. Footer
   8. Mobil
   ========================================================================== */

/* 1. Fonturi ---------------------------------------------------------------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal; font-weight: 800; font-display: swap;
  src: url('../fonts/bricolage-grotesque-latin-ext-800-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal; font-weight: 800; font-display: swap;
  src: url('../fonts/bricolage-grotesque-latin-800-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/atkinson-hyperlegible-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/atkinson-hyperlegible-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/atkinson-hyperlegible-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/atkinson-hyperlegible-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. Teme ------------------------------------------------------------------- */
/* Tema luminoasă (macheta B). Contrastul fiecărei perechi e notat în dreapta. */
:root {
  color-scheme: light;

  --bg: #F4F1E8;
  --band: #EAE6D8;            /* secțiune alternată */
  --surface: #E6EDDF;         /* carduri */
  --text: #17231A;            /* 14.4:1 pe --bg */
  --muted: #45513F;           /* 7.4:1 pe --bg, 6.7:1 pe --band */
  --accent: #8C500F;          /* numere, etichete: peste 4.5:1 pe --bg și --band */
  --link: #1E5A2E;            /* 7.3:1 */
  --link-hover: #123D1E;
  --line: #D5CFBD;            /* linii decorative */
  --focus: #17231A;
  --error: #A3271B;           /* 6.5:1 */

  --hero-bg: #1E4D2B;         /* „pădure” */
  --hero-text: #F4F1E8;       /* 8.6:1 */
  --hero-muted: #DCE7DA;      /* 7.7:1 */
  --hero-line: #8FB396;       /* 4.2:1, contur de interfață */
  --hero-focus: #F2A541;

  --cta-bg: #F2A541;
  --cta-bg-hover: #F6B55F;
  --cta-text: #17231A;        /* 7.9:1 */

  --btn-bg: #1E4D2B;
  --btn-bg-hover: #163A20;
  --btn-text: #FFFFFF;        /* 9.8:1 */

  --field-bg: #FFFFFF;
  --field-text: #17231A;
  --field-border: #7E7A68;    /* 3.8:1 pe --bg */

  --badge-bg: #F2A541;
  --badge-text: #17231A;


  --logo-disc: #F4F1E8;
  --photo-ring: transparent;

  --footer-bg: #17231A;
  --footer-text: #CFD9CC;     /* 11.2:1 */
}

/* Tema întunecată: aceleași valori apar de două ori —
   (a) când sistemul cere întuneric și utilizatorul n-a ales nimic,
   (b) când utilizatorul a ales întuneric din buton. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;

    --bg: #121A14;
    --band: #17231A;
    --surface: #1D2C21;
    --text: #EDEAE0;          /* 14.7:1 pe --bg, 12.2:1 pe --surface */
    --muted: #B7C2B2;         /* 9.6:1 pe --bg, 7.9:1 pe --surface */
    --accent: #F2A541;        /* 8.7:1 */
    --link: #8FD19E;          /* 10:1 */
    --link-hover: #B5E3BF;
    --line: #2C3B30;
    --focus: #F2A541;
    --error: #FF9E8F;         /* 8.9:1 */

    --hero-bg: #173522;
    --hero-text: #EDEAE0;     /* 11.1:1 */
    --hero-muted: #C9D6C6;    /* 8.9:1 */
    --hero-line: #8FB396;     /* 5.8:1 */
    --hero-focus: #F2A541;

    --cta-bg: #F2A541;
    --cta-bg-hover: #F6B55F;
    --cta-text: #17231A;

    --btn-bg: #F2A541;        /* 8.7:1 față de fundal */
    --btn-bg-hover: #F6B55F;
    --btn-text: #17231A;

    --field-bg: #0E1510;
    --field-text: #EDEAE0;
    --field-border: #7F9484;  /* 5.5:1 pe --bg */

    --badge-bg: #F2A541;
    --badge-text: #17231A;


    --logo-disc: #EDEAE0;
    --photo-ring: #2C3B30;

    --footer-bg: #0C120E;
    --footer-text: #B7C2B2;   /* 10.3:1 */
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;

  --bg: #121A14;
  --band: #17231A;
  --surface: #1D2C21;
  --text: #EDEAE0;
  --muted: #B7C2B2;
  --accent: #F2A541;
  --link: #8FD19E;
  --link-hover: #B5E3BF;
  --line: #2C3B30;
  --focus: #F2A541;
  --error: #FF9E8F;

  --hero-bg: #173522;
  --hero-text: #EDEAE0;
  --hero-muted: #C9D6C6;
  --hero-line: #8FB396;
  --hero-focus: #F2A541;

  --cta-bg: #F2A541;
  --cta-bg-hover: #F6B55F;
  --cta-text: #17231A;

  --btn-bg: #F2A541;
  --btn-bg-hover: #F6B55F;
  --btn-text: #17231A;

  --field-bg: #0E1510;
  --field-text: #EDEAE0;
  --field-border: #7F9484;

  --badge-bg: #F2A541;
  --badge-text: #17231A;


  --logo-disc: #EDEAE0;
  --photo-ring: #2C3B30;

  --footer-bg: #0C120E;
  --footer-text: #B7C2B2;
}

/* 3. Bază ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  /* footerul rămâne jos și pe paginile scurte */
  min-height: 100vh;
  display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }

h1, h2, h3 {
  margin: 0;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 800;
  text-wrap: balance;
}
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { color: var(--link-hover); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.site-header :focus-visible,
.hero :focus-visible { outline-color: var(--hero-focus); }
.site-footer :focus-visible { outline-color: #F2A541; }

[id] { scroll-margin-top: 24px; }

.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; border-radius: 8px;
  background: var(--cta-bg); color: var(--cta-text);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; color: var(--cta-text); }

.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(20px, 6.6vw, 96px);
}

.section { padding-block: clamp(44px, 6.6vw, 96px); }
.section--band { background: var(--band); }
.section--line { border-bottom: 1px solid var(--line); }

.section-title {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.02;
  margin-bottom: clamp(24px, 3.4vw, 48px);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 16px 28px;
  border: 0; border-radius: 10px;
  font: inherit; font-size: 1.1875rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer;
}
.btn--cta { background: var(--cta-bg); color: var(--cta-text); }
.btn--cta:hover { background: var(--cta-bg-hover); color: var(--cta-text); }
.btn--primary { background: var(--btn-bg); color: var(--btn-text); }
.btn--primary:hover { background: var(--btn-bg-hover); color: var(--btn-text); }

@media (prefers-reduced-motion: no-preference) {
  .btn, .nav-list a, .icon-btn, .lang a { transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
}

/* 4. Header ----------------------------------------------------------------- */
.site-header { background: var(--hero-bg); color: var(--hero-text); }

.header-inner {
  position: relative;
  min-height: 104px;
  display: flex; align-items: center; gap: 28px;
}

.brand {
  display: flex; align-items: center; gap: 14px;
  margin-right: auto;
  color: var(--hero-text); text-decoration: none;
}
.brand:hover { color: var(--hero-text); }
.brand-disc {
  width: 60px; height: 60px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--logo-disc);
}
.brand-disc img { width: 50px; height: 50px; object-fit: contain; }
.brand-name {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.75rem; font-weight: 800; letter-spacing: 1px; line-height: 1;
}


.nav-list {
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px);
  margin: 0; padding: 0; list-style: none;
}
.nav-list a {
  display: inline-block; padding: 10px 2px;
  color: var(--hero-text); text-decoration: none;
}
.nav-list a:hover { color: var(--hero-text); text-decoration: underline; text-decoration-thickness: 2px; }

.header-tools { display: flex; align-items: center; gap: 12px; }

.lang {
  display: flex; margin: 0; padding: 0; list-style: none;
  border: 1px solid var(--hero-line); border-radius: 8px; overflow: hidden;
}
.lang a {
  display: flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 42px; padding: 6px 10px;
  color: var(--hero-text); font-size: 0.9375rem; font-weight: 700; text-decoration: none;
}
.lang a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.lang a[aria-current] { background: var(--hero-text); color: var(--hero-bg); }
.lang a:focus-visible { outline-offset: -4px; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 44px; height: 44px; padding: 0 10px;
  border: 1px solid var(--hero-line); border-radius: 8px;
  background: transparent; color: var(--hero-text);
  font: inherit; font-size: 0.9375rem; font-weight: 700; cursor: pointer;
}
.icon-btn:hover { background: rgb(255 255 255 / 0.1); }
.icon-btn[hidden] { display: none; }
.icon-btn svg { flex-shrink: 0; }

.icon-btn.menu-toggle { display: none; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }

/* Butonul de temă: luna = treci pe întunecat, soarele = treci pe luminos */
.theme-toggle .icon-sun { display: none; }
.theme-toggle[aria-pressed="true"] .icon-sun { display: block; }
.theme-toggle[aria-pressed="true"] .icon-moon { display: none; }

/* 5. Secțiuni --------------------------------------------------------------- */

/* Hero */
.hero { background: var(--hero-bg); color: var(--hero-text); }
.hero-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px; row-gap: 32px; align-items: end;
  padding-block: clamp(36px, 6.1vw, 88px) clamp(44px, 6.6vw, 96px);
}
.hero h1 {
  grid-column: span 8;
  font-size: clamp(2.5rem, 6.1vw, 5.5rem);
  line-height: 0.98; letter-spacing: -0.015em;
}
.hero-side { grid-column: span 4; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero-side p { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.55; color: var(--hero-muted); }

/* Ce fac */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.service:first-child { padding-right: clamp(24px, 3.9vw, 56px); border-right: 1px solid var(--line); }
.service:last-child { padding-left: clamp(24px, 3.9vw, 56px); }
.service-nr {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.25rem; font-weight: 800; line-height: 1; color: var(--accent);
}
.service h3 { font-size: clamp(1.75rem, 3.05vw, 2.75rem); line-height: 1.05; }
.service p { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); }
.service-text { color: var(--muted); }
.service-price { font-weight: 700; }
.arrow-link { font-size: 1.1875rem; font-weight: 700; padding-block: 4px; }

/* Cum lucrăm */
.steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.8vw, 40px);
  margin: 0; padding: 0; list-style: none;
}
.step { display: flex; flex-direction: column; gap: 14px; }
.step-nr {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--badge-bg); color: var(--badge-text);
  font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-size: 1.25rem; font-weight: 800; line-height: 1;
}
.step h3 { font-size: 1.5rem; line-height: 1.1; }
.step p { color: var(--muted); }

/* Despre */
.about {
  display: flex; align-items: center; gap: clamp(24px, 3.9vw, 56px);
  padding: clamp(24px, 4.4vw, 64px);
  background: var(--surface); border-radius: 28px;
}
.about picture { flex-shrink: 0; }
.about-photo {
  width: 200px; height: 200px; flex-shrink: 0;
  border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 4px var(--photo-ring);
}
.about-body { display: flex; flex-direction: column; gap: 16px; }
.about h2 { font-size: clamp(1.875rem, 2.8vw, 2.5rem); line-height: 1.1; }
.about p { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--text); }

/* Studiu de caz */
.case {
  display: flex; align-items: center; gap: clamp(24px, 3.9vw, 56px);
  padding: clamp(24px, 4.4vw, 64px);
  background: var(--surface); border-radius: 28px;
}
.case-body { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; max-width: 62ch; }
.case-tag { font-size: 0.9375rem; font-weight: 700; color: var(--accent); }
.case h3 { font-size: clamp(1.625rem, 2.8vw, 2.5rem); line-height: 1.08; }
.case p { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--muted); }

/* Pagini de conținut (studiu de caz, pagini legale) */
.page-hero { background: var(--hero-bg); color: var(--hero-text); }
.page-hero .wrap { padding-block: clamp(28px, 4.4vw, 64px) clamp(36px, 5vw, 72px); display: flex; flex-direction: column; gap: 16px; }
.page-hero h1 { font-size: clamp(2.125rem, 4.6vw, 4rem); line-height: 1.02; letter-spacing: -0.01em; max-width: 20ch; }
.page-hero p { font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); color: var(--hero-muted); max-width: 60ch; }
.page-hero .eyebrow { font-size: 1rem; font-weight: 700; color: var(--hero-text); }

.prose { max-width: 1040px; }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.08; margin-top: clamp(40px, 5vw, 64px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.12; }
.prose p, .prose li { max-width: 70ch; }
.prose ul, .prose ol { margin-bottom: 0; padding-left: 1.3em; }
.prose .stats, .prose .findings { padding-left: 0; }
.prose li + li { margin-top: 8px; }
.prose .muted { color: var(--muted); }
.prose a { overflow-wrap: anywhere; }

.note {
  padding: 22px 26px; border-radius: 16px;
  background: var(--surface); border-left: 6px solid var(--accent);
}
.note > * + * { margin-top: 10px; }
.note strong { color: var(--text); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.stats li { max-width: none; margin: 0; padding: 22px 24px; border-radius: 16px; background: var(--surface); display: flex; flex-direction: column; gap: 4px; }
.stat-nr { font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 800; line-height: 1; color: var(--text); }
.stat-nr small { font-size: 0.45em; color: var(--muted); }
.stat-label { color: var(--muted); font-size: 1rem; line-height: 1.4; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.table-wrap table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 1.0625rem; }
.table-wrap caption { text-align: left; padding: 16px 18px 6px; font-weight: 700; }
.table-wrap th, .table-wrap td { padding: 14px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.table-wrap thead th { border-top: 0; color: var(--muted); font-size: 0.9375rem; }
.table-wrap td.num, .table-wrap th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

.findings { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 20px; }
.findings > li { max-width: none; margin: 0; }
.finding { padding: clamp(22px, 3vw, 36px); border-radius: 20px; background: var(--surface); }
.finding > * + * { margin-top: 14px; }
.finding-nr { font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-size: 1.25rem; font-weight: 800; line-height: 1; color: var(--accent); }
.finding dl { margin-bottom: 0; display: grid; grid-template-columns: 11em 1fr; gap: 12px 20px; }
.finding dt { font-weight: 700; }
.finding dd { margin: 0; max-width: 62ch; }

.case-figures { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 700; color: var(--text); }
.case-figures li { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); }

/* 6. Formular --------------------------------------------------------------- */
.contact-title { font-size: clamp(2.125rem, 4.45vw, 4rem); line-height: 1; margin-bottom: clamp(24px, 2.8vw, 40px); }

.form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: end; }
.form-note { grid-column: 1 / -1; font-size: 1rem; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 1.0625rem; font-weight: 700; }
.field .req { font-weight: 400; color: var(--muted); }

.field input, .field select, .field textarea {
  width: 100%; min-height: 56px;
  padding: 14px 16px;
  font: inherit; font-size: 1.125rem;
  color: var(--field-text); background: var(--field-bg);
  border: 1.5px solid var(--field-border); border-radius: 10px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline-offset: 1px; border-color: var(--focus);
}

.consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 12px; font-size: 1.0625rem; line-height: 1.5; }
.consent input { width: 24px; height: 24px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--btn-bg); }

.form .btn { grid-column: 1 / -1; justify-self: start; }

.contact-direct { margin-top: clamp(24px, 2.8vw, 40px); font-size: 1.1875rem; color: var(--muted); }
.contact-direct strong { color: var(--text); }

/* 7. Footer ----------------------------------------------------------------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); font-size: 1rem; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap;
  padding-block: 28px;
}
.footer-legal { display: flex; flex-direction: column; gap: 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-block; padding-block: 6px; color: var(--footer-text); }
.footer-links a:hover { color: #FFFFFF; }

/* 8. Mobil ------------------------------------------------------------------ */
@media (max-width: 1000px) {
  .hero h1, .hero-side { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .header-inner { min-height: 72px; gap: 8px; }
  .brand { gap: 10px; }
  .brand-disc { width: 44px; height: 44px; }
  .brand-disc img { width: 38px; height: 38px; }
  .brand-name { font-size: 1.375rem; letter-spacing: 0.5px; }
  .header-tools { gap: 8px; }

  /* Fără JavaScript meniul rămâne mereu deschis, sub antet. */
  .header-inner { flex-wrap: wrap; }
  .site-nav { order: 3; flex-basis: 100%; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 12px; }
  .nav-list a { display: block; padding: 14px 4px; font-size: 1.1875rem; font-weight: 700; border-top: 1px solid var(--hero-line); }

  /* Cu JavaScript: buton + panou care se deschide. */
  .js .icon-btn.menu-toggle { display: inline-flex; }
  .js .site-nav { order: 0; flex-basis: auto; }
  .js .nav-list {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 20;
    padding: 0 clamp(20px, 6.6vw, 96px) 16px;
    background: var(--hero-bg);
    box-shadow: 0 12px 24px rgb(0 0 0 / 0.25);
  }
  .js .nav-list.is-open { display: flex; }
}

@media (max-width: 760px) {
  body { font-size: 1.0625rem; }

  .services { grid-template-columns: 1fr; gap: 20px; }
  .service, .service:first-child, .service:last-child {
    padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); gap: 12px;
  }

  .steps { grid-template-columns: 1fr; gap: 18px; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 2px; align-items: start; }
  .step-nr { grid-row: span 2; }
  .step h3 { font-size: 1.25rem; padding-top: 8px; }

  .about, .case { flex-direction: column; align-items: flex-start; border-radius: 20px; }
  .about-photo { width: 120px; height: 120px; border-radius: 20px; }

  .form { grid-template-columns: 1fr; gap: 16px; }
  .form .btn { justify-self: stretch; }
  .hero-side .btn { align-self: stretch; }

  .stats { grid-template-columns: 1fr; }
  .finding dl { grid-template-columns: 1fr; gap: 4px; }
  .finding dd { margin-bottom: 10px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-direction: column; }
}

@media (max-width: 480px) {
  /* Eticheta „Meniu” rămâne pentru cititoarele de ecran, dar nu mai ocupă loc. */
  .menu-toggle-label {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .lang a { min-width: 40px; padding-inline: 8px; }
}
