/* ===== fonts.css ===== */
/**
 * UndeStam.ro — Fonturi self-hostate (Etapa Redesign — schimbare font 2026-09-24)
 *
 * Plus Jakarta Sans — variable font, folosit pentru TOT (titluri + body),
 * auto-hostat din fișierele reale publicate de Google Fonts
 * (fonts.gstatic.com), nu de la CDN extern la runtime. Sursele exacte +
 * licența sunt documentate în MANIFEST-font-plus-jakarta.md.
 *
 * Înlocuiește complet fonturile din etapa de redesign anterioară.
 *
 * 2 subset-uri per stil (latin + latin-ext) — latin-ext e OBLIGATORIU pentru
 * diacriticele românești (ă â î ș ț și formele vechi cu sedilă ş ţ, toate în
 * intervalul U+0100-02BA). Browserul descarcă automat doar subset-ul de care
 * are nevoie, pe baza `unicode-range`.
 */

/* ═══ PLUS JAKARTA SANS — roman, weight 200-800, variable ═══ */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans/PlusJakartaSans-Variable-latin.woff2') format('woff2-variations'),
       url('/assets/fonts/plus-jakarta-sans/PlusJakartaSans-Variable-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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans/PlusJakartaSans-Variable-latin-ext.woff2') format('woff2-variations'),
       url('/assets/fonts/plus-jakarta-sans/PlusJakartaSans-Variable-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;
}

/* ═══ PLUS JAKARTA SANS — italic, weight 200-800, variable ═══ */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans/PlusJakartaSans-Italic-Variable-latin.woff2') format('woff2-variations'),
       url('/assets/fonts/plus-jakarta-sans/PlusJakartaSans-Italic-Variable-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: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans/PlusJakartaSans-Italic-Variable-latin-ext.woff2') format('woff2-variations'),
       url('/assets/fonts/plus-jakarta-sans/PlusJakartaSans-Italic-Variable-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;
}

/* ===== tokens.css ===== */
/**
 * UndeStam.ro — Design Tokens
 * Paletă: Alb / Gri / Negru + Roșu Bordeaux
 * Sursă unică pentru culori, spațiere, raze, umbre.
 * Se încarcă PRIMUL (vezi @import în css/style.css).
 *
 * Aliasurile cu nume vechi (--forest, --gold, --cream...) există pentru
 * compatibilitate cu ~1800 de atribute style="" inline și cu paginile care
 * încă nu au fost migrate la tokens (FAZA 3/4) — NU le șterge fără să
 * verifici întâi că nimic nu le mai folosește.
 */

:root {
    /* ═══ Neutre (scală Tailwind "Neutral") ═══ */
    --white:    #ffffff;
    --black:    #0a0a0a;
    --gray-50:  #fafaf9;
    --gray-100: #f5f5f4;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --gray-950: #0a0a0a;

    /* ═══ Brand — bordeaux ═══ */
    --primary:         #6b1b24;
    --primary-dark:    #5c0a1e;
    --primary-darkest: #3d0f14;
    --primary-light:   #8f323b;
    --primary-pale:    #f6e7e9;

    /* ═══ Accent secundar — gri/negru rece (fostul auriu) ═══ */
    --accent:       #262626;
    --accent-dark:  #0a0a0a;
    --accent-light: #d4d4d4;
    --accent-pale:  #f5f5f4;

    /* ═══ Status semantic — DOAR ce nu are echivalent în --st-* ═══ */
    /* --green/--yellow/--red/--success/--danger/--warning au fost șterse
       (Etapa 4 Redesign) — erau duplicate EXACTE ale --st-success/
       --st-warning/--st-error (aceeași valoare hex, alt nume), consolidate
       sub --st-*. --blue/--purple RĂMÂN: --blue (#3b82f6) NU e duplicat
       cu --st-info (#6B1B24, bordo) — valori diferite, discrepanță
       raportată, nu unificată orb; --purple nu are echivalent --st-*. */
    --blue:    #3b82f6;
    --purple:  #7c3aed;
    --info:    var(--blue);

    /* ═══ Aliasuri de compatibilitate (nume v2.0) ═══ */
    --forest:       var(--primary);
    --forest-light: var(--primary-light);
    --forest-dark:  var(--primary-darkest);
    --gold:         var(--accent);
    --gold-light:   var(--accent-light);
    --gold-dark:    var(--accent-dark);
    --gold-pale:    var(--accent-pale);
    --cream:        var(--gray-50);
    --cream-dark:   var(--gray-100);
    --dark:         var(--gray-950);
    --text:         var(--gray-950);
    --text-light:   var(--gray-600);
    --text-lighter: var(--gray-400);
    --border:       var(--gray-200);
    --border-light: var(--gray-100);
    --charcoal:     var(--gray-950);
    --sage:         var(--gray-400);

    /* ═══ Fonturi ═══ */
    /* Plus Jakarta Sans — un singur font, pentru tot (titluri + body),
       self-hostat din css/fonts.css. Înlocuiește fonturile din etapa de
       redesign anterioară (schimbare cerută de client, 2026-09-24). */
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

    /* ═══ Spațiere ═══ */
    --space-xs:  0.25rem;
    --space-sm:  0.5rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* ═══ Raze ═══ */
    --radius-sm:   6px;
    --radius-md:   10px;
    --radius-lg:   16px;
    --radius-xl:   24px;
    --radius-full: 999px;
    --radius:      var(--radius-md);

    /* ═══ Umbre ═══ */
    --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:   0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg:   0 12px 32px rgba(0,0,0,0.12);
    --shadow-xl:   0 20px 50px rgba(0,0,0,0.15);
    /* HOTFIX 3.6.0: color-mix() in loc de rgba() hardcodat -- deriva acum
       din var(--primary), deci urmareste automat paleta editabila din
       admin/paleta.php (inainte, o schimbare de --primary nu se reflecta
       aici, ramanea vizual bordo indiferent de culoarea aleasa). */
    --shadow-gold: 0 4px 20px color-mix(in srgb, var(--primary) 20%, transparent);
    --shadow:      var(--shadow-md);

    /* ═══ Tranziții ═══ */
    --trans:      0.2s ease;
    --trans-slow: 0.4s ease;
    --transition: var(--trans);

    /* ═══ Container ═══ */
    --container:    1200px;
    --container-sm: 680px;

    /* ═══ Focus vizibil (WCAG 2.4.7 AA) ═══ */
    --focus-ring: 0 0 0 3px color-mix(in srgb, var(--primary) 35%, transparent);

    /* ═══ Status tokens semantici (Etapa Redesign 2 — unificare culori admin) ═══ */
    /* HOTFIX 3.6.0: toate cele patru -bg de mai jos foloseau rgba() cu
       tripletul RGB hardcodat, deci nu urmareau o schimbare a culorii de
       baza din admin/paleta.php -- puncte moarte in paleta. Derivate acum
       cu color-mix() din variabila lor, ca sa ramana sincronizate mereu. */
    --st-success:    #059669;
    --st-success-bg: color-mix(in srgb, var(--st-success) 8%, transparent);
    --st-warning:    #d97706;
    --st-warning-bg: color-mix(in srgb, var(--st-warning) 8%, transparent);
    --st-error:      #dc2626;
    --st-error-bg:   color-mix(in srgb, var(--st-error) 8%, transparent);
    --st-info:       #6B1B24;   /* bordo primary */
    --st-info-bg:    color-mix(in srgb, var(--st-info) 8%, transparent);
    --st-special:    #6D5A85;   /* muted plum, complementează bordo */
    --st-special-bg: rgba(109,90,133,0.08);
    --st-neutral:    #737373;
    --st-neutral-bg: rgba(115,115,115,0.08);

    /* Match scoring tokens (specific dashboard/cerere.php) */
    --match-good: var(--st-success);
    --match-ok:   var(--st-warning);
    --match-low:  var(--st-neutral);
}

/* ===== components/header.css ===== */
/**
 * Componenta: Header + Navigație (desktop & mobile)
 * Clase cu JS legat — NU redenumi: .header #header, .menu-toggle #menuToggle,
 * .nav #navMain (.open), .dropdown/.dropdown-toggle/.dropdown-menu (.show).
 * Poziționarea nav-ului mobil (transform/timing) e finalizată în
 * includes/footer.php (ultimul <style> din DOM, câștigă cascada) — vezi
 * blocul "HEADER / NAV / COOKIE — overrides" din style.css.
 */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.97);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: var(--space-md);
}

/* Logo */
.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--forest);
    display: flex;
    align-items: baseline;
    gap: 0;
    white-space: nowrap;
}

.logo:hover { color: var(--forest); }
.logo-unde { color: var(--gold); }
.logo-stam { color: var(--forest); }
.logo small { font-size: 0.6em; color: var(--text-light); margin-left: 1px; }

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-link {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: all var(--trans);
    white-space: nowrap;
}

.nav-link:hover { color: var(--gold); background: var(--cream); }
.nav-link.active { color: var(--forest); font-weight: 700; }

.nav-icon { position: relative; display: flex; align-items: center; }
.nav-icon svg { display: block; }

/* Badge notificări */
.badge {
    position: absolute;
    top: 0; right: 0;
    background: var(--st-error);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: var(--radius-full);
    transform: translate(40%, -30%);
}

/* Avatar */
.avatar-sm {
    width: 32px; height: 32px;
    border-radius: var(--radius-full);
    background: var(--forest);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Dropdown */
.dropdown { position: relative; }

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    transition: all var(--trans);
}

