/* ═══════════════════════════════════════════════════════════════
   NTXTC LLC — Premium Trucking Website
   style.css
═══════════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand colors */
    --black:        #080a0e;
    --dark:         #0d1117;
    --dark-2:       #111822;
    --dark-3:       #161f2e;
    --royal-blue:   #1a4fc4;
    --blue:         #2563eb;
    --blue-light:   #3b82f6;
    --blue-glow:    rgba(37, 99, 235, 0.35);
    --blue-glow-sm: rgba(37, 99, 235, 0.15);
    --white:        #ffffff;
    --off-white:    #e8edf5;
    --gray:         #8a9ab8;
    --gray-light:   #b0bdd4;
    --metal:        #4a5568;

    /* Typography */
    --font-display: 'Barlow Condensed', sans-serif;
    --font-body:    'Inter', sans-serif;

    /* Spacing */
    --section-pad: 100px;
    --container:   1200px;

    /* Transitions */
    --trans: 0.3s ease;
}

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

body {
    background-color: var(--black);
    color: var(--off-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

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

/* ─── SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--royal-blue); border-radius: 3px; }


/* ═══════════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════════ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: background var(--trans), backdrop-filter var(--trans),
                border-color var(--trans), padding var(--trans);
    border-bottom: 1px solid transparent;
}

#header.scrolled {
    background: rgba(8, 10, 14, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(37, 99, 235, 0.2);
    padding: 0 24px;
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    height: 80px;
}

/* Logo */
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-img {
    height: 96px;
    width: auto;
    filter: drop-shadow(0 0 12px rgba(37, 99, 235, 0.4));
    transition: filter var(--trans);
}
.logo-img:hover { filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.7)); }

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-item {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--gray-light);
    padding: 6px 14px;
    border-radius: 6px;
    transition: color var(--trans), background var(--trans);
}

.nav-item:hover,
.nav-item.active {
    color: var(--white);
    background: rgba(37, 99, 235, 0.12);
}

/* CTA button */
.btn-nav-cta {
    flex-shrink: 0;
    margin-left: 8px;
    padding: 9px 22px;
    background: var(--blue);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: background var(--trans), box-shadow var(--trans), transform var(--trans);
}

.btn-nav-cta:hover {
    background: var(--blue-light);
    box-shadow: 0 0 24px var(--blue-glow);
    transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--off-white);
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

/* Background image */
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('slike/NTXTC cover.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    transform: scale(1.04);
    transition: transform 8s ease;
    z-index: 0;
}

.hero:hover .hero-bg { transform: scale(1.08); }

/* Dark gradient overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            105deg,
            rgba(8, 10, 14, 0.88) 0%,
            rgba(13, 17, 35, 0.76) 55%,
            rgba(8, 10, 14, 0.55) 100%
        ),
        linear-gradient(
            to top,
            rgba(8, 10, 14, 0.95) 0%,
            transparent 50%
        );
    z-index: 1;
}

/* Blue atmospheric glow */
.hero-glow {
    position: absolute;
    bottom: -120px;
    left: -80px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(26, 79, 196, 0.22) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* Content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    width: 100%;
    text-align: left;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-light);
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    padding: 7px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--blue-light);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--blue-light);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--blue-light); }
    50%       { opacity: 0.6; box-shadow: 0 0 14px var(--blue-light); }
}

/* Title */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.02em;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 28px;
    text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

.hero-title-accent {
    color: var(--blue-light);
    text-shadow:
        0 0 30px rgba(59, 130, 246, 0.6),
        0 0 60px rgba(59, 130, 246, 0.3);
    display: block;
}

/* Subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 400;
    color: var(--gray-light);
    line-height: 1.7;
    max-width: 580px;
    margin-bottom: 44px;
}

/* CTA Buttons */
.hero-ctas {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    background: var(--blue);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.5);
    transition: background var(--trans), box-shadow var(--trans), transform var(--trans);
}

.btn-primary:hover {
    background: var(--blue-light);
    box-shadow: 0 0 36px rgba(37, 99, 235, 0.6), 0 8px 24px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: transparent;
    color: var(--off-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background var(--trans), border-color var(--trans), transform var(--trans);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Inline stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stat strong {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1;
}

.hero-stat span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.12);
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-dot {
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 14px;
    position: relative;
}

.scroll-dot::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--blue-light);
    border-radius: 2px;
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
    0%, 100% { top: 7px; opacity: 1; }
    80%       { top: 20px; opacity: 0; }
}


