/* ============================================================
   CADILLAC ROMÂNIA — style.css v2
   Font: Poppins Bold premium
   Icoane: SVG alb/negru
   Fotografii: grile ordonate
   Butoane: scoase în evidență cu animații
   ============================================================ */

:root {
    --white:       #ffffff;
    --off-white:   #f9f9f7;
    --light:       #f3f3f1;
    --mid:         #e2e0dc;
    --silver:      #c8c5bf;
    --gray:        #8a8784;
    --dark-gray:   #4a4744;
    --charcoal:    #252220;
    --black:       #0c0b0a;
    --accent:      #1a1714;

    --ff-head:  'Poppins', system-ui, sans-serif;
    --ff-body:  'Poppins', system-ui, sans-serif;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    --max-w: 1320px;
    --r: 0px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--ff-body);
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   PAGE LOADER
   ============================================================ */
.page-loader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--black);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.page-loader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }

.loader-crest { width: 52px; height: 44px; animation: loaderPulse 1.4s ease-in-out infinite; }
@keyframes loaderPulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

.loader-word {
    font-family: var(--ff-head); font-weight: 800; font-size: 0.65rem;
    letter-spacing: 0.5em; color: white; text-transform: uppercase;
}

.loader-bar { width: 160px; height: 1px; background: rgba(255,255,255,0.15); }
.loader-progress { height: 1px; background: white; width: 0%; transition: width 0.1s linear; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    display: flex; flex-direction: column;
    min-height: 100svh; position: relative;
}

@media (min-width: 768px) {
    .hero { flex-direction: row; }
}

.hero-model {
    position: relative; flex: 1;
    min-height: 60svh;
    display: flex; align-items: flex-end;
    overflow: hidden; cursor: default;
}

@media (min-width: 768px) {
    .hero-model { min-height: 100svh; }
    .hero-lyriq  { flex: 1; }
    .hero-escalade { flex: 1; }
}

.hero-model-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transition: transform 1.4s var(--ease-out);
    will-change: transform;
}
.hero-model:hover .hero-model-bg { transform: scale(1.06); }

.hero-model-overlay {
    position: absolute; inset: 0;
    background: #00000078;
    
}

.hero-model-content {
    position: relative; z-index: 5;
    padding: 60px 32px 48px;
    color: white;
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.hero-model-content.revealed { opacity: 1; transform: translateY(0); }

@media (min-width: 768px) {
    .hero-model-content { padding: 80px 56px 72px; }
}

.hero-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: 0.6rem;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
}

.hero-model-name {
    font-family: var(--ff-head); font-weight: 900;
    font-size: clamp(3.5rem, 9vw, 8rem);
    line-height: 0.9; letter-spacing: -0.02em;
    color: white; margin-bottom: 16px;
    text-shadow: 0 4px 40px rgba(0,0,0,0.4);
}

.hero-model-tagline {
    font-weight: 300; font-size: clamp(1rem, 2.5vw, 1.4rem);
    line-height: 1.4; color: rgba(255,255,255,0.75);
    margin-bottom: 12px;
}

.hero-model-desc {
    font-weight: 300; font-size: 0.85rem; line-height: 1.8;
    color: rgba(255,255,255,0.55); margin-bottom: 28px;
    max-width: 380px;
}

/* Hero Stats */
.hero-stats {
    display: flex; align-items: center; gap: 20px;
    margin-bottom: 32px;
}
.hero-stat { display: flex; flex-direction: column; align-items: center; }
.stat-val {
    font-weight: 800; font-size: 1.6rem; line-height: 1;
    color: white; letter-spacing: -0.02em;
}
.stat-lbl {
    font-weight: 500; font-size: 0.55rem; letter-spacing: 0.15em;
    text-transform: uppercase; color: rgba(255,255,255,0.45);
    margin-top: 4px;
}
.hero-stat-div {
    width: 1px; height: 36px;
    background: rgba(255,255,255,0.2);
}

/* Hero Buttons */
.hero-buttons {
    display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}

.btn-hero-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: white; color: var(--black);
    font-family: var(--ff-head); font-weight: 700; font-size: 0.72rem;
    letter-spacing: 0.12em; text-transform: uppercase;
    padding: 15px 28px; border: 2px solid white; cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease,
                transform 0.3s var(--ease-out), box-shadow 0.3s ease;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.btn-hero-primary:hover {
    background: var(--charcoal); color: white;
    border-color: var(--charcoal);
    transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}

