/* =====================================================
   KAIYI ARGENTINA · Estilos generales
   ===================================================== */

/* ----- Variables ----- */
:root {
    --c-primary: #1F66C2;
    --c-primary-dark: #134C95;
    --c-dark: #0F1115;
    --c-text: #1A1A1A;
    --c-muted: #8A8F98;
    --c-line: #E1E4E9;
    --c-bg: #FFFFFF;
    --c-bg-soft: #F4F5F7;
    --c-bg-gray: #E5E7EB;
    --c-blue-soft: #2C7CD6;
    --c-yellow: #FFCC00;

    --header-h: 64px;
    --container: 1200px;

    --radius-s: 8px;
    --radius-m: 16px;
    --radius-l: 24px;
    --radius-xl: 32px;

    --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
    --shadow-md: 0 8px 24px rgba(0,0,0,.08);

    --font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.presentation-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-family);
    color: var(--c-text);
    background: var(--c-bg);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-primary); }
ul { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0 0 .6em; font-weight: 600; line-height: 1.2; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.container-fluid { width: 100%; }
.no-pad { padding: 0; }

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    z-index: 100;
    transition: background .3s, color .3s, box-shadow .3s;
    color: #fff;
}
.site-header.is-scrolled {
    background: #fff;
    color: var(--c-text);
    box-shadow: var(--shadow-sm);
}
.site-header.is-scrolled .logo-white { display: none; }
.site-header.is-scrolled .logo-black { display: block; }
.site-header .logo-black { display: none; }

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
}
.logo {
    flex-shrink: 0;
}
.logo img { height: 26px; width: auto; }

.main-nav { flex: 1; }
.main-nav > ul {
    display: flex;
    gap: 28px;
    justify-content: center;
}
.main-nav a {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 4px;
    position: relative;
    display: inline-block;
    transition: opacity .2s;
}
.main-nav a:hover, .main-nav a.is-active { opacity: 1; color: var(--c-primary); }
.main-nav .has-submenu { position: relative; }
.main-nav .submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: var(--c-text);
    min-width: 180px;
    padding: 8px 0;
    border-radius: var(--radius-s);
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}
.main-nav .submenu li a {
    display: block;
    padding: 8px 16px;
    color: var(--c-text);
}
.main-nav .has-submenu:hover .submenu {
    opacity: 1;
    pointer-events: auto;
}

.header-actions {
    display: flex;
    gap: 18px;
    align-items: center;
}
.btn-link {
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-link .icon { font-size: 13px; }
.btn-link-arrow { color: #C2261F; font-weight: 500; font-size: 13px; }

/* Overrides de color para el HEADER: los elementos azules pasan a rojo */
.site-header .btn-link,
.site-header .btn-link:hover,
.site-header .btn-link:focus,
.site-header .btn-link:visited {
    color: #C2261F;
}
.site-header .btn-link .icon { color: #C2261F; }
.site-header .main-nav a:hover,
.site-header .main-nav a.is-active {
    color: #C2261F;
}
.site-header.is-scrolled .btn-link,
.site-header.is-scrolled .btn-link:hover {
    color: #C2261F;
}

/* Botones primarios dentro del HERO (zona de cabecera visual): azul -> rojo */
.hero .btn-primary {
    background: #C2261F;
    border-color: #C2261F;
    color: #fff;
}
.hero .btn-primary:hover {
    background: #951A15;
    border-color: #951A15;
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 0;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px 4px;
    margin-left: auto;
}
.nav-toggle span {
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    display: block;
}

/* =====================================================
   BOTONES
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-s);
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s;
    line-height: 1;
}
.btn-primary {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary);
}
.btn-primary:hover { background: var(--c-primary-dark); color: #fff; }
.btn-outline {
    background: transparent;
    color: var(--c-text);
    border-color: var(--c-line);
}
.btn-outline:hover { background: var(--c-bg-soft); }
.btn-outline-dark {
    background: transparent;
    color: var(--c-dark);
    border-color: var(--c-dark);
}
.btn-outline-dark:hover { background: var(--c-dark); color: #fff; }
.btn-ghost {
    background: rgba(255,255,255,.08);
    color: #fff;
    border-color: rgba(255,255,255,.4);
    backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-ghost-dark {
    background: transparent;
    color: var(--c-text);
    border-color: var(--c-text);
}
.btn-ghost-dark:hover { background: var(--c-text); color: #fff; }
.btn-light {
    background: #fff;
    color: var(--c-text);
    border-color: #fff;
}
.btn-light:hover { background: var(--c-bg-soft); color: var(--c-text); }
.btn-red {
    background: #D7261E;
    color: #fff;
    border-color: #D7261E;
}
.btn-red:hover { background: #B71F18; color: #fff; border-color: #B71F18; }

/* =====================================================
   HERO
   ===================================================== */
.hero {
    position: relative;
    min-height: 90vh;
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
}
.hero-home { min-height: 100vh; }
.hero-banner { min-height: 60vh; padding-bottom: 40px; }

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%);
}
.hero-overlay-soft {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,.2) 100%);
}
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-top: var(--header-h);
}
.hero-content-left { text-align: left; }
.hero-content-right { text-align: right; }

