/* ═══════════════════════════════════════════════════════════
   ALTHIA LIMO — flota.css
   Estilos específicos de flota/flota.html
   Depende de ../style.css
═══════════════════════════════════════════════════════════ */


/* ── BREADCRUMB EN HEADER ────────────────────────────────── */
.header-breadcrumb {
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(4px);
    border-top: 1px solid rgba(255,255,255,0.08);
    transition: background 0.4s;
}
#header.scrolled .header-breadcrumb {
    background: rgba(240,236,228,0.97);
    border-top: 1px solid var(--cream);
}
.header-breadcrumb-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0.4rem var(--gutter);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.5);
}
.header-breadcrumb-inner a {
    color: rgba(255,255,255,0.5);
    transition: color 0.25s;
}
.header-breadcrumb-inner a:hover { color: var(--gold-light); }
.header-breadcrumb-inner span:last-child { color: var(--gold-light); }
#header.scrolled .header-breadcrumb-inner,
#header.scrolled .header-breadcrumb-inner a { color: var(--text-light); }
#header.scrolled .header-breadcrumb-inner span:last-child { color: var(--gold); }


/* ── HERO COMPACTO ───────────────────────────────────────── */
#hero-flota {
    position: relative;
    height: 42vh;
    min-height: 300px;
    display: flex;
    align-items: flex-start;
    background:
        url('https://files.cdn-files-a.com/uploads/6799335/2000_69c2eae26f719.jpg')
        center 35% / cover no-repeat;
    overflow: hidden;
}
.hero-flota-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.75) 100%);
}
.hero-flota-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 100px var(--gutter) 3rem;
}
.hero-flota-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--white);
    font-weight: 300;
    margin-bottom: 0.8rem;
    animation: fadeUp 0.8s var(--ease) 0.2s both;
}
.hero-flota-sub {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    max-width: 500px;
    line-height: 1.85;
    font-weight: 300;
    animation: fadeUp 0.8s var(--ease) 0.4s both;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ── SECCIONES DE VEHÍCULO ───────────────────────────────── */
.vehiculo {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
    background: var(--white);
}
.vehiculo.alt {
    background: var(--white-2);
}

.vehiculo-inner { }

.vehiculo-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--cream);
}
.vehiculo-header .eyebrow { margin-bottom: 0.4rem; }
.vehiculo-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--black);
    font-weight: 300;
}
.vehiculo-header h2 em {
    font-style: italic;
    color: var(--gold);
}

.vehiculo-body {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}


/* ── CARRUSEL ────────────────────────────────────────────── */
.carrusel {
    position: relative;
    background: var(--black);
    user-select: none;
}

.carrusel-track-wrapper {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16/9;
}

.carrusel-track {
    display: flex;
    transition: transform 0.5s var(--ease);
    height: 100%;
}

.carrusel-slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
}
.carrusel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Botones flechas */
.carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    background: rgba(10,10,10,0.55);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 1.6rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s;
}
.carrusel-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
}
.carrusel-btn.prev { left: 0.75rem; }
.carrusel-btn.next { right: 0.75rem; }

/* Dots */
.carrusel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 0 0.5rem;
    background: var(--black);
}
.carrusel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
    border: none;
    padding: 0;
}
.carrusel-dot.active {
    background: var(--gold);
    transform: scale(1.3);
}


/* ── INFO DEL VEHÍCULO ───────────────────────────────────── */
.vehiculo-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vehiculo-specs {
    list-style: none;
    border: 1px solid var(--cream);
}
.vehiculo-specs li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--cream);
    font-size: 0.82rem;
}
.vehiculo-specs li:last-child { border-bottom: none; }

.spec-label {
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 0.05em;
}
.spec-val {
    color: var(--black);
    font-weight: 500;
    text-align: right;
}

.vehiculo-desc {
    font-size: 0.88rem;
    color: var(--text-mid);
    line-height: 1.9;
    padding-top: 0.5rem;
    border-top: 1px solid var(--cream);
}


/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .vehiculo-body {
        grid-template-columns: 1fr 320px;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .vehiculo-body {
        grid-template-columns: 1fr;
    }
    .vehiculo-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .carrusel-btn {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }
}
