/* ==========================================================================
   INDEX DISPATCH, foaie de stil principală
   Paletă: albastru din siglă + chihlimbar taxi ca singur accent de acțiune.
   Tipografie: Barlow Condensed (titluri) + Barlow (text) + IBM Plex Mono (etichete).
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Fonturile, găzduite la noi

   Înainte veneau de la fonts.googleapis.com, iar asta costa scump: browserul
   trebuia să rezolve un domeniu străin, să deschidă o conexiune, să aducă un
   CSS și abia din el afla de unde se iau fonturile — al doilea domeniu, altă
   conexiune. Patru pași înainte să apară o literă pe ecran.

   Acum fișierele stau lângă restul site-ului și vin pe conexiunea deja
   deschisă. Din cele cinci alfabete pe care le servea Google am păstrat două:
   „latin” și „latin-ext”. Româna are nevoie de amândouă, fiindcă î și â sunt
   în primul, iar ă, ș și ț în al doilea.

   „font-display: swap” arată textul imediat cu un font de sistem și îl
   schimbă când sosește cel adevărat. Textul se citește de la început.
   -------------------------------------------------------------------------- */

@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/barlow-400-latin-ext.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: 'Barlow';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/barlow-400-latin.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: 'Barlow';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/barlow-600-latin-ext.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: 'Barlow';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/barlow-600-latin.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: 'Barlow Condensed';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/barlow-condensed-600-latin-ext.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: 'Barlow Condensed';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/barlow-condensed-600-latin.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: 'Barlow Condensed';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/barlow-condensed-700-latin-ext.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: 'Barlow Condensed';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/barlow-condensed-700-latin.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: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/ibm-plex-mono-400-latin-ext.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: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/ibm-plex-mono-400-latin.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: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/ibm-plex-mono-500-latin-ext.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: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/ibm-plex-mono-500-latin.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: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/ibm-plex-mono-600-latin-ext.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: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/ibm-plex-mono-600-latin.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;
}

/* --------------------------------------------------------------------------
   1. Token-uri
   -------------------------------------------------------------------------- */
:root {
    /* Culori de bază */
    --ground:        #FFFFFF;
    --paper:         #F1F4F7;   /* fundal alternativ de secțiune, în loc de chenar */
    --paper-deep:    #E7ECF1;
    --ink:           #111820;   /* negru cu tentă rece, nu pur */
    --ink-2:         #38434F;
    --muted:         #697786;
    --line:          #D5DDE5;
    --line-soft:     #E4EAF0;

    /* Marca */
    --primary:       #1B6FB8;
    --primary-dark:  #12508A;
    --primary-wash:  #E8F1F9;

    /* Accent, folosit DOAR pentru acțiuni: butoane, telefon. Nimic altceva. */
    --accent:        #F2A900;
    --accent-dark:   #D89600;
    --accent-ink:    #4A3300;

    /* Stări: exact cele două culori din panoul de comenzi, verde și roșu.
       Rezervate stărilor, nu se folosesc decorativ. */
    --liber:         #2A8B52;
    --liber-wash:    #E6F3EA;
    --ocupat:        #C8392F;
    --ocupat-wash:   #FBEAE8;

    /* Tipografie */
    --f-display: "Barlow Condensed", "Barlow", "Segoe UI", system-ui, sans-serif;
    --f-body:    "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;
    --f-mono:    "IBM Plex Mono", ui-monospace, Consolas, monospace;

    /* Ritm */
    --measure:    68ch;      /* lățimea maximă a textului citit */
    --container:  1180px;
    --gap-section: 5rem;     /* aer între secțiuni */
    --header-h:   72px;
    --radius:     10px;
    --radius-sm:  6px;

    --shadow-sm: 0 1px 2px rgba(17, 24, 32, .05);
    --shadow:    0 2px 4px rgba(17, 24, 32, .04), 0 12px 32px -16px rgba(17, 24, 32, .25);
}

*, *::before, *::after { box-sizing: border-box; }

