/* ============================================================
   ROMERO TRUCKS — Styles
   Paleta: #0A1628 navy | #0F2B46 dark | #4A90E2 blue | #F4A91A gold
   ============================================================ */

:root {
    --navy:   #0A1628;
    --dark:   #0F2B46;
    --blue:   #4A90E2;
    --blue2:  #3a7bc8;
    --gold:   #F4A91A;
    --gold2:  #e09610;
    --white:  #ffffff;
    --gray:   #F4F6F9;
    --text:   #1a2332;
    --muted:  #6b7a90;
    --border: #dde4ee;
    --radius: 14px;
    --shadow: 0 4px 24px rgba(10,22,40,.10);
    --shadow-lg: 0 16px 48px rgba(10,22,40,.18);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ── SVG ICONS ── */
.icon       { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.icon-sm    { width: 16px; height: 16px; }
.icon-xs    { width: 13px; height: 13px; }
.icon-arrow { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .icon-arrow { transform: translateX(3px); }

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: inherit;
    font-size: .95em;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(74,144,226,.4);
}
.btn-primary:hover { background: var(--blue2); box-shadow: 0 8px 24px rgba(74,144,226,.5); }

.btn-ghost {
    background: rgba(255,255,255,.08);
    color: var(--white);
    border: 2px solid rgba(255,255,255,.25);
}
.btn-ghost:hover { background: rgba(255,255,255,.15); }

.btn-xl { padding: 15px 32px; font-size: 1em; border-radius: 12px; }

.btn-financing {
    background: var(--gold);
    color: var(--navy);
    font-size: 1.05em;
    padding: 16px 40px;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(244,169,26,.4);
    margin-top: 12px;
}
.btn-financing:hover { background: var(--gold2); box-shadow: 0 8px 32px rgba(244,169,26,.5); }

.btn-wa-big {
    display: block;
    width: 100%;
    background: #25D366;
    color: #fff;
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: .95em;
    margin-top: 18px;
    box-shadow: 0 4px 16px rgba(37,211,102,.3);
    transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-wa-big:hover { background: #1da851; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.4); }

.arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ── HEADER ───────────────────────────────────────────────── */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    padding: 0 20px;
    transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}

.header.scrolled {
    background: rgba(10,22,40,.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255,255,255,.06);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon-wrap { width: 36px; height: 36px; color: #4A90E2; display: flex; align-items: center; justify-content: center; }
.logo-icon-wrap svg { width: 100%; height: 100%; }

.logo-name {
    display: block;
    font-size: 1.1em;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -.3px;
}

.logo-tagline {
    display: block;
    font-size: .65em;
    color: var(--blue);
    font-weight: 500;
    margin-top: -2px;
}

.nav {
    display: flex;
    gap: 4px;
    margin-left: auto;
}

.nav a {
    color: rgba(255,255,255,.7);
    font-size: .88em;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 8px;
    transition: color .2s, background .2s;
}
.nav a:hover { color: var(--white); background: rgba(255,255,255,.08); }

.header-wa {
    background: #25D366;
    color: #fff;
    font-weight: 700;
    font-size: .82em;
    padding: 8px 16px;
    border-radius: 8px;
    white-space: nowrap;
    transition: background .2s, transform .2s;
}
.header-wa:hover { background: #1da851; transform: translateY(-1px); }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
}
.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--navy);
    overflow: hidden;
    padding: 100px 0 60px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(74,144,226,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74,144,226,.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 80%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(74,144,226,.14) 0%, transparent 65%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(244,169,26,.07) 0%, transparent 65%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-size: .82em;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 22px;
    animation: fadeUp .6s ease both;
}

.dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(74,222,128,.2);
    animation: ping 2s ease-in-out infinite;
}

@keyframes ping {
    0%, 100% { box-shadow: 0 0 0 3px rgba(74,222,128,.2); }
    50%       { box-shadow: 0 0 0 8px rgba(74,222,128,.0); }
}

.hero-title {
    font-size: clamp(2.6em, 6vw, 4.2em);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 22px;
    animation: fadeUp .6s .1s ease both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--blue) 0%, #7eb8f7 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1em;
    color: rgba(255,255,255,.6);
    max-width: 520px;
    margin-bottom: 36px;
    animation: fadeUp .6s .2s ease both;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 54px;
    animation: fadeUp .6s .3s ease both;
}

.hero-numbers {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeUp .6s .4s ease both;
}

.hero-num strong {
    display: block;
    font-size: 2em;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -1px;
}
.hero-num span { font-size: .78em; color: rgba(255,255,255,.45); font-weight: 500; }

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

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.3);
    font-size: .7em;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    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; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── BRANDS STRIP ─────────────────────────────────────────── */
.brands-strip {
    background: var(--dark);
    border-top: 1px solid rgba(74,144,226,.15);
    border-bottom: 1px solid rgba(74,144,226,.15);
    padding: 14px 0;
}

.brands-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.brands-label {
    font-size: .75em;
    font-weight: 600;
    color: rgba(255,255,255,.3);
    text-transform: uppercase;
    letter-spacing: .5px;
    white-space: nowrap;
}

.brands-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.brands-tags span {
    font-size: .78em;
    font-weight: 700;
    color: var(--blue);
    background: rgba(74,144,226,.1);
    border: 1px solid rgba(74,144,226,.25);
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: .3px;
}

/* ── SECTION COMMONS ──────────────────────────────────────── */
.section { padding: 80px 0; }

.section-label {
    font-size: .75em;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(1.8em, 4vw, 2.4em);
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -.5px;
    line-height: 1.15;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.section-sub { color: var(--muted); font-size: .9em; max-width: 340px; text-align: right; }

/* ── FILTERS ──────────────────────────────────────────────── */
.filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.filter-chip {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: .82em;
    font-weight: 700;
    font-family: inherit;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--muted);
    cursor: pointer;
    transition: all .2s;
}
.filter-chip:hover { border-color: var(--blue); color: var(--blue); }
.filter-chip.active { background: var(--dark); border-color: var(--dark); color: var(--white); }

/* ── TRUCK GRID ───────────────────────────────────────────── */
.trucks-section { background: var(--gray); }

.truck-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 22px;
}

