﻿:root {
    --bg: #0b0f13;
    --bg-2: #0f141b;
    --panel: #141b23;
    --panel-2: #1a2430;
    --text: #eef2f6;
    --muted: #b3bcc7;
    --soft: #7f8b98;
    --accent: #7aa9ff;
    --accent-2: #d2d8df;
    --border: #243041;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --glow: 0 0 0 1px rgba(122, 169, 255, 0.3), 0 10px 30px rgba(122, 169, 255, 0.2);
}

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

body {
    font-family: "Manrope", "Sora", "Space Grotesk", "Segoe UI", sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: radial-gradient(1200px 600px at 10% -10%, rgba(122, 169, 255, 0.15), transparent 60%),
        radial-gradient(900px 500px at 90% 10%, rgba(210, 216, 223, 0.12), transparent 60%),
        linear-gradient(180deg, #0b0f13 0%, #0e131a 60%, #0b0f13 100%);
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

main ul {
    list-style: disc;
    padding-left: 22px;
    color: var(--muted);
}

main ul li {
    margin-bottom: 8px;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

main {
    padding: 32px 0 80px;
}

main > .container > * + * {
    margin-top: 32px;
}

h1 {
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 18px;
}

h2 {
    font-size: clamp(1.4rem, 2.4vw, 2.2rem);
    margin-bottom: 16px;
}

p {
    color: var(--muted);
}

.topbar {
    background: rgba(12, 18, 26, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.85rem;
    color: var(--muted);
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.topbar-contacts {
    display: flex;
    gap: 16px;
    align-items: center;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 14, 19, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.site-header.scrolled {
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 24px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
}

.desktop-nav ul {
    display: flex;
    gap: 24px;
}

.desktop-nav a {
    font-size: 0.95rem;
    color: var(--muted);
    position: relative;
    padding-bottom: 6px;
    transition: color 0.25s ease;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--text);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.mobile-menu-btn:hover {
    border-color: var(--accent);
    box-shadow: var(--glow);
}

.mobile-nav {
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(12, 18, 26, 0.98);
    padding: 18px 0;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    display: grid;
    gap: 14px;
    padding: 0 24px;
}

.mobile-actions {
    padding: 16px 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 420px;
    display: grid;
    align-items: center;
    padding: 56px;
    background-image: linear-gradient(120deg, rgba(6, 10, 15, 0.8), rgba(12, 18, 26, 0.35)),
        var(--hero-image, none);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
}

.hero-content {
    max-width: 680px;
}

.hero h1 {
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 18px;
}

.hero p {
    font-size: 1.1rem;
    max-width: 560px;
    color: var(--muted);
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-stats {
    display: flex;
    gap: 20px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero-stat {
    background: rgba(20, 27, 35, 0.7);
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 160px;
}

.hero-stat strong {
    display: block;
    font-size: 1.2rem;
}

.hero-stat span {
    display: block;
    margin-top: 4px;
    font-size: 0.85rem;
    color: var(--soft);
}

.section {
    margin-top: 64px;
}

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

.section-head h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
}

.section-head p {
    color: var(--muted);
    max-width: 520px;
}

.cars-grid,
.gallery-grid,
.reviews-grid,
.contacts-grid,
.about-gallery-grid {
    display: grid;
    gap: 24px;
}

.cars-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.car-card,
.review-card,
.gallery-card,
.contact-card,
.about-photo-card,
.accordion-item,
.map-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.car-card:hover,
.review-card:hover,
.gallery-card:hover,
.contact-card:hover,
.about-photo-card:hover,
.map-card:hover {
    transform: translateY(-6px);
    border-color: rgba(122, 169, 255, 0.4);
    box-shadow: var(--glow);
}

.car-image,
.gallery-img,
.photo-wrapper {
    height: 210px;
    overflow: hidden;
    background: var(--panel-2);
}

.car-image img,
.gallery-img img,
.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.car-card:hover .car-image img,
.gallery-card:hover img,
.about-photo-card:hover img {
    transform: scale(1.06);
}

.car-detail-image {
    width: 100%;
    height: 460px;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--panel-2);
    box-shadow: var(--shadow);
    margin: 24px 0;
}

.car-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.car-detail-image img:hover {
    transform: scale(1.04);
}

.car-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.car-card p {
    color: var(--muted);
}

.car-card {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.car-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    background: var(--panel-2);
    color: var(--text);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

.btn-primary {
    background: var(--accent);
    color: #0b0f13;
    border-color: transparent;
}

.btn-ghost {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
}

.btn-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--muted);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: var(--panel);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: table;
}

.specs-table th,
.specs-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.specs-table th {
    background: rgba(255, 255, 255, 0.03);
    font-weight: 600;
}

.accordion-header {
    padding: 18px 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

.accordion-header::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--accent);
}

.accordion-item.open .accordion-header::after {
    content: "-";
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.accordion-content ul,
.accordion-content p {
    padding: 12px 0 20px;
    color: var(--muted);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.03);
}

.review-name {
    font-size: 1.1rem;
    margin: 0;
}

.review-car {
    color: var(--soft);
    font-size: 0.9rem;
    margin-top: 4px;
}

.review-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.review-body {
    padding: 20px;
}

.review-text {
    color: var(--muted);
    margin-bottom: 14px;
}

.review-stars {
    color: #f3c969;
    letter-spacing: 3px;
}

.gallery-caption,
.photo-caption {
    padding: 16px;
    text-align: center;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.02);
}

.gallery-card {
    cursor: pointer;
}

.gallery-section {
    margin: 52px 0;
}

.gallery-img,
.photo-wrapper {
    height: 240px;
}

.brand-logo-img {
    width: 160px;
    height: 90px;
    object-fit: contain;
    margin: 8px auto 12px;
    display: block;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

.map-wrapper {
    width: 100%;
    height: 460px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-caption {
    text-align: center;
    padding: 16px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.02);
}

.contacts-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-card .card-header {
    padding: 16px 18px;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}

.contact-card .card-body {
    padding: 18px;
    color: var(--muted);
}

.contact-form {
    background: var(--panel);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 24px;
    box-shadow: var(--shadow);
}

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

input,
select,
textarea {
    background: var(--panel-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    color: var(--text);
    font-size: 0.95rem;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: var(--glow);
}

.site-footer {
    background: #0b0f13;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 48px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.footer-col h3 {
    font-size: 1.05rem;
    margin-bottom: 14px;
}

.footer-col ul {
    display: grid;
    gap: 8px;
    color: var(--muted);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--soft);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 18px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 100;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

.no-scroll {
    overflow: hidden;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-flex;
    }

    .hero {
        padding: 40px 32px;
    }
}

@media (max-width: 720px) {
    .topbar-content {
        flex-direction: column;
        gap: 6px;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .hero {
        min-height: 360px;
    }

    .hero-actions,
    .header-actions {
        flex-direction: column;
        width: 100%;
    }

    .car-detail-image,
    .map-wrapper {
        height: 300px;
    }

    .gallery-img,
    .photo-wrapper {
        height: 220px;
    }
}

/* =========================================================================
   Kenthautos - ajustes de marca y componentes del inventario
   ========================================================================= */

:root {
    --accent: #8ee138;
    --accent-ink: #0b0f13;
    --whatsapp: #25d366;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--accent);
    color: var(--accent-ink);
    padding: 10px 16px;
    z-index: 999;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* --- Cabecera / logo ---------------------------------------------------- */
.site-header .header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 24px;
    flex-wrap: wrap;
}

.logo-img {
    height: auto;
    width: auto;
    max-height: 52px;
    max-width: 210px;
    object-fit: contain;
    border-radius: 8px;
}

.site-footer .footer-logo {
    max-height: 46px;
    max-width: 190px;
    margin-bottom: 14px;
}

@media (max-width: 720px) {
    .logo-img { max-height: 40px; max-width: 160px; }
}

/* --- Botones ------------------------------------------------------------ */
.btn-primary {
    background: var(--accent);
    color: var(--accent-ink);
    border-color: var(--accent);
    font-weight: 700;
}
.btn-primary:hover { filter: brightness(1.08); }

.btn-whatsapp {
    background: var(--whatsapp);
    border-color: var(--whatsapp);
    color: #06210f;
    font-weight: 700;
}

.btn-block { display: block; width: 100%; text-align: center; }
.btn-sm { padding: 7px 12px; font-size: 0.86rem; }

/* --- Rejilla de vehiculos ----------------------------------------------- */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.car-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, border-color .18s ease;
}
.car-card:hover { transform: translateY(-3px); border-color: var(--accent); }

.car-card-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--panel-2);
}
.car-card-media img { width: 100%; height: 100%; object-fit: cover; }

.car-card-noimage {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--soft);
    font-size: 0.9rem;
}

.badge-featured {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 999px;
}

.car-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.car-card-title { font-size: 1.1rem; margin: 0; }
.car-card-title a:hover { color: var(--accent); }

.car-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent);
}
.car-price-lg { font-size: 2rem; margin-bottom: 18px; }