/* Filtrarea din întrebări frecvente ascunde elemente cu atributul `hidden`.
   Regula asta se asigură că nicio altă declarație de `display` nu o anulează. */
[hidden] { display: none !important; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 3.5rem);
}

body {
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--primary-dark); }

strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 2px; }

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

/* --------------------------------------------------------------------------
   2. Tipografie: scară cu diferențe vizibile
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--f-display);
    text-wrap: balance;
    margin: 0;
}

h1 {
    font-weight: 700;
    font-size: clamp(2.6rem, 6.2vw, 4rem);
    line-height: .98;
    letter-spacing: -.015em;
}

h2 {
    font-weight: 700;
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    line-height: 1.06;
    letter-spacing: -.008em;
}

h3 {
    font-weight: 600;
    font-size: 1.35rem;
    line-height: 1.2;
}

h4 {
    font-weight: 600;
    font-size: 1.12rem;
    line-height: 1.25;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
    font-family: var(--f-mono);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 .9rem;
}

.lead {
    font-size: 1.22rem;
    line-height: 1.55;
    color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   3. Structură: container, măsură, secțiuni
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Textul citit nu depășește niciodată măsura. Imaginile pot ieși în lățime. */
.measure { max-width: var(--measure); }

.section { padding: var(--gap-section) 0; }
.section--paper { background: var(--paper); }
.section--tight { padding: 3rem 0; }

.section-head { margin-bottom: 2.5rem; max-width: var(--measure); }
.section-head h2 { margin-bottom: .6rem; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; margin: 0; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ink);
    color: #fff;
    padding: .75rem 1.25rem;
    z-index: 999;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   4. Antet
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--line-soft);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-height: var(--header-h);
}

.logo { flex: none; display: block; }
.logo img { height: 46px; width: auto; }

.main-nav { margin-left: auto; }

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: .25rem;
}

.main-nav a {
    display: block;
    padding: .5rem .85rem;
    color: var(--ink-2);
    font-weight: 500;
    font-size: .97rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
}

.main-nav a:hover { background: var(--paper); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--primary); font-weight: 600; }

/* Telefonul: vizibil în antet, pe fiecare pagină. */
.header-phone {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1rem;
    background: var(--accent);
    color: var(--accent-ink);
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.12rem;
    letter-spacing: .01em;
    border-radius: var(--radius-sm);
    text-decoration: none;
    white-space: nowrap;
}
.header-phone:hover { background: var(--accent-dark); color: var(--accent-ink); }
.header-phone svg { width: 17px; height: 17px; flex: none; }

.nav-toggle {
    display: none;
    margin-left: auto;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 11px 10px;
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

@media (max-width: 900px) {
    /* Butonul de meniu stă lipit de marginea din dreapta, cu telefonul lângă el.
       Singur telefonul împinge spre dreapta; butonul îl urmează.
       Le așez cu `order`, nu schimbând ordinea din HTML: butonul trebuie să
       rămână înaintea meniului, altfel tastatura sare peste linkuri când se
       deschide. Înainte aveau amândouă `margin-left: auto` și își împărțeau
       spațiul liber, de aceea meniul cădea la mijloc. */
    .nav-toggle { display: flex; margin-left: 0; order: 3; }
    .header-phone { margin-left: auto; order: 2; padding: .5rem .8rem; font-size: 1rem; }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0;
        background: var(--ground);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        display: none;
    }
    .main-nav.is-open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; padding: .5rem 1.5rem 1rem; }
    .main-nav a { padding: .85rem .25rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
}

/* Pe ecran larg butonul arată numărul; pe telefon nu încape, așa că arată
   „Sună-ne”. Numărul îl vede oricum în aplicația de apeluri după ce atinge. */
.header-phone-short { display: none; }

@media (max-width: 560px) {
    .header-inner { gap: .75rem; }
    .logo img { height: 38px; }
    .header-phone-nr { display: none; }
    .header-phone-short { display: inline; }
}

/* Pe telefoanele cele mai înguste renunțăm și la pictogramă, ca să rămână loc. */
@media (max-width: 380px) {
    .logo img { height: 33px; }
    .header-phone { padding: .5rem .7rem; }
    .header-phone svg { display: none; }
}