/* Skeleton loader */
.skeleton-wrap {
    display: contents;
}

.skeleton-card {
    height: 380px;
    border-radius: var(--radius);
    background: linear-gradient(90deg, #e8ecf0 25%, #f2f5f7 50%, #e8ecf0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s ease-in-out infinite;
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Truck card */
.truck-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform .3s, box-shadow .3s;
    cursor: pointer;
    animation: fadeIn .4s ease both;
}

.truck-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.card-img-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #e8ecf0;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.truck-card:hover .card-img-wrap img { transform: scale(1.06); }

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(10,22,40,.8);
    color: var(--white);
    font-size: .7em;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: .5px;
    backdrop-filter: blur(6px);
}

.card-photos {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(10,22,40,.7);
    color: var(--white);
    font-size: .7em;
    padding: 3px 9px;
    border-radius: 6px;
    backdrop-filter: blur(6px);
}

.card-body { padding: 18px 20px 20px; }

.card-title {
    font-size: 1em;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.chip {
    font-size: .72em;
    font-weight: 600;
    color: var(--muted);
    background: var(--gray);
    padding: 3px 10px;
    border-radius: 6px;
}

.card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.card-price {
    font-size: 1.35em;
    font-weight: 900;
    color: var(--blue);
    letter-spacing: -.5px;
}

.card-cta {
    background: var(--gray);
    color: var(--dark);
    font-size: .78em;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s, color .2s;
    white-space: nowrap;
}
.card-cta:hover { background: var(--blue); color: var(--white); }

.no-results { grid-column: 1/-1; text-align: center; padding: 60px; color: var(--muted); font-size: 1em; }

/* ── FINANCIAMIENTO ───────────────────────────────────────── */
.financing-section {
    position: relative;
    background: var(--navy);
    padding: 100px 0;
    overflow: hidden;
    text-align: center;
}

.financing-bg { position: absolute; inset: 0; pointer-events: none; }

.financing-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: glowPulse 4s ease-in-out infinite;
}