/* ═══════════════════════════════════════════════════════════════
   SHARED / UTILITY
═══════════════════════════════════════════════════════════════ */

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue-light);
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.25);
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.05;
    color: var(--white);
}

.section-subtitle {
    margin-top: 16px;
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.7;
    max-width: 600px;
}

.section-header { margin-bottom: 60px; }



/* ═══════════════════════════════════════════════════════════════
   ABOUT US
═══════════════════════════════════════════════════════════════ */
.section-about {
    padding: var(--section-pad) 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.section-about::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 79, 196, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.about-top {
    max-width: 780px;
    margin-bottom: 72px;
}

.about-lead {
    font-size: 1.2rem;
    color: var(--off-white);
    line-height: 1.75;
    margin-top: 28px;
    margin-bottom: 20px;
}

.about-lead strong {
    color: var(--white);
    font-weight: 600;
}

.about-body {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.8;
}

/* Core Principles grid */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.principle-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: border-color var(--trans), background var(--trans), transform var(--trans);
}

.principle-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--trans);
}

.principle-card:hover {
    border-color: rgba(37, 99, 235, 0.35);
    background: rgba(37, 99, 235, 0.05);
    transform: translateY(-4px);
}
.principle-card:hover::before { opacity: 1; }

.principle-icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.principle-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--blue-light);
}

.principle-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--white);
    margin-bottom: 10px;
}

.principle-text {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.65;
}


/* ═══════════════════════════════════════════════════════════════
   WHY CHOOSE NTXTC
═══════════════════════════════════════════════════════════════ */
.section-why {
    padding: var(--section-pad) 0;
    background: var(--black);
    position: relative;
}

.section-why::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(37, 99, 235, 0.3), transparent);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.why-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 28px 24px;
    transition: border-color var(--trans), background var(--trans), transform var(--trans),
                box-shadow var(--trans);
}

.why-card:hover {
    border-color: rgba(37, 99, 235, 0.4);
    background: rgba(37, 99, 235, 0.04);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.12);
}

.why-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 10px;
    transition: background var(--trans), border-color var(--trans);
}

.why-card:hover .why-icon {
    background: rgba(37, 99, 235, 0.18);
    border-color: rgba(37, 99, 235, 0.45);
}

.why-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--blue-light);
}

.why-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.2;
}

.why-card p {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.65;
}


/* ═══════════════════════════════════════════════════════════════
   BY THE NUMBERS
═══════════════════════════════════════════════════════════════ */
.section-numbers {
    position: relative;
    padding: var(--section-pad) 0;
    overflow: hidden;
}

.numbers-bg {
    position: absolute;
    inset: 0;
    background-image: url('slike/NTXTC 5.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.numbers-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(5, 8, 20, 0.93) 0%,
        rgba(10, 20, 50, 0.88) 100%
    );
    z-index: 1;
}

.numbers-inner {
    position: relative;
    z-index: 2;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    margin-top: 60px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(37, 99, 235, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.number-card {
    padding: 44px 24px;
    text-align: center;
    border-right: 1px solid rgba(37, 99, 235, 0.15);
    position: relative;
    transition: background var(--trans);
}

.number-card:last-child { border-right: none; }

.number-card:hover {
    background: rgba(37, 99, 235, 0.08);
}

.number-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--blue);
    border-radius: 0 0 4px 4px;
    opacity: 0;
    transition: opacity var(--trans);
}
.number-card:hover::before { opacity: 1; }

.number-value {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.02em;
}

.number-suffix {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-weight: 700;
    color: var(--blue-light);
}

.number-label {
    margin-top: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray);
    line-height: 1.4;
}


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

/* ── Hero entrance (CSS, plays on page load) ─────────────────── */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0);    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(-24px); }
    to   { opacity: 1; transform: translateX(0);     }
}

.hero-badge    { animation: slideRight 0.7s ease both; animation-delay: 0.15s; }
.hero-title    { animation: slideUp   0.8s ease both; animation-delay: 0.35s; }
.hero-subtitle { animation: slideUp   0.7s ease both; animation-delay: 0.55s; }
.hero-ctas     { animation: slideUp   0.7s ease both; animation-delay: 0.75s; }
.hero-stats    { animation: fadeIn    0.8s ease both; animation-delay: 1.0s;  }
.hero-scroll   { animation: fadeIn    1.0s ease both; animation-delay: 1.4s;  }