.dropdown-toggle:hover { border-color: var(--gold); }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: var(--space-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.15s ease;
    z-index: 1001;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 16px;
    font-size: 0.875rem;
    color: var(--text);
    transition: background var(--trans);
}

.dropdown-menu a:hover { background: var(--cream); color: var(--forest); }
.dropdown-sep { height: 1px; background: var(--border-light); margin: 4px 0; }

/* Menu toggle (mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 100%; height: 2px;
    background: var(--forest);
    border-radius: 2px;
    transition: all var(--trans);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.d-desktop { display: inline; }

/* ===== components/buttons.css ===== */
/**
 * Componenta: Butoane
 * Pattern pill (radius-full), shadow la hover, translateY(-1px).
 * Variante: primary, secondary (=outline), gold, outline-gold, ghost,
 * danger, outline-light (pt. fundal închis), link, success. + disabled.
 */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 10px 22px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--trans);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
}

.btn-sm { padding: 6px 16px; font-size: 0.8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* Primary */
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Secondary — alias vizual pt. .btn-outline, nume clar pt. cod nou */
.btn-secondary,
.btn-outline {
    background: transparent;
    color: var(--forest);
    border-color: var(--forest);
}
.btn-secondary:hover,
.btn-outline:hover {
    background: var(--forest);
    color: var(--white);
}

.btn-gold {
    background: var(--gold-light);
    color: var(--gray-950);
    border-color: var(--gold-light);
}
.btn-gold:hover {
    background: var(--gray-400);
    border-color: var(--gray-400);
    color: var(--gray-950);
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-dark);
    border-color: var(--gold);
}
.btn-outline-gold:hover {
    background: var(--gold-light);
    color: var(--gray-950);
}

/* Ghost — fără border vizibil */
.btn-ghost {
    background: transparent;
    color: var(--text-light);
    border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--text-light); color: var(--text); }

/* Link — arată ca text, se comportă ca buton */
.btn-link {
    background: transparent;
    color: var(--primary);
    border-color: transparent;
    padding: 4px 2px;
    text-decoration: underline;
    font-weight: 500;
}
.btn-link:hover { color: var(--primary-dark); background: transparent; }

/* Danger */
.btn-danger { background: var(--st-error); color: var(--white); border-color: var(--st-error); }
.btn-danger:hover { background: #b91c1c; border-color: #b91c1c; }
.btn-danger-text { color: var(--st-error) !important; }

/* Success */
.btn-success { background: var(--st-success); color: #fff; border: none; }
.btn-success:hover { background: #047857; }

/* Outline-light — pt. hero/CTA pe fundal închis (bordo) */
.btn-outline-light {
    background: transparent; color: var(--cream);
    border: 1.5px solid rgba(255,255,255,.25);
    padding: 14px 28px; border-radius: var(--radius);
    font-size: .95rem; font-weight: 500;
    display: inline-flex; align-items: center; gap: 8px; transition: var(--transition);
}
.btn-outline-light:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); }

.btn-block { width: 100%; }

/* Disabled — toate variantele */
.btn:disabled,
.btn.disabled,
.btn[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
    box-shadow: none !important;
}

/* ===== components/forms.css ===== */
/**
 * Componenta: Formulare
 * Focus state: border bordo + ring subtil bordo — NU shadow gri implicit.
 */

.form-group { margin-bottom: var(--space-lg); }

.form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}

.form-label .required { color: var(--st-error); margin-left: 2px; }

.form-control {
    width: 100%;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 1rem; /* prevent zoom on iOS */
    color: var(--text);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--trans);
    appearance: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(107,27,36,0.12);
}

.form-control.error { border-color: var(--st-error); }
.form-control.error:focus { box-shadow: 0 0 0 3px rgba(220,38,38,0.12); }

.form-control.valid { border-color: var(--st-success); }
.form-control.valid:focus { box-shadow: 0 0 0 3px rgba(22,163,74,0.12); }

.btn-block-disabled,
.btn[disabled] {
    background: var(--gray-300) !important;
    border-color: var(--gray-300) !important;
    color: var(--gray-500) !important;
    cursor: not-allowed !important;
}

.form-error {
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
    color: var(--st-error);
}

.form-hint {
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
    color: var(--text-lighter);
}

textarea.form-control { resize: vertical; min-height: 100px; }

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%236b7280'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }

.form-check {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: .88rem;
    font-weight: 400;
    cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 18px; height: 18px;
    margin: 0;
    accent-color: var(--forest);
    cursor: pointer;
}

/* Fieldset */
.form-fieldset {
    border: 1px solid var(--gray-200); border-radius: var(--radius);
    padding: 20px 24px 24px; margin-bottom: 24px; background: #fff;
}
.form-fieldset legend {
    font-size: .95rem; font-weight: 600; color: var(--forest);
    padding: 0 8px; margin-left: -8px;
}

/* Radio card grid (alegeri gen "tip cazare") */
.form-radio-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.form-radio-card {
    display: flex; align-items: center; gap: 6px; padding: 8px 16px;
    border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
    cursor: pointer; font-size: .88rem; font-weight: 400;
    transition: var(--transition); background: #fff;
}
.form-radio-card:hover { border-color: var(--primary); }
.form-radio-card.active,
.form-radio-card:has(input:checked) {
    border-color: var(--primary); background: var(--primary-pale); font-weight: 500;
}
.form-radio-card input { margin: 0; }

/* Facilități (checkbox grid) */
.fac-intro-hint { margin-bottom: 16px; }
.fac-form-category { margin-bottom: 20px; }
.fac-form-category:last-child { margin-bottom: 0; }
.fac-form-title {
    font-size: .85rem; font-weight: 600; color: var(--gray-600); margin-bottom: 10px;
}
.fac-form-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px;
}
.fac-form-item {
    display: flex; align-items: center; gap: 8px; padding: 10px 12px;
    border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
    cursor: pointer; font-size: .85rem; font-weight: 400;
    transition: var(--transition); background: #fff;
}
.fac-form-item:hover { border-color: var(--sage); }
.fac-form-item.checked { border-color: var(--forest); background: var(--gray-100); }
.fac-form-item > input[type="checkbox"] { margin: 0; flex-shrink: 0; }
.fac-form-icon { font-size: 1.1rem; flex-shrink: 0; }
.fac-form-name { flex: 1; }
.fac-form-mandatory {
    font-size: .72rem; color: var(--gold); cursor: pointer;
    display: flex; align-items: center; gap: 2px; flex-shrink: 0; font-weight: 400;
}
.fac-form-mandatory input { margin: 0; width: 12px; height: 12px; }
.fac-tag-mandatory { border-color: var(--gold) !important; background: var(--gold-pale) !important; font-weight: 600; }

/* Acțiuni formular */
.form-actions { margin-top: 32px; display: flex; gap: 16px; align-items: center; }
.form-final-hint { margin-top: 16px; }

@media (max-width: 768px) {
    .form-row, .form-row-3 { grid-template-columns: 1fr; }
    .form-radio-grid { gap: 6px; }
    .form-radio-card { padding: 6px 12px; font-size: .82rem; }
    .fac-form-grid { grid-template-columns: 1fr; }
    .form-fieldset { padding: 16px 16px 20px; }
    .form-actions { flex-direction: column; align-items: stretch; }
    .form-actions .btn { text-align: center; }
}

/* ===== components/cards.css ===== */
/**
 * Componenta: Card-uri
 * Shadow progresiv: shadow-sm în repaus → shadow-lg la hover + translateY(-2px).
 * Variante: card generic, card cerere (.req-card), card ofertă (.resp-card),
 * card pensiune/cazare (.prop-card, .matched-card).
 */

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--trans);
}

.card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-body { padding: var(--space-lg); }
.card-footer {
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}

/* ─── Card cerere (.req-card) ─── */
.req-card {
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 22px; transition: all var(--trans); display: flex; flex-direction: column;
}
.req-card:hover { box-shadow: var(--shadow-lg); border-color: var(--primary); transform: translateY(-2px); }
.req-card-resolved { opacity: .6; }

.req-card-top {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 8px; gap: 8px;
}
.req-card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.req-date { font-size: .78rem; color: var(--gray-400); white-space: nowrap; }

.req-card h3 { font-size: 1.05rem; margin-bottom: 6px; line-height: 1.4; }
.req-card h3 a { color: var(--charcoal); }
.req-card h3 a:hover { color: var(--forest); }
.req-location { font-size: .85rem; color: var(--gray-500); margin-bottom: 8px; }

.req-meta {
    display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-md); font-size: .82rem;
    color: var(--gray-500); margin-bottom: 12px;
}
.req-meta span { display: flex; align-items: center; gap: 4px; }
.req-meta em { font-style: normal; color: var(--gray-400); font-size: .78rem; }

.req-fac-preview { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.req-fac-preview span {
    padding: 2px 8px; background: var(--gray-50); border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm); font-size: .72rem; color: var(--gray-600);
}
.req-fac-more {
    padding: 2px 8px; background: var(--forest); color: #fff;
    border-radius: var(--radius-sm); font-size: .72rem; font-weight: 600; border: none;
}

.req-footer {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: auto; padding-top: 12px; border-top: 1px solid var(--gray-100);
}
.req-responses { font-size: .82rem; color: var(--gray-500); font-weight: 500; }
.req-footer a { font-size: .85rem; color: var(--forest); font-weight: 600; }
.req-footer a:hover { text-decoration: underline; }