/* --------------------------------------------------------------------------
   5. Butoane
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 1.6rem;
    font-family: var(--f-body);
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-dark); color: var(--accent-ink); }

.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--muted); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.link-more {
    font-weight: 600;
    font-size: .97rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
.link-more:hover { text-decoration: underline; }
.link-more::after { content: "→"; font-family: var(--f-mono); }

/* --------------------------------------------------------------------------
   6. Locuri pentru poze (faza 2)
   Chenar punctat + descrierea a ce trebuie fotografiat + rezoluția cerută.
   -------------------------------------------------------------------------- */
.ph { margin: 0; }

.ph-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: 2rem 1.75rem;
    text-align: center;
    background:
        repeating-linear-gradient(
            135deg,
            var(--paper) 0 12px,
            var(--paper-deep) 12px 24px
        );
    border: 2px dashed var(--muted);
    border-radius: var(--radius);
    color: var(--ink-2);
}

.ph-box::before {
    content: "";
    width: 34px;
    height: 34px;
    flex: none;
    background: var(--muted);
    -webkit-mask: var(--icon-camera) center / contain no-repeat;
    mask: var(--icon-camera) center / contain no-repeat;
    opacity: .55;
}

:root {
    --icon-camera: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5A2.5 2.5 0 0 1 5.5 6h1.7a1 1 0 0 0 .83-.45l.94-1.4A1 1 0 0 1 9.8 3.7h4.4a1 1 0 0 1 .83.45l.94 1.4A1 1 0 0 0 16.8 6h1.7A2.5 2.5 0 0 1 21 8.5v9A2.5 2.5 0 0 1 18.5 20h-13A2.5 2.5 0 0 1 3 17.5z'/%3E%3Ccircle cx='12' cy='13' r='3.6'/%3E%3C/svg%3E");
}

.ph-title {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.28rem;
    line-height: 1.15;
    color: var(--ink);
    max-width: 40ch;
}

.ph-desc {
    font-size: .95rem;
    line-height: 1.45;
    color: var(--ink-2);
    max-width: 52ch;
    margin: 0;
}

.ph-spec {
    font-family: var(--f-mono);
    font-size: .73rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--ground);
    padding: .3rem .6rem;
    border-radius: 3px;
    border: 1px solid var(--line);
}

/* Proporții: dictează exact formatul în care se fac capturile */
.ph--wide   .ph-box { aspect-ratio: 16 / 10; }
.ph--screen .ph-box { aspect-ratio: 14 / 9; }
.ph--phone  .ph-box { aspect-ratio: 1 / 2; padding: 1.5rem 1.1rem; }
.ph--phone .ph-title { font-size: 1.1rem; }
.ph--phone .ph-desc  { font-size: .88rem; }

.ph figcaption {
    margin-top: .85rem;
    font-size: .92rem;
    line-height: 1.45;
    color: var(--muted);
    max-width: 60ch;
}

@media (max-width: 620px) {
    .ph--wide .ph-box, .ph--screen .ph-box { aspect-ratio: 4 / 3; }
    .ph-box { padding: 1.5rem 1rem; }
    .ph-title { font-size: 1.1rem; }
    .ph-desc { font-size: .88rem; }
}

/* Capturi reale: aceeași ramă peste tot: colț rotunjit și o umbră fină,
   ca ecranul să se desprindă de pagină fără chenar gros. */
.shot { margin: 0; }

.shot img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--paper);
}

.shot figcaption {
    margin-top: .85rem;
    font-size: .92rem;
    line-height: 1.45;
    color: var(--muted);
    max-width: 60ch;
}

/* Capturi de pe telefon, două alături. Rămân lipite sus cât citești textul. */
.shots-phone {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    align-items: start;
    position: sticky;
    top: calc(var(--header-h) + 3rem);
}

.shots-phone figcaption { font-size: .86rem; margin-top: .7rem; }

