/* ================================================================
   COADIG — Solución Automotriz
   Hoja de estilos principal — PHP / HTML5 / CSS puro
   Paleta oficial:
     Navy   #21234B  — primary dark
     Blue   #1C4A99  — mid blue, botones / links
     Cyan   #0E7EAB  — acento secundario
     Yellow #F6EC6E  — destacados / badges
     Orange #F59A07  — CTA principal
   Tipografía:
     Display : Josefin Sans
     Body    : Piazzolla (serif)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;600;700&family=Piazzolla:ital,wght@0,400;0,500;1,400&display=swap');

/* ── Variables ──────────────────────────────────────────────────── */
:root {
    /* Colores de marca */
    --navy:             #21234B;
    --navy-rgb:         33, 35, 75;
    --blue:             #1C4A99;
    --cyan:             #0E7EAB;
    --yellow:           #F6EC6E;
    --orange:           #F59A07;

    /* Texto sobre colores de marca */
    --navy-foreground:  #ffffff;
    --blue-foreground:  #ffffff;
    --cyan-foreground:  #ffffff;
    --yellow-foreground: #21234B;
    --orange-foreground: #1a1a2e;

    /* Superficies */
    --background:       #ffffff;
    --foreground:       #21234B;
    --surface:          #ffffff;
    --surface-muted:    #f8f8fc;
    --surface-navy:     #21234B;

    /* UI neutrales */
    --card-bg:          #ffffff;
    --border:           #e8e8f0;
    --muted:            #f4f4f8;
    --muted-foreground: #6b6b85;
    --secondary:        #f0f0f7;
    --secondary-foreground: #21234B;

    /* Tipografía */
    --font-display:     'Josefin Sans', ui-sans-serif, system-ui, sans-serif;
    --font-body:        'Piazzolla', ui-serif, Georgia, serif;

    /* Radio */
    --radius-sm:        0.25rem;
    --radius:           0.5rem;
    --radius-lg:        0.625rem;
    --radius-xl:        0.875rem;

    /* Sombras */
    --shadow-card:      0 1px 2px rgba(33,35,75,0.04), 0 4px 16px rgba(33,35,75,0.06);
    --shadow-card-hover: 0 2px 4px rgba(33,35,75,0.06), 0 12px 32px rgba(33,35,75,0.10);

    /* Layout */
    --max-width:        80rem;
    --header-height:    72px;
}

/* ── Reset & base ───────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-color: var(--border);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .font-display {
    font-family: var(--font-display);
    letter-spacing: -0.01em;
    line-height: 1.15;
}

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

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ── Utilidades generales ───────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}

/* Animación reveal */
@keyframes fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.reveal {
    animation: fade-up 0.7s ease-out both;
}

/* ── Tarjeta base ───────────────────────────────────────────────── */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: box-shadow 180ms ease, transform 180ms ease;
}

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

/* ── Badge ──────────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.375rem 0.75rem;
    font-family: var(--font-display);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.badge-yellow {
    background-color: var(--yellow);
    color: var(--yellow-foreground);
}

/* ── Botones ────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius);
    padding: 0.625rem 1.25rem;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
    white-space: nowrap;
}

.btn-orange {
    background-color: var(--orange);
    color: var(--orange-foreground);
    box-shadow: 0 2px 8px rgba(245,154,7,0.3);
}

.btn-orange:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(245,154,7,0.4);
}

.btn-navy {
    background-color: var(--navy);
    color: var(--navy-foreground);
}

.btn-navy:hover {
    background-color: var(--blue);
}

.btn-outline-navy {
    border: 1.5px solid rgba(33,35,75,0.3);
    background-color: transparent;
    color: var(--navy);
}

.btn-outline-navy:hover {
    background-color: var(--navy);
    color: var(--navy-foreground);
    border-color: var(--navy);
}

.btn-outline-white {
    border: 1.5px solid rgba(255,255,255,0.3);
    background-color: transparent;
    color: #ffffff;
}

.btn-outline-white:hover {
    border-color: rgba(255,255,255,0.5);
    background-color: rgba(255,255,255,0.1);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 0.875rem;
}

/* ── HEADER / NAVBAR ────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background-color: rgba(255,255,255,0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(232,232,240,0.6);
    height: var(--header-height);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    height: 100%;
}

/* Logo */
.site-logo img {
    height: 3rem;
    width: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .site-logo img {
        height: 3.5rem;
    }
}

/* Nav desktop */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(33,35,75,0.75);
    transition: color 150ms ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue);
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-agendar-header {
    display: none;
}

@media (min-width: 768px) {
    .btn-agendar-header {
        display: inline-flex;
    }
}

