:root {
    /* ========= BACKGROUNDS / SURFACES ========= */
    --color-bg-primary: #F7F8FA;
    --color-bg-secondary: #EEF1F5;
    --color-surface: #FFFFFF;

    /* ========= BORDERS / STROKES ========= */
    --color-stroke-1: #D9DEE5;
    --color-stroke-2: #DADDE3;

    /* ========= TEXT COLORS ========= */
    --color-text-heading: #1F2024;
    --color-text-secondary: #4A4D55;
    --color-text-muted: #7A808A;
    --color-text-disabled: #A6ABB4;

    /* ========= BRAND ========= */
    --color-brand-primary: #FF4B33;
    --color-brand-dark: #4D4D4D;
    --color-brand-light-active: #656B72;
    --color-brand-normal: #AEB5BC;
    --color-brand-hover: #FFFFFF;

    /* ========= TYPOGRAPHY ========= */
    --font-family-base: "Inter", Arial, sans-serif;

    --text-display-size: 42px;
    --text-display-weight: 700;
    --text-display-line: 1.2;

    --text-h1-size: 28px;
    --text-h1-weight: 700;
    --text-h1-line: 1.2;

    --text-h2-size: 22px;
    --text-h2-weight: 600;
    --text-h2-line: 1.3;

    --text-h3-size: 18px;
    --text-h3-weight: 600;
    --text-h3-line: 1.3;

    --text-body-primary-size: 16px;
    --text-body-primary-weight: 400;
    --text-body-primary-line: 1.5;

    --text-body-secondary-size: 14px;
    --text-body-secondary-weight: 400;
    --text-body-secondary-line: 1.5;

    /* ========= RADIUS ========= */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    /* ========= SHADOWS ========= */
    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.08);

    /* ========= LAYOUT ========= */
    --container-width: 1200px;
    --header-height: 80px;

    /* ========= SPACING ========= */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 80px;
    --space-10: 120px;

    /* ========= TRANSITIONS ========= */
    --transition-base: 0.2s ease;
}

[data-theme="dark"] {
    --color-bg-primary: #343541;
    --color-bg-secondary: #3B3E46;
    --color-surface: #1F2024;

    --color-stroke-1: #4A4D55;
    --color-stroke-2: #5A5E66;

    --color-text-heading: #F5F6F8;
    --color-text-secondary: #BCBBD3;
    --color-text-muted: #9AA0AA;
    --color-text-disabled: #6B7078;

    --color-brand-primary: #FF4B33;
    --color-brand-dark: #4D4D4D;
    --color-brand-light-active: #656B72;
    --color-brand-normal: #AEB5BC;
    --color-brand-hover: #FFFFFF;

    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.6);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.75);
}

/* ========= RESET ========= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
    font-size: var(--text-body-primary-size);
    font-weight: var(--text-body-primary-weight);
    line-height: var(--text-body-primary-line);
    background: var(--color-bg-primary);
    color: var(--color-text-heading);
}

.vehicle-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 100%;
    padding: 24px 16px;
    border-radius: 16px;
    background: #F3F5F7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.vehicle-image-placeholder__icon {
    width: 52px;
    height: 52px;
    opacity: 0.45;
}

.vehicle-image-placeholder__text {
    color: var(--color-text-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.vehicle-image-placeholder--detail {
    border-radius: 0;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

/* ========= LAYOUT ========= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 16px; /* 🔥 clave mobile */
}

.container-wide {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px; /* 🔥 clave mobile */
}

@media (min-width: 769px) {
    .internal-page-shell {
        width: calc(100% - 192px);
        max-width: none;
        padding: 0;
        margin-left: auto;
        margin-right: auto;
    }
}

.section {
    padding: var(--space-9) 0;
}

.section-alt {
    background: var(--color-bg-secondary);
}

/* ========= TYPOGRAPHY UTILITIES ========= */
.text-display {
    font-size: var(--text-display-size);
    font-weight: var(--text-display-weight);
    line-height: var(--text-display-line);
    color: var(--color-text-heading);
}

.text-h1 {
    font-size: var(--text-h1-size);
    font-weight: var(--text-h1-weight);
    line-height: var(--text-h1-line);
    color: var(--color-text-heading);
}