.btn-hero-secondary {
    display: inline-flex; align-items: center;
    background: transparent; color: white;
    font-family: var(--ff-head); font-weight: 600; font-size: 0.72rem;
    letter-spacing: 0.12em; text-transform: uppercase;
    padding: 14px 26px; border: 1.5px solid rgba(255,255,255,0.5); cursor: pointer;
    transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
}
.btn-hero-secondary:hover {
    border-color: white; background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}

.btn-hero-ghost {
    display: inline-flex; align-items: center; gap: 10px;
    background: none; border: none; color: rgba(255,255,255,0.65);
    cursor: pointer; padding: 8px 4px;
    transition: color 0.3s, transform 0.3s var(--ease-out);
}
.btn-hero-ghost:hover { color: white; transform: translateY(-2px); }
.btn-hero-ghost > div { display: flex; flex-direction: column; gap: 2px; }
.btn-hero-ghost span {
    font-weight: 600; font-size: 0.68rem; letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid currentColor; padding-bottom: 1px;
}
.btn-hero-ghost small {
    font-weight: 300; font-size: 0.58rem; letter-spacing: 0.06em; opacity: 0.7;
}

/* Hero Center Divider */
.hero-center-divider {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    z-index: 20; display: flex; flex-direction: column; align-items: center;
    padding: 24px 16px; gap: 4px; pointer-events: none;
}
.hero-crest { width: 34px; height: 28px; filter: drop-shadow(0 2px 12px rgba(0,0,0,0.6)); }
.hero-brand {
    font-weight: 800; font-size: 0.58rem; letter-spacing: 0.4em;
    color: white; text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}
.hero-country {
    font-weight: 300; font-size: 0.5rem; letter-spacing: 0.3em;
    color: rgba(255,255,255,0.6); text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.4);
}
.hero-scroll-hint span { font-weight: 500; font-size: 0.55rem; letter-spacing: 0.3em; text-transform: uppercase; }
.scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal-up {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-up.in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
   SECTION MODEL
   ============================================================ */
.section-model {
    padding: 120px 24px;
    max-width: var(--max-w); margin: 0 auto;
}

.section-intro { text-align: center; margin-bottom: 80px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-weight: 600; font-size: 0.6rem;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--gray); margin-bottom: 20px;
}

.section-title {
    font-weight: 900; font-size: clamp(2.8rem, 6vw, 5.5rem);
    letter-spacing: -0.03em; line-height: 0.95;
    color: var(--black); margin-bottom: 8px;
}

.section-sub {
    font-weight: 300; font-style: italic;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--gray); margin-bottom: 24px;
}

.section-desc {
    font-weight: 300; font-size: 1.05rem; line-height: 1.85;
    color: var(--dark-gray); max-width: 700px; margin: 0 auto;
}

/* ============================================================
   GALLERY BLOCKS — foto în linie
   ============================================================ */
.gallery-block { margin-bottom: 72px; }

.gallery-header {
    display: flex; align-items: center; gap: 20px;
    margin-bottom: 20px;
}
.gallery-title-line { flex: 1; height: 1px; background: var(--mid); }
.gallery-cat {
    display: flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 0.65rem; letter-spacing: 0.25em;
    text-transform: uppercase; color: var(--dark-gray);
    white-space: nowrap;
}

/* Photo rows */
.photo-row { display: grid; gap: 6px; margin-bottom: 6px; }

.photo-row-3 { grid-template-columns: repeat(3, 1fr); }

.photo-row-2-wide { grid-template-columns: 2fr 1fr; }
.photo-row-2-wide.reversed { grid-template-columns: 1fr 2fr; }

.photo-row-hero { grid-template-columns: 1fr; }

/* Mobile: empilhar */
@media (max-width: 599px) {
    .photo-row-3 { grid-template-columns: 1fr; }
    .photo-row-2-wide,
    .photo-row-2-wide.reversed { grid-template-columns: 1fr; }
}

@media (min-width: 600px) and (max-width: 899px) {
    .photo-row-3 { grid-template-columns: repeat(2, 1fr); }
}

.photo-item {
    position: relative; overflow: hidden;
    aspect-ratio: 4/3; background: var(--light);
    cursor: zoom-in;
}

.photo-row-hero .photo-item { aspect-ratio: 21/7; }
@media (max-width: 599px) {
    .photo-row-hero .photo-item { aspect-ratio: 16/9; }
}

.photo-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}
.photo-item:hover img { transform: scale(1.06); }