.hero-eyebrow {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .15em;
    opacity: .9;
    margin-bottom: 14px;
}
.hero-title {
    font-size: clamp(40px, 6vw, 84px);
    line-height: 1;
    margin-bottom: 14px;
    font-weight: 700;
}
.hero-title-italic { font-style: italic; font-weight: 600; }
.hero-title-italic span { font-style: italic; }
.hero-title.dark { color: var(--c-dark); }
.hero-sub {
    font-size: clamp(15px, 1.4vw, 18px);
    max-width: 540px;
    margin-bottom: 28px;
    opacity: .95;
}
.hero-content-right .hero-sub { margin-left: auto; }
.hero-sub.dark { color: var(--c-text); }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}
.hero-content-right .hero-actions { justify-content: flex-end; }

.hero-gep {
    position: absolute;
    right: 24px;
    bottom: 24px;
    height: 36px;
    opacity: .9;
    z-index: 4;
}
.hero-banner .hero-gep { position: absolute; right: 24px; bottom: 24px; }

/* ----- Hero X3 (selector de modelos) ----- */
.hero-x3 { align-items: center; }
.hero-x3 .hero-overlay-soft {
    background:
        linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 40%),
        linear-gradient(270deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 52%);
}
.hero-model-tabs {
    position: absolute;
    top: calc(var(--header-h) + 16px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    background: rgba(18, 20, 24, .7);
    border-radius: 10px;
    overflow: hidden;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.hero-tab {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .6);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    padding: 9px 20px;
    cursor: pointer;
    transition: color .2s, background .2s;
}
.hero-tab + .hero-tab { border-left: 1px solid rgba(255, 255, 255, .15); }
.hero-tab:hover { color: #fff; }
.hero-tab.is-active {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    font-weight: 600;
}
.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 4;
    color: rgba(255, 255, 255, .85);
    display: flex;
    animation: heroScrollBounce 1.9s ease-in-out infinite;
}
@keyframes heroScrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(7px); }
}

/* =====================================================
   SECCIONES
   ===================================================== */
.section {
    padding: 80px 0;
}
.section-light { background: var(--c-bg-soft); }
.section-dark-soft { background: #1f2126; color: #fff; }

.section-title {
    font-size: clamp(28px, 3vw, 40px);
    color: var(--c-dark);
    margin-bottom: 14px;
}
.section-title.center { text-align: center; }
/* Títulos resaltados: recuadro rojo tipo botón en lugar de subrayado */
.underline,
.section-title.underline {
    display: table;
    text-decoration: none;
    background: #C2261F;
    color: #fff;
    padding: 10px 22px;
    border-radius: 8px;
    line-height: 1.25;
}
.section-title.center.underline { margin-left: auto; margin-right: auto; }
.section-sub {
    font-size: 16px;
    color: var(--c-muted);
    margin-bottom: 40px;
}
.section-sub.center { text-align: center; }
.section-sub-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}
.section-lead {
    font-size: clamp(18px, 1.8vw, 24px);
    line-height: 1.45;
    max-width: 820px;
    margin-bottom: 40px;
}
.section-lead .muted { color: var(--c-muted); }

/* =====================================================
   FILTRO MODELOS
   ===================================================== */