/* ─── Card pensiune/cazare (.prop-card) ─── */
.prop-card .prop-cover {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--cream);
}
.prop-card .prop-cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--trans-slow);
}
.prop-card:hover .prop-cover img { transform: scale(1.05); }
.prop-card .prop-no-img {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
    background: var(--cream);
}
.prop-rating { color: var(--gold); font-weight: 600; font-size: 0.9rem; }
.prop-price { color: var(--st-success); font-weight: 600; font-size: 0.9rem; }

/* ─── Card pensiune (compact, din grid "similare"/"matched") ─── */
.matched-card {
    background: #fff; border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
    border-radius: var(--radius); overflow: hidden; transition: all var(--trans);
}
.matched-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--primary); }
.matched-card-img { position: relative; height: 140px; background: var(--gray-100); overflow: hidden; }
.matched-card-img img { width: 100%; height: 100%; object-fit: cover; }
.matched-card-noimg { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.matched-card-body { padding: 14px 16px 8px; }
.matched-card-body h4 { font-size: .95rem; margin-bottom: 4px; }
.matched-card-body h4 a { color: var(--charcoal); }
.matched-card-body h4 a:hover { color: var(--forest); }
.matched-location { font-size: .82rem; color: var(--gray-500); margin-bottom: 6px; }
.matched-meta { display: flex; gap: 10px; font-size: .78rem; color: var(--gray-500); flex-wrap: wrap; }
.matched-card-footer { padding: 8px 16px 14px; }

/* ─── Card ofertă (.resp-card) ─── */
.resp-card {
    background: #fff; border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
    border-radius: var(--radius-lg); padding: 24px; margin-bottom: 16px;
}
.resp-card-oferta { border-left: 4px solid var(--forest); }
.resp-card-recomandare { border-left: 4px solid var(--sage); }

.resp-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 12px; flex-wrap: wrap; gap: 8px;
}
.resp-user { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.resp-property-link { font-size: .85rem; color: var(--forest); font-weight: 500; }
.resp-property-link:hover { text-decoration: underline; }
.resp-rating { font-size: .78rem; color: var(--gray-400); }
.resp-date { font-size: .78rem; color: var(--gray-400); }

.resp-price {
    background: var(--gold-pale); border-radius: var(--radius-sm);
    padding: 10px 16px; margin-bottom: 12px; display: inline-block;
}
.resp-price-value { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--forest); }
.resp-price-type { font-size: .82rem; color: var(--gray-500); }

.resp-message { color: var(--gray-600); line-height: 1.7; font-size: .92rem; }
.resp-availability { font-size: .82rem; color: var(--gray-500); margin-top: 10px; }
.resp-actions { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--gray-100); }
.resp-accepted {
    margin-top: 12px; padding: 8px 14px; background: #d1fae5; color: #065f46;
    border-radius: var(--radius-sm); font-size: .85rem; font-weight: 600; display: inline-block;
}

/* ===== components/badges.css ===== */
/**
 * Componenta: Badge-uri / Pills / Status indicators
 * Statusurile semantice (succes/eroare/avertisment/info) rămân pe culorile
 * standard — NU pe bordo, ca să nu se confunde cu un CTA.
 */