.text-h2 {
    font-size: var(--text-h2-size);
    font-weight: var(--text-h2-weight);
    line-height: var(--text-h2-line);
    color: var(--color-text-heading);
}

.text-h3 {
    font-size: var(--text-h3-size);
    font-weight: var(--text-h3-weight);
    line-height: var(--text-h3-line);
    color: var(--color-text-heading);
}

.text-body {
    font-size: var(--text-body-primary-size);
    font-weight: var(--text-body-primary-weight);
    line-height: var(--text-body-primary-line);
    color: var(--color-text-secondary);
}

.text-body-secondary {
    font-size: var(--text-body-secondary-size);
    font-weight: var(--text-body-secondary-weight);
    line-height: var(--text-body-secondary-line);
    color: var(--color-text-muted);
}

/* ========= DEFAULT HTML TYPOGRAPHY ========= */
h1 {
    font-size: var(--text-h1-size);
    font-weight: var(--text-h1-weight);
    line-height: var(--text-h1-line);
    color: var(--color-text-heading);
}

h2 {
    font-size: var(--text-h2-size);
    font-weight: var(--text-h2-weight);
    line-height: var(--text-h2-line);
    color: var(--color-text-heading);
}

h3 {
    font-size: var(--text-h3-size);
    font-weight: var(--text-h3-weight);
    line-height: var(--text-h3-line);
    color: var(--color-text-heading);
}

p {
    font-size: var(--text-body-primary-size);
    font-weight: var(--text-body-primary-weight);
    line-height: var(--text-body-primary-line);
    color: var(--color-text-secondary);
}

/* ========= HEADER ========= */
.site-header {
    background: var(--color-bg-primary);
    border-bottom: 1px solid var(--color-stroke-2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.header-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.header-logo img {
    width: 149px;
    height: auto;
    object-fit: contain;
    display: block;
}

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

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: var(--color-text-heading);
    background: transparent;
    transition:
        background var(--transition-base),
        color var(--transition-base),
        transform var(--transition-base);
}

.nav-link:hover,
.nav-link-active {
    background: var(--color-brand-primary);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.nav-link:hover .nav-icon,
.nav-link-active .nav-icon {
    color: #FFFFFF;
}

.nav-link-search {
    gap: 6px;
}

.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-heading);
    flex-shrink: 0;
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-icon-btn {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--color-bg-primary);
    color: var(--color-text-heading);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition:
        background var(--transition-base),
        color var(--transition-base),
        transform var(--transition-base);
}

.header-icon-btn:hover {
    background: var(--color-brand-primary);
    transform: translateY(-1px);
    color: white; /* 🔥 cambia el icono automáticamente */
}

.header-location-btn img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0);
    transition: filter 0.2s ease;
}

.header-location-btn:hover img {
    filter: brightness(0) invert(1);
}

/* 🔥 ICONO TELÉFONO */
.phone-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0); /* negro base */
    transition: filter 0.2s ease;
}

/* 🔥 HOVER → BLANCO */
.phone-btn:hover img {
    filter: brightness(0) invert(1);
}

/* ========= MAIN ========= */
main {
    min-height: calc(100vh - 140px);
}

.home-hero-section {
    padding: 0;
}