/* O singură captură: rămâne la lățimea firească a unui telefon și stă la
   mijloc. Fără asta s-ar întinde pe toată coloana, fiindcă .shot img are
   width: 100%, și ar ieși un telefon cât un afiș. */
.shots-phone--single {
    grid-template-columns: minmax(0, 260px);
    justify-content: center;
}

/* --------------------------------------------------------------------------
   7. Deschidere (hero)
   -------------------------------------------------------------------------- */
.hero { padding: 4rem 0 var(--gap-section); }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 940px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 4rem; }
}

.hero h1 { margin-bottom: 1.1rem; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero .lead { max-width: 46ch; }

/* Nota de sub butoane: nu e un detaliu tehnic, e argumentul de încredere.
   Font de text, nu mono, ca să se citească drept frază, nu drept etichetă. */
.hero-note {
    margin-top: 1.75rem;
    max-width: 44ch;
    font-size: .97rem;
    line-height: 1.55;
    color: var(--ink-2);
}

.hero-note strong { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   8. Banda de cifre
   -------------------------------------------------------------------------- */
.stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
}

@media (min-width: 720px) {
    .stats { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}

.stat-n {
    display: block;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(3rem, 6vw, 4.25rem);
    line-height: .92;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
    color: var(--primary);
    margin-bottom: .4rem;
}

.stat-l {
    display: block;
    font-size: 1.02rem;
    line-height: 1.4;
    color: var(--ink-2);
    max-width: 26ch;
}

/* --------------------------------------------------------------------------
   9. Module: carduri cu pictogramă (nu cu ecrane miniaturizate)
   -------------------------------------------------------------------------- */
.modules {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) { .modules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .modules { grid-template-columns: repeat(4, 1fr); } }

.module {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    padding: 1.75rem 1.6rem 1.6rem;
    background: var(--ground);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.section--paper .module { box-shadow: var(--shadow); }

/* Dispeceratul nu e unul dintre patru, e piesa în jurul căreia se leagă restul.
   Primește fundal colorat ca să se vadă din prima care e principalul.
   Selector dublu, ca să bată și regula de mai sus, oriunde ar fi pus cardul. */
.module.module--main {
    background: var(--primary-wash);
    box-shadow: none;
}

.module.module--main .module-tag {
    color: var(--primary-dark);
    font-weight: 600;
}

.module-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
    margin-bottom: .25rem;
}
.module-icon svg { width: 100%; height: 100%; display: block; }

.module h3 { margin-bottom: .1rem; }

.module p {
    margin: 0;
    font-size: .98rem;
    line-height: 1.5;
    color: var(--ink-2);
}

.module .link-more { margin-top: auto; padding-top: .6rem; }

.module-tag {
    font-family: var(--f-mono);
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   10. Pașii unui apel
   -------------------------------------------------------------------------- */
.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    counter-reset: step;
}

@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.step {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    padding: 1.75rem 1.6rem;
    background: var(--ground);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.step-n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: none;
    background: var(--primary);
    color: #fff;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.4rem;
    border-radius: 50%;
}

.step h3 { margin: 0; }

.step p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   11. Motive
   -------------------------------------------------------------------------- */
.reasons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem 3rem;
}

@media (min-width: 720px)  { .reasons { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .reasons { grid-template-columns: repeat(3, 1fr); } }

.reason { display: flex; flex-direction: column; gap: .45rem; }

.reason-icon { width: 30px; height: 30px; color: var(--primary); }
.reason-icon svg { width: 100%; height: 100%; display: block; }

.reason h3 { font-size: 1.18rem; margin: 0; }

.reason p {
    margin: 0;
    font-size: .99rem;
    line-height: 1.55;
    color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   12. Îndemn final
   -------------------------------------------------------------------------- */
.cta {
    background: var(--ink);
    color: #fff;
    padding: var(--gap-section) 0;
}

.cta h2 { color: #fff; margin-bottom: .8rem; }

.cta p {
    color: #C0CBD5;
    font-size: 1.15rem;
    max-width: 52ch;
    margin: 0;
}

.cta .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.cta .btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .55); }

/* --------------------------------------------------------------------------
   13. Antet de pagină interioară + navigare pe ancore
   -------------------------------------------------------------------------- */
.page-head {
    padding: 3.25rem 0 2.5rem;
    border-bottom: 1px solid var(--line-soft);
}

.page-head h1 { font-size: clamp(2.3rem, 5.2vw, 3.4rem); margin-bottom: .7rem; }

.page-head .lead { max-width: var(--measure); margin: 0; }

.anchor-nav {
    position: sticky;
    top: var(--header-h);
    z-index: 90;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--line-soft);
}

.anchor-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: .25rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.anchor-nav a {
    display: block;
    padding: .8rem .8rem;
    font-family: var(--f-mono);
    font-size: .76rem;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.anchor-nav a:hover { color: var(--ink); }
.anchor-nav a.is-active { color: var(--primary); border-bottom-color: var(--accent); }

/* --------------------------------------------------------------------------
   14. Blocuri de conținut pe paginile interioare
   -------------------------------------------------------------------------- */
.block { padding: var(--gap-section) 0; border-bottom: 1px solid var(--line-soft); }
.block:last-child { border-bottom: none; }
.block--paper { background: var(--paper); border-bottom: none; }

.block-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 960px) {
    .block-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; }
    .block-grid--flip .block-text { order: 2; }
}