.photo-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    opacity: 0; transition: opacity 0.4s ease;
    display: flex; align-items: flex-end; padding: 14px 16px;
}
.photo-item:hover .photo-overlay { opacity: 1; }
.photo-overlay span {
    font-weight: 600; font-size: 0.62rem;
    letter-spacing: 0.2em; text-transform: uppercase; color: white;
}

/* ============================================================
   SPECS SECTION
   ============================================================ */
.specs-section { margin-bottom: 72px; }

.specs-grid {
    display: grid; gap: 2px;
    grid-template-columns: 1fr;
}
@media (min-width: 600px) { .specs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .specs-grid { grid-template-columns: repeat(3, 1fr); } }

.spec-card {
    background: var(--off-white);
    border: 1px solid var(--mid);
    padding: 36px 32px;
    transition: background 0.3s ease, transform 0.4s var(--ease-out), box-shadow 0.4s ease;
    opacity: 0; transform: translateY(24px);
}
.spec-card.in-view { opacity: 1; transform: translateY(0); }
.spec-card:hover {
    background: var(--black); color: white;
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.2);
    z-index: 1;
}

.spec-icon {
    width: 52px; height: 52px;
    background: var(--light); border: 1px solid var(--mid);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    transition: background 0.3s, border-color 0.3s;
}
.spec-card:hover .spec-icon { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.spec-icon svg { transition: stroke 0.3s; }
.spec-card:hover .spec-icon svg { stroke: white !important; }

.spec-card h3 {
    font-weight: 800; font-size: 0.72rem; letter-spacing: 0.2em;
    text-transform: uppercase; margin-bottom: 16px;
    padding-bottom: 12px; border-bottom: 1px solid var(--mid);
    transition: border-color 0.3s;
}
.spec-card:hover h3 { border-color: rgba(255,255,255,0.15); color: white; }

.spec-card li {
    font-weight: 300; font-size: 0.82rem; line-height: 1.7;
    padding: 5px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: border-color 0.3s, color 0.3s;
}
.spec-card:hover li { border-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); }
.spec-card li b { font-weight: 700; }
.spec-card:hover li b { color: white; }

/* Stagger delays for spec cards */
.spec-card:nth-child(1) { transition-delay: 0s; }
.spec-card:nth-child(2) { transition-delay: 0.07s; }
.spec-card:nth-child(3) { transition-delay: 0.14s; }
.spec-card:nth-child(4) { transition-delay: 0.21s; }
.spec-card:nth-child(5) { transition-delay: 0.28s; }
.spec-card:nth-child(6) { transition-delay: 0.35s; }

/* ============================================================
   CTA BUTTONS — scoase în evidență
   ============================================================ */
.section-cta {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 16px;
    padding-top: 16px;
}

.btn-cta-primary {
    display: inline-flex; align-items: center; gap: 12px;
    background: var(--black); color: white;
    font-family: var(--ff-head); font-weight: 700; font-size: 0.75rem;
    letter-spacing: 0.15em; text-transform: uppercase;
    padding: 18px 40px; border: 2px solid var(--black); cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease,
                transform 0.35s var(--ease-out), box-shadow 0.35s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.btn-cta-primary:hover {
    background: var(--charcoal); color: white;
    border-color: var(--charcoal);
    transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,0.35);
}

.btn-cta-primary.small { padding: 14px 28px; font-size: 0.68rem; }
.btn-cta-primary.large { padding: 22px 52px; font-size: 0.8rem; }

.btn-cta-outline {
    display: inline-flex; align-items: center; gap: 12px;
    background: transparent; color: var(--black);
    font-family: var(--ff-head); font-weight: 700; font-size: 0.75rem;
    letter-spacing: 0.15em; text-transform: uppercase;
    padding: 16px 38px; border: 2px solid var(--black); cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease,
                transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}
.btn-cta-outline:hover {
    background: var(--black); color: white;
    transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,0.2);
}

.btn-cta-outline.small { padding: 12px 24px; font-size: 0.68rem; }
.btn-cta-outline.large { padding: 20px 48px; font-size: 0.8rem; }

/* ============================================================
   SEPARATOR
   ============================================================ */
.section-separator {
    display: flex; align-items: center; gap: 24px;
    padding: 0 48px; margin: 0 auto 0;
    max-width: var(--max-w);
}
.sep-line { flex: 1; height: 1px; background: var(--mid); }
.sep-crest { width: 36px; height: 30px; flex-shrink: 0; }

