/* ============================================
   FIAT South Africa — styles.css
   ============================================ */

:root {
    --red:         #A6121F;
    --red-dark:    #8a0f1a;
    --red-light:   #c41e2c;
    --black:       #111111;
    --dark:        #0D0D0D;
    --grey-dark:   #2a2a2a;
    --grey:        #666666;
    --grey-light:  #999999;
    --grey-border: #E0E0E0;
    --bg-light:    #F5F5F5;
    --white:       #FFFFFF;
    --green-wa:    #25D366;

    --font-head: 'Barlow Condensed', sans-serif;
    --font-body: 'Barlow', sans-serif;

    --nav-h: 90px;
    --max-w: 1280px;
    --pad-x: clamp(20px, 5vw, 80px);
    --sec-pad: clamp(70px, 10vw, 120px);

    --shadow-sm: 0 2px 12px rgba(0,0,0,0.07);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.11);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.14);
    --shadow-red: 0 8px 32px rgba(166,18,31,0.28);

    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }

/* Focus ring — keyboard accessibility */
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 3px; }

/* Text selection colour */
::selection { background: rgba(166,18,31,0.15); color: var(--black); }

/* Page fade-in on load */
@keyframes pageFade { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageFade 0.5s ease both; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.1;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(3rem, 7vw, 6rem); font-weight: 900; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 700; }

/* ---- Utility ---- */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad-x);
}
.section { padding: var(--sec-pad) 0; }
.eyebrow {
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
}
.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}
.section-head h2 { margin-bottom: 16px; }
.section-desc { color: var(--grey); font-size: 1.05rem; line-height: 1.7; }
.section-head.light h2,
.section-head.light .section-desc { color: var(--white); }
.section-head.light .section-desc { opacity: 0.75; }
.hidden { display: none !important; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
    white-space: nowrap;
    gap: 8px;
}
.btn-red {
    background: var(--red);
    color: var(--white);
    box-shadow: var(--shadow-red);
}
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(166,18,31,0.38); }
.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: white; }
.btn-outline {
    background: transparent;
    color: var(--black);
    border: 2px solid var(--grey-border);
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-white {
    background: var(--white);
    color: var(--red);
    font-weight: 700;
}
.btn-white:hover { background: #f0f0f0; }
.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover { border-color: white; background: rgba(255,255,255,0.1); }
.btn-full { width: 100%; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: var(--black);
    border: none;
    transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.navbar.scrolled {
    background: var(--white);
    border: none;
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad-x);
    height: 100%;
    display: flex;
    align-items: center;
    gap: 40px;
}
.nav-logo {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.3s var(--ease);
    border: none;
}
/* Subtle on dark hero navbar */
.navbar:not(.scrolled) .nav-logo {
    background: transparent;
}
.navbar:not(.scrolled) .nav-logo:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-1px);
}
.navbar.scrolled .nav-logo {
    background: transparent;
}
.navbar.scrolled .nav-logo:hover {
    background: rgba(166, 18, 31, 0.06);
    transform: translateY(-1px);
}
.nav-logo-img {
    height: 62px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: filter 0.35s var(--ease);
    /* Transparent bg — shows naturally on dark navbar */
}
/* White navbar — invert to turn logo text black */
.navbar.scrolled .nav-logo-img {
    filter: invert(1);
}
.footer-logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
    display: inline-block;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 6px 14px;
    transition: background 0.3s;
}
.footer-brand:hover .footer-logo-img {
    background: rgba(255,255,255,0.18);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}
.nav-links a {
    padding: 8px 14px;
    font-family: var(--font-head);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    border-radius: 4px;
    transition: color 0.25s, background 0.25s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 14px; right: 14px;
    height: 2px;
    background: rgba(255,255,255,0.7);
    transform: scaleX(0);
    transition: transform 0.25s var(--ease);
    border-radius: 2px;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a:hover { color: var(--white); }
.navbar.scrolled .nav-links a { color: var(--black); }
.navbar.scrolled .nav-links a:hover { color: var(--red); }
.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 11px 24px;
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--red);
    color: var(--white);
    border-radius: 6px;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(166,18,31,0.35);
}
.nav-cta:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(166,18,31,0.45); }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    margin-left: auto;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}
.navbar.scrolled .hamburger span { background: var(--black); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--red);
    padding: 30px var(--pad-x) 40px;
    z-index: 999;
    transform: translateY(-110%);
    transition: transform 0.4s var(--ease-out);
    box-shadow: var(--shadow-lg);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0; margin-bottom: 28px; }