.block-text > *:first-child { margin-top: 0; }
.block-text h2 { margin-bottom: .9rem; }
.block-text h3 { margin: 2rem 0 .6rem; }
.block-text p { max-width: var(--measure); color: var(--ink-2); }
.block-text .say { color: var(--ink); font-size: 1.1rem; line-height: 1.55; }

/* Liste: o singură coloană, ordinea de citire intactă */
.list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    max-width: var(--measure);
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.list li {
    position: relative;
    padding-left: 1.6rem;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--ink-2);
}

.list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
}

/* Enumerări lungi, pe două coloane. Grid, nu `columns`: la `columns` citești
   toată coloana stângă și apoi sari înapoi sus, iar o bulină se poate rupe în două. */
.list.list--cols {
    max-width: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: .7rem 3rem;
}

@media (min-width: 760px) {
    .list.list--cols { grid-template-columns: repeat(2, 1fr); }
}

.list--check li::before {
    top: .3em;
    width: 1rem;
    height: 1rem;
    background: var(--primary);
    border-radius: 3px;
    -webkit-mask: var(--icon-check) center / 76% no-repeat;
    mask: var(--icon-check) center / 76% no-repeat;
    background-color: var(--liber);
}

:root {
    --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 6.5'/%3E%3C/svg%3E");
}

/* Grup de date, ex. tipuri de rapoarte */
.data-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 760px) { .data-grid { grid-template-columns: repeat(3, 1fr); } }

/* Continuare de secțiune pe toată lățimea, sub grila text + imagine. */
.block-more { margin-top: 3.5rem; }
.block-more > h3 { margin: 0 0 .6rem; font-size: 1.5rem; }
.block-more > * + h3 { margin-top: 2.75rem; }   /* al doilea subtitlu are nevoie de aer */
.block-more > p { color: var(--ink-2); }