/* ============================================================
   ESCALADE SECTION — subtil fond diferit
   ============================================================ */
.section-escalade-bg { background: var(--off-white); }

/* ============================================================
   SECȚIUNEA EXPERIENȚĂ
   ============================================================ */
.section-experience {
    position: relative; padding: 140px 24px;
    text-align: center; overflow: hidden;
}

.exp-bg {
    position: absolute; inset: 0;
    background: var(--black);
}
.exp-bg::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 120%, rgba(80,70,60,0.4) 0%, transparent 65%);
}

.exp-content {
    position: relative; z-index: 2;
    max-width: 780px; margin: 0 auto;
}

.white-eyebrow {
    color: rgba(255,255,255,0.4) !important;
}

.exp-title {
    font-weight: 900; font-size: clamp(2.8rem, 7vw, 6rem);
    letter-spacing: -0.03em; line-height: 1;
    color: white; margin: 28px 0 28px;
}

.exp-text {
    font-weight: 300; font-size: 1.05rem; line-height: 1.9;
    color: rgba(255,255,255,0.6); max-width: 560px; margin: 0 auto 52px;
}

.btn-exp {
    display: inline-flex; align-items: center; gap: 16px;
    background: white; color: var(--black);
    font-family: var(--ff-head); font-weight: 700; font-size: 0.78rem;
    letter-spacing: 0.15em; text-transform: uppercase;
    padding: 20px 48px; border: 2px solid white; cursor: pointer;
    transition: background 0.35s ease, color 0.35s ease,
                transform 0.4s var(--ease-out), box-shadow 0.4s ease;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.btn-exp:hover {
    background: var(--charcoal); color: white;
    border-color: var(--charcoal);
    transform: translateY(-4px); box-shadow: 0 16px 60px rgba(0,0,0,0.6);
}
.btn-exp > div { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.btn-exp > div span { line-height: 1; }
.btn-exp > div small { font-weight: 300; font-size: 0.6rem; letter-spacing: 0.1em; opacity: 0.65; }

/* ============================================================
   SHOWROOM
   ============================================================ */
.section-showroom { padding: 120px 24px; }
.section-showroom .section-intro { max-width: var(--max-w); margin: 0 auto 64px; }

.showroom-grid {
    display: grid; gap: 2px; max-width: var(--max-w); margin: 0 auto;
    grid-template-columns: 1fr;
}
@media (min-width: 600px) { .showroom-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .showroom-grid { grid-template-columns: repeat(4, 1fr); } }

.showroom-card {
    background: var(--white); border: 1px solid var(--mid);
    padding: 40px 32px;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}
.showroom-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.1); }

.showroom-card-icon {
    width: 48px; height: 48px; background: var(--light); border: 1px solid var(--mid);
    display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}

.showroom-card h3 { font-weight: 800; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 12px; }

.showroom-card p { font-weight: 300; font-size: 0.88rem; color: var(--dark-gray); line-height: 1.7; }
.showroom-card p a { border-bottom: 1px solid var(--mid); transition: border-color 0.2s; }
.showroom-card p a:hover { border-color: var(--black); opacity: 1; }
.showroom-card .hours { font-size: 0.75rem; color: var(--gray); margin-top: 6px; }

.showroom-action-card { background: var(--off-white); }
.showroom-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }

.btn-wa {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--black); color: white;
    font-family: var(--ff-head); font-weight: 700; font-size: 0.68rem;
    letter-spacing: 0.15em; text-transform: uppercase;
    padding: 14px 22px; border: none; cursor: pointer;
    transition: background 0.3s, transform 0.3s var(--ease-out);
    text-decoration: none;
}
.btn-wa:hover { background: #128c7e; transform: translateY(-2px); opacity: 1; }

/* ============================================================
   FINAL SECTION
   ============================================================ */
.section-final { padding: 140px 24px 0; text-align: center; border-top: 1px solid var(--mid); }

.final-inner { max-width: 760px; margin: 0 auto; padding-bottom: 100px; }
.final-title {
    font-weight: 900; font-size: clamp(3rem, 8vw, 7rem);
    letter-spacing: -0.04em; line-height: 0.92;
    color: var(--black); margin: 28px 0 24px;
}
.final-sub {
    font-weight: 300; font-size: 1.05rem; line-height: 1.8;
    color: var(--dark-gray); margin-bottom: 52px;
}
.final-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.site-footer {
    border-top: 1px solid var(--mid);
}

/* Footer columns */
.footer-top {
    display: grid; grid-template-columns: 1fr;
    gap: 40px; padding: 64px 48px 48px;
    max-width: var(--max-w); margin: 0 auto;
}
@media (min-width: 600px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-top { grid-template-columns: repeat(3, 1fr); } }

.footer-col { display: flex; flex-direction: column; gap: 8px; }

.footer-brand {
    font-weight: 800; font-size: 0.6rem; letter-spacing: 0.3em;
    text-transform: uppercase; color: var(--black);
    padding-bottom: 12px; border-bottom: 1px solid var(--mid);
    margin-bottom: 4px;
}

.footer-col p {
    font-weight: 300; font-size: 0.78rem; color: var(--gray); line-height: 1.7;
}
.footer-col a {
    color: var(--gray); border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.footer-col a:hover { color: var(--black); border-color: var(--black); opacity: 1; }

.footer-bottom {
    padding: 24px 48px 32px; text-align: center;
    border-top: 1px solid var(--mid);
}
.footer-bottom p { font-weight: 300; font-size: 0.72rem; color: var(--gray); line-height: 1.8; }
.footer-disc { font-size: 0.63rem; margin-top: 4px; }

/* ============================================================
   CHECKBOX GDPR — în formulare
   ============================================================ */
.checkbox-group { margin-top: 8px; margin-bottom: 4px; }

.checkbox-label {
    display: flex !important; align-items: flex-start; gap: 14px;
    cursor: pointer; position: relative;
}

.checkbox-label input[type="checkbox"] {
    position: absolute; opacity: 0; width: 0; height: 0;
}

.checkbox-custom {
    flex-shrink: 0; width: 20px; height: 20px;
    border: 1.5px solid var(--mid); background: var(--off-white);
    display: flex; align-items: center; justify-content: center;
    transition: border-color 0.2s, background 0.2s;
    margin-top: 1px;
}

.checkbox-label:hover .checkbox-custom {
    border-color: var(--dark-gray);
}

.checkbox-label input:checked ~ .checkbox-custom {
    background: var(--black); border-color: var(--black);
}

.checkbox-label input:checked ~ .checkbox-custom::after {
    content: '';
    display: block; width: 5px; height: 9px;
    border: 1.5px solid white; border-top: none; border-left: none;
    transform: rotate(45deg) translateY(-1px);
}

.checkbox-text {
    font-weight: 300; font-size: 0.8rem; line-height: 1.6;
    color: var(--dark-gray);
}

.checkbox-text a {
    color: var(--black); font-weight: 600;
    border-bottom: 1px solid var(--mid);
    transition: border-color 0.2s;
}
.checkbox-text a:hover { border-color: var(--black); opacity: 1; }

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(8,7,6,0.7);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-box {
    background: var(--white); width: 100%;
    max-width: 900px; max-height: 92svh;
    position: relative;
    box-shadow: 0 32px 96px rgba(0,0,0,0.3);
    border: 1px solid var(--mid);
    transform: translateY(32px) scale(0.97);
    transition: transform 0.5s var(--ease-out);
}
.modal-overlay.active .modal-box { transform: translateY(0) scale(1); }

.modal-form-box { max-width: 640px; }

.modal-scroll {
    overflow-y: auto; max-height: 92svh;
    padding: 72px 40px 52px;
    -webkit-overflow-scrolling: touch;
}
@media (min-width: 600px) {
    .modal-scroll { padding: 80px 64px 64px; }
}

.modal-close {
    position: absolute; top: 20px; right: 20px; z-index: 10;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--light); border: 1px solid var(--mid);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--black);
    transition: background 0.2s, transform 0.3s var(--ease-out);
}
.modal-close:hover { background: var(--black); color: white; transform: rotate(90deg) scale(1.1); }

.modal-hdr { text-align: center; margin-bottom: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--mid); }
.modal-eyebrow { display: block; font-weight: 600; font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gray); margin-bottom: 12px; }
.modal-hdr h2 { font-weight: 900; font-size: clamp(2rem, 5vw, 3.8rem); letter-spacing: -0.03em; line-height: 0.95; color: var(--black); margin-bottom: 8px; }
.modal-hdr p { font-weight: 300; font-style: italic; font-size: 1rem; color: var(--gray); }

.modal-intro { margin-bottom: 40px; }
.modal-intro p { font-weight: 300; font-size: 0.92rem; line-height: 1.85; color: var(--dark-gray); }