.mobile-menu ul a {
    display: block;
    padding: 14px 0;
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--black);
    border-bottom: 1px solid var(--grey-border);
    transition: color 0.2s;
}
.mobile-menu ul a:hover { color: var(--red); }

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    background: var(--dark);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: url('../images/header2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0);
}
.hero-bg-pattern::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(5,5,5,0.88) 0%, rgba(5,5,5,0.65) 55%, rgba(5,5,5,0.2) 100%),
        linear-gradient(to top,   rgba(5,5,5,0.7)  0%, transparent 45%);
}
.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: calc(var(--nav-h) + 60px) var(--pad-x) 40px;
    width: 100%;
    gap: 40px;
    position: relative;
    z-index: 1;
}
.hero-text { flex: 0 0 auto; max-width: 620px; }
.hero-eyebrow {
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--red);
}
.hero-headline { color: var(--white); margin-bottom: 24px; }
.hero-headline .line { display: block; }
.hero-headline .red { color: var(--red); }
.hero-sub {
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 440px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 300px;
}
.car-glow {
    position: absolute;
    width: 480px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(166,18,31,0.22) 0%, transparent 70%);
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}
.car-svg {
    width: 100%;
    max-width: 620px;
    animation: float 5s ease-in-out infinite;
    filter: drop-shadow(0 24px 50px rgba(166,18,31,0.25));
    position: relative;
    z-index: 1;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-18px); }
}

/* Hero stats bar */
.hero-stats {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 30px var(--pad-x);
    background: rgba(255,255,255,0.04);
    border-top: 1px solid rgba(255,255,255,0.07);
    backdrop-filter: blur(8px);
}
.stat-item {
    text-align: center;
    padding: 0 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stat-item > div:first-child {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    line-height: 1;
    margin-bottom: 6px;
}
.stat-num {
    font-family: var(--font-head);
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}
.stat-plus, .stat-unit {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1.4;
}
.stat-item p {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}
.stat-div {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.12);
}

/* Scroll cue */
.scroll-cue {
    position: absolute;
    bottom: 140px;
    left: var(--pad-x);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
}
.scroll-line-anim {
    width: 1px;
    height: 56px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.5));
    animation: scrollDrop 2.2s ease-in-out infinite;
    transform-origin: top;
}
@keyframes scrollDrop {
    0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
    40%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
    60%  { opacity: 1; transform: scaleY(1); transform-origin: bottom; }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}
.scroll-cue span {
    font-family: var(--font-head);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    writing-mode: vertical-rl;
}

/* ============================================
   MODELS
   ============================================ */
.models-section { background: #F4F4F6; border-top: 3px solid var(--red); padding-top: 40px; }
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 480px));
    gap: 28px;
}
.model-card {
    background: var(--white);
    border: 2px solid #D8D8D8;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease), border-color 0.3s;
    position: relative;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.05);
    will-change: transform;
}
.model-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform 0.35s var(--ease);
}
.model-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.14), 0 4px 16px rgba(0,0,0,0.08); border-color: #A6121F; }
.model-card:hover::after { transform: scaleX(1); }
.model-img {
    height: 260px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
/* Fallback colours shown before image loads */
.fiat-500  { background: #c0c0c0; }
.fiat-panda{ background: #2a2a2a; }
.fiat-tipo { background: #1a3a7a; }
.fiat-500x { background: #1a1a1a; }

/* Real photo fills the card image area */
.model-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    transition: transform 0.6s var(--ease);
}
.model-card:hover .model-img img { transform: scale(1.07); }

/* Bottom gradient so badge text stays readable */
.model-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 55%);
    z-index: 1;
    pointer-events: none;
}
.model-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.35);
    color: white;
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 30px;
}
.model-body { padding: 24px; }
.model-body h3 { margin-bottom: 6px; color: var(--black); font-size: 1.5rem; }
.model-price { font-size: 0.95rem; color: var(--grey); margin-bottom: 16px; }
.model-price strong { color: var(--black); font-size: 1.1rem; }
.model-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}
.model-specs li {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--grey);
    background: var(--bg-light);
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.03em;
}

/* ============================================
   PRICING
   ============================================ */