.filter-bar {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.filter-btn {
    background: transparent;
    border: 1px solid var(--c-line);
    color: var(--c-text);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    transition: all .2s;
}
.filter-btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.filter-btn.is-active {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
}

/* =====================================================
   GRID DE MODELOS
   ===================================================== */
.model-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.model-card {
    background: #fff;
    border-radius: var(--radius-l);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .3s, box-shadow .3s;
    display: flex;
    flex-direction: column;
}
.model-card.is-hidden { display: none; }
.model-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.model-card-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.model-card-img img { width: 100%; height: 100%; object-fit: cover; }
.model-card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.model-card h3 { font-size: 22px; margin-bottom: 4px; }
.model-spec { font-size: 13px; color: var(--c-muted); margin: 0 0 14px; }
.model-price-label { font-size: 12px; color: var(--c-muted); margin: 0; }
.model-price { font-size: 22px; font-weight: 700; margin: 0 0 16px; color: var(--c-dark); }
.model-features {
    font-size: 12px;
    color: var(--c-text);
    margin-bottom: 20px;
}
.model-features li { padding-left: 18px; position: relative; margin-bottom: 4px; }
.model-features li::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: var(--c-primary);
}
.model-card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}
.model-card-actions .btn {
    flex: 1;
    padding: 10px 14px;
    font-size: 12px;
}

/* Botón "Cotizá la tuya" dentro de las cards de modelo: azul -> rojo */
.model-card .btn-primary {
    background: #C2261F;
    border-color: #C2261F;
    color: #fff;
}
.model-card .btn-primary:hover {
    background: #951A15;
    border-color: #951A15;
    color: #fff;
}

/* =====================================================
   PRODUCT DETAIL (X3/X7)
   ===================================================== */
.product-detail {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    background: #fff;
    border-radius: var(--radius-l);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}
.product-title {
    font-size: 36px;
    margin-bottom: 16px;
}
.product-specs { margin-bottom: 16px; }
.product-specs li {
    padding-left: 18px;
    position: relative;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}
.product-specs li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--c-primary);
}
.product-price-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-muted);
    margin: 0 0 2px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.product-price {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}
.product-desc {
    font-size: 13px;
    color: var(--c-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}
.product-pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    font-size: 12px;
    color: var(--c-muted);
}
.arrow-btn {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid var(--c-line);
    background: #fff;
    font-size: 14px;
    color: var(--c-text);
    display: inline-flex; align-items: center; justify-content: center;
}
.arrow-btn:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

.product-gallery { position: relative; }
.product-image-stage {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--c-bg-gray);
    border-radius: var(--radius-m);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-image-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease-in, opacity .28s ease-in;
    will-change: transform, opacity;
}
/* Salida: el auto avanza hacia adelante (izquierda) y se desvanece */
.product-image-stage img.car-exit {
    opacity: 0;
    transform: translateX(-72px) scale(.99);
}
/* Entrada: estado inicial — el auto espera por detrás (derecha), sin transición */
.product-image-stage img.car-enter {
    opacity: 0;
    transform: translateX(72px) scale(.99);
    transition: none;
}
/* Entrada activa: el auto avanza hacia adelante hasta su posición */
.product-image-stage img.car-enter-active {
    opacity: 1;
    transform: translateX(0) scale(1);
    transition: transform .6s cubic-bezier(.16,.84,.44,1), opacity .5s ease-out;
}
.watermark {
    position: absolute;
    right: 12px;
    top: 8px;
    font-size: 220px;
    font-weight: 800;
    color: rgba(255,255,255,.6);
    pointer-events: none;
    z-index: 1;
    line-height: 1;
    font-style: italic;
}
/* Galería con PNG transparente (X7): el auto va delante y la marca de agua detrás */
.stage-png img {
    position: relative;
    z-index: 2;
}
.product-thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-top: 14px;
}
.thumb {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-s);
    overflow: hidden;
    border: 2px solid transparent;
    background: transparent;
    padding: 0;
    transition: border-color .2s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border-color: var(--c-primary); }
.product-colors {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-top: 8px;
    font-size: 11px;
    color: var(--c-muted);
    text-align: center;
}

/* =====================================================
   VIDEO FRAME
   ===================================================== */
.video-frame {
    position: relative;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #000;
}
.video-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .9;
}
.video-frame-dark { background: #0a0a0a; }
.play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    border: 0;
    font-size: 24px;
    color: var(--c-dark);
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.08); }