/* ── Scroll reveal ───────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* staggered children */
.reveal-group > *            { opacity: 0; transform: translateY(24px);
                               transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal-group.in-view > *   { opacity: 1; transform: translateY(0); }
.reveal-group.in-view > *:nth-child(1) { transition-delay: 0ms; }
.reveal-group.in-view > *:nth-child(2) { transition-delay: 90ms; }
.reveal-group.in-view > *:nth-child(3) { transition-delay: 180ms; }
.reveal-group.in-view > *:nth-child(4) { transition-delay: 270ms; }
.reveal-group.in-view > *:nth-child(5) { transition-delay: 360ms; }
.reveal-group.in-view > *:nth-child(6) { transition-delay: 450ms; }
.reveal-group.in-view > *:nth-child(7) { transition-delay: 540ms; }
.reveal-group.in-view > *:nth-child(8) { transition-delay: 630ms; }


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */

/* ── Tablet landscape (≤1024px) ─────────────────────────────── */
@media (max-width: 1024px) {
    :root { --section-pad: 80px; }

    /* Nav */
    .nav-links    { gap: 2px; }
    .nav-item     { padding: 6px 10px; font-size: 0.8rem; }
    .btn-nav-cta  { padding: 8px 14px; font-size: 0.82rem; }
    .logo-img     { height: 78px; }

    /* Sections */
    .principles-grid  { grid-template-columns: repeat(2, 1fr); }
    .why-grid         { grid-template-columns: repeat(2, 1fr); }
    .numbers-grid     { grid-template-columns: repeat(3, 1fr); }
    .number-card:nth-child(3) { border-right: none; }

    /* Fleet accordion */
    .brand-header     { grid-template-columns: 1fr auto; padding: 18px 20px; }
    .brand-center     { display: none; }
    .brand-body       { padding: 0 20px 24px; }
    .brand-body--two  { grid-template-columns: 1fr; }

    /* Lease */
    .steps-grid       { flex-direction: column; }
    .steps-grid .step-card { flex: none; width: 100%; }
    .step-arrow       { transform: rotate(90deg); padding: 8px 0; align-self: center; }

    /* Requirements & Apply */
    .requirements-inner { grid-template-columns: 1fr; gap: 48px; }
    .apply-inner        { grid-template-columns: 1fr; gap: 40px; }

    /* Footer */
    .footer-inner  { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand  { grid-column: 1 / -1; }
}

/* ── Tablet portrait / large phone (≤768px) ─────────────────── */
@media (max-width: 768px) {
    :root { --section-pad: 64px; }

    /* Header */
    .hamburger   { display: flex; }
    .btn-nav-cta { display: none; }
    .logo-img    { height: 64px; }
    .nav-container { height: 70px; }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0; right: 0;
        background: rgba(8, 10, 14, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px 28px;
        border-bottom: 1px solid rgba(37, 99, 235, 0.2);
        gap: 2px;
    }
    .nav-links.open { display: flex; }
    .nav-item {
        padding: 13px 16px;
        font-size: 1rem;
        border-radius: 8px;
        display: block;
    }

    /* Hero */
    .hero          { padding: 100px 20px 70px; min-height: 100vh; }
    .hero-bg       { background-position: 72% 30%; }
    .hero-subtitle { max-width: 100%; font-size: 1rem; }
    .hero-stats    { gap: 16px; flex-wrap: wrap; }
    .hero-stat-divider { display: none; }
    .hero-stat strong  { font-size: 1.5rem; }

    /* Sections */
    .section-title      { font-size: clamp(1.8rem, 6vw, 2.8rem); }
    .about-lead         { font-size: 1.05rem; }
    .principles-grid    { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .why-grid           { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    /* Numbers */
    .numbers-grid {
        grid-template-columns: repeat(3, 1fr);
        margin-top: 40px;
    }

    /* Fleet */
    .brand-years  { display: none; }
    .brand-name   { font-size: 1.15rem; }
    .brand-header { padding: 16px 18px; }

    /* Apply */
    .form-row    { grid-template-columns: 1fr; gap: 16px; }
    .apply-form  { padding: 28px 20px; }
    .apply-inner { gap: 32px; }
}

/* ── Phone (≤600px) ─────────────────────────────────────────── */
@media (max-width: 600px) {
    :root { --section-pad: 56px; }

    /* Hero */
    .hero-title         { font-size: clamp(2.4rem, 10vw, 3.2rem); }
    .hero-ctas          { flex-direction: column; align-items: stretch; gap: 12px; }
    .btn-primary,
    .btn-ghost          { justify-content: center; }
    .hero-stats         { gap: 14px; }

    /* Principles / Why */
    .principles-grid    { grid-template-columns: 1fr; }
    .why-grid           { grid-template-columns: 1fr; }

    /* Numbers */
    .numbers-grid       { grid-template-columns: repeat(2, 1fr); border-radius: 12px; }
    .number-card        { border-right: none; border-bottom: 1px solid rgba(37, 99, 235, 0.15); padding: 28px 16px; }
    .number-card:last-child { grid-column: 1 / -1; border-bottom: none; }
    .numbers-inner .section-header { text-align: left !important; }
    .numbers-inner .section-subtitle { margin-left: 0 !important; margin-right: 0 !important; }

    /* Fleet */
    .brand-zero        { display: none; }
    .brand-num         { display: none; }
    .brand-name        { font-size: 1.1rem; }
    .brand-detail-model { font-size: 1.7rem; }

    /* Lease */
    .step-card         { padding: 24px 20px; }
    .step-number       { font-size: 2.8rem; }

    /* Requirements */
    .requirements-text .btn-primary { width: 100%; justify-content: center; }

    /* FAQ */
    .faq-question      { font-size: 0.95rem; padding: 18px 16px; }
    .faq-answer        { padding: 0 16px 18px; }

    /* Apply */
    .apply-form        { padding: 24px 16px; border-radius: 14px; }
    .btn-submit        { padding: 14px; }

    /* Footer */
    .footer-inner      { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand      { grid-column: auto; }
    .footer-logo       { height: 72px; }
    .footer-bottom .container { flex-direction: column; text-align: center; gap: 4px; }
}

/* ── Small phone (≤390px) ───────────────────────────────────── */
@media (max-width: 390px) {
    :root { --section-pad: 48px; }

    .logo-img           { height: 52px; }
    .hero               { padding: 88px 16px 60px; }
    .hero-title         { font-size: 2.2rem; }
    .hero-badge         { font-size: 0.72rem; padding: 6px 12px; }
    .hero-subtitle      { font-size: 0.92rem; }
    .container          { padding: 0 16px; }
    .section-title      { font-size: 1.75rem; }

    .numbers-grid       { grid-template-columns: 1fr; }
    .number-card        { border-right: none; }
    .number-card:last-child { grid-column: auto; }

    .brand-header       { padding: 14px 16px; }
    .why-card,
    .principle-card     { padding: 22px 18px; }

    .apply-form         { padding: 20px 14px; }

    #backToTop          { bottom: 20px; right: 16px; width: 42px; height: 42px; }
}


/* ── Back to top ─────────────────────────────────────────────── */
#backToTop {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    width: 48px;
    height: 48px;
    background: var(--blue);
    border: 1px solid rgba(59,130,246,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    pointer-events: none;
}

#backToTop.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#backToTop:hover {
    background: var(--blue-light);
    box-shadow: 0 0 24px rgba(37,99,235,0.55);
}

#backToTop svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
}


/* ═══════════════════════════════════════════════════════════════
   FLEET — Accordion by brand
═══════════════════════════════════════════════════════════════ */
.section-fleet {
    padding: var(--section-pad) 0;
    background: var(--dark-2);
}

.title-accent { color: var(--blue-light); }

.fleet-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 48px;
}

.fleet-tag {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--blue-light);
    background: rgba(37,99,235,0.1);
    border: 1px solid rgba(37,99,235,0.25);
    padding: 6px 16px;
    border-radius: 100px;
}

/* Accordion wrapper */
.fleet-accordion {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    overflow: hidden;
}

/* Remove browser default */
details.brand-item > summary { list-style: none; }
details.brand-item > summary::-webkit-details-marker { display: none; }

/* Each row */
.brand-item {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background var(--trans);
}
.brand-item:last-child { border-bottom: none; }

details.brand-item[open] {
    background: rgba(37,99,235,0.04);
    border-bottom-color: rgba(37,99,235,0.15);
}

/* Summary row */
.brand-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 24px 32px;
    cursor: pointer;
    user-select: none;
    transition: background var(--trans);
    gap: 20px;
}

