/* =============================================================
   Gabriela Hudrea Nail Salon — stiluri site public

   Tipografia vine din flyer: un serif inalt pentru titluri, un
   script pentru subtitluri si un sans rotund pentru text.

   Paleta e cea stabilita cu Gabriela — verde-inchis pentru titluri,
   salvie pentru butoane, bej pentru butonul secundar si auriu ca
   accent. Vezi blocul :root de mai jos.

   Mobile-first: aproape tot traficul vine din linkul din bio-ul
   de Instagram, deci de pe telefon.
   ============================================================= */

/* -------------------------------------------------------------
   Fonturi

   Sunt gazduite local, nu luate de la Google Fonts. Motivul e
   juridic, nu tehnic: incarcarea de la serverele Google transmite
   adresa IP a fiecarei vizitatoare catre Google, ceea ce in UE
   necesita consimtamant si a fost deja sanctionat in instanta.
   Local, problema nu exista.

   Daca fisierele lipsesc din /assets/fonts/, se folosesc automat
   fonturile de sistem de mai jos si site-ul arata in continuare
   bine. Vezi assets/fonts/README.md.
   ------------------------------------------------------------- */
@font-face {
    font-family: 'GH Display';
    src: url('../fonts/cormorant-garamond-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'GH Display';
    src: url('../fonts/cormorant-garamond-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'GH Script';
    /* Fisierul e .ttf, deci si formatul declarat trebuie sa fie
       'truetype'. Scris 'woff2', browserul il ia drept woff2, nu
       reuseste sa il descifreze si cade pe fontul de sistem — fontul
       se descarca degeaba si tot nu se vede. */
    src: url('../fonts/GreatVibes-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'GH Body';
    src: url('../fonts/jost-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'GH Body';
    src: url('../fonts/jost-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-display: 'GH Display', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-script:  'GH Script', 'Snell Roundhand', 'Brush Script MT', cursive;
    --font-body:    'GH Body', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* ---------------------------------------------------------
       Paleta stabilita cu Gabriela.

       Numele sunt semantice (--heading, --btn-primary), nu
       descriptive (--verde): o schimbare de culoare nu trebuie sa
       ceara redenumiri prin tot fisierul.

       Niciun fundal nu e alb pur — cardurile stau pe --white, care
       are o nuanta calda, iar pagina pe --cream, putin mai adanc.
       Diferenta dintre ele e ce separa cardul de fundal.
       --------------------------------------------------------- */
    --heading:      #343B31;
    --ink:          #4B4A44;
    --ink-soft:     #3E4239;
    --muted:        #6E6D65;
    --muted-light:  #93928B;

    --btn-primary:        #68705D;
    --btn-primary-hover:  #343B31;
    --btn-secondary:      #D8D1C3;
    --btn-secondary-hover: #C9C1AF;

    --gold:         #B49A6C;
    --gold-deep:    #9A8154;
    --gold-pale:    #EFE7D8;
    /* Aurul de accent are 2.6:1 pe fundal deschis — prea putin pentru
       text. Variantele mici scrise cu majuscule (eyebrow, titluri de
       grup) folosesc tonul asta mai inchis, care trece pragul AA.
       Aurul deschis ramane pentru chenare, sublinieri si decor. */
    --gold-text:    #7D6740;

    --cream:        #F6F3EC;
    --cream-deep:   #EFEAE0;
    --lavender:     #EDEFE9;
    --lavender-deep:#E3E7DC;

    --line:         #E2DED4;
    --white:        #FDFCFA;

    --ok:           #4A7A52;
    --ok-bg:        #EAF2E9;
    --warn:         #8A5A26;
    --warn-bg:      #FDF2E4;
    --err:          #9B3B3B;
    --err-bg:       #FBEDED;

    --radius:       14px;
    --radius-sm:    10px;
    --radius-pill:  999px;

    --shadow-sm:    0 1px 2px rgba(52, 59, 49, .05), 0 2px 8px rgba(52, 59, 49, .05);
    --shadow-md:    0 4px 24px rgba(52, 59, 49, .08);

    --wrap:         1080px;
    --wrap-narrow:  680px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

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

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.18;
    margin: 0 0 .5em;
    letter-spacing: .1px;
    /* Titlurile au culoarea lor, mai inchisa decat textul curent */
    color: var(--heading);
}

h1 { font-size: clamp(2.1rem, 6.5vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

/* Accesibilitate: conturul de focus trebuie sa ramana vizibil.
   Il facem sa arate bine, nu il stergem. */
:focus-visible {
    outline: 2px solid var(--gold-text);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ink);
    color: var(--white);
    padding: .7rem 1.2rem;
    z-index: 100;
    border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* -------------------------------------------------------------
   Structura
   ------------------------------------------------------------- */
.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: 1.25rem;
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(3rem, 8vw, 5.5rem); }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section--cream { background: var(--cream-deep); }
.section--lavender { background: var(--lavender); }
.section--white { background: var(--white); }

.section-head { text-align: center; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head p { color: var(--muted); max-width: 46ch; margin-inline: auto; }

.eyebrow {
    display: block;
    font-size: .74rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold-text);
    margin-bottom: .9rem;
}

.script {
    font-family: var(--font-script);
    font-size: 1.35em;
    font-weight: 400;
    color: var(--gold-deep);
    line-height: 1;
}

.lede { font-size: 1.08rem; color: var(--ink-soft); }

/* -------------------------------------------------------------
   Antet
   ------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(246, 243, 236, .93);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 64px;
}

.brand {
    font-family: var(--font-display);
    font-size: 1.12rem;
    line-height: 1.15;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: .2px;
}
.brand span {
    display: block;
    font-family: var(--font-body);
    font-size: .62rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-text);
    margin-top: 2px;
}

.nav { display: none; }

@media (min-width: 900px) {
    .nav {
        display: flex;
        align-items: center;
        gap: 1.75rem;
    }
    .nav a {
        color: var(--ink-soft);
        text-decoration: none;
        font-size: .93rem;
        padding-block: .3rem;
        border-bottom: 1px solid transparent;
    }
    .nav a:hover { color: var(--ink); border-bottom-color: var(--gold); }
    .nav a.is-active { color: var(--ink); border-bottom-color: var(--gold); }
}

/* Meniul de pe telefon: un <details> nativ, fara JavaScript.
   Mai putin cod inseamna mai putine lucruri care se pot strica. */
.menu-toggle { display: block; }
@media (min-width: 900px) { .menu-toggle { display: none; } }

.menu-toggle > summary {
    list-style: none;
    cursor: pointer;
    padding: .55rem .9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    font-size: .85rem;
    background: var(--white);
    color: var(--ink);
    user-select: none;
}
.menu-toggle > summary::-webkit-details-marker { display: none; }
.menu-toggle[open] > summary { background: var(--ink); color: var(--white); border-color: var(--ink); }

.menu-panel {
    position: absolute;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: .6rem 1.25rem 1.1rem;
}
.menu-panel a {
    display: block;
    padding: .8rem .2rem;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
}
.menu-panel a:last-of-type { border-bottom: 0; }

/* -------------------------------------------------------------
   Butoane
   ------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .82rem 1.7rem;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
    /* Tinta de atins confortabil cu degetul */
    min-height: 46px;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--btn-primary); color: #FFF !important; border-color: var(--btn-primary); }
.btn--primary:hover { background: var(--btn-primary-hover); border-color: var(--btn-primary-hover); color: #FFF !important; }

.btn--ghost { background: transparent; color: var(--heading); border-color: var(--heading); }
.btn--ghost:hover { background: var(--heading); color: #FFF; }

.btn--gold { background: var(--gold); color: #FFF; border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }

/* Butonul secundar: plin, in bej-ul paletei */
.btn--soft { background: var(--btn-secondary); color: var(--heading); border-color: var(--btn-secondary); }
.btn--soft:hover { background: var(--btn-secondary-hover); border-color: var(--btn-secondary-hover); color: var(--heading); }

.btn--block { display: flex; width: 100%; }
.btn--sm { padding: .55rem 1.1rem; font-size: .87rem; min-height: 38px; }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
}

/* -------------------------------------------------------------
   Hero
   ------------------------------------------------------------- */
.hero {
    background: linear-gradient(170deg, var(--lavender) 0%, var(--cream) 62%);
    padding-block: clamp(3rem, 9vw, 6rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero__inner { position: relative; z-index: 2; }

.hero h1 { margin-bottom: .25rem; }
.hero .script { display: block; margin-bottom: 1.4rem; font-size: 2rem; }

.hero p {
    max-width: 48ch;
    margin-inline: auto;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.hero .btn-row { margin-top: 2rem; }

/* -----------------------------------------------------------------
   Hero cu poza.

   Pe telefon totul ramane in coloana, centrat, cu poza sub text:
   promisiunea si butonul trebuie sa fie primele pe ecran, nu poza.
   De la 900px in sus trec una langa alta, iar textul se aliniaza la
   stanga — un paragraf centrat pe jumatate de ecran se citeste greu.
   ----------------------------------------------------------------- */
.hero--with-photo .hero__figure {
    margin: 2.5rem 0 0;
    /* Raportul e fixat ca sa nu sara pagina cand se incarca poza */
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.hero--with-photo .hero__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fata sta in treimea de sus; la decupare pastram partea de sus */
    object-position: 50% 22%;
    display: block;
}

@media (min-width: 900px) {
    .hero--with-photo { text-align: left; }
    .hero--with-photo .hero__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
        align-items: center;
        gap: clamp(2rem, 5vw, 4rem);
    }
    .hero--with-photo .hero__text p { margin-inline: 0; }
    .hero--with-photo .hero__figure { margin: 0; aspect-ratio: 5 / 6; }
    .hero--with-photo .btn-row { justify-content: flex-start; }
}

/* -------------------------------------------------------------
   Carduri de valoare (cele 3 blocuri din flyer)
   ------------------------------------------------------------- */
.pillars {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}
@media (min-width: 760px) {
    .pillars { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.pillar {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.9rem 1.6rem;
    box-shadow: var(--shadow-sm);
}
.pillar h3 { margin-bottom: .1rem; }
.pillar .script { display: block; margin-bottom: .9rem; font-size: 1.5rem; }
.pillar p { color: var(--muted); font-size: .96rem; margin: 0; }

/* -------------------------------------------------------------
   Lista de preturi
   ------------------------------------------------------------- */
.price-group { margin-bottom: 2.5rem; }
.price-group:last-child { margin-bottom: 0; }

.price-group__title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: .3rem;
}
.price-group__note {
    color: var(--muted);
    font-size: .92rem;
    margin-bottom: 1.1rem;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--line);
}
.price-row:last-child { border-bottom: 0; }

.price-row__name { font-size: 1.02rem; }
.price-row__desc {
    display: block;
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.5;
    margin-top: .15rem;
}
.price-row__duration {
    display: inline-block;
    margin-left: .5rem;
    font-size: .78rem;
    color: var(--muted-light);
    white-space: nowrap;
}

/* Linia punctata dintre denumire si pret, ca pe un meniu tiparit */
.price-row__dots {
    flex: 1 1 auto;
    border-bottom: 1px dotted var(--line);
    transform: translateY(-3px);
    min-width: 1.5rem;
}

.price-row__price {
    font-family: var(--font-display);
    font-size: 1.16rem;
    white-space: nowrap;
    color: var(--ink);
}
.price-row__price small {
    font-family: var(--font-body);
    font-size: .74rem;
    color: var(--muted);
    display: block;
    text-align: right;
    letter-spacing: .04em;
}

/* -------------------------------------------------------------
   Reguli
   ------------------------------------------------------------- */
.rules { display: grid; gap: 1rem; counter-reset: rule; }

.rule {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.1rem;
    align-items: start;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.3rem 1.4rem;
}
.rule::before {
    counter-increment: rule;
    content: counter(rule) ".";
    font-family: var(--font-display);
    font-size: 1.9rem;
    line-height: 1;
    color: var(--gold-text);
}
.rule p { margin: 0; font-size: .97rem; color: var(--ink-soft); }
.rule strong { color: var(--ink); }

/* -------------------------------------------------------------
   Galerie
   ------------------------------------------------------------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .6rem;
}
@media (min-width: 620px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: .8rem; } }
@media (min-width: 960px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.gallery__item {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--cream-deep);
}
.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.gallery__item:hover img { transform: scale(1.05); }

.gallery__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--muted);
    background: var(--white);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}

/* -------------------------------------------------------------
   Flux de rezervare
   ------------------------------------------------------------- */
.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    margin-bottom: 2.2rem;
    flex-wrap: wrap;
}
.step {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .8rem;
    color: var(--muted-light);
    white-space: nowrap;
}
.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--white);
    font-size: .75rem;
    line-height: 1;
}
.step.is-done { color: var(--muted); }
.step.is-done .step__num { background: var(--gold-pale); border-color: var(--gold-pale); color: var(--gold-deep); }
.step.is-current { color: var(--ink); font-weight: 500; }
.step.is-current .step__num { background: var(--ink); border-color: var(--ink); color: var(--white); }
.step__sep { color: var(--line); }

.choice-list { display: grid; gap: .7rem; }

.choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    text-align: left;
    padding: 1.05rem 1.3rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--ink);
    transition: border-color .16s ease, box-shadow .16s ease;
}
.choice:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-sm);
    color: var(--ink);
}
.choice__name { font-size: 1.02rem; display: block; }
.choice__meta { font-size: .84rem; color: var(--muted); display: block; margin-top: .15rem; }
.choice__price {
    font-family: var(--font-display);
    font-size: 1.1rem;
    white-space: nowrap;
    text-align: right;
}
.choice__price small { display: block; font-family: var(--font-body); font-size: .72rem; color: var(--muted); }

.choice-group__title {
    font-size: .76rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold-text);
    margin: 1.8rem 0 .7rem;
}
.choice-group:first-child .choice-group__title { margin-top: 0; }

/* Calendar */
.calendar {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.1rem;
}
.calendar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .9rem;
}
.calendar__month {
    font-family: var(--font-display);
    font-size: 1.22rem;
    text-transform: capitalize;
}
.calendar__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    text-decoration: none;
    font-size: 1rem;
}
.calendar__nav:hover { border-color: var(--gold); color: var(--gold-deep); }
.calendar__nav.is-disabled { opacity: .3; pointer-events: none; }

.calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: .3rem;
}
.calendar__dow {
    text-align: center;
    font-size: .7rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted-light);
    padding-bottom: .35rem;
}

.calendar__day {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    background: transparent;
    color: var(--ink);
    text-decoration: none;
    font-size: .95rem;
    min-height: 42px;
}
.calendar__day--free { background: var(--white); border-color: var(--line); }
.calendar__day--free:hover { border-color: var(--gold); background: var(--gold-pale); color: var(--ink); }
.calendar__day--free.is-selected { background: var(--ink); border-color: var(--ink); color: var(--white); }
.calendar__day--busy { color: var(--muted-light); background: transparent; cursor: default; }
.calendar__day--empty { visibility: hidden; }

.calendar__dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
}
.calendar__day.is-selected .calendar__dot { background: var(--gold-pale); }

.calendar__legend {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-top: 1rem;
    font-size: .78rem;
    color: var(--muted);
}

/* Ore */
.slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: .55rem;
}
.slot {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .8rem .4rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--ink);
    font-size: 1rem;
    min-height: 48px;
}
.slot:hover { border-color: var(--gold); background: var(--gold-pale); color: var(--ink); }

/* -------------------------------------------------------------
   Formulare
   ------------------------------------------------------------- */
.form { display: grid; gap: 1.15rem; }