.data-card {
    padding: 1.5rem 1.4rem;
    background: var(--ground);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.block--paper .data-card { box-shadow: var(--shadow); }

.data-card h3 { margin: 0 0 .8rem; font-size: 1.2rem; }
.data-card .list { margin-bottom: 0; }
.data-card .list li { font-size: .95rem; }

/* Notă laterală */
.note {
    margin: 1.75rem 0 0;
    padding: 1.1rem 1.3rem;
    background: var(--primary-wash);
    border-radius: var(--radius-sm);
    font-size: .99rem;
    line-height: 1.55;
    color: var(--ink-2);
    max-width: var(--measure);
}
.note strong { color: var(--primary-dark); }

/* Pe fundal gri, albastrul deschis al notei aproape se confundă cu fundalul.
   Acolo nota devine albă, ca să se desprindă la fel de bine. */
.section--paper .note,
.block--paper .note { background: var(--ground); }

/* Nota folosită drept a doua coloană, în secțiunile fără imagine.
   Stă lipită sus, în locul unde ar fi venit poza. */
.note--side {
    margin: 0;
    padding: 1.6rem 1.75rem;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.note--side p { margin: 0; }

.note-lead {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.15;
    color: var(--primary-dark);
}

/* --------------------------------------------------------------------------
   15. Întrebări frecvente
   -------------------------------------------------------------------------- */
:root {
    --icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23697786' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6'/%3E%3C/svg%3E");
}

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.faq-search-wrap { max-width: var(--measure); margin-bottom: 3.5rem; }

.faq-search {
    width: 100%;
    padding: .95rem 1rem .95rem 3rem;
    font-family: inherit;
    font-size: 1.05rem;
    color: var(--ink);
    background: var(--ground) var(--icon-search) no-repeat 1rem center / 19px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    -webkit-appearance: none;
    appearance: none;
}

.faq-search::placeholder { color: var(--muted); }
.faq-search:focus { border-color: var(--primary); }

.faq-count {
    margin: .7rem 0 0;
    font-family: var(--f-mono);
    font-size: .78rem;
    letter-spacing: .04em;
    color: var(--muted);
}

.faq-group { margin-bottom: 3.5rem; }
.faq-group:last-child { margin-bottom: 0; }

.faq-group > h2 {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    padding-bottom: .55rem;
    border-bottom: 2px solid var(--ink);
    max-width: var(--measure);
}

.faq-item {
    max-width: var(--measure);
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--line-soft);
}

.faq-q { font-size: 1.2rem; margin: 0 0 .45rem; }
.faq-a { margin: 0; color: var(--ink-2); }

/* Cuvântul căutat, evidențiat în text */
.faq-item mark {
    background: #FCF0CE;
    color: inherit;
    padding: 0 .1em;
    border-radius: 2px;
}

.faq-empty {
    max-width: var(--measure);
    padding: 1.5rem 0;
    font-size: 1.08rem;
    color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   16. Pagina Contact
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 880px) {
    .contact-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 4rem; }
}

.form-group { margin-bottom: 1.1rem; }

.form-group label {
    display: block;
    margin-bottom: .35rem;
    font-weight: 500;
    font-size: .95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: .75rem .9rem;
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.5;
    color: var(--ink);
    background: var(--ground);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--primary); }

.form-group textarea { resize: vertical; min-height: 140px; }

/* Capcană pentru roboți: ascunsă de oameni, nu și de scripturi */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alert {
    padding: 1rem 1.2rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
}
.alert p { margin: 0; }
.alert--ok  { background: var(--liber-wash);  color: #1D6B3D; }
.alert--err { background: var(--ocupat-wash); color: #9C2A22; }

.contact-details { font-style: normal; line-height: 1.75; font-size: 1.05rem; }
.contact-details .name { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; display: block; margin-bottom: .5rem; }
.contact-details a { font-weight: 500; }

.map-wrap {
    margin-top: 1.75rem;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--paper);
}
.map-wrap iframe { display: block; width: 100%; border: 0; }

/* --------------------------------------------------------------------------
   17. Subsol
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--paper);
    border-top: 1px solid var(--line-soft);
    padding: 3.5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 760px) {
    .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 3rem; }
}

.footer-grid h4 {
    font-family: var(--f-mono);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 .9rem;
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.footer-grid a { color: var(--ink-2); text-decoration: none; font-size: .99rem; }
.footer-grid a:hover { color: var(--primary); text-decoration: underline; }

.footer-logo img { height: 40px; width: auto; margin-bottom: 1rem; }
.footer-blurb { font-size: .97rem; line-height: 1.55; color: var(--muted); max-width: 34ch; margin: 0; }

.footer-bottom {
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    justify-content: space-between;
    font-family: var(--f-mono);
    font-size: .74rem;
    letter-spacing: .04em;
    color: var(--muted);
}
.footer-bottom p { margin: 0; }