.car-card-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 0.86rem;
}
.car-card-specs li { display: flex; gap: 5px; margin: 0; }
.car-card-specs span { color: var(--soft); }
.car-card-specs strong { color: var(--text); font-weight: 600; }

.car-card-body .btn { margin-top: auto; }

/* --- Filtros ------------------------------------------------------------ */
.filters {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px;
}
.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
}
.filters-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.results-count { color: var(--soft); font-size: 0.92rem; }

/* --- Ficha del vehiculo -------------------------------------------------- */
.breadcrumb { font-size: 0.9rem; }
.breadcrumb a { color: var(--accent); }

.car-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
    gap: 32px;
    align-items: start;
}
@media (max-width: 900px) {
    .car-detail { grid-template-columns: 1fr; }
}

.car-detail-title { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 8px; }

.car-gallery-cover {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--panel-2);
    cursor: zoom-in;
    margin: 0;
}
.car-gallery-cover img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.car-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 10px;
    margin-top: 12px;
}
.car-gallery-thumbs figure {
    margin: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: var(--panel-2);
}
.car-gallery-thumbs figure.is-active { border-color: var(--accent); }
.car-gallery-thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.car-detail-side {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px;
    position: sticky;
    top: 20px;
}
@media (max-width: 900px) { .car-detail-side { position: static; } }