.status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-nou      { background: #dbeafe; color: #1e40af; }
.status-activ    { background: #d1fae5; color: #065f46; }
.status-rezolvat { background: #fef3c7; color: #92400e; }
.status-rezervat { background: #d1fae5; color: #065f46; }
.status-in_discutii { background: #e0e7ff; color: #3730a3; }
.status-expirat  { background: #f3f4f6; color: #6b7280; }
.status-anulat   { background: #fee2e2; color: #991b1b; }
.status-pending  { background: #fef3c7; color: #92400e; }
.status-active   { background: #d1fae5; color: #065f46; }
.status-rejected { background: #fee2e2; color: #991b1b; }
/* HOTFIX 3.6.16: properties.status='inactive' nu avea NICIO regulă -- badge
   nestilizat, ușor de confundat cu "activă normală" (admin/pensiuni.php).
   Distinct de .status-rejected (roșu curat, respinsă de admin) -- aici
   proprietarul a șters-o sau a dezactivat-o el însuși, un ton roșu/gri. */
.status-inactive { background: #f3e8e8; color: #7f1d1d; }
/* Badge separat pt. "Motiv pauză" (admin/pensiuni.php) -- galben, ca la
   .status-pending, dar clasă proprie ca să nu se suprapună semantic cu
   statusul de aprobare. */
.status-pauza    { background: #fef3c7; color: #92400e; }
.status-paid     { background: #d1fae5; color: #065f46; }
.status-sent     { background: #dbeafe; color: #1e40af; }
.status-overdue  { background: #fee2e2; color: #991b1b; }
.status-draft    { background: #f3f4f6; color: #6b7280; }

/* Statusuri cerere (pagina de detaliu) */
.req-status {
    display: inline-block; padding: 2px 10px; border-radius: var(--radius-full);
    font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
}
.req-status-nou { background: #d1fae5; color: #065f46; }
.req-status-activ { background: #d1fae5; color: #065f46; }
.req-status-rezolvat { background: #e0e7ff; color: #3730a3; }
.req-status-expirat { background: var(--gray-100); color: var(--gray-500); }

.req-type-badge {
    display: inline-block; padding: 2px 10px; border-radius: var(--radius-full);
    font-size: .72rem; font-weight: 600; background: #eef2ff; color: #4338ca;
}
.req-ptype-badge {
    display: inline-block; padding: 2px 10px; border-radius: var(--radius-full);
    font-size: .72rem; font-weight: 600; background: #fef3c7; color: #92400e;
}

/* Badge tip proprietate (pe imaginea cardului) */
.prop-type-badge {
    position: absolute;
    top: 12px; left: 12px;
    padding: 3px 10px;
    background: var(--white);
    color: var(--forest);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Scor de potrivire (pe imaginea cardului "matched") */
.matched-score {
    position: absolute; top: 8px; right: 8px; background: var(--forest); color: #fff;
    padding: 4px 10px; border-radius: var(--radius-full); font-size: .78rem; font-weight: 700;
}

/* Badge ofertă / recomandare (pe .resp-card) */
.resp-badge {
    padding: 2px 10px; border-radius: var(--radius-full);
    font-size: .7rem; font-weight: 700; text-transform: uppercase;
}
.resp-badge-oferta { background: var(--forest); color: #fff; }
.resp-badge-reco { background: var(--sage); color: var(--forest-dark); }

/* Scor de potrivire general */
.match-score {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: linear-gradient(135deg, var(--gold-light), var(--gray-300));
    color: var(--gray-950);
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: var(--radius-full);
}

/* Etichete facilități */
.fac-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.fac-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--text);
    white-space: nowrap;
}

.fac-tag.mandatory {
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest);
}

/* Chip-uri filtre (bară de filtre) */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding: var(--space-lg) 0;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.filter-chip {
    padding: 6px 14px;
    font-size: 0.825rem;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text);
    background: var(--white);
    cursor: pointer;
    transition: all var(--trans);
    text-decoration: none;
}

.filter-chip:hover, .filter-chip.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Chip-uri filtre rapide (listă cereri) */
.qf {
    display: inline-flex; align-items: center; gap: 4px; padding: 5px 14px;
    border: 1px solid var(--gray-200); border-radius: var(--radius-full);
    font-size: .82rem; color: var(--gray-600); background: #fff; transition: var(--transition);
}
.qf:hover { border-color: var(--primary); color: var(--charcoal); }
.qf-active { background: var(--forest); border-color: var(--forest); color: #fff; }

@media (max-width: 768px) {
    .filters { gap: 6px; }
    .filter-chip { font-size: 0.78rem; padding: 5px 10px; }
}

/* ===== components/tables.css ===== */
/**
 * Componenta: Tabele (public)
 * /admin/* are propriile tabele — neatinse aici.
 */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.table th {
    background: var(--forest);
    color: var(--white);
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.table tr:hover td { background: var(--cream); }
.table tr:nth-child(even) td { background: rgba(0,0,0,0.01); }

@media (max-width: 768px) {
    .table { min-width: 600px; }
}

/* ===== components/modals.css ===== */
/**
 * Componenta: Modal / Flash messages
 *
 * Modal — clase noi, verificate să NU se suprapună cu implementările
 * page-local existente (dashboard/proprietate.php are propriul
 * .modal-overlay/.modal-box/.modal-title, dashboard/abonament.php are
 * .ab-modal-*) — acelea rămân neatinse (Faza 4). Astea sunt pt. cod nou.
 */

.flash-container { padding: var(--space-md) 0; }

.flash {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.flash-icon { font-size: 1.1rem; flex-shrink: 0; }

.flash-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.5;
    color: inherit;
    padding: 4px;
}
.flash-close:hover { opacity: 1; }

/* 4 variante — succes/eroare/avertisment verzi/roșii/galbene standard,
   info pe gri neutru (NU bordo, ca să nu se confunde cu un CTA) */
.flash-success { background: #d1fae5; color: #065f46; border-left: 4px solid var(--st-success); }
.flash-error   { background: #fee2e2; color: #991b1b; border-left: 4px solid var(--st-error); }
.flash-warning { background: #fef3c7; color: #92400e; border-left: 4px solid var(--st-warning); }
.flash-info    { background: var(--gray-100); color: var(--gray-700); border-left: 4px solid var(--gray-400); }

/* ═══════════════════════════════════════
   MODAL
   ═══════════════════════════════════════ */

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    animation: modal-fade-in 0.18s ease;
}

.modal-dialog {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modal-scale-in 0.18s ease;
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius-full);
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: all var(--trans);
}
.modal-close:hover { background: var(--gray-200); color: var(--text); }

.modal-heading {
    padding: var(--space-lg) var(--space-lg) 0;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--forest);
    padding-right: 48px; /* loc pt. butonul de close */
}

.modal-content { padding: var(--space-lg); color: var(--text); line-height: 1.6; }

.modal-actions {
    padding: 0 var(--space-lg) var(--space-lg);
    display: flex;
    gap: var(--space-sm);
    justify-content: flex-end;
}

@keyframes modal-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-scale-in { from { opacity: 0; transform: scale(0.96) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }

@media (prefers-reduced-motion: reduce) {
    .modal-backdrop, .modal-dialog { animation: none; }
}

/* ===== components/states.css ===== */
/**
 * Componenta: Empty states + Loading states
 * .empty-state era definit de 2 ori în style.css v2.0 (o versiune de bază
 * și un "patch" care îi suprascria parțial padding/background/border) —
 * aici e o singură definiție, cu rezultatul vizual identic (merge-ul
 * efectiv al celor 2 reguli din trecut).
 */

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border: 1px dashed var(--gray-200);
    border-radius: var(--radius-lg);
    color: var(--text-light);
}

.empty-state-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    opacity: 0.4;
}

.empty-state h3 {
    color: var(--text);
    margin-bottom: var(--space-sm);
}

.empty-state p {
    color: var(--gray-500);
    margin-bottom: 16px;
}

/* ═══════════════════════════════════════
   LOADING STATE
   ═══════════════════════════════════════ */

.spinner {
    width: 20px; height: 20px;
    border: 2.5px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-3xl) var(--space-lg);
    color: var(--text-light);
    text-align: center;
}

.loading-state .spinner { width: 32px; height: 32px; border-width: 3px; }

/* ===== components/footer.css ===== */
/**
 * Componenta: Footer
 * Recolorat în Faza 2 (fundal alb/gri, NU navy întunecat, hover bordo pe
 * link-uri). Mutat aici neschimbat — nimic de polish suplimentar.
 */

.footer {
    background: var(--gray-50);
    color: var(--text-light);
    border-top: 1px solid var(--border);
    padding: var(--space-3xl) 0 var(--space-lg);
    margin-top: var(--space-3xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand .logo { margin-bottom: var(--space-md); }
.footer-brand .logo-unde { color: var(--primary); }
.footer-brand .logo-stam { color: var(--text); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 300px; }

.footer-col h4 {
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
}

.footer-col a {
    display: block;
    color: var(--text-light);
    font-size: 0.875rem;
    padding: 4px 0;
    transition: color var(--trans);
}

.footer-col a:hover { color: var(--primary); }

.footer-payments {
    margin-top: 16px;
    text-align: center;
    opacity: 0.9;
}
.footer-payments img { max-height: 40px; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-lighter);
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
    .footer-bottom { flex-direction: column; text-align: center; gap: var(--space-sm); }
}

/* ===== components/auth-split.css ===== */
/**
 * Componenta: Split-screen pagini auth (HOTFIX 3.4.11, Task D)
 * Folosit de: autentificare.php, resetare-parola.php, parola-noua.php,
 * inregistrare.php. inregistrare-proprietar.php NU foloseste asta — e un
 * wizard lung (cont + date cazare + adresa/harta), nu incape intr-o coloana
 * de 440px centrata vertical (decizie explicita, vezi manifest 3.4.11).
 */

.authsplit {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: calc(100vh - 64px); /* 64px = .header-inner (components/header.css) */
}

.authsplit-media {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-2xl);
}

.authsplit-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(107,27,36,.15), rgba(92,10,30,.35));
}

.authsplit-media-caption {
    position: relative;
    z-index: 1;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.35;
    text-shadow: 0 2px 12px rgba(0,0,0,.35);
    max-width: 420px;
}

.authsplit-form {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    padding: var(--space-2xl) var(--space-lg);
}

.authsplit-form-inner {
    width: 100%;
    max-width: 440px;
}

@media (max-width: 900px) {
    .authsplit { display: block; min-height: auto; }
    .authsplit-media { display: none; }
    .authsplit-form { padding: 24px 20px; }
}

/* ===== style.css ===== */
/**
 * UndeStam.ro v2.1 — Design System
 * Portal cazări turistice România
 * Alb · Gri · Negru · Roșu Bordeaux · Plus Jakarta Sans
 * Mobile-first
 *
 * Tokens (culori/spațiere/raze/umbre) trăiesc în tokens.css, importat mai
 * jos. Nu redefini :root aici — editează tokens.css.
 *
 * fonts.css (self-hostat, @font-face pentru Plus Jakarta Sans) trebuie
 * importat ÎNAINTE de tokens.css — nu contează strict pentru corectitudine
 * (@font-face doar înregistrează numele, tokens.css doar le referențiază
 * prin var()), dar păstrează ordinea logică „declari fontul, apoi îl
 * folosești" și e identică cu ordinea din css/bundle.php.
 */













/* HOTFIX 3.4.22 (redenumit din siruta-autocomplete.css, 3.4.21) */

/* ═══════════════════════════════════════
   RESET
   ═══════════════════════════════════════ */

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

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--gold); }

/* ═══════════════════════════════════════
   ACCESSIBILITY — focus vizibil (WCAG 2.4.7 AA)
   ═══════════════════════════════════════ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* ═══════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════ */

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-sm { max-width: var(--container-sm); }

.main { min-height: 60vh; }

.section {
    padding: var(--space-3xl) 0;
}

.section-alt {
    background: var(--cream);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--forest);
    margin-bottom: var(--space-sm);
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════ */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--forest);
    line-height: 1.25;
}

h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.1rem; }

.text-gold { color: var(--gold); }
.text-muted { color: var(--text-light); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-center { text-align: center; }
.text-danger { color: var(--st-error) !important; }
.text-success { color: var(--st-success) !important; }

/* Header, Butoane, Formulare, Card-uri (bază) — vezi css/components/*.css */

/* ═══════════════════════════════════════
   GRIDS (utilitare, folosite de mai multe componente)
   ═══════════════════════════════════════ */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

/* Status badges, Flash messages, Tables — vezi css/components/*.css */

/* ═══════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════ */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-xl) 0;
}

.pg-btn {
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--forest);
    transition: all var(--trans);
}

.pg-btn:hover {
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest);
}

.pg-info { font-size: 0.85rem; color: var(--text-light); }

/* Empty states, Loading states — vezi css/components/states.css */

/* ═══════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════ */

.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-light);
    padding: var(--space-md) 0;
}

.breadcrumb a { color: var(--forest); }
.breadcrumb a:hover { color: var(--gold); }

/* ═══════════════════════════════════════
   HERO (Homepage)
   ═══════════════════════════════════════ */

.hero {
    position: relative;
    background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest) 50%, var(--forest-light) 100%);
    color: var(--white);
    padding: var(--space-3xl) 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(107,27,36,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(107,27,36,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(107,27,36,0.15);
    border: 1px solid rgba(107,27,36,0.3);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.5px;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 6vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: var(--space-lg);
}

.hero h1 em {
    color: var(--gold);
    font-style: italic;
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-stat { text-align: center; }
.hero-stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--gold);
}
.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════
   LOCATION CARDS (zone populare)
   ═══════════════════════════════════════ */

.loc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-md);
}

.loc-card {
    position: relative;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: all var(--trans);
    cursor: pointer;
}

.loc-card:hover {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.loc-card-icon { font-size: 1.5rem; margin-bottom: var(--space-sm); }

.loc-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--forest);
    margin-bottom: 4px;
}

.loc-card .loc-card-count {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Match score, Facility tags, Filters bar — vezi css/components/badges.css
   Footer — vezi css/components/footer.css
   Notă: .cookie-bar/.cookie-inner (clasă CSS generică din v2.0) nu mai sunt
   folosite nicăieri — bannerul real e #cookieConsent, inline-stilizat în
   includes/footer.php. Eliminate ca CSS mort în Faza 2. */

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
   ═══════════════════════════════════════ */

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* Nav mobile */
    .menu-toggle { display: flex; }
    .d-desktop { display: none; }

    .nav {
        position: fixed;
        top: 64px; left: 0; right: 0; bottom: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-lg);
        gap: var(--space-xs);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }

    .nav.open { transform: translateX(0); }

    .nav-link {
        padding: 12px var(--space-md);
        font-size: 1rem;
        border-bottom: 1px solid var(--border-light);
    }

    .nav .btn { width: 100%; margin-top: var(--space-sm); }

    .dropdown { width: 100%; }
    .dropdown-toggle { width: 100%; justify-content: flex-start; }
    .dropdown-menu { position: static; box-shadow: none; border: 1px solid var(--border-light); }

    /* Grid */
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    /* Hero */
    .hero { padding: var(--space-2xl) 0; }
    .hero-stats { gap: var(--space-lg); flex-wrap: wrap; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }

    /* Section */
    .section { padding: var(--space-2xl) 0; }

    /* Location grid */
    .loc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .loc-grid { grid-template-columns: 1fr 1fr; }
    .hero-stats { justify-content: space-around; }

    .hero h1 { font-size: 1.7rem; }
    .hero p { font-size: 0.95rem; }
}