.field { display: grid; gap: .4rem; }

.field label {
    font-size: .87rem;
    color: var(--ink-soft);
    font-weight: 500;
}
.field .hint { font-size: .8rem; color: var(--muted); line-height: 1.5; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="password"],
.field input[type="date"],
.field input[type="time"],
.field input[type="number"],
.field input[type="url"],
.field select,
.field textarea {
    width: 100%;
    padding: .78rem .95rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    /* 16px exact: sub aceasta valoare, Safari pe iPhone mareste
       automat pagina cand se intra in camp */
    font-size: 16px;
    line-height: 1.5;
}
.field textarea { min-height: 110px; resize: vertical; }

.field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--gold);
    outline: 2px solid var(--gold-pale);
    outline-offset: 0;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--err); }

.field__error { font-size: .83rem; color: var(--err); }

.check {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .7rem;
    align-items: start;
    font-size: .89rem;
    color: var(--ink-soft);
    line-height: 1.6;
    cursor: pointer;
}
.check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--gold-deep);
    flex-shrink: 0;
}

/* Capcana pentru roboti. Ascunsa vizual si pentru cititoarele de
   ecran, dar completata de scripturile automate. */
.hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-grid { display: grid; gap: 1.15rem; }
@media (min-width: 620px) {
    .form-grid--2 { grid-template-columns: 1fr 1fr; }
}