/* Hamburger */
.btn-hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    color: var(--navy);
    background: transparent;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .btn-hamburger {
        display: none;
    }
}

.btn-hamburger svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    border-top: 1px solid var(--border);
    background-color: var(--background);
}

.mobile-menu.open {
    display: block;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 1.5rem 1rem;
    max-width: var(--max-width);
    margin-inline: auto;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem;
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy);
    transition: background-color 150ms ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background-color: var(--secondary);
    color: var(--blue);
}

.mobile-menu .btn-orange {
    margin-top: 0.5rem;
    justify-content: center;
    padding: 0.875rem;
}

/* ── HERO ───────────────────────────────────────────────────────── */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(33,35,75,0.92) 0%, rgba(33,35,75,0.65) 50%, rgba(33,35,75,0.2) 100%);
}

.hero-content {
    padding-block: 7rem;
    max-width: 42rem;
}

@media (min-width: 768px) {
    .hero-content {
        padding-block: 10rem;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        padding-block: 12rem;
    }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(246,236,110,0.4);
    background-color: rgba(255,255,255,0.06);
    padding: 0.375rem 1rem;
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--yellow);
    backdrop-filter: blur(4px);
}

.hero-eyebrow-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background-color: var(--yellow);
    flex-shrink: 0;
}

.hero-title {
    margin-top: 1.5rem;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: #ffffff;
}

.hero-title-accent {
    color: var(--yellow);
}

.hero-desc {
    margin-top: 1.5rem;
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    max-width: 36rem;
}

.hero-actions {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-dots {
    margin-top: 2rem;
    display: flex;
    gap: 0.5rem;
}

.hero-dot {
    height: 0.375rem;
    border-radius: 9999px;
    background-color: rgba(255,255,255,0.4);
    width: 0.75rem;
    transition: width 200ms ease, background-color 200ms ease;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hero-dot.active {
    width: 2rem;
    background-color: var(--yellow);
}

/* ── SECCIÓN BUSCADOR ───────────────────────────────────────────── */
.section-search {
    background-color: var(--surface);
    padding-block: 3rem 4rem;
}

@media (min-width: 768px) {
    .section-search {
        padding-block: 4rem 5rem;
    }
}

.search-card {
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .search-card {
        padding: 2rem;
    }
}

.search-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .search-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.search-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
}

@media (min-width: 768px) {
    .search-title {
        font-size: 1.875rem;
    }
}

.search-subtitle {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.search-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .search-form {
        width: auto;
    }
}

.search-input-wrap {
    position: relative;
    flex: 1;
}

@media (min-width: 768px) {
    .search-input-wrap {
        width: 18rem;
    }
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    color: var(--muted-foreground);
    pointer-events: none;
}

.search-input {
    width: 100%;
    height: 2.75rem;
    padding: 0 0.75rem 0 2.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--background);
    font-size: 0.875rem;
    color: var(--foreground);
    outline: none;
    transition: border-color 150ms ease;
}

.search-input:focus {
    border-color: var(--blue);
}

.search-input::placeholder {
    color: var(--muted-foreground);
}

.quick-links {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.quick-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 9999px;
    background-color: var(--background);
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy);
    transition: border-color 150ms ease, background-color 150ms ease;
}

.quick-link:hover {
    border-color: var(--blue);
    background-color: var(--secondary);
}

.quick-link svg {
    width: 1rem;
    height: 1rem;
    color: var(--blue);
    flex-shrink: 0;
}

/* ── FRANJA CONFIANZA ───────────────────────────────────────────── */
.trust-strip {
    background-color: var(--navy);
    color: var(--navy-foreground);
    padding-block: 3.5rem 4rem;
}

@media (min-width: 768px) {
    .trust-strip {
        padding-block: 4rem;
    }
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.trust-number {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--yellow);
    line-height: 1;
}

.trust-label {
    margin-top: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
}

/* ── SECCIÓN GENÉRICA ───────────────────────────────────────────── */
.section {
    padding-block: 4rem;
}

@media (min-width: 768px) {
    .section {
        padding-block: 6rem;
    }
}

.section-bg-white  { background-color: var(--surface); }
.section-bg-muted  { background-color: var(--surface-muted); }
.section-bg-navy   { background-color: var(--navy); color: var(--navy-foreground); }

.section-header {
    margin-bottom: 2.5rem;
}

.section-eyebrow {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--blue);
}

.section-title {
    margin-top: 0.5rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--navy);
}

.section-desc {
    margin-top: 0.75rem;
    font-size: 1rem;
    color: var(--muted-foreground);
    max-width: 40rem;
}

.section-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.link-ver-mas {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    white-space: nowrap;
    transition: color 150ms ease;
}