/* ═══════════════════════════════════════════════
   HOME / LANDING PAGE
   Adaugă la sfârșitul style.css
   ═══════════════════════════════════════════════ */

/* ─── Scroll Animations ─── */
.fade-in {
    opacity: 0; transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }
.fade-in-delay-4 { transition-delay: .4s; }

/* ─── Shared Section Elements ─── */
.hp-label {
    font-size: 11px; font-weight: 600; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: block;
}
.hp-label-light { color: var(--gold-light); }

.hp-section-header { text-align: center; margin-bottom: 72px; }
.hp-section-header h2 {
    font-family: var(--font-display); font-size: clamp(36px, 4vw, 56px);
    color: var(--forest); margin-bottom: 16px; line-height: 1.1;
}
.hp-section-header p {
    font-family: var(--font-display); font-size: 18px; font-style: italic;
    color: var(--gray-500); max-width: 560px; margin: 0 auto; line-height: 1.7;
}

/* .btn-outline-light — vezi css/components/buttons.css */

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hp-hero {
    background: var(--forest); color: var(--cream);
    padding: 140px 0 100px; min-height: 100vh;
    position: relative; overflow: hidden;
    display: flex; align-items: center;
}
.hp-hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 70% at 80% 50%, rgba(115,115,115,.2) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 10% 80%, rgba(107,27,36,.12) 0%, transparent 60%);
}
.hp-hero-grid {
    position: absolute; inset: 0; opacity: .04;
    background-image: linear-gradient(var(--sage) 1px, transparent 1px),
                      linear-gradient(90deg, var(--sage) 1px, transparent 1px);
    background-size: 48px 48px;
}
.hp-hero .container { position: relative; z-index: 2; }

.hp-hero-inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.hp-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(107,27,36,.15); border: 1px solid rgba(107,27,36,.3);
    border-radius: var(--radius-full); padding: 6px 14px 6px 10px;
    font-size: 12px; font-weight: 500; color: var(--gold); margin-bottom: 32px;
}
.hp-badge-dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
    animation: hpPulse 2s infinite;
}
@keyframes hpPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }

.hp-hero-h1 {
    font-family: var(--font-display); font-size: clamp(48px, 5vw, 72px);
    font-weight: 700; margin-bottom: 12px; color: #fff; line-height: 1.1;
}
.hp-hero-h1 em { font-style: italic; color: var(--gold); }

.hp-hero-sub {
    font-family: var(--font-display); font-style: italic;
    font-size: 18px; color: rgba(255,255,255,.7);
    margin-bottom: 40px; line-height: 1.7; max-width: 480px;
}

.hp-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hp-hero-stats {
    display: flex; gap: 32px; margin-top: 48px; padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.12);
}
.hp-stat-n {
    font-family: var(--font-display); font-size: 36px; font-weight: 700;
    color: #fff; line-height: 1;
}
.hp-stat-n span { color: var(--gold); font-size: 24px; }
.hp-stat-l { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 4px; letter-spacing: .5px; }

/* Phone mockup */
.hp-hero-right { display: flex; justify-content: center; align-items: center; }

.hp-phone-wrap { position: relative; animation: hpFloat 4s ease-in-out infinite; }
@keyframes hpFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

.hp-phone {
    width: 300px; height: 600px; background: #0a0a0a; border-radius: 40px;
    border: 2px solid rgba(255,255,255,.1); overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05);
    position: relative;
}
.hp-phone-notch {
    width: 100px; height: 28px; background: #0a0a0a;
    border-radius: 0 0 18px 18px;
    position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 10;
}
.hp-phone-screen { padding: 40px 16px 16px; height: 100%; overflow: hidden; }
.hp-phone-header {
    font-family: var(--font-display); font-size: 13px; color: var(--gold);
    margin-bottom: 16px; text-align: center; font-weight: 600;
}

.hp-phone-card {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px; padding: 14px; margin-bottom: 10px; transition: opacity .4s;
}
.hp-pc-title { font-size: 12px; font-weight: 600; color: var(--cream); margin-bottom: 6px; }
.hp-pc-meta { font-size: 10px; color: rgba(255,255,255,.5); display: flex; flex-wrap: wrap; gap: 6px; }
.hp-pc-tags { margin-top: 8px; display: flex; gap: 4px; flex-wrap: wrap; }
.hp-pc-tag {
    background: rgba(115,115,115,.2); border: 1px solid rgba(115,115,115,.3);
    border-radius: 4px; padding: 2px 6px; font-size: 9px; color: var(--sage);
}
.hp-pc-match {
    margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.06);
    display: flex; align-items: center; justify-content: space-between;
}
.hp-pc-match-label { font-size: 10px; color: rgba(255,255,255,.4); }
.hp-match-pill {
    background: var(--gold); color: #fff;
    font-size: 9px; font-weight: 700; padding: 3px 8px;
    border-radius: var(--radius-full); letter-spacing: .5px;
}

.hp-phone-notif {
    background: rgba(107,27,36,.15); border: 1px solid rgba(107,27,36,.25);
    border-radius: 12px; padding: 10px 12px; margin-top: 8px;
}
.hp-pn-title { font-size: 10px; font-weight: 600; color: var(--gold); margin-bottom: 3px; }
.hp-pn-text { font-size: 9px; color: rgba(255,255,255,.6); line-height: 1.5; }

.hp-phone-glow {
    position: absolute; bottom: -60px; left: 50%; transform: translateX(-50%);
    width: 200px; height: 120px;
    background: radial-gradient(ellipse, rgba(115,115,115,.5) 0%, transparent 70%);
    pointer-events: none;
}


/* ═══════════════════════════════════════════════
   CUM FUNCȚIONEAZĂ — 3 Steps
   ═══════════════════════════════════════════════ */
.hp-how { background: #fff; padding: 100px 0; }

.hp-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }

.hp-step {
    background: var(--cream); padding: 48px 36px;
    position: relative; transition: all .3s;
}
.hp-step:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.hp-step:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.hp-step:hover { background: var(--forest); }
.hp-step:hover .hp-step-n { color: rgba(255,255,255,.15); }
.hp-step:hover .hp-step-title { color: var(--cream); }
.hp-step:hover .hp-step-text { color: rgba(255,255,255,.6); }
.hp-step:hover .hp-step-icon { background: rgba(255,255,255,.1); }

.hp-step-n {
    font-family: var(--font-display); font-size: 120px; font-weight: 700;
    color: rgba(10,10,10,.06); line-height: 1;
    position: absolute; top: 16px; right: 24px; transition: color .3s; user-select: none;
}
.hp-step-icon {
    width: 52px; height: 52px; border-radius: 14px; background: var(--cream-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; margin-bottom: 24px; transition: all .3s;
}
.hp-step-title {
    font-family: var(--font-display); font-size: 22px; color: var(--forest);
    margin-bottom: 12px; font-weight: 600; transition: color .3s;
}
.hp-step-text { font-size: 14px; color: var(--gray-500); line-height: 1.7; transition: color .3s; }

.hp-step-arrow {
    position: absolute; top: 50%; right: -20px; transform: translateY(-50%);
    width: 40px; height: 40px; background: var(--gold); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 16px; z-index: 2;
}


/* ═══════════════════════════════════════════════
   DIFERENȚIATORI
   ═══════════════════════════════════════════════ */
.hp-diff { background: var(--forest); color: var(--cream); padding: 100px 0; }

.hp-diff-header { margin-bottom: 64px; }
.hp-diff-header h2 {
    font-family: var(--font-display); font-size: clamp(36px, 4vw, 56px);
    color: #fff; margin-bottom: 16px; line-height: 1.1;
}
.hp-diff-header p {
    font-family: var(--font-display); font-style: italic;
    font-size: 18px; color: rgba(255,255,255,.6); max-width: 540px; line-height: 1.7;
}

.hp-diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }

.hp-diff-card {
    padding: 40px; background: rgba(255,255,255,.04);
    transition: all .3s; position: relative; overflow: hidden;
}
.hp-diff-card:first-child { border-radius: var(--radius-lg) 0 0 0; }
.hp-diff-card:nth-child(2) { border-radius: 0 var(--radius-lg) 0 0; }
.hp-diff-card:nth-child(3) { border-radius: 0 0 0 var(--radius-lg); }
.hp-diff-card:last-child { border-radius: 0 0 var(--radius-lg) 0; }
.hp-diff-card:hover { background: rgba(255,255,255,.08); }
.hp-diff-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 3px; height: 0; background: var(--gold); transition: height .4s;
}
.hp-diff-card:hover::before { height: 100%; }

.hp-diff-icon { font-size: 32px; margin-bottom: 16px; }
.hp-diff-vs {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(107,27,36,.15); border: 1px solid rgba(107,27,36,.25);
    border-radius: var(--radius-full); padding: 4px 12px;
    font-size: 11px; color: var(--gold-light); font-weight: 600; margin-bottom: 20px;
}
.hp-diff-title {
    font-family: var(--font-display); font-size: 24px; color: #fff;
    margin-bottom: 12px; font-weight: 600;
}
.hp-diff-text { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.7; }


/* ═══════════════════════════════════════════════
   CERERE FLOW — Turiști
   ═══════════════════════════════════════════════ */
.hp-flow { background: var(--cream-dark); padding: 100px 0; }