.pricing-section {
    background: linear-gradient(160deg, #0f0f0f 0%, #1a0508 50%, #0f0f0f 100%);
    border-top: none;
    position: relative;
}
.pricing-section .section-head.light .eyebrow { color: rgba(255,255,255,0.5); }
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 4px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
}
.tab-btn {
    flex: 1;
    padding: 10px 20px;
    font-family: var(--font-head);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    border-radius: 6px;
    transition: all 0.25s var(--ease);
}
.tab-btn.active {
    background: var(--red);
    color: var(--white);
    box-shadow: var(--shadow-red);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    align-items: start;
}
.pricing-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 0 0 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease), border-color 0.3s, background 0.3s;
    will-change: transform;
}
/* Red accent bar at top of each card */
.pricing-card::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--red-dark), var(--red-light));
    border-radius: 16px 16px 0 0;
}
.pricing-card .pc-header,
.pricing-card .pc-price,
.pricing-card .pc-features,
.pricing-card .btn { padding-left: 28px; padding-right: 28px; }
.pricing-card .pc-header { padding-top: 24px; }
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.45);
    border-color: rgba(166,18,31,0.5);
    background: rgba(255,255,255,0.07);
}
.pricing-card.selected {
    border-color: var(--red);
    background: rgba(166,18,31,0.08);
    box-shadow: 0 0 0 1px var(--red), 0 20px 50px rgba(166,18,31,0.2);
}
.most-pop {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 0 0 12px 12px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(166,18,31,0.4);
}
.pc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.pc-header h3 { font-size: 1.35rem; color: var(--white); }
.pc-tag {
    font-family: var(--font-head);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 4px 10px;
    border-radius: 20px;
}
.pc-price { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.price-from {
    display: block;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.price-val {
    display: block;
    font-family: var(--font-head);
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
    transition: all 0.3s var(--ease);
}
.price-note {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}
.pc-features { margin-bottom: 28px; display: flex; flex-direction: column; gap: 11px; }
.pc-features li {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    padding-left: 20px;
    position: relative;
}
.pc-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 6px rgba(166,18,31,0.6);
}
.pricing-disclaimer {
    text-align: center;
    margin-top: 32px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.3);
}

/* ============================================
   WHY FIAT
   ============================================ */
.why-section { background: #F4F4F6; border-top: 1px solid #EBEBEB; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); border-color: var(--red); }
.feat-icon { width: 72px; height: 72px; margin: 0 auto 24px; }
.feat-icon svg { width: 100%; height: 100%; }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 14px; color: var(--black); }
.feature-card p { font-size: 0.93rem; color: var(--grey); line-height: 1.75; }

/* ============================================
   PROMOTIONS
   ============================================ */