.link-ver-mas:hover {
    color: var(--cyan);
}

.link-ver-mas svg {
    width: 1rem;
    height: 1rem;
}

/* ── GRIDS ──────────────────────────────────────────────────────── */
.grid-needs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .grid-needs {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-needs {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-brands {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .grid-brands {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .grid-brands {
        grid-template-columns: repeat(5, 1fr);
    }
}

.grid-featured {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .grid-featured {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-featured {
        grid-template-columns: repeat(4, 1fr);
    }
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ── TARJETA DE NECESIDAD ───────────────────────────────────────── */
.card-need {
    display: block;
    padding: 1.5rem;
    text-decoration: none;
}

.card-need:hover {
    border-color: rgba(28,74,153,0.4);
}

.card-need-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-xl);
    background-color: var(--secondary);
    color: var(--blue);
    transition: background-color 150ms ease, color 150ms ease;
    flex-shrink: 0;
}

.card-need:hover .card-need-icon {
    background-color: var(--blue);
    color: #ffffff;
}

.card-need-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.card-need-title {
    margin-top: 1.25rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
}

.card-need-desc {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.card-need-cta {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    transition: color 150ms ease;
}

.card-need:hover .card-need-cta {
    color: var(--cyan);
}

.card-need-cta svg {
    width: 0.875rem;
    height: 0.875rem;
    transition: transform 150ms ease;
}

.card-need:hover .card-need-cta svg {
    transform: translateX(2px);
}

/* ── TARJETA MARCA ──────────────────────────────────────────────── */
.card-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    padding: 1.5rem;
    color: var(--navy);
    text-decoration: none;
}

.card-brand:hover {
    border-color: rgba(28,74,153,0.4);
}

.brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 2.5rem;
    opacity: 0.85;
    transition: opacity 150ms ease;
}

@media (min-width: 768px) {
    .brand-logo-wrap {
        height: 3rem;
    }
}

.card-brand:hover .brand-logo-wrap {
    opacity: 1;
}

.brand-logo-wrap svg {
    height: 100%;
    width: auto;
}

.brand-logo-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: clamp(0.875rem, 1.5vw, 1.25rem);
    text-align: center;
    opacity: 0.85;
    transition: opacity 150ms ease;
}

.card-brand:hover .brand-logo-text {
    opacity: 1;
}

/* ── TARJETA VEHÍCULO ───────────────────────────────────────────── */
.card-vehicle {
    overflow: hidden;
}

.card-vehicle-img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: var(--secondary);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card-vehicle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.card-vehicle:hover .card-vehicle-img img {
    transform: scale(1.05);
}

.card-vehicle-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
}

.card-vehicle-body {
    padding: 1.5rem;
}

.card-vehicle-brand {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue);
}

.card-vehicle-name {
    margin-top: 0.25rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
}

.card-vehicle-price {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.card-vehicle-btn {
    margin-top: 1.25rem;
    width: 100%;
    padding: 0.625rem 1rem;
}

/* Tarjeta bono (aspecto 16/10) */
.card-bono .card-vehicle-img {
    aspect-ratio: 16 / 10;
}

/* ── TARJETA SERVICIO ───────────────────────────────────────────── */
.card-service {
    display: block;
    padding: 1.75rem;
    text-decoration: none;
}

.card-service:hover {
    border-color: rgba(14,126,171,0.4);
}

.card-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-xl);
    background-color: var(--secondary);
    color: var(--blue);
    transition: background-color 150ms ease, color 150ms ease;
}

.card-service:hover .card-service-icon {
    background-color: var(--cyan);
    color: #ffffff;
}

.card-service-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.card-service-title {
    margin-top: 1.25rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
}

.card-service-desc {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ── TARJETA SUCURSAL ───────────────────────────────────────────── */
.card-branch {
    padding: 1.75rem;
}

.card-branch-eyebrow {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--blue);
}

.card-branch-name {
    margin-top: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
}

.card-branch-info {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-branch-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--foreground);
}

.card-branch-row svg {
    width: 1rem;
    height: 1rem;
    margin-top: 0.125rem;
    color: var(--cyan);
    flex-shrink: 0;
}

.card-branch-muted {
    color: var(--muted-foreground);
}

.card-branch-hours {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.card-branch-link {
    margin-top: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--blue);
    transition: color 150ms ease;
}

.card-branch-link:hover {
    color: var(--cyan);
}

.card-branch-link svg {
    width: 1rem;
    height: 1rem;
}