.modal-gallery-label {
    font-weight: 700; font-size: 0.6rem; letter-spacing: 0.25em;
    text-transform: uppercase; color: var(--gray);
    padding: 16px 0 12px; border-bottom: 1px solid var(--mid); margin-bottom: 12px;
}

.modal-photo-grid { display: grid; gap: 4px; margin-bottom: 32px; }
.modal-grid-3 { grid-template-columns: repeat(3, 1fr); }
.modal-photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: opacity 0.3s; cursor: pointer; }
.modal-photo-grid img:hover { opacity: 0.9; }

@media (max-width: 499px) {
    .modal-grid-3 { grid-template-columns: 1fr; }
}

.modal-specs-2col { display: grid; grid-template-columns: 1fr; gap: 2px; margin-bottom: 40px; }
@media (min-width: 500px) { .modal-specs-2col { grid-template-columns: repeat(2, 1fr); } }

.mspec { background: var(--off-white); border: 1px solid var(--mid); padding: 24px 24px; }
.mspec h4 { font-weight: 800; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--black); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--mid); }
.mspec li { font-weight: 300; font-size: 0.8rem; color: var(--dark-gray); padding: 4px 0; border-bottom: 1px solid rgba(0,0,0,0.04); padding-left: 10px; position: relative; }
.mspec li::before { content: '—'; position: absolute; left: 0; color: var(--silver); font-size: 0.7rem; }

.modal-foot-btns {
    display: flex; flex-wrap: wrap; gap: 12px;
    padding-top: 32px; border-top: 1px solid var(--mid);
    justify-content: center;
}
/* Butoanele din modal au deja stilurile corecte via .btn-cta-* */

/* ============================================================
   FORM
   ============================================================ */
.pform { max-width: 100%; }
.pform-group { margin-bottom: 24px; }
.pform-row { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 480px) {
    .pform-row { grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
}

.pform-group label {
    display: block; font-weight: 700; font-size: 0.62rem;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--dark-gray); margin-bottom: 10px;
}

.pform-group input,
.pform-group select,
.pform-group textarea {
    width: 100%; background: var(--off-white);
    border: 1.5px solid var(--mid);
    font-family: var(--ff-body); font-weight: 300;
    font-size: 0.92rem; color: var(--black);
    padding: 15px 18px; outline: none;
    transition: border-color 0.25s, background 0.25s;
    appearance: none; border-radius: 0;
}

.pform-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a4744' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center;
    padding-right: 44px; cursor: pointer;
}

.pform-group input:focus, .pform-group select:focus, .pform-group textarea:focus {
    border-color: var(--black); background: white;
}

.pform-group input::placeholder, .pform-group textarea::placeholder { color: var(--silver); }
.pform-group textarea { resize: vertical; min-height: 100px; }

.ferr { display: block; font-size: 0.7rem; font-weight: 500; color: #c0392b; margin-top: 6px; min-height: 18px; }

.fmsg { padding: 14px 18px; margin-bottom: 16px; font-size: 0.85rem; font-weight: 500; display: none; }
.fmsg.success { background: #f0f7f0; border: 1.5px solid #a8d5a2; color: #2d6a27; display: block; }
.fmsg.error   { background: #fdf0f0; border: 1.5px solid #e8b4b4; color: #8b1a1a; display: block; }

.btn-submit-form {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    width: 100%; background: var(--black); color: white;
    font-family: var(--ff-head); font-weight: 700; font-size: 0.78rem;
    letter-spacing: 0.2em; text-transform: uppercase;
    padding: 20px 32px; border: 2px solid var(--black); cursor: pointer;
    margin-top: 8px;
    transition: background 0.3s ease, color 0.3s ease,
                transform 0.35s var(--ease-out), box-shadow 0.35s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-submit-form:hover {
    background: var(--charcoal); color: white;
    border-color: var(--charcoal);
    transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,0,0,0.3);
}
.btn-submit-form:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
.modal-scroll::-webkit-scrollbar { width: 4px; }
.modal-scroll::-webkit-scrollbar-track { background: var(--off-white); }
.modal-scroll::-webkit-scrollbar-thumb { background: var(--silver); }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }

@media (max-width: 480px) {
    .section-model { padding: 80px 20px; }
    .modal-scroll { padding: 64px 24px 40px; }
    .hero-stats { gap: 12px; }
    .stat-val { font-size: 1.3rem; }
    .final-btns { flex-direction: column; align-items: center; }
}