.promos-section { background: var(--dark); }
.promos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
@keyframes promoFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}
.promo-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 36px 30px;
    position: relative;
    transition: background 0.3s;
    animation: promoFloat 5s ease-in-out infinite;
}
.promos-grid .promo-card:nth-child(2) { animation-delay: -1.6s; }
.promos-grid .promo-card:nth-child(3) { animation-delay: -3.2s; }
.promo-card:hover { animation-play-state: paused; background: rgba(255,255,255,0.08); }
.promo-card.promo-featured { background: var(--red); border-color: var(--red); }
.promo-card.promo-featured:hover { background: var(--red-light); }
.promo-badge {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 18px;
}
.promo-card.promo-featured .promo-badge { color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.5); }
.promo-card h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 12px;
}
.promo-card p { font-size: 0.92rem; color: rgba(255,255,255,0.65); line-height: 1.72; margin-bottom: 24px; }
.promo-value {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.promo-value span { font-size: 0.8rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.06em; }
.promo-value strong {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-section { background: var(--white); padding-bottom: 0; }
.gallery-section .container { margin-bottom: 40px; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 300px 300px;
    gap: 6px;
}
.gallery-item { overflow: hidden; }
.gallery-item.g-wide:nth-child(1) { grid-column: span 2; }
.gallery-item.g-wide:nth-child(5) { grid-column: span 2; }
.g-inner {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.g1 { background: linear-gradient(135deg, #0a0a0a 0%, #1c0306 40%, #111 100%); }
.g2 { background: linear-gradient(135deg, #1a1206 0%, #2e200a 50%, #180f04 100%); }
.g3 { background: linear-gradient(135deg, #080f1c 0%, #0e1e34 50%, #091428 100%); }
.g4 { background: linear-gradient(135deg, #1c1008 0%, #2e1a0e 50%, #180c06 100%); }
.g5 { background: linear-gradient(135deg, #080e04 0%, #111a08 50%, #090e05 100%); }
.g-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 40% 60%, rgba(166,18,31,0.18) 0%, transparent 65%);
    pointer-events: none;
}
.g-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 40px,
        rgba(255,255,255,0.012) 40px,
        rgba(255,255,255,0.012) 41px
    );
    pointer-events: none;
}
.g-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 28px;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}
.g-inner:hover .g-overlay { opacity: 1; }
.g-overlay span {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
}
.g-inner:hover { transform: scale(1.025); transition: transform 0.5s var(--ease); }

/* ============================================
   CONTACT
   ============================================ */
.contact-section { background: #F4F4F6; border-top: 1px solid #EBEBEB; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 50px;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-intro { color: var(--grey); font-size: 1rem; line-height: 1.75; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 18px; margin-bottom: 30px; }
.cd-item { display: flex; align-items: flex-start; gap: 14px; }
.cd-item svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.cd-item strong { display: block; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--grey-light); margin-bottom: 2px; }
.cd-item span { font-size: 0.95rem; color: var(--grey-dark); }
.wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: var(--green-wa);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.25s var(--ease);
}
.wa-btn:hover { background: #1ebe5c; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.35); }
.wa-btn svg { width: 20px; height: 20px; }

/* Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}
.contact-form-wrap h3 { margin-bottom: 28px; font-size: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--grey-border);
    border-radius: 5px;
    font-size: 0.95rem;
    color: var(--black);
    background: var(--white);
    transition: border-color 0.25s, box-shadow 0.25s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--grey-light); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(166,18,31,0.12);
}
.form-group textarea { resize: vertical; }
.form-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='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

/* Full-width map strip between contact and footer */
.map-fullwidth {
    width: 100%;
    height: 560px;
    display: block;
    line-height: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--dark); padding: 70px 0 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    color: var(--red);
    margin-bottom: 16px;
}
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.45); line-height: 1.7; margin-bottom: 24px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    transition: all 0.25s var(--ease);
}
.social-links a:hover { border-color: var(--red); color: var(--red); }
.social-links svg { width: 16px; height: 16px; }
.footer-col h4 {
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
    padding: 22px 0;
    text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.25); }

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }
    .hero-content { flex-direction: column; text-align: center; padding-bottom: 20px; }
    .hero-text { max-width: 100%; }
    .hero-sub, .hero-eyebrow { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .hero-visual { min-height: 200px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
    :root { --sec-pad: clamp(50px, 8vw, 80px); }
    .models-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-stats { flex-direction: column; gap: 20px; }
    .stat-div { width: 50px; height: 1px; }
    .stat-item { padding: 0 20px; }
    .scroll-cue { display: none; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .form-row { grid-template-columns: 1fr; }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(4, 200px);
    }
    .gallery-item.g-wide:nth-child(1) { grid-column: span 2; }
    .gallery-item.g-wide:nth-child(5) { grid-column: span 2; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
    .promos-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    .models-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 220px);
    }
    .gallery-item.g-wide { grid-column: span 1 !important; }
    .contact-form-wrap { padding: 24px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .hero-btns .btn { width: 100%; max-width: 280px; }
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    background: var(--red);
    z-index: 2000;
    width: 0%;
    transition: width 0.1s linear;
}

/* ============================================
   EXTRA ANIMATIONS
   ============================================ */

/* 1. Navbar slide down on load */
@keyframes navSlideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}
.navbar { animation: navSlideDown 0.6s var(--ease-out) forwards; }

/* 2. Hero background Ken Burns slow zoom */
@keyframes kenBurns {
    0%   { transform: scale(1);    }
    100% { transform: scale(1.08); }
}
.hero-bg-pattern {
    animation: kenBurns 18s ease-in-out infinite alternate;
}

/* 3. Hero text elements fade-up (CSS fallback if GSAP fails) */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow  { animation: fadeUp 0.6s var(--ease-out) 0.2s both; }
.hero-headline .line:nth-child(1) { animation: fadeUp 0.7s var(--ease-out) 0.35s both; }
.hero-headline .line:nth-child(2) { animation: fadeUp 0.7s var(--ease-out) 0.5s both; }
.hero-sub      { animation: fadeUp 0.6s var(--ease-out) 0.65s both; }
.hero-btns     { animation: fadeUp 0.6s var(--ease-out) 0.8s both; }

/* 4. Shimmer sweep across model card image on hover */
.model-img::before {
    content: '';
    position: absolute;
    top: 0; left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transform: skewX(-20deg);
    z-index: 3;
    pointer-events: none;
}
.model-card:hover .model-img::before {
    animation: shimmer 0.65s ease forwards;
}
@keyframes shimmer {
    to { left: 160%; }
}

/* 5. Feature icon scale + rotate on card hover */
.feat-icon svg {
    transition: transform 0.35s var(--ease);
}
.feature-card:hover .feat-icon svg {
    transform: scale(1.18) rotate(6deg);
}

/* 6. Button press feedback */
.btn:active { transform: scale(0.96) !important; }

/* 7. Promo card subtle bottom glow on hover */
.promo-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 10%; right: 10%;
    height: 2px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.35s var(--ease);
}
.promo-card:hover::after { transform: scaleX(1); }
.promo-card.promo-featured::after { background: rgba(255,255,255,0.5); }

/* 8. Gallery image brightness lift + border glow on hover */
.g-inner {
    transition: filter 0.4s var(--ease), transform 0.5s var(--ease);
}
.g-inner:hover {
    filter: brightness(1.12);
    box-shadow: inset 0 0 0 3px rgba(166,18,31,0.6);
}

/* 9. Section eyebrow animated red underline */
.eyebrow {
    display: inline-block;
    position: relative;
}
.eyebrow::after {
    content: '';
    position: absolute;
    left: 0; bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
    transition: width 0.5s var(--ease-out) 0.2s;
}
.in-view .eyebrow::after,
.section-head.reveal.in-view .eyebrow::after { width: 100%; }

/* 10. Staggered card entrance delays */
.models-grid .model-card:nth-child(1) { transition-delay: 0.05s; }
.models-grid .model-card:nth-child(2) { transition-delay: 0.15s; }
.models-grid .model-card:nth-child(3) { transition-delay: 0.25s; }
.models-grid .model-card:nth-child(4) { transition-delay: 0.35s; }

.pricing-grid .pricing-card:nth-child(1) { transition-delay: 0.05s; }
.pricing-grid .pricing-card:nth-child(2) { transition-delay: 0.15s; }
.pricing-grid .pricing-card:nth-child(3) { transition-delay: 0.25s; }
.pricing-grid .pricing-card:nth-child(4) { transition-delay: 0.35s; }

.features-grid .feature-card:nth-child(1) { transition-delay: 0.05s; }
.features-grid .feature-card:nth-child(2) { transition-delay: 0.15s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.25s; }
.features-grid .feature-card:nth-child(4) { transition-delay: 0.35s; }

/* ============================================
   MODEL MODAL
   ============================================ */
.model-card { cursor: pointer; }

.model-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
}
.model-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}
.model-modal {
    background: var(--white);
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    transform: translateY(30px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
    box-shadow: 0 40px 80px rgba(0,0,0,0.35);
}
.model-modal-overlay.open .model-modal {
    transform: translateY(0) scale(1);
}
.modal-close {
    position: absolute;
    top: 14px; right: 18px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    border: none;
    width: 36px; height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.modal-close:hover { background: var(--red); }
.modal-img-wrap {
    position: relative;
    border-radius: 16px 0 0 16px;
    overflow: hidden;
    min-height: 380px;
}
.modal-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.modal-badge-large {
    position: absolute;
    top: 20px; left: 20px;
    background: var(--red);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
}
.modal-content {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.modal-header h2 {
    font-size: 2rem;
    margin: 0 0 6px;
    color: var(--black);
}
.modal-price {
    font-size: 1.1rem;
    color: var(--red);
    font-weight: 600;
    margin: 0;
}
.modal-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}
.modal-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.modal-spec-item {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 8px;
}
.modal-spec-item::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
}
.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}
.modal-actions .btn { flex: 1; text-align: center; }

@media (max-width: 700px) {
    .model-modal { grid-template-columns: 1fr; }
    .modal-img-wrap { min-height: 240px; border-radius: 16px 16px 0 0; }
    .modal-content { padding: 24px 20px; }
    .modal-specs-grid { grid-template-columns: 1fr; }
    .modal-actions { flex-direction: column; }
}