/* =====================================================
   FEATURES (cards con imagen + texto)
   ===================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.features-grid-x3 { grid-template-columns: repeat(4, 1fr); }
.feature-card {
    background: #fff;
    border-radius: var(--radius-l);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: row;
    gap: 0;
}
.feature-card img {
    width: 45%;
    height: 100%;
    min-height: 160px;
    object-fit: cover;
    flex-shrink: 0;
}
.feature-body {
    padding: 20px;
    flex: 1;
}
.feature-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--c-bg-soft);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 10px;
    font-size: 16px;
}
.feature-card h4 { font-size: 16px; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--c-muted); margin: 0; }
.feature-card-wide { grid-column: 1 / -1; height: 260px; }
/* Tarjetas de características con altura uniforme (X7) */
.features-grid-equal .feature-card { height: 228px; }
.feature-card-img-only {
    aspect-ratio: 4 / 3;
    background: var(--c-bg-gray);
}
.feature-card-img-only img { width: 100%; height: 100%; }

/* =====================================================
   INTERIOR GRID
   ===================================================== */
.interior-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 170px;
    gap: 16px;
}
.interior-img {
    overflow: hidden;
    border-radius: var(--radius-m);
    background: var(--c-bg-gray);
}
.interior-img.tall { grid-row: span 2; }
.interior-img img { width: 100%; height: 100%; object-fit: cover; }

/* =====================================================
   PLAN DE AHORRO
   ===================================================== */
.plan-section {
    position: relative;
    padding: 44px 0;
    color: #fff;
    overflow: hidden;
}
.plan-bg { position: absolute; inset: 0; z-index: 1; }
.plan-bg img { width: 100%; height: 100%; object-fit: cover; }
.plan-overlay {
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.3) 100%);
}
.plan-section .container { position: relative; z-index: 3; }
.plan-content { max-width: 760px; }
.plan-content h2 {
    font-size: clamp(30px, 4vw, 48px);
    margin-bottom: 20px;
}
.plan-content p {
    font-size: clamp(15px, 1.4vw, 18px);
    margin-bottom: 24px;
    line-height: 1.6;
}
.plan-icon {
    display: inline-flex;
    width: 44px; height: 44px;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    align-items: center; justify-content: center;
    margin-right: 8px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.3);
    font-weight: 700;
    vertical-align: middle;
    font-size: 18px;
}
/* Banner Plan de Ahorro con texto ampliado (novedades.html) */
.plan-section-lg .plan-content { max-width: 820px; }
.plan-section-lg .plan-content h2 { font-size: clamp(34px, 4.4vw, 52px); }
.plan-section-lg .plan-content p {
    font-size: clamp(18px, 1.7vw, 23px);
    line-height: 1.6;
}

/* =====================================================
   FINANCE GRID
   ===================================================== */
.finance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}
.finance-grid-2 {
    grid-template-columns: repeat(4, 1fr);
}
.finance-card {
    background: #fff;
    border-radius: var(--radius-l);
    overflow: hidden;
    min-height: 240px;
}
.finance-card img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.finance-info {
    padding: 30px;
    background: #fff;
}
.finance-icon {
    width: 44px; height: 44px;
    background: var(--c-bg-soft);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700;
    margin-bottom: 14px;
}
.finance-info h3 { font-size: 22px; margin-bottom: 14px; }
.finance-info ul { font-size: 14px; margin-bottom: 22px; }
.finance-info ul li {
    padding-left: 14px;
    position: relative;
    margin-bottom: 6px;
}
.finance-info ul li::before {
    content: "•";
    color: var(--c-primary);
    position: absolute; left: 0;
}
.finance-info-small {
    padding: 28px;
    background: #fff;
}
.finance-info-small h3 { font-size: 16px; margin-bottom: 10px; }
.finance-info-small p { font-size: 13px; color: var(--c-muted); margin-bottom: 14px; }

/* =====================================================
   DEALERS
   ===================================================== */
.dealer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.dealer-list {
    font-size: 15px;
    line-height: 2;
}
.dealer-list li {
    padding-left: 18px;
    position: relative;
    transition: opacity .2s;
}
.dealer-list li::before {
    content: "•";
    color: var(--c-primary);
    position: absolute; left: 0;
    top: 0;
}
.dealer-list li.is-dim { opacity: .35; }
.dealer-list a { color: var(--c-primary); }
.dealer-img {
    border-radius: var(--radius-l);
    overflow: hidden;
}
.dealer-img img { width: 100%; }

/* =====================================================
   DISCOVER GRID
   ===================================================== */