.brand-header:hover { background: rgba(255,255,255,0.02); }
details.brand-item[open] .brand-header { background: rgba(37,99,235,0.06); }

.brand-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand-num {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(37,99,235,0.5);
    letter-spacing: 0.1em;
    width: 28px;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--white);
    transition: color var(--trans);
}

details.brand-item[open] .brand-name { color: var(--blue-light); }

.brand-center {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.brand-model-tag {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 5px 14px;
    border-radius: 6px;
}

.brand-model-tag--new {
    color: var(--blue-light);
    background: rgba(37,99,235,0.1);
    border-color: rgba(37,99,235,0.3);
}

.brand-model-tag--new em {
    font-style: normal;
    font-size: 0.7rem;
    margin-left: 4px;
    opacity: 0.8;
}

.brand-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.brand-years {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gray);
    letter-spacing: 0.04em;
}

.brand-zero {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-light);
    background: rgba(37,99,235,0.1);
    border: 1px solid rgba(37,99,235,0.25);
    padding: 4px 12px;
    border-radius: 6px;
}

.brand-chevron {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: transform var(--trans), border-color var(--trans), background var(--trans);
}

.brand-chevron svg {
    width: 16px;
    height: 16px;
    stroke: var(--gray);
    transition: stroke var(--trans);
}