.hp-flow-inner {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start;
}
.hp-flow-left h2 {
    font-family: var(--font-display); font-size: clamp(32px, 3.5vw, 48px);
    color: var(--forest); margin-bottom: 16px; line-height: 1.1;
}
.hp-flow-left > p {
    font-family: var(--font-display); font-style: italic;
    font-size: 17px; color: var(--gray-500); line-height: 1.7; margin-bottom: 32px;
}

.hp-flow-feature {
    display: flex; gap: 16px; align-items: flex-start;
    margin-bottom: 24px; padding: 20px; background: #fff;
    border-radius: var(--radius); border: 1px solid rgba(10,10,10,.08);
    transition: all .25s;
}
.hp-flow-feature:hover { border-color: var(--sage); transform: translateX(4px); }

.hp-ff-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    background: var(--forest); border-radius: 10px;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.hp-ff-title { font-weight: 600; font-size: 14px; color: var(--forest); margin-bottom: 4px; }
.hp-ff-text { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* Form Mock */
.hp-mock {
    background: #fff; border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(10,10,10,.12);
    overflow: hidden; border: 1px solid rgba(10,10,10,.08);
}
.hp-mock-header {
    background: var(--forest); padding: 20px 24px;
    display: flex; align-items: center; gap: 12px;
}
.hp-mock-dots { display: flex; gap: 6px; }
.hp-mock-dots span { width: 10px; height: 10px; border-radius: 50%; display: block; }
.hp-mock-dots span:nth-child(1) { background: #FF5F57; }
.hp-mock-dots span:nth-child(2) { background: #FEBC2E; }
.hp-mock-dots span:nth-child(3) { background: #28C840; }
.hp-mock-url { flex: 1; text-align: center; font-size: 12px; color: rgba(255,255,255,.5); }

.hp-mock-body { padding: 28px; }
.hp-mock-field { margin-bottom: 16px; }
.hp-mock-label {
    font-size: 11px; font-weight: 600; color: var(--forest);
    margin-bottom: 6px; letter-spacing: .5px; text-transform: uppercase;
}
.hp-mock-input {
    width: 100%; padding: 10px 14px; background: var(--cream);
    border: 1.5px solid rgba(10,10,10,.12); border-radius: var(--radius-sm);
    font-size: 13px; color: var(--charcoal);
}
.hp-mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.hp-mock-fac-section { margin-top: 8px; }
.hp-mock-fac-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.hp-mock-fac {
    border: 1.5px solid rgba(10,10,10,.12); border-radius: var(--radius-sm);
    padding: 8px 10px; font-size: 11px; display: flex; align-items: center; gap: 5px;
    background: var(--cream); cursor: default; transition: all .2s;
}
.hp-mock-fac.active {
    border-color: var(--forest); background: rgba(10,10,10,.06);
    color: var(--forest); font-weight: 600;
}

.hp-mock-btn {
    width: 100%; margin-top: 20px; background: var(--gold); color: #fff;
    border: none; border-radius: var(--radius);
    padding: 13px; font-size: 14px; font-weight: 600; text-align: center;
}

.hp-mock-results {
    margin-top: 16px; background: rgba(10,10,10,.04);
    border: 1.5px solid rgba(10,10,10,.1); border-radius: var(--radius); padding: 16px;
}
.hp-mock-results-title { font-size: 12px; font-weight: 600; color: var(--forest); margin-bottom: 10px; }
.hp-mock-result-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 0; border-bottom: 1px solid rgba(10,10,10,.06); font-size: 12px;
}
.hp-mock-result-item:last-child { border-bottom: none; }
.hp-mock-score {
    font-weight: 700; font-size: 13px; padding: 2px 10px;
    border-radius: var(--radius-full);
}
/* Praguri semantice: <40 roșu, 40-70 galben-portocaliu, >70 verde-teal —
   consistente cu badge-urile de scor din cereri.php */
.hp-score-high { background: rgba(22,160,133,.15); color: #16A085; }
.hp-score-mid { background: rgba(184,114,14,.15); color: #B8720E; }


/* ═══════════════════════════════════════════════
   DASHBOARD PROPRIETAR
   ═══════════════════════════════════════════════ */
.hp-dash { background: #fff; padding: 100px 0; }

.hp-dash-header { margin-bottom: 48px; }
.hp-dash-header h2 {
    font-family: var(--font-display); font-size: clamp(32px, 3.5vw, 48px);
    color: var(--forest); margin-bottom: 12px; line-height: 1.1;
}
.hp-dash-header p {
    font-family: var(--font-display); font-style: italic;
    font-size: 17px; color: var(--gray-500); max-width: 560px; line-height: 1.7;
}

.hp-dash-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; }

/* Sidebar */
.hp-dash-sidebar {
    background: var(--forest); border-radius: var(--radius-lg);
    padding: 24px 16px; color: var(--cream);
}
.hp-dash-profile {
    text-align: center; margin-bottom: 24px; padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.hp-dash-avatar {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--sage); margin: 0 auto 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; border: 3px solid var(--gold);
}
.hp-dash-name { font-size: 14px; font-weight: 600; color: #fff; }
.hp-dash-loc { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 2px; }

.hp-dash-menu { display: flex; flex-direction: column; gap: 4px; }
.hp-dash-item {
    padding: 10px 12px; border-radius: var(--radius-sm); font-size: 13px;
    color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 10px;
}
.hp-dash-item.active { background: rgba(255,255,255,.12); color: #fff; font-weight: 600; }

/* Stats */
.hp-dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.hp-dash-stat {
    background: var(--cream); border-radius: var(--radius);
    padding: 20px; border: 1px solid rgba(10,10,10,.08);
}
.hp-ds-n { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--forest); line-height: 1; }
.hp-ds-l { font-size: 12px; color: var(--gray-500); margin-top: 4px; }
.hp-ds-change { font-size: 11px; color: var(--sage); margin-top: 6px; font-weight: 600; }

/* Cereri list */
.hp-cereri-list { display: flex; flex-direction: column; gap: 10px; }
.hp-cerere-card {
    background: var(--cream); border-radius: var(--radius);
    padding: 16px 20px; border: 1.5px solid rgba(10,10,10,.08);
    display: flex; align-items: center; gap: 16px; transition: all .25s;
}
.hp-cerere-card:hover { border-color: var(--sage); background: rgba(115,115,115,.04); }
.hp-cerere-new { border-color: var(--gold); background: rgba(107,27,36,.03); }

.hp-cc-score {
    width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700;
}
.hp-score-ring-95 { background: conic-gradient(#16A085 342deg, rgba(10,10,10,.1) 0); color: #16A085; }
.hp-score-ring-80 { background: conic-gradient(#16A085 288deg, rgba(10,10,10,.1) 0); color: #16A085; }
.hp-score-ring-67 { background: conic-gradient(#B8720E 241deg, rgba(10,10,10,.1) 0); color: #B8720E; }

.hp-cc-inner { flex: 1; }
.hp-cc-title { font-size: 14px; font-weight: 600; color: var(--charcoal); margin-bottom: 4px; }
.hp-cc-meta { font-size: 12px; color: var(--gray-500); display: flex; flex-wrap: wrap; gap: 8px; }
.hp-cc-meta span + span::before { content: '· '; color: var(--sage); }

.hp-cc-facilit { display: flex; gap: 4px; margin-top: 8px; flex-wrap: wrap; }
.hp-cc-facilit span {
    font-size: 10px; padding: 2px 8px; border-radius: 4px;
    background: rgba(115,115,115,.12); color: var(--forest); font-weight: 500;
}

.hp-cc-action { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.hp-new-badge {
    background: var(--gold); color: #fff;
    font-size: 9px; font-weight: 700; padding: 2px 8px;
    border-radius: var(--radius-full); letter-spacing: .5px; text-transform: uppercase;
}
.hp-cc-btn {
    background: var(--forest); color: #fff; border-radius: var(--radius-sm);
    padding: 8px 14px; font-size: 12px; font-weight: 600;
}
.hp-cc-time { font-size: 10px; color: var(--sage); }


/* ═══════════════════════════════════════════════
   TESTIMONIALE
   ═══════════════════════════════════════════════ */
.hp-test { background: var(--cream); padding: 100px 0; }

.hp-test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.hp-testimonial {
    background: #fff; border-radius: var(--radius-lg); padding: 32px;
    border: 1px solid rgba(10,10,10,.08); transition: all .3s;
    position: relative;
}
.hp-testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hp-testimonial::before {
    content: '"'; font-family: var(--font-display); font-size: 80px;
    color: rgba(10,10,10,.08); position: absolute; top: 16px; right: 24px; line-height: 1;
}

.hp-test-stars { color: var(--gold); font-size: 13px; margin-bottom: 6px; }
.hp-test-text {
    font-family: var(--font-display); font-style: italic;
    font-size: 15px; color: var(--charcoal); line-height: 1.7; margin-bottom: 24px;
}
.hp-test-person { display: flex; align-items: center; gap: 12px; }
.hp-test-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.hp-ta-1 { background: rgba(107,27,36,.15); }
.hp-ta-2 { background: rgba(115,115,115,.15); }
.hp-ta-3 { background: rgba(107,27,36,.25); }

.hp-test-name { font-size: 14px; font-weight: 600; color: var(--forest); }
.hp-test-role { font-size: 12px; color: var(--gray-500); }


/* ═══════════════════════════════════════════════
   CTA FINAL
   ═══════════════════════════════════════════════ */
.hp-cta {
    background: var(--forest); color: var(--cream); padding: 100px 0;
    text-align: center; position: relative; overflow: hidden;
}
.hp-cta-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(115,115,115,.3) 0%, transparent 70%);
}
.hp-cta .container { position: relative; z-index: 2; }

.hp-cta-inner { max-width: 700px; margin: 0 auto; }
.hp-cta-inner h2 {
    font-family: var(--font-display); font-size: clamp(36px, 4vw, 60px);
    color: #fff; margin-bottom: 20px; line-height: 1.1;
}
.hp-cta-inner h2 em { font-style: italic; color: var(--gold); }
.hp-cta-inner > p {
    font-family: var(--font-display); font-style: italic;
    font-size: 18px; color: rgba(255,255,255,.7); margin-bottom: 40px; line-height: 1.7;
}

.hp-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hp-cta-note { margin-top: 24px; font-size: 13px; color: rgba(255,255,255,.4); }


/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
    .hp-hero { padding: 100px 0 60px; min-height: auto; }
    .hp-hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hp-hero-right { display: none; }
    .hp-hero-h1 { font-size: clamp(36px, 8vw, 48px); }

    .hp-steps-grid { grid-template-columns: 1fr; }
    .hp-step:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
    .hp-step:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
    .hp-step-arrow { display: none; }

    .hp-diff-grid { grid-template-columns: 1fr; }
    .hp-diff-card { border-radius: 0 !important; }
    .hp-diff-card:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important; }
    .hp-diff-card:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important; }

    .hp-flow-inner { grid-template-columns: 1fr; gap: 40px; }
    .hp-mock-fac-grid { grid-template-columns: 1fr 1fr; }

    .hp-dash-layout { grid-template-columns: 1fr; }
    .hp-dash-sidebar { display: none; }
    .hp-dash-stats { grid-template-columns: 1fr; }

    .hp-test-grid { grid-template-columns: 1fr; }

    .hp-cerere-card { flex-direction: column; align-items: flex-start; }
    .hp-cc-action { flex-direction: row; width: 100%; justify-content: flex-start; }
}

@media (max-width: 480px) {
    .hp-hero-stats { flex-direction: column; gap: 16px; }
    .hp-hero-actions { flex-direction: column; }
    .hp-mock-row { grid-template-columns: 1fr; }
    .hp-mock-fac-grid { grid-template-columns: 1fr; }
    .hp-cta-actions { flex-direction: column; align-items: center; }
}

/* ═══════════════════════════════════════════════
   HOME — Secțiuni cu date reale
   (Supliment la css-patch-home.css)
   Adaugă la sfârșitul style.css, după patch-ul home
   ═══════════════════════════════════════════════ */

/* ─── Section backgrounds ─── */
.hp-section-cream { background: var(--cream); padding: 100px 0; }
.hp-section-white { background: #fff; padding: 100px 0; }
.hp-section-cta { text-align: center; margin-top: 48px; }

/* ─── Cereri recente grid (reuses req-card classes from requests patch) ─── */
.hp-req-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px;
}

/* ─── Zone populare ─── */
.hp-loc-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px;
}
.hp-loc-card {
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
    padding: 24px 20px; text-align: center; transition: all .25s; display: block;
    color: var(--charcoal); text-decoration: none;
}
.hp-loc-card:hover {
    border-color: var(--forest); transform: translateY(-2px); box-shadow: var(--shadow);
}
.hp-loc-icon { font-size: 2rem; margin-bottom: 8px; }
.hp-loc-card h4 {
    font-family: var(--font-display); font-size: 1rem; margin-bottom: 6px; color: var(--forest);
}
.hp-loc-count { font-size: .78rem; color: var(--gray-400); }

/* ─── Proprietăți grid ─── */
.hp-prop-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px;
}
.hp-prop-card {
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
    overflow: hidden; transition: all .25s;
}
.hp-prop-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.hp-prop-cover { position: relative; height: 180px; background: var(--gray-100); overflow: hidden; }
.hp-prop-cover img { width: 100%; height: 100%; object-fit: cover; }
.hp-prop-noimg {
    height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem;
}
.hp-prop-type {
    position: absolute; top: 10px; left: 10px;
    background: rgba(10,10,10,.85); color: #fff;
    font-size: .72rem; font-weight: 600; padding: 3px 10px;
    border-radius: var(--radius-full);
}

.hp-prop-body { padding: 16px; }
.hp-prop-body h3 { font-size: 1rem; margin-bottom: 4px; }
.hp-prop-body h3 a { color: var(--charcoal); }
.hp-prop-body h3 a:hover { color: var(--forest); }
.hp-prop-loc { font-size: .85rem; color: var(--gray-500); margin-bottom: 8px; }
.hp-prop-meta { display: flex; gap: 12px; font-size: .85rem; color: var(--gray-500); }

/* ─── Responsive supliment ─── */
@media (max-width: 900px) {
    .hp-section-cream, .hp-section-white { padding: 60px 0; }
    .hp-req-grid { grid-template-columns: 1fr; }
    .hp-loc-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .hp-prop-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .hp-prop-grid { grid-template-columns: 1fr; }
    .hp-loc-grid { grid-template-columns: 1fr 1fr; }
}


/* ═══════════════════════════════════════════════════════════════
   UndeStam.ro — CSS Patch Consolidat
   Generăt: 21.02.2026
   Adaugă ÎNTREG conținutul la SFÂRȘITUL fișierului style.css
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════
   REQUESTS PAGE — Cereri de cazare
   Adaugă la sfârșitul style.css
   ═══════════════════════════════════════════════ */

/* ─── Dashboard Header ─── */
.dashboard { padding: 48px 0 60px; }
.dashboard-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 32px; gap: 16px; flex-wrap: wrap;
}
.dashboard-header h1 { font-family: var(--font-display); font-size: 2.2rem; }
.dashboard-subtitle { color: var(--gray-500); margin-top: 4px; font-size: .92rem; }

/* ─── Cereri Filters ─── */
.cereri-filters { margin-bottom: 28px; }
.cereri-filters-row {
    display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 12px;
}
.cereri-filters-row .form-group { margin-bottom: 0; }
.cereri-filter-search { flex: 2; min-width: 200px; }
.cereri-filter-select { flex: 1; min-width: 140px; }

/* Quick Filters — vezi css/components/badges.css (.qf/.qf-active) */
.cereri-quick-filters { display: flex; gap: 6px; flex-wrap: wrap; }

/* Empty state, Request Card (+ status/type badges) — vezi
   css/components/states.css, cards.css, badges.css */

/* ─── Request Grid ─── */
.req-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px;
}

/* ─── Pagination ─── */
.pagination {
    display: flex; gap: 6px; justify-content: center; align-items: center;
    margin-top: 32px; flex-wrap: wrap;
}
.pagination-dots { color: var(--gray-400); font-size: .85rem; padding: 0 4px; }

/* ─── CTA Pensiuni ─── */
.cereri-cta {
    margin-top: 48px; text-align: center; padding: 40px;
    background: var(--cream-dark); border-radius: var(--radius-lg);
}
.cereri-cta h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 8px; }
.cereri-cta p { color: var(--gray-500); margin-bottom: 16px; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .dashboard { padding: 32px 0 40px; }
    .dashboard-header { flex-direction: column; }
    .cereri-filters-row { flex-direction: column; }
    .cereri-filter-search, .cereri-filter-select { min-width: 0; flex: auto; }
    .req-grid { grid-template-columns: 1fr; }
    .req-meta { flex-direction: column; gap: 4px; }
}

/* ═══════════════════════════════════════════════
   REQUESTS SHOW PAGE — Detalii cerere
   Adaugă la sfârșitul style.css
   ═══════════════════════════════════════════════ */

/* ─── Narrow container ─── */
.container-narrow { max-width: 900px; }

/* ─── Breadcrumb back ─── */
.breadcrumb-back { margin-bottom: 24px; }
.breadcrumb-back a { font-size: .85rem; color: var(--gray-500); }
.breadcrumb-back a:hover { color: var(--forest); }

/* ─── Show Header ─── */
.req-show-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 24px; flex-wrap: wrap; gap: 16px;
}
.req-show-title { font-family: var(--font-display); font-size: 2rem; margin-top: 4px; }
.req-show-meta { color: var(--gray-500); font-size: .88rem; margin-top: 6px; }
.req-show-actions { display: flex; gap: 8px; }
/* .btn-danger-text — vezi css/components/buttons.css */

/* ─── Section titles ─── */
.req-section { margin-bottom: 32px; }
.req-section-title { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 16px; color: var(--charcoal); }
.req-section-subtitle { font-size: .85rem; color: var(--gray-500); margin-bottom: 16px; }

/* ─── Info Grid ─── */
.req-info-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px; margin-bottom: 28px;
}
.req-info-card {
    background: #fff; border: 1px solid var(--gray-200);
    border-radius: var(--radius); padding: 18px;
}
.req-info-label {
    font-size: .7rem; text-transform: uppercase; letter-spacing: .1em;
    color: var(--gray-400); margin-bottom: 4px;
}
.req-info-value { font-size: .95rem; font-weight: 600; color: var(--charcoal); }
.req-info-value a { color: var(--forest); }
.req-info-value a:hover { text-decoration: underline; }
.req-info-note { font-size: .78rem; color: var(--gray-400); font-weight: 400; }

/* ─── Description cards ─── */
.req-description-card {
    background: #fff; border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px;
}
.req-description-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 10px; }
.req-description-card div { color: var(--gray-600); line-height: 1.8; }
.req-description-special { border-left: 3px solid var(--gold); }