.discover-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.discover-card {
    border-radius: var(--radius-l);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    position: relative;
    background: var(--c-bg-gray);
}
.discover-img img { width: 100%; height: 100%; object-fit: cover; }
.discover-blue {
    background: var(--c-blue-soft);
    color: #fff;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.discover-gray {
    background: #B5BAC2;
    color: #fff;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-column: span 2;
    aspect-ratio: auto;
}
.discover-card h3 { font-size: 22px; margin-bottom: 8px; }
.discover-card p { font-size: 13px; opacity: .95; }
.discover-icon {
    width: 44px; height: 44px;
    background: rgba(255,255,255,.2);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
    backdrop-filter: blur(8px);
}
.discover-img-wide { grid-column: span 1; }

/* =====================================================
   NEWS (Novedades)
   ===================================================== */
.news-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 40px;
}
.news-main h3 { font-size: 26px; margin-bottom: 20px; }
.news-main p { font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.news-main p a { color: var(--c-primary); text-decoration: underline; }
.news-image {
    border-radius: var(--radius-l);
    overflow: hidden;
    margin: 24px 0;
}
.news-aside h4 { font-size: 16px; margin-bottom: 14px; }
.news-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--c-line);
}
.news-card img { width: 100%; height: 100%; min-height: 90px; object-fit: cover; border-radius: var(--radius-s); }
.news-card h5 { font-size: 14px; margin: 4px 0; }
.news-card p { font-size: 12px; color: var(--c-muted); margin: 0 0 6px; }
.news-date { font-size: 11px; color: var(--c-muted); }

/* =====================================================
   CONTACTO
   ===================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}
.contact-info img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-l);
}
.contact-info ul li {
    padding: 12px 0;
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid var(--c-line);
}
.ci-icon {
    width: 28px; height: 28px;
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--c-primary);
}
.contact-info .muted { color: var(--c-muted); font-size: 13px; }

.contact-form {
    background: #EDEFF3;
    padding: 32px;
    border-radius: var(--radius-l);
}
.contact-form h3 {
    font-size: 18px;
    margin-bottom: 20px;
}
.form-row { margin-bottom: 12px; }
.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-s);
    padding: 14px 16px;
    font-size: 14px;
    font-family: inherit;
    color: var(--c-text);
    transition: border-color .2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: 0;
    border-color: var(--c-primary);
}
.form-row select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%238a8f98' d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
}
.form-row-actions { display: flex; justify-content: flex-end; }
.form-message {
    margin-top: 12px;
    font-size: 13px;
    min-height: 18px;
    color: var(--c-primary);
}
.form-message.is-error { color: #d34141; }

/* =====================================================
   MAPA
   ===================================================== */
.map-container {
    width: 100%;
    background: var(--c-bg-gray);
    overflow: hidden;
}

/* =====================================================
   POSTVENTA
   ===================================================== */
.search-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 16px;
    background: #fff;
    padding: 14px;
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-sm);
    margin: 30px 0;
}
.search-field select {
    width: 100%;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-s);
    padding: 12px 38px 12px 14px;
    font-size: 13px;
    background: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%238a8f98' d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}
.btn-search { padding: 12px 24px; }

.partners {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    align-items: center;
}
.partners img {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}
.partner-label {
    background: var(--c-primary);
    color: #fff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
}
.partner-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--c-dark);
}

.postventa-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
}
.ypf-boxes .small { font-size: 12px; margin: 0; }
.ypf-boxes h3 { font-size: 24px; margin-bottom: 18px; }
.box-list { font-size: 15px; line-height: 2.1; }
.box-list li {
    padding-left: 14px;
    position: relative;
}
.box-list li::before {
    content: "•";
    color: var(--c-primary);
    position: absolute; left: 0;
}
.box-list a { color: var(--c-primary); }
.box-list a.is-active { font-weight: 700; }
.ypf-map { border-radius: var(--radius-l); overflow: hidden; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
    background: #F4F5F7;
    padding: 60px 0 0;
    color: var(--c-text);
    font-size: 13px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.6fr repeat(4, 1fr);
    gap: 40px;
}
.footer-brand p {
    font-size: 12px;
    color: var(--c-muted);
    line-height: 1.6;
    margin: 14px 0 20px;
}
.footer-logo { height: 32px; width: auto; margin-bottom: 8px; }
.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
    color: var(--c-muted);
    font-size: 12px;
}
.footer-col ul li a:hover { color: var(--c-text); }