details.brand-item[open] .brand-chevron {
    transform: rotate(180deg);
    background: rgba(37,99,235,0.15);
    border-color: rgba(37,99,235,0.4);
}

details.brand-item[open] .brand-chevron svg { stroke: var(--blue-light); }

/* Expanded content */
.brand-body {
    padding: 0 32px 28px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.brand-body--two {
    grid-template-columns: 1fr 1fr;
}

.brand-detail {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 24px 28px;
    position: relative;
}

.brand-detail--featured {
    border-color: rgba(37,99,235,0.3);
    background: rgba(37,99,235,0.05);
}

.brand-new-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-light);
    background: rgba(37,99,235,0.15);
    border: 1px solid rgba(37,99,235,0.3);
    padding: 3px 10px;
    border-radius: 4px;
}

.brand-detail-model {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1;
}

.brand-detail-desc {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.brand-detail-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.brand-detail-specs span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 4px 12px;
    border-radius: 6px;
}


/* ═══════════════════════════════════════════════════════════════
   LEASE PROGRAM
═══════════════════════════════════════════════════════════════ */
.section-lease {
    position: relative;
    padding: var(--section-pad) 0;
    overflow: hidden;
}

.lease-bg {
    position: absolute;
    inset: 0;
    background-image: url('slike/NTXTC1.1.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.lease-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5,8,20,0.95) 0%, rgba(10,22,55,0.9) 100%);
    z-index: 1;
}

.lease-inner {
    position: relative;
    z-index: 2;
}

.steps-grid {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    margin-top: 60px;
}

.steps-grid .step-card { flex: 1; }
.steps-grid .step-arrow { flex-shrink: 0; align-self: center; }

.step-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(37,99,235,0.2);
    border-radius: 16px;
    padding: 36px 28px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color var(--trans), background var(--trans);
}

.step-card:hover {
    border-color: rgba(37,99,235,0.5);
    background: rgba(37,99,235,0.08);
}

.step-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(37,99,235,0.25);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--white);
    margin-bottom: 12px;
}

.step-text {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.step-arrow svg {
    width: 28px;
    height: 28px;
    stroke: rgba(37,99,235,0.5);
}


/* ═══════════════════════════════════════════════════════════════
   REQUIREMENTS
═══════════════════════════════════════════════════════════════ */
.section-requirements {
    padding: var(--section-pad) 0;
    background: var(--black);
    position: relative;
}

.section-requirements::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('slike/NTXTC6.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.06;
}

.requirements-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.req-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 20px 24px;
    transition: border-color var(--trans), background var(--trans);
}

.req-item:hover {
    border-color: rgba(37,99,235,0.35);
    background: rgba(37,99,235,0.04);
}

.req-check {
    width: 36px;
    height: 36px;
    background: rgba(37,99,235,0.15);
    border: 1px solid rgba(37,99,235,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.req-check svg {
    width: 16px;
    height: 16px;
    stroke: var(--blue-light);
}

.req-content h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--white);
    margin-bottom: 4px;
}

.req-content p {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.5;
}