/* ─── Facilities ─── */
.req-fac-list { display: flex; flex-wrap: wrap; gap: 10px; }
/* .fac-tag-mandatory — vezi css/components/forms.css */
.req-fac-legend { font-size: .78rem; color: var(--gray-400); margin-top: 8px; }

/* ─── Matched Properties ─── */
.matched-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
/* .matched-card (+ img/body/footer) — vezi css/components/cards.css
   .matched-score — vezi css/components/badges.css */

/* Response Cards (.resp-card, .resp-badge) — vezi css/components/cards.css,
   css/components/badges.css */

/* ─── Response Form ─── */
.resp-form-wrap {
    background: var(--cream-dark); border-radius: var(--radius-lg); padding: 28px;
}
.resp-form-wrap h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 8px; }
.resp-form-hint { font-size: .85rem; color: var(--gray-500); margin-bottom: 20px; }
.resp-form-center { text-align: center; }
.resp-form-center p { color: var(--gray-500); margin-bottom: 16px; }

/* ─── Alerts ─── */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: .9rem; margin-bottom: 24px; }
.alert-info { background: #e8f4fd; border: 1px solid #b6d9f2; color: #1a5276; }
.alert-info a { color: #1a5276; font-weight: 600; }
.alert-success { background: #d1fae5; border: 1px solid #a7f3d0; color: #065f46; }

/* .btn-success — vezi css/components/buttons.css */

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .req-show-header { flex-direction: column; }
    .req-info-grid { grid-template-columns: 1fr 1fr; }
    .matched-grid { grid-template-columns: 1fr; }
    .resp-form-wrap .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .req-info-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   REQUESTS CREATE — Formular cerere nouă
   Adaugă la sfârșitul style.css
   ═══════════════════════════════════════════════ */

/* ─── Create page intro ─── */
.req-create-intro { color: var(--gray-500); margin-bottom: 36px; }

/* Form fieldset, radio-card, checkbox, facilities form, form-actions —
   vezi css/components/forms.css */

/* ═══════════════════════════════════════════════
   AUTH PAGES — Split Layout (Login / Register)
   Adaugă la sfârșitul style.css
   ═══════════════════════════════════════════════ */

/* ─── Split Container ─── */
.auth-split {
    display: grid; grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 72px); background: #fff; overflow: hidden;
    margin: 0; width: 100vw; margin-left: calc(-50vw + 50%); border-radius: 0;
}

/* ─── Photo Panel ─── */
.auth-photo {
    position: relative; min-height: 100%; background-size: cover;
    background-position: center; display: flex; align-items: flex-end; padding: 48px;
}
.auth-photo-ov {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(10,10,10,.92) 0%, rgba(10,10,10,.45) 45%, rgba(10,10,10,.15) 100%);
}
.auth-photo-ct { position: relative; z-index: 2; color: #fff; }

.auth-badge {
    display: inline-block; font-size: 11px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    color: rgba(255,255,255,.9); padding: 5px 14px;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius-full); margin-bottom: 14px;
}
.auth-photo-ct h2 {
    font-family: var(--font-display); font-size: 2.2rem; color: #fff;
    margin-bottom: 10px; line-height: 1.25; font-weight: 400;
}
.auth-photo-ct h2 em { color: var(--gold-light); font-style: italic; }
.auth-photo-ct > p {
    color: rgba(255,255,255,.6); font-size: .92rem; line-height: 1.6;
    margin-bottom: 20px; max-width: 400px;
}

/* Stats row */
.auth-stats { display: flex; gap: 32px; }
.auth-stats strong {
    display: block; font-family: var(--font-display); font-size: 1.6rem;
    color: #fff; line-height: 1; margin-bottom: 2px;
}
.auth-stats span { font-size: .72rem; color: rgba(255,255,255,.45); font-weight: 500; }

/* ─── Form Panel ─── */
.auth-form-panel {
    padding: 60px 56px; display: flex; flex-direction: column;
    justify-content: center; background: var(--cream);
}
.auth-form-panel h1 {
    font-family: var(--font-display); font-size: 2rem;
    margin-bottom: 6px; color: var(--charcoal); font-weight: 400;
}
.auth-subtitle { color: var(--gray-400); font-size: .92rem; margin-bottom: 32px; }

/* Form groups */
.auth-fg { margin-bottom: 22px; }
.auth-fg label {
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 600; margin-bottom: 6px; font-size: .86rem; color: var(--charcoal);
}
.auth-fg input[type="email"],
.auth-fg input[type="password"],
.auth-fg input[type="text"],
.auth-fg input[type="tel"] {
    width: 100%; padding: 13px 16px; border: 1.5px solid var(--gray-200);
    border-radius: var(--radius); font-family: var(--font-body);
    font-size: .93rem; color: var(--charcoal); background: #fff;
    transition: border-color .3s, box-shadow .3s; outline: none; max-width: 420px;
}
.auth-fg input:focus {
    border-color: var(--primary); box-shadow: 0 0 0 3px rgba(107,27,36,.12);
}
.auth-fg input::placeholder { color: var(--gray-400); }

/* Forgot link */
.auth-forgot { font-size: .8rem; font-weight: 500; color: var(--gold); }
.auth-forgot:hover { text-decoration: underline; }

/* Remember me */
.auth-remember {
    display: flex; align-items: center; gap: 8px; font-weight: 400;
    font-size: .88rem; cursor: pointer; margin-bottom: 24px; color: var(--gray-600);
}
.auth-remember input { width: 18px; height: 18px; accent-color: var(--forest); cursor: pointer; }

/* Submit button */
.auth-btn {
    max-width: 420px; width: 100%; padding: 14px; border: none;
    border-radius: var(--radius-full); background: var(--forest); color: #fff;
    font-family: var(--font-body); font-size: .95rem; font-weight: 700;
    cursor: pointer; transition: var(--transition);
}
.auth-btn:hover {
    background: var(--forest-dark); transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(10,10,10,.3);
}

/* Divider */
.auth-divider {
    display: flex; align-items: center; gap: 14px;
    margin: 24px 0; color: var(--gray-400); font-size: .8rem; max-width: 420px;
}
.auth-divider::before, .auth-divider::after {
    content: ''; flex: 1; height: 1px; background: var(--gray-200);
}

/* Links */
.auth-links { text-align: center; max-width: 420px; }
.auth-links p { font-size: .86rem; color: var(--gray-400); margin-bottom: 6px; }
.auth-links a { color: var(--forest); font-weight: 600; }
.auth-links a:hover { color: var(--gold); }

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .auth-split { grid-template-columns: 1fr; min-height: auto; }
    .auth-photo { min-height: 240px; padding: 24px; }
    .auth-photo-ct h2 { font-size: 1.5rem; }
    .auth-photo-ct > p { display: none; }
    .auth-form-panel { padding: 32px 24px; }
    .auth-fg input[type="email"],
    .auth-fg input[type="password"],
    .auth-fg input[type="text"],
    .auth-fg input[type="tel"],
    .auth-btn, .auth-divider, .auth-links { max-width: 100%; }
}