/* Lista de redes sociales: ícono Instagram alineado */
.social-list li a {
    display: inline-flex;
    align-items: center;
}
.social-list li a svg {
    display: block;
    transition: color .2s;
}
.social-list li a:hover svg { color: var(--c-text); }
.footer-bottom {
    margin-top: 48px;
    background: #EAECF0;
    padding: 18px 0;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--c-muted);
}
.footer-gep { height: 56px; opacity: .85; filter: brightness(0); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    .header-actions { display: none; }
    .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .model-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid-x3 { grid-template-columns: repeat(2, 1fr); }
    .interior-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
    :root { --header-h: 56px; }

    .nav-toggle { display: flex; }

    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: #fff;
        color: var(--c-text);
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s;
        box-shadow: var(--shadow-md);
    }
    .main-nav.is-open { max-height: 80vh; }
    .main-nav > ul {
        flex-direction: column;
        gap: 0;
        padding: 12px 0;
    }
    .main-nav a { padding: 14px 24px; display: block; color: var(--c-text); }
    .main-nav .submenu {
        position: static;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        background: var(--c-bg-soft);
        box-shadow: none;
        border-radius: 0;
    }

    .site-header {
        background: rgba(0,0,0,.6);
        backdrop-filter: blur(10px);
    }

    .hero-content-right { text-align: left; }
    .hero-content-right .hero-actions { justify-content: flex-start; }
    .hero-content-right .hero-sub { margin-left: 0; }

    .model-grid { grid-template-columns: 1fr; }
    .product-detail { grid-template-columns: 1fr; padding: 24px; }
    .watermark { font-size: 140px; }
    .product-thumbs, .product-colors { grid-template-columns: repeat(3, 1fr); }
    .product-colors { font-size: 10px; }

    .features-grid { grid-template-columns: 1fr; }
    .features-grid-x3 { grid-template-columns: 1fr 1fr; }
    .feature-card-wide { grid-column: 1; }
    .interior-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }

    .finance-grid { grid-template-columns: 1fr; }
    .finance-grid-2 { grid-template-columns: 1fr; }

    .dealer-grid { grid-template-columns: 1fr; }
    .discover-grid { grid-template-columns: 1fr 1fr; }
    .discover-gray { grid-column: 1 / -1; }

    .news-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .search-bar { grid-template-columns: 1fr; }
    .postventa-grid { grid-template-columns: 1fr; }

    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }

    .section { padding: 60px 0; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { min-height: 80vh; padding-bottom: 48px; }
    .hero-actions .btn { flex: 1; }
    .feature-card { flex-direction: column; }
    .features-grid-equal .feature-card { height: auto; }
    .feature-card-wide { height: auto; }
    .feature-card img { width: 100%; min-height: 180px; }
    .discover-grid { grid-template-columns: 1fr; }
    .discover-gray { grid-column: 1; }
    .footer-inner { grid-template-columns: 1fr; }
}

/* =====================================================
   LIGHTBOX FICHA TÉCNICA (visor PDF)
   ===================================================== */
.pdf-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.pdf-lightbox.is-open { display: flex; }
.pdf-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .8);
    cursor: pointer;
}
.pdf-lightbox-dialog {
    position: relative;
    width: min(980px, 100%);
    height: min(92vh, 100%);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius-m);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
    animation: pdfLightboxIn .25s ease;
}
@keyframes pdfLightboxIn {
    from { opacity: 0; transform: translateY(18px) scale(.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.pdf-lightbox-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    padding: 12px 16px;
    background: var(--c-dark);
    color: #fff;
}
.pdf-lightbox-title {
    font-size: 14px;
    font-weight: 600;
    margin-right: auto;
}
.pdf-lightbox-download {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: var(--radius-s);
    transition: background .2s, border-color .2s;
}
.pdf-lightbox-download:hover {
    color: #fff;
    background: var(--c-primary);
    border-color: var(--c-primary);
}
.pdf-lightbox-close {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background .2s;
}
.pdf-lightbox-close:hover { background: var(--c-primary); }
.pdf-lightbox-body {
    flex: 1;
    min-height: 0;
    background: #525659;
}
.pdf-lightbox-frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
@media (max-width: 768px) {
    .pdf-lightbox { padding: 0; }
    .pdf-lightbox-dialog {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}