/* ── PLACEHOLDER imagen vehículo ────────────────────────────────── */
.vehicle-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: var(--secondary);
    color: var(--muted-foreground);
    gap: 0.5rem;
    font-size: 0.75rem;
    font-family: var(--font-display);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.vehicle-placeholder svg {
    width: 2.5rem;
    height: 2.5rem;
    opacity: 0.4;
}

/* ── FOOTER ─────────────────────────────────────────────────────── */
.site-footer {
    background-color: var(--navy);
    color: var(--navy-foreground);
    padding-block: 4rem 2rem;
}

.footer-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
}

.footer-brand {
    grid-column: 1;
}

.footer-logo img {
    height: 3rem;
    width: auto;
    object-fit: contain;
}

.footer-tagline {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.footer-social {
    margin-top: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-social a {
    color: rgba(255,255,255,0.7);
    transition: color 150ms ease;
    display: inline-flex;
}

.footer-social a:hover {
    color: var(--yellow);
}

.footer-social svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-col-title {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--yellow);
}

.footer-links {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    transition: color 150ms ease;
}

.footer-link:hover {
    color: var(--yellow);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
}

.footer-contact-item svg {
    width: 1rem;
    height: 1rem;
    margin-top: 0.125rem;
    color: var(--cyan);
    flex-shrink: 0;
}

.footer-bottom {
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.6);
    transition: color 150ms ease;
}

.footer-bottom a:hover {
    color: var(--yellow);
}

.footer-desde {
    font-family: var(--font-display);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ── BOTÓN FLOTANTE WHATSAPP ────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 200;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background-color: #25D366;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4), 0 1px 4px rgba(0,0,0,0.15);
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

.whatsapp-float svg {
    width: 1.75rem;
    height: 1.75rem;
}

/* ── PÁGINAS INTERIORES ─────────────────────────────────────────── */
.page-hero {
    background-color: var(--navy);
    color: var(--navy-foreground);
    padding-block: 4rem;
}

@media (min-width: 768px) {
    .page-hero {
        padding-block: 5rem;
    }
}

.page-hero-eyebrow {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--yellow);
}

.page-hero-title {
    margin-top: 0.5rem;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
}

.page-hero-desc {
    margin-top: 1rem;
    font-size: 1.125rem;
    color: rgba(255,255,255,0.8);
    max-width: 40rem;
}

/* ── FORMS ──────────────────────────────────────────────────────── */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-label {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--navy);
}

.form-control {
    height: 2.75rem;
    padding: 0 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--background);
    font-size: 0.9375rem;
    color: var(--foreground);
    outline: none;
    transition: border-color 150ms ease;
    width: 100%;
}

.form-control:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(28,74,153,0.1);
}

textarea.form-control {
    height: auto;
    padding: 0.75rem 0.875rem;
    resize: vertical;
    min-height: 7rem;
}

.form-select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b85' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .form-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 2rem;
}

/* ── CONSENT ────────────────────────────────────────────────────── */
.consent-wrap {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.consent-wrap input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    accent-color: var(--blue);
}

.consent-text {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

/* ── ALERTA/MENSAJES ────────────────────────────────────────────── */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.alert-success {
    background-color: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}

.alert-error {
    background-color: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* ── EMPTY STATE ────────────────────────────────────────────────── */
.empty-state {
    padding-block: 5rem;
    text-align: center;
    color: var(--muted-foreground);
}

.empty-state svg {
    width: 3rem;
    height: 3rem;
    margin-inline: auto;
    opacity: 0.35;
}

.empty-state p {
    margin-top: 1rem;
    font-size: 0.9375rem;
}

/* ── PAGINACIÓN ─────────────────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    margin-top: 3rem;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--navy);
    background-color: var(--background);
    transition: background-color 150ms ease, border-color 150ms ease;
    text-decoration: none;
}

.page-btn:hover {
    background-color: var(--secondary);
    border-color: var(--blue);
}

.page-btn.active {
    background-color: var(--navy);
    border-color: var(--navy);
    color: #ffffff;
}

/* ── FILTROS ────────────────────────────────────────────────────── */
.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 10rem;
}

.filter-label {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-foreground);
}

/* ── SPECS TABLE ────────────────────────────────────────────────── */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.specs-table tr {
    border-bottom: 1px solid var(--border);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table th,
.specs-table td {
    padding: 0.75rem 1rem;
    text-align: left;
}

.specs-table th {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    background-color: var(--muted);
    width: 40%;
}

/* ── UTILITIES ──────────────────────────────────────────────────── */
.mt-2  { margin-top: 0.5rem; }
.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.gap-2 { gap: 0.5rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }

/* ── RESPONSIVE HELPERS ─────────────────────────────────────────── */
@media (max-width: 639px) {
    .hide-mobile { display: none !important; }
}