.glow-1 {
    width: 500px; height: 500px;
    background: rgba(244,169,26,.12);
    top: -20%; left: -10%;
    animation-delay: 0s;
}

.glow-2 {
    width: 400px; height: 400px;
    background: rgba(74,144,226,.1);
    bottom: -20%; right: -10%;
    animation-delay: 2s;
}

@keyframes glowPulse {
    0%, 100% { opacity: .7; transform: scale(1); }
    50%       { opacity: 1;  transform: scale(1.15); }
}

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

.financing-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78em;
    font-weight: 700;
    color: var(--gold);
    background: rgba(244,169,26,.1);
    border: 1px solid rgba(244,169,26,.25);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1);    opacity: 1; }
    50%       { transform: scale(1.6); opacity: .6; }
}

.financing-title {
    display: flex;
    justify-content: center;
    gap: 0.3em;
    flex-wrap: wrap;
    font-size: clamp(3em, 9vw, 6.5em);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 24px;
}

.financing-word {
    display: inline-block;
    color: var(--white);
    opacity: 0;
    transform: translateY(40px) scale(.95);
    animation: wordReveal .7s ease forwards;
    animation-delay: calc(var(--i) * .2s + .3s);
}

.financing-word.accent {
    color: var(--gold);
    text-shadow: 0 0 60px rgba(244,169,26,.4);
}

@keyframes wordReveal {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.financing-sub {
    font-size: 1.05em;
    color: rgba(255,255,255,.5);
    max-width: 480px;
    margin: 0 auto 48px;
}

.financing-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.fin-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 28px 26px;
    width: 220px;
    text-align: center;
    backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp .6s ease forwards;
    animation-delay: var(--d);
    transition: background .2s, border-color .2s, transform .2s;
}

.fin-card:hover {
    background: rgba(244,169,26,.07);
    border-color: rgba(244,169,26,.2);
    transform: translateY(-4px);
}

.fin-icon { width: 48px; height: 48px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; background: rgba(244,169,26,.12); border-radius: 12px; color: var(--gold); }
.fin-icon svg { width: 26px; height: 26px; }

.fin-card h3 {
    font-size: .95em;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.fin-card p { font-size: .82em; color: rgba(255,255,255,.45); line-height: 1.5; }

/* ── CONTACT ──────────────────────────────────────────────── */
.contact-section { background: var(--white); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.contact-desc { color: var(--muted); margin: 16px 0 32px; font-size: .95em; max-width: 400px; }

.contact-list { display: flex; flex-direction: column; gap: 22px; }

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-icon {
    width: 42px;
    height: 42px;
    background: var(--gray);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--blue);
}
.contact-icon svg { width: 20px; height: 20px; }

.contact-row strong { display: block; font-size: .75em; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px; }
.contact-row a, .contact-row span { font-size: .95em; color: var(--dark); font-weight: 600; }
.contact-row a:hover { color: var(--blue); }

/* WhatsApp card */
.wa-card {
    background: var(--gray);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.wa-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.wa-avatar {
    width: 44px;
    height: 44px;
    background: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #4A90E2;
}
.wa-avatar svg { width: 22px; height: 22px; }

.wa-card-header strong { display: block; font-size: .95em; color: var(--dark); font-weight: 800; }
.wa-card-header span { font-size: .75em; color: #25D366; font-weight: 600; }

.wa-bubble {
    background: var(--white);
    border-radius: 12px 12px 12px 4px;
    padding: 14px 16px;
    font-size: .88em;
    color: var(--text);
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    position: relative;
}

.wa-bubble::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 16px;
    width: 0; height: 0;
    border-left: 8px solid transparent;
    border-right: 0;
    border-top: 8px solid var(--white);
    filter: drop-shadow(0 2px 2px rgba(0,0,0,.04));
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
    background: var(--navy);
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,.06);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9em;
    font-weight: 800;
    color: var(--white);
}
.footer-brand svg { width: 20px; height: 20px; color: var(--blue); }

.footer p { font-size: .8em; color: rgba(255,255,255,.3); }

.footer-admin { font-size: .75em; color: rgba(255,255,255,.2); transition: color .2s; }
.footer-admin:hover { color: rgba(255,255,255,.5); }

/* ── MODAL ────────────────────────────────────────────────── */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 500;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal.open { display: flex; }

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5,12,24,.75);
    backdrop-filter: blur(6px);
    animation: fadeIn .25s ease;
}