.specs-heading { font-size: 1.05rem; margin: 18px 0 10px; }

.specs-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.specs-table th,
.specs-table td {
    text-align: left;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.specs-table th { color: var(--soft); font-weight: 500; width: 46%; }

.car-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

.car-description { color: var(--muted); }

.section { margin-top: 40px; }
.section-action { margin-top: 20px; }
.lead { color: var(--muted); font-size: 1.05rem; }
.empty-state {
    background: var(--panel);
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: center;
    color: var(--soft);
}

/* --- Contacto ------------------------------------------------------------ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}
.contact-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
}
.contact-card-label { color: var(--soft); font-size: 0.82rem; text-transform: uppercase; letter-spacing: .05em; }
.contact-card-value { margin-top: 6px; font-weight: 600; }
.contact-card-value a:hover { color: var(--accent); }
.contact-car-ref { color: var(--muted); }

.alert {
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 16px;
    border: 1px solid transparent;
}
.alert-success { background: rgba(37, 211, 102, .12); border-color: rgba(37, 211, 102, .4); color: #b9f5cf; }
.alert-danger  { background: rgba(255, 107, 107, .12); border-color: rgba(255, 107, 107, .4); color: #ffc9c9; }
.alert-info    { background: rgba(122, 169, 255, .12); border-color: rgba(122, 169, 255, .4); color: #cfe0ff; }

/* --- Pie ---------------------------------------------------------------- */
.footer-label { color: var(--soft); }
.site-footer .footer-grid { gap: 28px; }
.site-footer ul li { margin-bottom: 6px; }
.site-footer a:hover { color: var(--accent); }

/* --- Lightbox ----------------------------------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.lightbox.active { display: flex; }
.lightbox-content { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 10px; }
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, .12);
    border: none;
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
}
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-counter {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: .9rem;
    opacity: .8;
}
.no-scroll { overflow: hidden; }

/* --- Correcciones responsive -------------------------------------------- */
html, body { max-width: 100%; overflow-x: hidden; }

.filters-grid,
.cars-grid,
.contact-grid,
.car-gallery-thumbs {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
}
.cars-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.car-gallery-thumbs { grid-template-columns: repeat(auto-fill, minmax(min(30%, 92px), 1fr)); }

@media (max-width: 720px) {
    .container { padding: 0 16px; }

    .site-header .header-content {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 10px;
    }
    .header-actions {
        flex-direction: row;
        width: auto;
        gap: 8px;
        align-items: center;
    }
    .header-actions .btn-sm { padding: 7px 10px; font-size: .8rem; }

    .filters-grid { grid-template-columns: 1fr; }
    .car-detail-side { padding: 18px; }
}

@media (max-width: 420px) {
    .header-actions .btn-primary { display: none; }
}

/* --- Contacto directo: llamada y WhatsApp -------------------------------- */
.btn-icon { width: 20px; height: 20px; flex-shrink: 0; }

.car-actions .btn { min-height: 52px; }
.car-actions .btn.btn-block { display: flex; }

/* Llamar: blanco con texto negro */
.btn-call {
    background: #fff;
    color: #0b0f13;
    border-color: #fff;
    font-weight: 700;
}
.btn-call:hover { background: #f1f4f7; color: #0b0f13; }

/* WhatsApp: mismo verde de marca que el boton principal, texto blanco */
.btn-wa {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
.btn-wa:hover { filter: brightness(1.08); color: #fff; }

/* Seccion de contacto de la portada */
.index-contact { scroll-margin-top: 96px; }
.index-contact .lead { margin-bottom: 18px; }
.index-contact-card {
    display: block;
    padding: 20px;
    transition: border-color .2s ease, transform .2s ease;
}
.index-contact-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.index-contact-card .contact-card-label { display: flex; align-items: center; gap: 8px; }
.index-contact-card .contact-card-label .btn-icon { color: var(--accent); }
.index-contact-card .contact-card-value { display: block; font-size: 1.3rem; color: var(--text); }

/* Pie: etiqueta encima del dato */
.site-footer .footer-label { display: block; font-size: .85rem; }
.site-footer ul li { margin-bottom: 10px; }