/* -------------------------------------------------------------
   Carduri, casete, mesaje
   ------------------------------------------------------------- */
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.3rem, 4vw, 2rem);
}
.card--flat { box-shadow: none; }
.card + .card { margin-top: 1rem; }

.summary-box {
    background: var(--lavender);
    border: 1px solid var(--lavender-deep);
    border-radius: var(--radius);
    padding: 1.2rem 1.4rem;
}
.summary-box dl { margin: 0; display: grid; gap: .4rem; }
.summary-box .row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: .95rem;
}
.summary-box dt { color: var(--muted); }
.summary-box dd { margin: 0; font-weight: 500; text-align: right; }

.notice {
    padding: .95rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: .92rem;
    line-height: 1.6;
    border-left: 3px solid;
}
.notice + .notice { margin-top: .7rem; }
.notice--info    { background: var(--lavender);  border-color: var(--gold);  color: var(--ink-soft); }
.notice--success { background: var(--ok-bg);     border-color: var(--ok);    color: #33532F; }
.notice--warning { background: var(--warn-bg);   border-color: var(--gold);  color: var(--warn); }
.notice--error   { background: var(--err-bg);    border-color: var(--err);   color: var(--err); }

.badge {
    display: inline-block;
    padding: .22rem .7rem;
    border-radius: var(--radius-pill);
    font-size: .74rem;
    letter-spacing: .03em;
    background: var(--cream-deep);
    color: var(--muted);
}
.badge--ok   { background: var(--ok-bg);   color: var(--ok); }
.badge--warn { background: var(--warn-bg); color: var(--warn); }
.badge--err  { background: var(--err-bg);  color: var(--err); }

/* -------------------------------------------------------------
   Contact
   ------------------------------------------------------------- */
.contact-grid {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 800px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }

.contact-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--gold-deep); }
.contact-list .label {
    display: block;
    font-size: .74rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .1rem;
}