.home-hero {
    width: 100%;
    min-height: 600px;
    overflow: hidden;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28)),
        url("/static/images/dealer.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.home-hero .container {
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-hero-content {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    min-height: 576px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    text-align: center;
}

.home-hero-copy {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.home-hero-title {
    margin: 0 auto;
    font-size: 42px;
    font-weight: 600;
    line-height: 1.2;
    color: #FFFFFF;
    text-align: center;
}

.home-hero-subtitle {
    width: 100%;
    max-width: 303px;
    margin: 0 auto;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    color: #FFFFFF;
    text-align: center;
}

.home-hero-search {
    width: 100%;
    max-width: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.home-hero-search-input-wrap {
    flex: 1 1 520px;
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.home-hero-search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #656B72;
    flex-shrink: 0;
}

.home-hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: #1F2024;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.home-hero-search-input::placeholder {
    color: #7A808A;
}

.home-hero-search-btn {
    min-width: 140px;
    min-height: 52px;
}
/* 📞 WRAPPER */
.header-location-wrapper,
.phone-wrapper {
    position: relative;
}

.header-location-wrapper {
    display: inline-flex;
    align-items: center;
}

.header-location-popover,
.phone-popup {
    position: absolute;
    right: 0;
    background: #FFFFFF;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: all 0.2s ease;
}

.phone-popup {
    top: 50px;
}

/* 📞 POPUP */
.phone-popup {
    min-width: 180px; /* 👈 ancho mínimo */
    padding: 18px 20px; /* 👈 más aire */

    display: flex;
    flex-direction: column;
    gap: 10px; /* 👈 espacio entre textos */
}

.header-location-popover {
    top: calc(100% + 10px);
    width: 340px;
    padding: 12px;
}

.header-location-actions {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.header-location-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text-heading);
    text-decoration: none;
    background: #F4F6F8;
    transition: background var(--transition-base), color var(--transition-base);
}

.header-location-action-link:hover,
.header-location-action-link:focus-visible {
    color: #FFFFFF;
    background: var(--color-brand-primary);
}

.header-location-map-wrap {
    position: relative;
    width: 100%;
}

.header-location-map {
    width: 100%;
    height: 240px;
    border: 0;
    border-radius: 14px;
    display: block;
    background: #F7F8FA;
}

.header-location-map-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    border-radius: 14px;
    outline: none;
    box-shadow: none;
}

.header-location-address {
    margin-top: 10px;
    color: var(--color-text-heading);
}

.header-location-popover,
.header-location-map-wrap,
.header-location-map,
.header-location-map-overlay {
    outline: none;
}

.header-location-map-overlay:focus,
.header-location-map-overlay:hover,
.header-location-map-overlay:active {
    outline: none;
    box-shadow: none;
}

.header-location-map-overlay:focus-visible {
    outline: 2px solid var(--color-brand-primary);
    outline-offset: -2px;
}

/* 🔥 TEXTO */
.phone-popup span {
    font-size: 12px;
    color: var(--color-text-muted);
}