.modal-panel {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    width: 100%;
    max-width: 880px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 32px 80px rgba(0,0,0,.5);
    z-index: 1;
    animation: scaleIn .3s cubic-bezier(.34,1.56,.64,1);
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(.92); }
    to   { opacity: 1; transform: scale(1); }
}

.modal-close {
    position: absolute;
    top: 14px; right: 14px;
    z-index: 10;
    background: rgba(0,0,0,.08);
    border: none;
    width: 34px; height: 34px;
    border-radius: 50%;
    font-size: 1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.modal-close:hover { background: rgba(0,0,0,.16); }

/* Modal layout */
.modal-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
}

.modal-gallery {
    background: var(--navy);
    border-radius: 20px 0 0 20px;
    overflow: hidden;
}

.modal-main-img {
    height: 300px;
    overflow: hidden;
}
.modal-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .25s;
}

.modal-thumbs {
    display: flex;
    gap: 6px;
    padding: 10px;
    overflow-x: auto;
    background: rgba(255,255,255,.03);
}
.modal-thumbs::-webkit-scrollbar { height: 3px; }
.modal-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 2px; }

.modal-thumb {
    width: 64px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: .5;
    border: 2px solid transparent;
    flex-shrink: 0;
    transition: opacity .2s, border-color .2s;
}
.modal-thumb.active, .modal-thumb:hover { opacity: 1; border-color: var(--gold); }

.modal-info { padding: 28px 26px; overflow-y: auto; }

.modal-brand-badge {
    display: inline-block;
    background: var(--gray);
    color: var(--dark);
    font-size: .72em;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    letter-spacing: .5px;
}

.modal-title {
    font-size: 1.3em;
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -.3px;
    margin-bottom: 6px;
}

.modal-price {
    font-size: 1.8em;
    font-weight: 900;
    color: var(--blue);
    letter-spacing: -.5px;
    margin-bottom: 20px;
}

.modal-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: var(--gray);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 18px;
}

.spec-item span { display: block; font-size: .68em; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.spec-item strong { font-size: .88em; color: var(--dark); }

.modal-desc { margin-bottom: 20px; }
.modal-desc h4 { font-size: .72em; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.modal-desc p {
    font-size: .84em;
    color: #444;
    line-height: 1.75;
    max-height: 130px;
    overflow-y: auto;
    padding-right: 4px;
}
.modal-desc p::-webkit-scrollbar { width: 3px; }
.modal-desc p::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.modal-wa-btn {
    display: block;
    width: 100%;
    background: #25D366;
    color: #fff;
    text-align: center;
    padding: 13px;
    border-radius: 12px;
    font-weight: 700;
    font-size: .9em;
    box-shadow: 0 4px 16px rgba(37,211,102,.3);
    transition: background .2s, transform .2s;
}
.modal-wa-btn:hover { background: #1da851; transform: translateY(-1px); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
    .modal-layout { grid-template-columns: 1fr; }
    .modal-gallery { border-radius: 20px 20px 0 0; }
    .modal-main-img { height: 240px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .section-sub { text-align: left; }
}

@media (max-width: 768px) {
    .nav { display: none; flex-direction: column; padding: 16px; }
    .nav.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; background: rgba(10,22,40,.97); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.08); z-index: 100; }
    .nav a { padding: 12px 16px; border-radius: 8px; font-size: .95em; }
    .header-wa { display: none; }
    .burger { display: flex; }
    .hero { padding: 90px 0 60px; }
    .hero-title { font-size: 2.4em; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { text-align: center; justify-content: center; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .financing-title { font-size: clamp(2.4em, 11vw, 4em); }
    .financing-cards { gap: 14px; }
    .fin-card { width: 100%; max-width: 300px; }
    .truck-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-numbers { gap: 18px; }
    .hero-num strong { font-size: 1.6em; }
    .financing-title { font-size: 2.4em; letter-spacing: -1px; }
}