/* -------------------------------------------------------------
   Subsol
   ------------------------------------------------------------- */
.site-footer {
    background: var(--ink);
    color: #CFC7C1;
    padding-block: 3rem 2rem;
    font-size: .9rem;
}
.site-footer a { color: #E5DCD3; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2.2rem;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: .4rem;
}
.footer-title {
    font-size: .74rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .8rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }

/* -----------------------------------------------------------------
   Legaturile catre retele, ca iconuri.

   Suprafata de atins e 44x44px — sub atat, pe telefon se rateaza
   tinta. Iconul in sine e mai mic; restul e spatiu de siguranta.
   ----------------------------------------------------------------- */
.social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}
.social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-pill);
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.social__link svg {
    width: 21px;
    height: 21px;
    /* currentColor: iconul mosteneste culoarea legaturii, deci se
       schimba singur la hover si in orice tema */
    fill: currentColor;
}
.social__link:hover,
.social__link:focus-visible {
    background: rgba(255, 255, 255, .1);
    transform: translateY(-1px);
    text-decoration: none;
}

/* Pe fundal deschis (pagina de contact), nu pe subsolul inchis */
.social--large .social__link {
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    color: var(--ink);
}
.social--large .social__link svg { width: 22px; height: 22px; }
.social--large .social__link:hover,
.social--large .social__link:focus-visible {
    background: var(--btn-primary, var(--ink));
    border-color: var(--btn-primary, var(--ink));
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.4rem;
    justify-content: space-between;
    font-size: .82rem;
    color: #9A928C;
}

/* -------------------------------------------------------------
   Utilitare
   ------------------------------------------------------------- */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-sm { font-size: .88rem; }
.text-xs { font-size: .8rem; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

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

.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1.1rem; }
.prose li { margin-bottom: .45rem; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.2rem; font-size: .93rem; }
.prose th, .prose td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--muted); font-weight: 500; font-size: .85rem; }

@media print {
    .site-header, .site-footer, .btn, .steps { display: none !important; }
    body { background: #fff; }
}