.phone-popup a {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

/* 🔥 SHOW */
.header-location-wrapper.is-open .header-location-popover,
.phone-wrapper.is-open .phone-popup,
.phone-wrapper:hover .phone-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
/* 🔥 ICONOS HEADER (MISMO TAMAÑO) */
.header-icon-btn img,
.header-icon-btn svg {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

@media (max-width: 768px) {

    .header-location-popover {
        position: fixed;
        top: 76px;
        left: 16px;
        right: 16px;
        width: calc(100vw - 32px);
        max-width: none;
        transform: none;
        z-index: 9999;
    }

    .header-location-map-wrap,
    .header-location-map,
    .header-location-map-overlay {
        width: 100%;
        max-width: 100%;
    }

    .header-location-map-wrap {
        overflow: hidden;
        border-radius: 14px;
    }

    .header-location-map {
        height: 240px;
    }

    .header-location-map-overlay {
        height: 240px;
    }

    .header-location-actions {
        display: flex;
    }

    .header-location-wrapper:hover .header-location-popover {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .header-location-wrapper.is-open .header-location-popover {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .header-location-wrapper:active .header-location-popover,
    .phone-wrapper:active .phone-popup {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

   
    .home-hero-search {
        max-width: 100%;
        gap: 10px;
    }

    .home-hero-search-input-wrap {
        flex-basis: 100%;
        min-height: 50px;
    }

    .home-hero-search-btn {
        width: 100%;
        min-height: 48px;
    }
}

.home-hero-actions {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.home-hero-btn {
    width: 260px;
    min-height: 40px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .home-hero,
    .home-hero .container {
        min-height: 520px;
    }

    .home-hero-content {
        min-height: 520px;
        gap: 28px;
        padding: 32px 20px;
    }

    .home-hero-title {
        font-size: 34px;
    }

    .home-hero-actions {
        gap: 12px;
    }

    .home-hero-btn {
        width: 100%;
        max-width: 320px;
    }
}

/* ========= BUTTONS ========= */
.btn-primary,
.btn-secondary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 14px 22px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition:
        background var(--transition-base),
        color var(--transition-base),
        border-color var(--transition-base),
        transform var(--transition-base);
}

.btn-primary {
    background: var(--color-brand-primary);
    color: #FFFFFF;
    border: 1px solid var(--color-brand-primary);
}

.btn-primary:hover {
    background: #B33522;
    border-color: #B33522;
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-text-heading);
    border: 1px solid var(--color-stroke-2);
}

.btn-secondary:hover {
    border-color: var(--color-stroke-1);
    transform: translateY(-1px);
}

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

.btn-ghost:hover {
    color: var(--color-text-heading);
    background: var(--color-bg-secondary);
}

/* ========= CARDS ========= */
.card {
    background: var(--color-surface);
    border: 1px solid var(--color-stroke-2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.card-body {
    padding: var(--space-5);
}

.card:hover {
    box-shadow: var(--shadow-hover);
}

/* ========= FOOTER ========= */
.site-footer {
    background: #4B4E55;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 48px 0 40px;
    margin-top: 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 56px;
    align-items: start;
}

@media (min-width: 769px) {
    .site-header .container-wide.header-container,
    .site-footer .container-wide.footer-container {
        width: calc(100% - 192px);
        max-width: none;
        padding: 0;
    }
}

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

.footer-about {
    max-width: 320px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #FFFFFF;
    margin: 0 0 6px;
}

.footer-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.75;
    color: #C9CDD3;
    margin: 0;
}

.header-location-popover .header-location-address {
    margin-top: 10px;
    color: var(--color-text-heading);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a,
.footer-link-plain {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    color: #C9CDD3;
    transition: color var(--transition-base), transform var(--transition-base);
}

.footer-links a:hover,
.footer-link-plain:hover {
    color: #FF4B33;
    transform: translateX(2px);
}

.footer-contact {
    gap: 14px;
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 36px 0 32px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-about {
        max-width: 100%;
    }
}

/* ========= SIMPLE UTILITIES ========= */
.bg-surface {
    background: var(--color-surface);
}

.bg-alt {
    background: var(--color-bg-secondary);
}

.text-heading {
    color: var(--color-text-heading);
}

.text-secondary {
    color: var(--color-text-secondary);
}

.text-muted {
    color: var(--color-text-muted);
}

.text-center {
    text-align: center;
}
/* ===== MENU OVERLAY ===== */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}
/* ===== SIDE MENU ===== */
.side-menu {
    position: fixed;
    top: 0;
    right: -420px;
    width: 380px;
    height: 100%;
    background: #FFFFFF;

    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;

    transition: right 0.25s ease;
    z-index: 1000;
}

.side-menu.active {
    right: 0;
}

/* HEADER */
.side-menu__title {
    font-size: 20px;
    font-weight: 600;
}

.side-menu__close {
    border: none;
    background: none;
    font-size: 18px;
    cursor: pointer;
}

/* ===== SIGN IN (MENOS REDONDO) ===== */
.side-menu__signin {
    border: 1px solid #E1E4E8;
    border-radius: 8px; /* 🔥 menos radio */
    padding: 10px;
    text-align: center;
    font-weight: 500;
    background: #FFFFFF;
    display: none;
}

/* ===== CARDS ===== */
.side-menu__card {
    border: 1px solid #E1E4E8;
    border-radius: 12px; /* 🔥 menos redondo */
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ===== BOTONES NARANJA ===== */
.side-menu__card-btn {
    margin-top: 10px;
    background: #FF4B33; /* 🔥 TU NARANJA */
    color: #FFFFFF;
    border-radius: 8px; /* 🔥 menos redondo */
    padding: 10px;
    text-align: center;
    font-weight: 500;
    transition: background 0.2s ease;
}

.side-menu__card-btn:hover {
    background: #E43D2B; /* 🔥 hover */
}

/* ===== LINKS ABAJO ===== */
.side-menu__links {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.side-menu__links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

/* 🔥 HOVER NARANJA */
.side-menu__links a:hover {
    color: #FF4B33;
}
/* ===== MAIN NAV BUTTONS ===== */
.side-menu__main-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
    display: none;
}

.side-menu__main-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 12px;
    border-radius: 10px;

    background: #FF4B33;
    border: 1px solid #E1E4E8;

    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;

    transition: all 0.2s ease;
}

.side-menu__main-btn:hover {
    background: #E43D2B;
    color: #FFFFFF;
    border-color: #E43D2B;
    transform: translateY(-1px);
}
/* ========= GLOBAL MOBILE FIX ========= */
@media (max-width: 768px) {
  
    .side-menu__main-links {
        display: flex;
        flex-direction: column;
    }
    .side-menu {
        width: 100%;
        right: -100%;
    }
    .floating-cta {
        position: fixed;
        right: 20px;
        bottom: 24px !important;
        z-index: 9999;
    }

    body.chat-open .floating-cta {
        display: none;
    }

    body.vehicle-detail-page .floating-cta {
        bottom: 110px !important;
    }
    /* HEADER */
    .header-container {
        gap: 12px;
    }

    .header-nav {
        display: none; /* 🔥 clave */
    }

    .header-logo img {
        width: 120px;
    }

    .phone-popup {
        min-width: 210px;
    }

    /* HERO */
    .home-hero,
    .home-hero .container {
        min-height: auto; /* 🔥 evita overflow */
    }

    .home-hero-content {
        min-height: auto;
        padding: 32px 16px;
        gap: 20px;
    }

    .home-hero-title {
        font-size: 28px;
    }

    .home-hero-subtitle {
        font-size: 14px;
        max-width: 100%;
    }

    /* SEARCH */
    .home-hero-search {
        flex-direction: column;
        gap: 10px;
    }

    .home-hero-search-input-wrap {
        flex: 1 1 100%;
        width: 100%;
    }

    .home-hero-search-btn {
        width: 100%;
    }

    /* BUTTONS */
    .home-hero-actions {
        flex-direction: column;
        gap: 10px;
    }

    .home-hero-btn {
        width: 100%;
        max-width: none;
    }

}
/* ========= MOBILE FIXES ========= */

/* evita scroll horizontal feo */
body {
    overflow-x: hidden;
}

/* side menu full screen en mobile */
@media (max-width: 480px) {

    .side-menu {
        width: 100%;
        right: -100%;
    }

}
@media (max-width: 768px) {

    .header-logo img {
        width: 110px;
    }

    .header-icon-btn {
        width: 32px;
        height: 32px;
    }

}
/* 🔥 FLOATING CTA GLOBAL */
.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
}

.floating-cta-btn {
    width: 60px;
    height: 60px;

    background: #FF4B33;
    color: #fff;
    border: none;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    text-decoration: none;

    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    transition:
        background var(--transition-base),
        box-shadow var(--transition-base);
}

.floating-cta-btn:hover {
    background: #E43D2B;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.floating-cta-btn svg {
    fill: white;
}

.chat-popout-panel {
    position: fixed;
    right: 24px;
    bottom: 96px;
    z-index: 1999;
    width: min(420px, calc(100vw - 32px));
    height: min(720px, calc(100vh - 140px));
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 18px;
    box-shadow: none;
    display: none;
    overflow: visible;
}

.chat-popout-panel.is-open {
    display: block;
}

.chat-popout-content {
    width: 100%;
    height: 100%;
}

.chat-popout-frame {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 20px 52px rgba(17, 24, 39, 0.18);
}

.chat-popout-close {
    display: none;
}

.chat-popout-title {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.2;
}

.chat-popout-text {
    margin: 0 0 16px;
    color: #4B5563;
}

.chat-popout-form {
    display: grid;
    gap: 12px;
}

.chat-popout-input {
    width: 100%;
    min-height: 112px;
    padding: 14px 16px;
    border: 1px solid #E6E8EC;
    border-radius: 14px;
    resize: vertical;
    font: inherit;
    color: #111827;
    background: #fff;
}

.chat-popout-send {
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    background: #FF5722;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 768px) {
    .chat-popout-panel {
        width: calc(100% - 32px);
        height: min(78vh, 720px);
        left: 16px;
        right: 16px;
        bottom: 96px;
    }

    .chat-popout-frame {
        border-radius: 16px;
    }
}
/* 🔥 FIX BOTONES MOBILE */
@media (max-width: 768px) {
}