/* ═══════════════════════════════════════════════════════════════
   FAQ  — uses native <details>/<summary>, no JS required
═══════════════════════════════════════════════════════════════ */
.section-faq {
    padding: var(--section-pad) 0;
    background: var(--dark);
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Remove browser default triangle */
details.faq-item summary { list-style: none; }
details.faq-item summary::-webkit-details-marker { display: none; }

.faq-item {
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    transition: border-color var(--trans), background var(--trans);
}

details.faq-item[open] {
    border-color: rgba(37,99,235,0.35);
    background: rgba(37,99,235,0.04);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    cursor: pointer;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    transition: color var(--trans);
    user-select: none;
}

.faq-question:hover { color: var(--blue-light); }
details.faq-item[open] .faq-question { color: var(--blue-light); }

.faq-icon {
    width: 28px;
    height: 28px;
    background: rgba(37,99,235,0.12);
    border: 1px solid rgba(37,99,235,0.22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--blue-light);
}

/* Show + when closed, show − when open */
.faq-plus  { display: block; }
.faq-minus { display: none; }
details.faq-item[open] .faq-plus  { display: none; }
details.faq-item[open] .faq-minus { display: block; }
details.faq-item[open] .faq-icon { background: rgba(37,99,235,0.22); }

.faq-answer {
    padding: 0 24px 22px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--gray-light);
    line-height: 1.75;
}


/* ═══════════════════════════════════════════════════════════════
   APPLY FORM
═══════════════════════════════════════════════════════════════ */
.section-apply {
    padding: var(--section-pad) 0;
    background: var(--dark-2);
    position: relative;
    overflow: hidden;
}

.section-apply::before {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(26,79,196,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.apply-inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
    position: relative;
}

.apply-perks {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
}

.apply-perks li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--gray-light);
}

.apply-perks svg {
    width: 18px;
    height: 18px;
    stroke: var(--blue-light);
    flex-shrink: 0;
}

.apply-form {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(37,99,235,0.2);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-light);
}

.req-star { color: var(--blue-light); }

.form-group input {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 13px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--white);
    outline: none;
    transition: border-color var(--trans), background var(--trans), box-shadow var(--trans);
}

.form-group input::placeholder { color: var(--metal); }

.form-group input:focus {
    border-color: rgba(37,99,235,0.6);
    background: rgba(37,99,235,0.05);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.form-consent {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: outline 0.2s;
}

.consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--blue);
    cursor: pointer;
}

.consent-text {
    font-size: 0.8rem;
    color: var(--gray);
    line-height: 1.5;
}

.privacy-link {
    font-size: 0.8rem;
    color: var(--blue-light);
    text-decoration: underline;
    padding-left: 30px;
    transition: color var(--trans);
}

.privacy-link:hover { color: var(--white); }

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: var(--blue);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 8px;
    transition: background var(--trans), box-shadow var(--trans), transform var(--trans);
}

.btn-submit:hover {
    background: var(--blue-light);
    box-shadow: 0 0 28px rgba(37,99,235,0.5);
    transform: translateY(-1px);
}

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 18px;
    background: rgba(37,99,235,0.1);
    border: 1px solid rgba(37,99,235,0.3);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--blue-light);
}

.form-success.show {
    display: flex;
}


/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--black);
    border-top: 1px solid rgba(37,99,235,0.15);
    padding: 64px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
}

.footer-logo {
    height: 96px;
    width: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px rgba(37,99,235,0.3));
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
    max-width: 300px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-col ul li a {
    font-size: 0.9rem;
    color: var(--gray);
    transition: color var(--trans);
}

.footer-col ul li a:hover { color: var(--blue-light); }

.footer-contact { gap: 14px; }

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray);
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    stroke: var(--blue-light);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--metal);
}


/* ── Late-defined base styles: responsive overrides must come last ── */

@media (max-width: 1024px) {
    /* Steps */
    .steps-grid            { flex-direction: column; }
    .steps-grid .step-card { flex: none; width: 100%; }
    .step-arrow            { transform: rotate(90deg); padding: 8px 0; align-self: center; }

    /* Fleet */
    .brand-header          { grid-template-columns: 1fr auto; padding: 18px 20px; }
    .brand-center          { display: none; }
    .brand-body            { padding: 0 20px 24px; }
    .brand-body--two       { grid-template-columns: 1fr; }

    /* Requirements */
    .requirements-inner    { grid-template-columns: 1fr; gap: 48px; }

    /* Apply */
    .apply-inner           { grid-template-columns: 1fr; gap: 40px; }

    /* Footer */
    .footer-inner          { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand          { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .apply-inner           { gap: 32px; }
    .form-row              { grid-template-columns: 1fr; gap: 16px; }
    .apply-form            { padding: 28px 20px; }
}

@media (max-width: 600px) {
    /* Steps */
    .step-card             { padding: 24px 20px; }
    .step-number           { font-size: 2.8rem; }

    /* Footer */
    .footer-inner          { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand          { grid-column: auto; }
    .footer-logo           { height: 72px; }
    .footer-bottom .container { flex-direction: column; text-align: center; gap: 4px; }
}