/* ═══════════════════════════════════════════════════
   HEADER / NAV / COOKIE — overrides consolidate
   Înlocuiește cele 3 blocuri "FIX" suprapuse din v2.0
   (Cookie bar responsive + FIX FINAL + FIX v3), toate
   redundante sau contrazicându-se pe aceleași selectoare.
   Poziționarea nav-ului mobil (transform, deschis/închis,
   timing) trăiește în includes/footer.php — acel <style>
   e ultimul din DOM și câștigă cascada, deci rămâne acolo
   neatins. Aici rămân DOAR regulile pe care footer.php nu
   le acoperă. Zero clase/ID-uri redenumite (JS neatins).
   ═══════════════════════════════════════════════════ */
html { overflow-x: clip; }
.header { z-index: 10002 !important; }
#cookieConsent { max-width: 100vw !important; box-sizing: border-box !important; }
#cookieOverlay { z-index: 9998 !important; }

/* G3 (a11y, ZIP 9): breakpoint explicit <640px. `overflow-x:clip` de mai sus
   deja ASCUNDE scrollbar-ul orizontal site-wide, dar asta inseamna ca orice
   element mai lat decat viewportul intre 640-768px (unde regulile de 768px
   deja au relaxat spatierea, dar cele de 480px inca nu au intrat in vigoare)
   e pur si simplu TAIAT, nu doar scrollabil — un gol real in acoperirea
   breakpoint-urilor existente (768 -> 480, nimic intre). NU am putut testa
   vizual in acest mediu (fara browser) care elemente chiar ajung sa fie
   taiate — regulile de mai jos sunt un safety-net general (spatiere mai mica,
   wrap fortat pe randuri flex late), nu fix-uri punctuale pe elemente
   confirmate. Vali: verifica vizual la 640px si semnaleaza orice element
   care tot are nevoie de un fix tintit. */
@media (max-width: 640px) {
    .container { padding-left: 12px; padding-right: 12px; }
    .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .header-inner, .dash-topbar { flex-wrap: wrap; row-gap: 8px; }
}

@media (max-width: 768px) {
    .dropdown-toggle svg:last-child { display: none !important; }
}