/* ==========================================================================
   AUTOESPAR HOME - Replica exacta del proyecto React (Home.tsx)
   Tokens: toyota-red #B81F2E | toyota-black #1C1C1C | charcoal #2A2A2A
           kinto-blue #008DAE | DM Sans body | Oswald headings
   ========================================================================== */

/* El offset del header fijo (64px/72px) lo aplica body { padding-top } en
   style.css del child theme — equivalente a mt-[64px] lg:mt-[72px] de React. */

/* ==========================================================================
   0. Utilidades compartidas
   ========================================================================== */

/* El px-4 de React está en el <section>, no en el contenedor:
   así el contenido ocupa exactamente 1220px. */
.ae-section-inner {
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
}

.ae-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .ae-grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.ae-kicker {
    display: inline-block;
    background-color: rgba(184, 31, 46, 0.05);
    color: #b81f2e;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

@media (min-width: 768px) {
    .ae-kicker {
        padding: 8px 24px;
        font-size: 12px;
        letter-spacing: 0.4em;
    }
}

.ae-text-red {
    color: #b81f2e;
}

.ae-text-kinto {
    color: #008dae;
}

.ae-body {
    color: #4b5563;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.625;
}

@media (min-width: 1024px) {
    .ae-body {
        font-size: 20px;
    }
}

.ae-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Botones (equivalente Tailwind: text-xs font-bold uppercase tracking-widest) */
.ae-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #ffffff;
    background-color: #1c1c1c;
    padding: 16px 24px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 300ms ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
}

@media (min-width: 768px) {
    .ae-btn {
        padding: 20px 40px;
    }
}

.ae-btn:hover {
    background-color: #b81f2e;
    color: #ffffff;
}

.ae-btn-white {
    background-color: #ffffff;
    color: #1c1c1c;
}

.ae-btn-white:hover {
    background-color: #008dae;
    color: #ffffff;
}

.ae-btn-share {
    background-color: #007eac;
    color: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(0, 126, 172, 0.2);
}

.ae-btn-share:hover {
    background-color: #ffffff;
    color: #1c1c1c;
}

.ae-btn-lg {
    padding: 16px 32px;
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .ae-btn-lg {
        padding: 20px 48px;
    }
}

.ae-btn-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(184, 31, 46, 0.2);
}

.ae-btn-block {
    flex: 1;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    font-size: 10px;
}

.ae-btn-block:hover {
    box-shadow: 0 10px 15px -3px rgba(184, 31, 46, 0.2);
}

.ae-btn-outline {
    background-color: transparent;
    color: #1c1c1c;
    border: 1px solid #1c1c1c;
}

.ae-btn-outline:hover {
    background-color: #1c1c1c;
    color: #ffffff;
}

.ae-btn-icon .ae-arrow,
.ae-btn .ae-arrow {
    display: inline-flex;
    transition: transform 300ms ease;
}

.ae-btn-icon:hover .ae-arrow,
.ae-btn:hover .ae-arrow {
    transform: translateX(4px);
}

/* Reveal on scroll (motion.whileInView de React) */
[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms ease, transform 700ms ease;
    will-change: opacity, transform;
}

[data-reveal][data-x="left"] {
    transform: translateX(-30px);
}

[data-reveal][data-x="right"] {
    transform: translateX(30px);
}

[data-reveal][data-y] {
    transform: translateY(30px);
}

[data-reveal][data-delay="1"] { transition-delay: 100ms; }
[data-reveal][data-delay="2"] { transition-delay: 200ms; }
[data-reveal][data-delay="3"] { transition-delay: 300ms; }
[data-reveal][data-delay="4"] { transition-delay: 400ms; }

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   1. HERO SLIDER (React: HeroSlider en Home.tsx)
   ========================================================================== */

.autoespar-hero {
    position: relative;
    width: 100%;
    background-color: #ffffff;
}

.autoespar-hero-inner {
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 16px;
}

@media (min-width: 768px) {
    .autoespar-hero-inner {
        padding: 24px 0;
    }
}

/* Marco del slider: aspect-[4/3] sm:aspect-[16/9] md:aspect-[21/8],
   rounded-none md:rounded-2xl, shadow-xl, border-gray-100, group */
.autoespar-hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    background-color: #ffffff;
}

@media (min-width: 640px) {
    .autoespar-hero-slider {
        aspect-ratio: 16 / 9;
    }
}

@media (min-width: 768px) {
    .autoespar-hero-slider {
        aspect-ratio: 21 / 8;
        border-radius: 16px;
    }
}

.autoespar-hero-slides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Slide: absolute inset-0 con crossfade de 1s (AnimatePresence mode=crossfade) */
.autoespar-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
}

.autoespar-hero-slide.is-active {
    opacity: 1;
    z-index: 2;
}

.autoespar-hero-slide-link {
    display: block;
    width: 100%;
    height: 100%;
}

.autoespar-hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* bg-gradient-to-t from-black/20 via-transparent to-transparent */
.autoespar-hero-slide-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

/* Flechas: absolute left-6/right-6 top-1/2 -translate-y-1/2, w-12 h-12,
   rounded-full, bg-white/10 hover:bg-white/90, opacity-0 group-hover:opacity-100 */
.autoespar-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: all 300ms ease;
    z-index: 20;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    padding: 0;
    line-height: 0;
}

.autoespar-hero-slider:hover .autoespar-hero-arrow {
    opacity: 1;
}

.autoespar-hero-arrow:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: #1c1c1c;
}

.autoespar-hero-arrow--prev {
    left: 24px;
}

.autoespar-hero-arrow--next {
    right: 24px;
}

/* Indicadores: bottom-6 left-1/2 -translate-x-1/2, space-x-3, h-1.5 rounded-full */
.autoespar-hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 20;
}

.autoespar-hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 500ms ease;
}

.autoespar-hero-dot.is-active {
    width: 40px;
    background-color: #ffffff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
}

@media (prefers-reduced-motion: reduce) {
    .autoespar-hero-slide {
        transition: none;
    }
    .autoespar-hero-dot {
        transition: none;
    }
    .autoespar-hero-arrow {
        transition: none;
    }
}

/* ==========================================================================
   2. BRAND STATEMENT (React: 147-222)
   py-12 md:py-20 bg-white px-4 border-b border-gray-100
   ========================================================================== */

.ae-brand {
    padding: 48px 16px;
    background-color: #ffffff;
    border-bottom: 1px solid #f3f4f6;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .ae-brand {
        padding: 80px 16px;
    }
}

.ae-brand-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .ae-brand-text {
        gap: 15px;
        padding: 0;
    }
}

/* El pill debe abrazar el texto (React: inline-block en div block).
   Sin esto, flex-col con align-items:stretch lo estira a 1220px. */
.ae-brand-text .ae-kicker {
    align-self: flex-start;
}

.ae-brand-title {
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    font-weight: 900;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    color: #1c1c1c;
    line-height: 1.2;
    font-size: 20px;
    text-wrap: balance;
}

@media (min-width: 640px) {
    .ae-brand-title {
        font-size: 30px;
    }
}

@media (min-width: 1024px) {
    .ae-brand-title {
        font-size: 48px;
    }
}

@media (min-width: 1280px) {
    .ae-brand-title {
        font-size: 60px;
    }
}

/* underline wave: svg absolute -bottom-1 lg:-bottom-2 w-full h-1 md:h-2 */
.ae-under {
    position: relative;
    display: inline;
}

.ae-under-svg {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    color: rgba(184, 31, 46, 0.2);
}

@media (min-width: 768px) {
    .ae-under-svg {
        bottom: -8px;
        height: 8px;
    }
}

.ae-brand-actions {
    display: flex;
    padding-top: 8px;
}

.ae-brand-media {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #f3f4f6;
}

@media (min-width: 1024px) {
    .ae-brand-media {
        aspect-ratio: auto;
        height: 500px;
    }
}

@media (min-width: 1280px) {
    .ae-brand-media {
        height: 580px;
    }
}

/* bg-gradient-to-t from-black/10 to-transparent */
.ae-soft-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
    pointer-events: none;
}

/* ==========================================================================
   3. LINEAS DE NEGOCIO (React: 225-261)
   py-12 md:py-24 bg-gray-50 px-4 relative z-20
   ========================================================================== */

.ae-lines {
    padding: 48px 16px;
    background-color: #f9fafb;
    position: relative;
    z-index: 20;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .ae-lines {
        padding: 96px 16px;
    }
}

.ae-lines-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 640px) {
    .ae-lines-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .ae-lines-grid {
        gap: 16px;
    }
}

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

.ae-lines-cell {
    display: flex;
}

.ae-line-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 500ms ease;
    text-decoration: none;
}

@media (min-width: 1024px) {
    .ae-line-card {
        padding: 32px;
    }
}

.ae-line-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.ae-line-card--dark {
    background-color: #1c1c1c;
    color: #ffffff;
}

.ae-line-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f4f6;
    color: #1c1c1c;
    margin-bottom: 16px;
    transition: all 300ms ease;
}

@media (min-width: 1024px) {
    .ae-line-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 24px;
    }
}

.ae-line-icon svg {
    width: 20px;
    height: 20px;
}

@media (min-width: 1024px) {
    .ae-line-icon svg {
        width: 24px;
        height: 24px;
    }
}

.ae-line-card:not(.ae-line-card--dark):hover .ae-line-icon {
    background-color: #b81f2e;
    color: #ffffff;
}

.ae-line-icon--dark {
    background-color: #b81f2e;
    color: #ffffff;
}

.ae-line-title {
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-bottom: 8px;
    color: #000000;
    font-size: 16px;
}

@media (min-width: 768px) {
    .ae-line-title {
        margin-bottom: 12px;
    }
}

@media (min-width: 1024px) {
    .ae-line-title {
        font-size: 18px;
    }
}

.ae-line-card--dark .ae-line-title {
    color: #ffffff;
}

.ae-line-desc {
    color: #4b5563;
    font-size: 12px;
    line-height: 1.625;
}

@media (min-width: 1024px) {
    .ae-line-desc {
        font-size: 14px;
    }
}

.ae-line-desc--dark {
    color: #9ca3af;
}

.ae-line-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #000000;
    opacity: 0;
    transition: opacity 300ms ease;
}

@media (min-width: 1024px) {
    .ae-line-cta {
        margin-top: 32px;
        font-size: 12px;
    }
}

/* En React el CTA hereda text-white del card oscuro */
.ae-line-card--dark .ae-line-cta {
    color: #ffffff;
}

.ae-line-card:hover .ae-line-cta {
    opacity: 1;
}

/* ==========================================================================
   4. CAMIONES HINO (React: 264-391)
   py-16 md:py-24 bg-white px-4 overflow-x-hidden
   ========================================================================== */

.ae-hino {
    padding: 64px 16px;
    background-color: #ffffff;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .ae-hino {
        padding: 96px 16px;
    }
}

.ae-hino-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .ae-hino-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.ae-hino-media {
    position: relative;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .ae-hino-media {
        padding: 0;
    }
}

.ae-hino-blob {
    position: absolute;
    top: -24px;
    left: -24px;
    width: 192px;
    height: 192px;
    border-radius: 9999px;
    background-color: rgba(184, 31, 46, 0.05);
    filter: blur(64px);
    transition: background-color 700ms ease;
}

@media (min-width: 768px) {
    .ae-hino-blob {
        top: -48px;
        left: -48px;
        width: 256px;
        height: 256px;
    }
}

.ae-hino-frame {
    position: relative;
    z-index: 10;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    min-height: 300px;
    transition: transform 700ms ease;
}

@media (min-width: 640px) {
    .ae-hino-frame {
        min-height: 380px;
    }
}

.ae-hino-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* Ancla los hotspots a la imagen exacta, no al frame completo */
.ae-hino-stage {
    position: relative;
}

/* from-charcoal-dark via-charcoal-dark/20 to-transparent */
.ae-hino-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #2a2a2a 0%, rgba(42, 42, 42, 0.2) 40%, rgba(42, 42, 42, 0) 100%);
    pointer-events: none;
}

/* Hotspots: h-7 w-7 sm:h-9 sm:w-9 rounded-full, -mt-3.5 -ml-3.5 */
.ae-hino-spot {
    position: absolute;
    width: 28px;
    height: 28px;
    margin-top: -14px;
    margin-left: -14px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 300ms ease;
    z-index: 30;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 0;
}

@media (min-width: 640px) {
    .ae-hino-spot {
        width: 36px;
        height: 36px;
        margin-top: -18px;
        margin-left: -18px;
    }
}

.ae-hino-spot:hover {
    transform: scale(1.1);
    background-color: transparent;
}

.ae-hino-spot.is-active {
    transform: scale(1.25);
}

.ae-hino-spot-ping {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    opacity: 0.6;
    background-color: #ffffff;
    animation: ae-ping 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ae-hino-spot.is-active .ae-hino-spot-ping {
    background-color: #b81f2e;
}

@keyframes ae-ping {
    75%, 100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.ae-hino-spot-core {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.95);
    color: #1c1c1c;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    transition: all 300ms ease;
}

@media (min-width: 640px) {
    .ae-hino-spot-core {
        width: 28px;
        height: 28px;
    }
}

.ae-hino-spot.is-active .ae-hino-spot-core {
    background-color: #b81f2e;
    color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(184, 31, 46, 0.5);
}

.ae-hino-spot-dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background-color: #b81f2e;
}

@media (min-width: 640px) {
    .ae-hino-spot-dot {
        width: 8px;
        height: 8px;
    }
}

.ae-hino-spot.is-active .ae-hino-spot-dot {
    background-color: #ffffff;
}

/* Panel HUD inferior */
.ae-hino-hud {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, #2a2a2a 0%, rgba(42, 42, 42, 0.9) 70%, rgba(42, 42, 42, 0) 100%);
    padding: 48px 20px 20px;
    color: #ffffff;
    z-index: 20;
    text-align: left;
}

@media (min-width: 768px) {
    .ae-hino-hud {
        padding: 48px 24px 20px;
    }
}

/* Tablet vertical chico (768-799): HUD compacto para que el panel no tape el camión */
@media (min-width: 768px) and (max-width: 799px) {
    .ae-hino-hud {
        padding: 20px 16px 14px;
    }

    .ae-hino-hud .ae-hino-hud-model {
        display: none;
    }

    .ae-hino-hud .ae-hino-hud-badges {
        margin-bottom: 4px;
    }

    .ae-hino-hud .ae-hino-hud-info {
        min-width: 0;
        flex: 1 1 0%;
    }

    .ae-hino-hud .ae-hino-hud-spec {
        font-size: 13px;
        margin-bottom: 2px;
    }

    .ae-hino-hud .ae-hino-hud-desc {
        font-size: 10px;
        max-width: 280px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .ae-hino-hud .ae-hino-hud-side {
        max-width: 130px;
        padding-left: 10px;
    }

    .ae-hino-hud .ae-hino-tabs {
        flex-wrap: wrap;
    }

    .ae-hino-hud .ae-hino-tab {
        padding: 3px 6px;
    }
}

/* Móvil (<768): HUD fuera de la imagen, debajo, como tarjeta oscura */
@media (max-width: 767px) {
    .ae-hino-hud {
        position: static;
        background-color: #2a2a2a;
        padding: 20px 16px;
    }

    .ae-hino-grid .ae-hino-copy {
        order: 1;
    }

    .ae-hino-grid .ae-hino-media {
        order: 2;
    }
}

.ae-hino-hud-row {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

@media (min-width: 640px) {
    .ae-hino-hud-row {
        flex-direction: row;
        align-items: center;
    }
}

.ae-hino-hud-info {
    flex: 1;
}

.ae-hino-hud-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.ae-hino-hud-tag {
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #b81f2e;
    background-color: rgba(184, 31, 46, 0.1);
    border: 1px solid rgba(184, 31, 46, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
}

.ae-hino-hud-model {
    font-size: 9px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ae-hino-hud-spec {
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    font-size: 14px;
    margin-bottom: 4px;
}

@media (min-width: 640px) {
    .ae-hino-hud-spec {
        font-size: 16px;
    }
}

.ae-hino-hud-desc {
    font-size: 11px;
    color: #d1d5db;
    line-height: normal;
    font-weight: 400;
    max-width: 448px;
    opacity: 0.9;
}

@media (min-width: 640px) {
    .ae-hino-hud-desc {
        font-size: 12px;
    }
}

.ae-hino-hud-side {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    justify-content: space-between;
    flex-shrink: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 12px;
}

@media (min-width: 640px) {
    .ae-hino-hud-side {
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-end;
        border-top: none;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 0;
        padding-left: 16px;
    }
}

.ae-hino-tabs {
    display: flex;
    gap: 6px;
}

.ae-hino-tab {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    border: none;
    cursor: pointer;
    transition: all 300ms ease;
    font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
}

.ae-hino-tab:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.ae-hino-tab.is-active {
    background-color: #b81f2e;
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(184, 31, 46, 0.2);
}

.ae-hino-ficha {
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #b81f2e;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    transition: color 300ms ease;
}

@media (min-width: 640px) {
    .ae-hino-ficha {
        font-size: 10px;
        margin-top: 8px;
    }
}

.ae-hino-ficha:hover {
    color: #ffffff;
}

/* Móvil: CTA "Ver Ficha Completa" debajo de los labels de la ficha */
@media (max-width: 639px) {
    .ae-hino-hud-side {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .ae-hino-ficha {
        margin-top: 0;
    }
}

/* Tablet vertical / laptop pequeño (800-1199): mismo layout que móvil — texto arriba, camión a lo ancho y HUD debajo */
@media (min-width: 800px) and (max-width: 1199px) {
    .ae-hino-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .ae-hino-grid .ae-hino-copy {
        order: 1;
    }

    .ae-hino-grid .ae-hino-media {
        order: 2;
    }

    .ae-hino-media {
        padding: 0 24px;
    }

    .ae-hino-hud {
        position: static;
        background-color: #2a2a2a;
        padding: 24px 20px;
    }
}

/* Columna derecha */
.ae-hino-copy {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding-top: 32px;
}

@media (min-width: 768px) {
    .ae-hino-copy {
        gap: 24px;
        text-align: left;
        padding-top: 0;
    }
}

.ae-hino-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    align-self: center;
    color: #b81f2e;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

@media (min-width: 1024px) {
    .ae-hino-badge {
        font-size: 12px;
    }
}

.ae-hino-badge svg {
    animation: ae-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes ae-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@media (min-width: 768px) {
    .ae-hino-badge {
        align-self: flex-start;
    }
}

.ae-hino-title {
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    color: #1c1c1c;
    line-height: 1.15;
    font-size: 36px;
}

@media (min-width: 640px) {
    .ae-hino-title {
        font-size: 48px;
    }
}

@media (min-width: 1024px) {
    .ae-hino-title {
        font-size: 72px;
    }
}

.ae-hino-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 16px;
}

@media (min-width: 1024px) {
    .ae-hino-stats {
        gap: 40px;
    }
}

@media (min-width: 768px) {
    .ae-hino-stats {
        padding: 0;
    }
}

.ae-hino-stat {
    border-left: 2px solid #b81f2e;
    padding-left: 12px;
    text-align: left;
}

@media (min-width: 1024px) {
    .ae-hino-stat {
        border-left-width: 4px;
        padding-left: 24px;
    }
}

.ae-hino-stat--ink {
    border-left-color: #1c1c1c;
}

.ae-hino-stat-val {
    display: block;
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    font-weight: 900;
    color: #1c1c1c;
    letter-spacing: -0.025em;
    line-height: 1.2;
    font-size: 20px;
    margin-bottom: 4px;
    text-decoration: none;
    transition: color 300ms ease;
}

@media (min-width: 1024px) {
    .ae-hino-stat-val {
        font-size: 30px;
    }
}

.ae-hino-stat-val:hover {
    color: #b81f2e;
}

.ae-hino-stat-label {
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #6b7280;
}

@media (min-width: 1024px) {
    .ae-hino-stat-label {
        font-size: 12px;
    }
}

.ae-hino-actions {
    display: flex;
    padding: 16px 16px 0;
}

@media (min-width: 768px) {
    .ae-hino-actions {
        padding: 16px 0 0;
    }
}

.ae-hino-actions .ae-btn {
    width: 100%;
}

@media (min-width: 640px) {
    .ae-hino-actions .ae-btn {
        width: auto;
    }
}

/* ==========================================================================
   5. MODELOS DESTACADOS (React: 394-631)
   py-16 md:py-24 px-4 bg-gray-50
   ========================================================================== */

.ae-models {
    padding: 64px 16px;
    background-color: #f9fafb;
}

/* Tailwind preflight de React: h2/h3/h4/p sin márgenes por defecto */
.ae-models h2,
.ae-models h3,
.ae-models h4,
.ae-models p {
    margin: 0;
}

@media (min-width: 768px) {
    .ae-models {
        padding: 96px 16px;
    }
}

.ae-models-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .ae-models-header {
        flex-direction: row;
        align-items: flex-end;
        margin-bottom: 64px;
    }
}

.ae-models-heading {
    text-align: center;
}

@media (min-width: 768px) {
    .ae-models-heading {
        text-align: left;
    }
}

.ae-models-heading .ae-kicker {
    display: block;
    font-size: 9px;
    letter-spacing: 0.3em;
    margin-bottom: 8px;
    background: none;
    padding: 0;
}

@media (min-width: 768px) {
    .ae-models-heading .ae-kicker {
        font-size: 12px;
    }
}

.ae-models-title {
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    color: #1c1c1c;
    font-size: 30px;
}

@media (min-width: 640px) {
    .ae-models-title {
        font-size: 36px;
    }
}

@media (min-width: 768px) {
    .ae-models-title {
        font-size: 48px;
    }
}

@media (min-width: 1024px) {
    .ae-models-title {
        font-size: 60px;
    }
}

.ae-pill-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    padding: 12px 24px;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1c1c1c;
    text-decoration: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    transition: box-shadow 300ms ease;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .ae-pill-link {
        font-size: 12px;
    }
}

.ae-pill-link:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    color: #1c1c1c;
}

/* Tabs selector de modelos */
.ae-models-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 896px;
    margin: 0 auto;
}

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

.ae-model-tab {
    position: relative;
    padding: 20px;
    text-align: left;
    border-radius: 16px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    transition: all 300ms ease;
    cursor: pointer;
    font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
    color: #1c1c1c;
}

.ae-model-tab:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    color: #1c1c1c;
}

/* Neutraliza el rosado #c36 que el theme aplica en button:focus */
.ae-model-tab:focus,
.ae-model-tab:active {
    background-color: #ffffff;
    color: #1c1c1c;
}

.ae-model-tab.is-active {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    border-top-width: 4px;
    border-top-style: solid;
    border-top-color: #b81f2e;
}

.ae-model-tab--blue.is-active {
    border-top-color: #2563eb;
}

.ae-model-tab--amber.is-active {
    border-top-color: #d97706;
}

.ae-model-tab--red.is-active {
    border-color: rgba(184, 31, 46, 0.4);
}

.ae-model-tab--blue.is-active {
    border-color: rgba(37, 99, 235, 0.4);
}

.ae-model-tab--amber.is-active {
    border-color: rgba(217, 119, 6, 0.4);
}

/* El borde superior siempre es rojo sólido (border-t-4 border-t-toyota-red en React) */
.ae-model-tab.is-active {
    border-top-color: #b81f2e;
}

.ae-model-tab-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.ae-model-type {
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
}

.ae-model-accent {
    font-size: 8px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: #f3f4f6;
    color: #6b7280;
}

.ae-model-tab--red .ae-model-accent.is-active {
    background-color: #b81f2e;
    color: #ffffff;
}

.ae-model-tab--blue .ae-model-accent.is-active {
    background-color: #2563eb;
    color: #ffffff;
}

.ae-model-tab--amber .ae-model-accent.is-active {
    background-color: #d97706;
    color: #ffffff;
}

.ae-model-name {
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    color: #1c1c1c;
    transition: color 300ms ease;
}

.ae-model-tab:hover .ae-model-name {
    color: #b81f2e;
}

.ae-model-price {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.ae-model-price-from {
    font-size: 10px;
    color: #9ca3af;
    text-transform: uppercase;
    font-weight: 700;
}

.ae-model-price-val {
    font-size: 14px;
    font-weight: 900;
    color: #1c1c1c;
}

.ae-model-pulse {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background-color: #b81f2e;
    animation: ae-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    display: none;
}

.ae-model-tab.is-active .ae-model-pulse {
    display: block;
}

/* Showroom */
.ae-showroom {
    position: relative;
    background-color: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #f3f4f6;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    min-height: 485px;
    margin-top: 32px;
}

.ae-model-panel {
    display: none;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 24px;
    align-items: center;
    min-height: 485px;
}

@media (min-width: 1024px) {
    .ae-model-panel {
        grid-template-columns: repeat(12, 1fr);
        gap: 32px;
        padding: 56px;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .ae-model-panel {
        padding: 32px;
    }
}

.ae-model-panel.is-active {
    display: grid;
    animation: ae-panel-in 350ms ease;
}

@keyframes ae-panel-in {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.ae-model-info {
    grid-column: span 12;
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
}

@media (min-width: 1024px) {
    .ae-model-info {
        grid-column: span 5;
    }
}

.ae-model-info-top {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ae-model-tag {
    display: inline-block;
    background-color: #1c1c1c;
    color: #ffffff;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 4px;
    align-self: flex-start;
}

.ae-model-name-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
}

.ae-model-big {
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    font-size: 30px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    color: #1c1c1c;
}

@media (min-width: 640px) {
    .ae-model-big {
        font-size: 36px;
    }
}

@media (min-width: 1024px) {
    .ae-model-big {
        font-size: 48px;
    }
}

.ae-model-price-big {
    font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #b81f2e;
    font-size: 20px;
}

@media (min-width: 1024px) {
    .ae-model-price-big {
        font-size: 24px;
    }
}

.ae-model-headline {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #b81f2e;
}

.ae-model-slogan {
    color: #000000;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.625;
}

@media (min-width: 640px) {
    .ae-model-slogan {
        font-size: 14px;
    }
}

@media (min-width: 1024px) {
    .ae-model-slogan {
        font-size: 16px;
    }
}

.ae-model-chars {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 8px;
}

.ae-model-chars-title {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 900;
    color: #9ca3af;
    letter-spacing: 0.1em;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 8px;
}

.ae-model-chars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 640px) {
    .ae-model-chars-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.ae-model-char {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.ae-model-char-check {
    color: #b81f2e;
    margin-top: 2px;
    flex-shrink: 0;
    display: inline-flex;
}

.ae-model-char-label {
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 700;
    color: #9ca3af;
    line-height: 1;
}

.ae-model-char-val {
    font-size: 12px;
    font-weight: 900;
    color: #1c1c1c;
    line-height: 1.25;
}

.ae-model-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
}

@media (min-width: 640px) {
    .ae-model-actions {
        flex-direction: row;
    }
}

/* Media Showcase */
.ae-model-media {
    grid-column: span 12;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(to bottom, #f9fafb, rgba(0, 0, 0, 0));
    border-radius: 16px;
    min-height: 300px;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .ae-model-media {
        grid-column: span 7;
        min-height: 420px;
    }
}

.ae-model-glow {
    position: absolute;
    width: 288px;
    height: 288px;
    border-radius: 9999px;
    filter: blur(64px);
}

@media (min-width: 640px) {
    .ae-model-glow {
        width: 450px;
        height: 450px;
    }
}

.ae-model-glow--red {
    background: linear-gradient(to top right, rgba(184, 31, 46, 0.1), rgba(184, 31, 46, 0));
}

.ae-model-glow--blue {
    background: linear-gradient(to top right, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0));
}

.ae-model-glow--amber {
    background: linear-gradient(to top right, rgba(217, 119, 6, 0.1), rgba(217, 119, 6, 0));
}

.ae-model-rings {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ae-model-ring {
    width: 320px;
    height: 320px;
    border-radius: 9999px;
    border: 1px solid rgba(243, 244, 246, 0.4);
    position: absolute;
}

.ae-model-ring--ping {
    width: 224px;
    height: 224px;
    border: 1px solid rgba(229, 231, 235, 0.4);
    animation: ae-ping-rings 5s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.2;
}

@keyframes ae-ping-rings {
    0% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

.ae-model-carimg {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.12));
    transition: transform 700ms ease;
    position: relative;
    z-index: 1;
}

.ae-model-carimg:hover {
    transform: scale(1.05);
}

.ae-model-sticker {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 6px 14px;
    border-radius: 9999px;
    border: 1px solid #000000;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.ae-model-sticker-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background-color: #22c55e;
    animation: ae-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.ae-model-sticker-label {
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1c1c1c;
}

.ae-model-shadow {
    position: absolute;
    bottom: 40px;
    width: 80%;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 9999px;
    filter: blur(24px);
}

/* ==========================================================================
   6. KINTO (React: 634-724)
   py-20 md:py-32 bg-charcoal-dark text-white px-4 overflow-hidden relative
   ========================================================================== */

.ae-kinto {
    position: relative;
    padding: 80px 16px;
    background-color: #2a2a2a;
    color: #ffffff;
    overflow: hidden;
}

@media (min-width: 768px) {
    .ae-kinto {
        padding: 128px 16px;
    }
}

.ae-kinto-blob {
    position: absolute;
    width: 256px;
    height: 256px;
    border-radius: 9999px;
    pointer-events: none;
}

@media (min-width: 768px) {
    .ae-kinto-blob {
        width: 384px;
        height: 384px;
    }
}

.ae-kinto-blob--tl {
    top: -48px;
    left: -48px;
    background-color: rgba(184, 31, 46, 0.1);
    filter: blur(80px);
}

@media (min-width: 768px) {
    .ae-kinto-blob--tl {
        top: -96px;
        left: -96px;
        filter: blur(100px);
    }
}

.ae-kinto-blob--br {
    bottom: -48px;
    right: -48px;
    background-color: rgba(184, 31, 46, 0.05);
    filter: blur(80px);
}

@media (min-width: 768px) {
    .ae-kinto-blob--br {
        bottom: -96px;
        right: -96px;
        filter: blur(100px);
    }
}

.ae-kinto-inner {
    position: relative;
    z-index: 1;
}

.ae-kinto-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .ae-kinto-header {
        flex-direction: row;
        align-items: flex-end;
        margin-bottom: 80px;
    }
}

.ae-kinto-heading {
    max-width: 672px;
}

.ae-kinto-kicker {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .ae-kinto-kicker {
        margin-bottom: 24px;
    }
}

.ae-kinto-rule {
    width: 32px;
    height: 2px;
    background-color: #008dae;
}

@media (min-width: 768px) {
    .ae-kinto-rule {
        width: 48px;
    }
}

.ae-kinto-kicker span:last-child {
    color: #008dae;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

@media (min-width: 768px) {
    .ae-kinto-kicker span:last-child {
        font-size: 12px;
        letter-spacing: 0.5em;
    }
}

.ae-kinto-title {
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    line-height: 1.1;
    font-size: 36px;
    margin-bottom: 16px;
}

@media (min-width: 640px) {
    .ae-kinto-title {
        font-size: 48px;
    }
}

@media (min-width: 768px) {
    .ae-kinto-title {
        font-size: 60px;
        margin-bottom: 24px;
    }
}

@media (min-width: 1024px) {
    .ae-kinto-title {
        font-size: 100px;
    }
}

.ae-kinto-text {
    color: #9ca3af;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.625;
}

@media (min-width: 768px) {
    .ae-kinto-text {
        font-size: 20px;
    }
}

.ae-kinto-watermark {
    display: none;
    text-align: right;
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    color: rgba(255, 255, 255, 0.05);
    font-size: 96px;
    line-height: 1;
    user-select: none;
}

@media (min-width: 1024px) {
    .ae-kinto-watermark {
        display: block;
    }
}

.ae-kinto-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .ae-kinto-cards {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (min-width: 1024px) {
    .ae-kinto-cards {
        gap: 48px;
    }
}

.ae-kinto-card {
    position: relative;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
    .ae-kinto-card {
        height: 500px;
    }
}

@media (min-width: 768px) {
    .ae-kinto-card {
        height: 550px;
    }
}

@media (min-width: 1024px) {
    .ae-kinto-card {
        height: 650px;
        border-radius: 2.5rem;
    }
}

.ae-kinto-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1000ms ease;
}

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

.ae-kinto-card-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #2a2a2a 0%, rgba(42, 42, 42, 0.2) 50%, rgba(42, 42, 42, 0) 100%);
}

.ae-kinto-card-body {
    position: relative;
    height: 100%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .ae-kinto-card-body {
        padding: 48px;
    }
}

.ae-kinto-card-badge {
    font-size: 10px;
    font-weight: 900;
    padding: 6px 16px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .ae-kinto-card-badge {
        padding: 8px 24px;
        letter-spacing: 0.3em;
        margin-bottom: 24px;
    }
}

.ae-kinto-card-badge--blue {
    background-color: #008dae;
    color: #ffffff;
}

.ae-kinto-card-badge--white {
    background-color: #ffffff;
    color: #1c1c1c;
}

.ae-kinto-card-title {
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    font-size: 24px;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .ae-kinto-card-title {
        font-size: 30px;
        margin-bottom: 16px;
    }
}

@media (min-width: 1024px) {
    .ae-kinto-card-title {
        font-size: 48px;
    }
}

.ae-kinto-card-title span {
    color: #008dae;
}

.ae-kinto-card-text {
    color: #d1d5db;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.375;
    margin-bottom: 16px;
    max-width: 384px;
}

@media (min-width: 768px) {
    .ae-kinto-card-text {
        font-size: 14px;
        margin-bottom: 32px;
    }
}

@media (min-width: 1024px) {
    .ae-kinto-card-text {
        font-size: 18px;
    }
}

.ae-kinto-card .ae-btn {
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    font-size: 9px;
    gap: 8px;
}

@media (min-width: 768px) {
    .ae-kinto-card .ae-btn {
        padding: 12px 24px;
        gap: 16px;
    }
}

@media (min-width: 1024px) {
    .ae-kinto-card .ae-btn {
        padding: 20px 40px;
        border-radius: 12px;
        font-size: 12px;
    }
}

.ae-kinto-card .ae-btn-share {
    box-shadow: 0 25px 50px -12px rgba(0, 126, 172, 0.2);
}

/* ==========================================================================
   7. POSTVENTA (React: 727-780)
   py-16 md:py-24 px-4 bg-white relative
   ========================================================================== */

.ae-postventa {
    padding: 64px 16px;
    background-color: #ffffff;
}

@media (min-width: 768px) {
    .ae-postventa {
        padding: 96px 16px;
    }
}

.ae-postventa-media {
    position: relative;
    order: 2;
}

@media (min-width: 768px) {
    .ae-postventa-media {
        order: 1;
    }
}

.ae-postventa-frame {
    position: absolute;
    inset: -8px;
    background-color: rgba(184, 31, 46, 0.05);
    border-radius: 16px;
    transform: rotate(-2deg);
}

@media (min-width: 768px) {
    .ae-postventa-frame {
        inset: -16px;
        border-radius: 24px;
    }
}

.ae-postventa-img {
    position: relative;
    z-index: 10;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    display: block;
}

@media (min-width: 768px) {
    .ae-postventa-img {
        border-radius: 16px;
    }
}

.ae-postventa-copy {
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: center;
}

@media (min-width: 768px) {
    .ae-postventa-copy {
        order: 2;
        text-align: left;
    }
}

.ae-postventa-copy .ae-kicker {
    display: block;
    font-size: 10px;
    letter-spacing: 0.3em;
    margin-bottom: 16px;
    background: none;
    padding: 0;
}

@media (min-width: 768px) {
    .ae-postventa-copy .ae-kicker {
        font-size: 12px;
        letter-spacing: 0.4em;
    }
}

.ae-postventa-title {
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    color: #1c1c1c;
    line-height: 1.15;
    font-size: 36px;
    margin-top: 0;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .ae-postventa-title {
        font-size: 60px;
    }
}

.ae-postventa-copy .ae-body {
    margin-bottom: 24px;
    padding: 0 8px;
}

@media (min-width: 768px) {
    .ae-postventa-copy .ae-body {
        padding: 0;
    }
}

.ae-postventa-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    text-align: left;
}

.ae-postventa-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .ae-postventa-feature {
        gap: 24px;
    }
}

.ae-postventa-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background-color: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b81f2e;
    flex-shrink: 0;
    transition: all 300ms ease;
}

@media (min-width: 768px) {
    .ae-postventa-feature-icon {
        width: 48px;
        height: 48px;
    }
}

.ae-postventa-feature-icon svg {
    width: 20px;
    height: 20px;
}

@media (min-width: 768px) {
    .ae-postventa-feature-icon svg {
        width: 24px;
        height: 24px;
    }
}

.ae-postventa-feature:hover .ae-postventa-feature-icon {
    background-color: #b81f2e;
    color: #ffffff;
}

.ae-postventa-feature-title {
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1c1c1c;
    margin-bottom: 4px;
}

@media (min-width: 768px) {
    .ae-postventa-feature-title {
        font-size: 12px;
        margin-bottom: 8px;
    }
}

.ae-postventa-feature-desc {
    color: #4b5563;
    font-size: 12px;
}

@media (min-width: 768px) {
    .ae-postventa-feature-desc {
        font-size: 14px;
    }
}

.ae-postventa-copy > .ae-btn {
    align-self: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .ae-postventa-copy > .ae-btn {
        align-self: flex-start;
    }
}

.ae-postventa-copy > .ae-btn:hover {
    box-shadow: 0 10px 15px -3px rgba(184, 31, 46, 0.2);
}

/* ==========================================================================
   8. STATS (React: 783-798)
   py-12 md:py-20 bg-charcoal-dark text-white border-y border-gray-800
   ========================================================================== */

.ae-stats {
    padding: 48px 16px;
    background-color: #2a2a2a;
    color: #ffffff;
    border-top: 1px solid #1f2937;
    border-bottom: 1px solid #1f2937;
}

@media (min-width: 768px) {
    .ae-stats {
        padding: 80px 16px;
    }
}

.ae-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    text-align: center;
}

@media (min-width: 768px) {
    .ae-stats-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 48px;
    }
}

@media (min-width: 768px) {
    .ae-stat {
        border-left: 1px solid #1f2937;
    }
    .ae-stat:first-child {
        border-left: none;
    }
}

.ae-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ae-stat-val {
    font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #b81f2e;
    font-size: 36px;
    margin-bottom: 4px;
}

@media (min-width: 768px) {
    .ae-stat-val {
        font-size: 60px;
        margin-bottom: 8px;
    }
}

.ae-stat-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #6b7280;
}

@media (min-width: 768px) {
    .ae-stat-label {
        font-size: 10px;
        letter-spacing: 0.3em;
    }
}

/* ==========================================================================
   9. CONTACTO (React: 801-878)
   py-16 md:py-24 bg-white px-4 border-t border-gray-100
   ========================================================================== */

.ae-contact {
    padding: 64px 16px;
    background-color: #ffffff;
    border-top: 1px solid #f3f4f6;
}

@media (min-width: 768px) {
    .ae-contact {
        padding: 96px 16px;
    }
}

.ae-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 768px) {
    .ae-contact-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 64px;
    }
}

.ae-contact-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
    align-items: center;
}

@media (min-width: 768px) {
    .ae-contact-col {
        gap: 24px;
        text-align: left;
        align-items: flex-start;
    }
}

.ae-contact-rule {
    width: 48px;
    height: 1px;
    background-color: #b81f2e;
}

.ae-contact-title {
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    font-weight: 900;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    color: #1c1c1c;
}

@media (min-width: 768px) {
    .ae-contact-title {
        font-size: 24px;
    }
}

.ae-contact-phone {
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: #b81f2e;
    line-height: 1.25;
    font-size: 24px;
    text-decoration: none;
    transition: color 300ms ease;
}

@media (min-width: 768px) {
    .ae-contact-phone {
        font-size: 30px;
    }
}

.ae-contact-phone:hover {
    color: #1c1c1c;
}

.ae-contact-icons {
    display: flex;
    gap: 16px;
    padding-top: 8px;
}

@media (min-width: 768px) {
    .ae-contact-icons {
        padding-top: 16px;
    }
}

.ae-contact-wa {
    width: 40px;
    height: 40px;
    background-color: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 300ms ease;
}

@media (min-width: 768px) {
    .ae-contact-wa {
        width: 48px;
        height: 48px;
    }
}

.ae-contact-wa:hover {
    transform: scale(1.1);
}

.ae-contact-wa-img {
    width: 20px;
    height: 20px;
}

.ae-contact-tel {
    width: 40px;
    height: 40px;
    background-color: #1c1c1c;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: background-color 300ms ease;
    text-decoration: none;
}

@media (min-width: 768px) {
    .ae-contact-tel {
        width: 48px;
        height: 48px;
    }
}

.ae-contact-tel svg {
    width: 18px;
    height: 18px;
}

@media (min-width: 768px) {
    .ae-contact-tel svg {
        width: 20px;
        height: 20px;
    }
}

.ae-contact-tel:hover {
    background-color: #b81f2e;
    color: #ffffff;
}

.ae-sedes {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

@media (min-width: 768px) {
    .ae-sedes {
        align-items: flex-start;
    }
}

.ae-sede {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #6b7280;
    text-decoration: none;
    transition: color 300ms ease;
}

@media (min-width: 768px) {
    .ae-sede {
        font-size: 14px;
    }
}

.ae-sede:hover {
    color: #b81f2e;
}

.ae-sede-pin {
    display: inline-flex;
    color: inherit;
}

.ae-sede:hover .ae-sede-pin {
    animation: ae-bounce 1s infinite;
}

@keyframes ae-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25%); }
}

.ae-sedes-more {
    color: #b81f2e;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    padding-top: 8px;
    display: block;
}

@media (min-width: 768px) {
    .ae-sedes-more {
        font-size: 10px;
    }
}

.ae-sedes-more:hover {
    text-decoration: underline;
    color: #b81f2e;
}

.ae-contact-sub {
    color: #4b5563;
    font-size: 12px;
    font-weight: 300;
}

@media (min-width: 768px) {
    .ae-contact-sub {
        font-size: 14px;
    }
}

.ae-newsletter {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 384px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .ae-newsletter {
        margin: 0;
    }
}

.ae-contact .ae-newsletter-input {
    flex: 1;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 12px;
    font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
    outline: none;
    transition: box-shadow 300ms ease;
}

@media (min-width: 768px) {
    .ae-contact .ae-newsletter-input {
        font-size: 14px;
    }
}

.ae-contact .ae-newsletter-input:focus {
    box-shadow: 0 0 0 1px #b81f2e;
}

.ae-newsletter-btn {
    background-color: #1c1c1c;
    color: #ffffff;
    padding: 0 24px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: background-color 300ms ease;
    white-space: nowrap;
    font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
}

@media (min-width: 768px) {
    .ae-newsletter-btn {
        font-size: 12px;
    }
}

.ae-newsletter-btn:hover {
    background-color: #b81f2e;
}

.ae-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    max-width: 384px;
    margin: 20px auto 0;
    text-align: left;
}

@media (min-width: 768px) {
    .ae-terms {
        margin: 20px 0 0;
    }
}

.ae-terms-check {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: -1px;
}

.ae-terms-input {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 300ms ease;
    padding: 0;
}

.ae-terms-input:checked {
    border-color: #b81f2e;
    background-color: #b81f2e;
}

.ae-terms-icon {
    position: absolute;
    color: #ffffff;
    opacity: 0;
    transition: opacity 300ms ease;
    pointer-events: none;
    display: inline-flex;
}

.ae-terms-icon svg {
    stroke-width: 4;
}

.ae-terms-input:checked ~ .ae-terms-icon {
    opacity: 1;
}

.ae-terms-text {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b7280;
    font-weight: 700;
    padding-top: 2px;
    line-height: 1.5;
}

.ae-terms-text a {
    color: #b81f2e;
    text-decoration: none;
}

.ae-terms-text a:hover {
    text-decoration: underline;
}

/* ------------------------------------------------------------------
   CF7: wrappers del boletín (form "Boletín de Noticias")
------------------------------------------------------------------ */
.wpcf7,
.wpcf7 form.wpcf7-form {
    margin: 0;
}

.wpcf7-form p {
    margin: 0;
}

.ae-newsletter p {
    display: flex;
    flex: 1;
    gap: 8px;
    width: 100%;
    margin: 0;
}

.ae-newsletter .wpcf7-form-control-wrap {
    flex: 1;
    display: block;
    min-width: 0;
}

.ae-newsletter .wpcf7-form-control-wrap .ae-newsletter-input {
    width: 100%;
    max-width: none;
}

.ae-newsletter-btn {
    flex: 0 0 auto;
}

.ae-newsletter br,
.ae-terms br,
.ae-terms-check br {
    display: none;
}

.ae-terms .wpcf7-form-control-wrap {
    position: static;
    display: block;
}

.ae-terms .wpcf7-list-item {
    margin: 0;
}

.ae-terms .wpcf7-form-control.wpcf7-acceptance {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ae-terms-check:has(.ae-terms-input:checked) .ae-terms-icon {
    opacity: 1;
}

.wpcf7-spinner {
    display: none;
}

.wpcf7-form-control.wpcf7-not-valid {
    border-color: #dc2626;
}

.ae-newsletter .wpcf7-not-valid-tip,
.ae-terms .wpcf7-not-valid-tip {
    display: none;
}

.ae-newsletter p {
    align-items: stretch;
}

.wpcf7 form.wpcf7-form.init .wpcf7-response-output,
.wpcf7 form.wpcf7-form.resetting .wpcf7-response-output,
.wpcf7 form.wpcf7-form.submitting .wpcf7-response-output {
    display: block;
}

.wpcf7 form.wpcf7-form.init .wpcf7-response-output:empty,
.wpcf7 form.wpcf7-form.resetting .wpcf7-response-output:empty,
.wpcf7 form.wpcf7-form.submitting .wpcf7-response-output:empty {
    display: none;
}

.wpcf7 form.wpcf7-form .wpcf7-response-output {
    max-width: 384px;
    margin: 12px auto 0;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .wpcf7 form.wpcf7-form .wpcf7-response-output {
        margin-left: 0;
        margin-right: 0;
    }
}

.wpcf7 form.wpcf7-form.sent .wpcf7-response-output {
    border-color: #16a34a;
    color: #16a34a;
    background-color: #f0fdf4;
}

.wpcf7 form.wpcf7-form.failed .wpcf7-response-output,
.wpcf7 form.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7 form.wpcf7-form.unaccepted .wpcf7-response-output {
    border-color: #dc2626;
    color: #dc2626;
    background-color: #fef2f2;
}

/* ==========================================================================
   10. CERTIFICACIONES (React: 881-938)
   py-10 md:py-12 bg-gray-50 border-t border-gray-100
   ========================================================================== */

.ae-certs {
    padding: 40px 16px;
    background-color: #f9fafb;
    border-top: 1px solid #f3f4f6;
}

@media (min-width: 768px) {
    .ae-certs {
        padding: 48px 16px;
    }
}

.ae-certs-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

@media (min-width: 768px) {
    .ae-certs-row {
        justify-content: space-between;
        gap: 32px;
    }
}

.ae-cert {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all 300ms ease;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
}

.ae-cert:hover {
    background-color: #ffffff;
    border-color: #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.ae-cert--hino {
    opacity: 0.6;
    filter: grayscale(1);
}

.ae-cert--hino:hover {
    opacity: 1;
    filter: none;
}

.ae-cert-hino-img {
    height: 28px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

@media (min-width: 768px) {
    .ae-cert-hino-img {
        height: 36px;
    }
}

.ae-cert--brand,
.ae-cert--text {
    padding: 10px 20px;
    text-align: center;
}

.ae-cert--brand {
    flex-direction: column;
}

.ae-cert-title {
    font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
    font-weight: 900;
    letter-spacing: -0.05em;
    font-size: 20px;
    line-height: 1;
    color: #9ca3af;
    transition: color 300ms ease;
}

@media (min-width: 768px) {
    .ae-cert-title {
        font-size: 24px;
    }
}

.ae-cert:hover .ae-cert-title {
    color: var(--cert-color, #008f9b);
}

.ae-cert-title--iso {
    font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
    font-weight: 900;
    color: #9ca3af;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (min-width: 768px) {
    .ae-cert-title--iso {
        font-size: 12px;
    }
}

.ae-cert:hover .ae-cert-title--iso {
    color: #1c1c1c;
}

.ae-cert-sub {
    font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: 0.1em;
    margin-top: 2px;
    line-height: 1;
    transition: color 300ms ease;
}

@media (min-width: 768px) {
    .ae-cert-sub {
        font-size: 9px;
    }
}

.ae-cert:hover .ae-cert-sub {
    --alpha: 0.8;
    color: color-mix(in srgb, var(--cert-color, #008f9b) calc(var(--alpha) * 100%), transparent);
}

.ae-cert--text:hover .ae-cert-sub {
    color: #6b7280;
}

.ae-cert-iso-icon {
    color: #9ca3af;
    transition: color 300ms ease;
    display: inline-flex;
    margin-right: 12px;
}

.ae-cert:hover .ae-cert-iso-icon {
    color: rgba(184, 31, 46, 0.8);
}

.ae-cert-iso-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.ae-cert--text {
    text-align: left;
}

/* ==========================================================================
   NOSOTROS (page-nosotros.php — réplica de src/pages/Nosotros.tsx)
   Prefijo .ae-nos- | fondo ivory | sedes grid 1/2/3
   ========================================================================== */

.ae-page-nosotros {
    background-color: #f8f6f3;
    color: #1c1c1c;
    font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
    padding-bottom: 96px;
}

.ae-page-nosotros a {
    color: inherit;
    text-decoration: none;
}

/* ---------- Hero ---------- */
.ae-nos-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-color: #f8f6f3;
    overflow: hidden;
}

.ae-nos-hero-blob {
    position: absolute;
    border-radius: 9999px;
    pointer-events: none;
}

.ae-nos-hero-blob--tr {
    top: -160px;
    right: -160px;
    width: 500px;
    height: 500px;
    background-color: rgba(184, 31, 46, 0.05);
    filter: blur(120px);
}

.ae-nos-hero-blob--bl {
    bottom: -160px;
    left: -160px;
    width: 400px;
    height: 400px;
    background-color: rgba(184, 31, 46, 0.05);
    filter: blur(100px);
}

.ae-nos-hero-inner {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 128px 24px 96px;
}

.ae-nos-hero-content {
    max-width: 768px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.ae-nos-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    align-self: flex-start;
    padding: 6px 16px;
    background-color: #ffffff;
    border: 1px solid #dcd6cf;
    border-radius: 9999px;
}

.ae-nos-hero-badge svg {
    color: #b81f2e;
    flex-shrink: 0;
}

.ae-nos-hero-badge span {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #6b6560;
}

.ae-nos-hero-rule {
    width: 48px;
    height: 4px;
    background-color: #b81f2e;
}

.ae-nos-hero-title {
    margin: 0;
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    font-weight: 900;
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    color: #1c1c1c;
}

@media (min-width: 768px) {
    .ae-nos-hero-title {
        font-size: 72px;
    }
}

@media (min-width: 1024px) {
    .ae-nos-hero-title {
        font-size: 96px;
    }
}

.ae-nos-hero-text {
    margin: 0;
    max-width: 672px;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.625;
    color: #6b6560;
}

@media (min-width: 768px) {
    .ae-nos-hero-text {
        font-size: 20px;
    }
}

/* ---------- Respaldo y certificaciones ---------- */
.ae-nos-respaldo {
    position: relative;
    z-index: 20;
    margin-top: -64px;
    padding: 0 24px;
}

.ae-nos-respaldo-card {
    background-color: #ffffff;
    border-radius: 48px;
    padding: 40px;
    border: 1px solid #f3f4f6;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 64px;
}

@media (min-width: 768px) {
    .ae-nos-respaldo-card {
        padding: 64px;
    }
}

@media (min-width: 1024px) {
    .ae-nos-respaldo-card {
        flex-direction: row;
        gap: 96px;
        padding: 80px;
    }
}

.ae-nos-respaldo-text {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
}

.ae-nos-rule {
    width: 64px;
    height: 4px;
    background-color: #b81f2e;
}

.ae-nos-respaldo-title {
    margin: 0;
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    font-weight: 900;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    color: #1c1c1c;
}

@media (min-width: 1024px) {
    .ae-nos-respaldo-title {
        font-size: 48px;
    }
}

.ae-nos-respaldo-p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.625;
    color: #6b7280;
}

.ae-nos-respaldo-grid {
    flex: 1 1 50%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .ae-nos-respaldo-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.ae-nos-respaldo-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 24px;
    padding: 32px;
    transition: border-color 300ms ease;
}

.ae-nos-respaldo-item:hover {
    border-color: rgba(184, 31, 46, 0.3);
}

.ae-nos-respaldo-item--wide {
    grid-column: span 2;
}

@media (max-width: 639px) {
    .ae-nos-respaldo-item--wide {
        grid-column: span 1;
    }
}

.ae-nos-respaldo-item-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 16px;
    color: #b81f2e;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.ae-nos-respaldo-item-title {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    color: #1c1c1c;
}

.ae-nos-respaldo-item-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
}

/* ---------- Sedes ---------- */
.ae-nos-sedes {
    margin-top: 160px;
    padding: 0 24px;
    scroll-margin-top: 120px;
}

.ae-nos-sedes-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 80px;
}

.ae-nos-sedes-kicker {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ae-nos-sedes-kicker-rule {
    width: 32px;
    height: 1px;
    background-color: #b81f2e;
}

.ae-nos-sedes-kicker-text {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: #9ca3af;
}

.ae-nos-sedes-title {
    margin: 0;
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    font-weight: 900;
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: #1c1c1c;
}

@media (min-width: 768px) {
    .ae-nos-sedes-title {
        font-size: 60px;
    }
}

.ae-nos-sedes-sub {
    margin: 0;
    max-width: 576px;
    font-size: 16px;
    font-weight: 500;
    color: #6b7280;
    text-wrap: balance;
}

.ae-nos-sedes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .ae-nos-sedes-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .ae-nos-sedes-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.ae-nos-sedes-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: box-shadow 300ms ease;
}

.ae-nos-sedes-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.ae-nos-sedes-card-img-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
    background-color: #f3f4f6;
}

.ae-nos-sedes-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms ease;
}

.ae-nos-sedes-card:hover .ae-nos-sedes-card-img {
    transform: scale(1.05);
}

.ae-nos-sedes-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px;
}

.ae-nos-sedes-card-title {
    margin: 0;
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    color: #1c1c1c;
    transition: color 300ms ease;
}

.ae-nos-sedes-card:hover .ae-nos-sedes-card-title {
    color: #b81f2e;
}

.ae-nos-sedes-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ae-nos-sedes-card-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ae-nos-sedes-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9fafb;
    border-radius: 12px;
    padding: 8px;
    color: #b81f2e;
    flex-shrink: 0;
}

.ae-nos-sedes-card-text {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.625;
    color: #4b5563;
}

.ae-nos-sedes-card-footer {
    padding-top: 24px;
    border-top: 1px solid #f3f4f6;
}

.ae-nos-sedes-card-map {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1c1c1c;
    transition: color 300ms ease;
}

.ae-nos-sedes-card-map svg {
    flex-shrink: 0;
}

.ae-nos-sedes-card-map:hover {
    color: #b81f2e;
}

/* ---------- CTA contacto ---------- */
.ae-nos-cta {
    position: relative;
    margin-top: 160px;
    background-color: #2a2a2a;
    border-radius: 48px;
    padding: 40px;
    overflow: hidden;
    color: #ffffff;
}

@media (min-width: 768px) {
    .ae-nos-cta {
        padding: 64px;
    }
}

@media (min-width: 1024px) {
    .ae-nos-cta {
        padding: 80px;
    }
}

.ae-nos-cta-blob {
    position: absolute;
    top: 0;
    right: 0;
    width: 33.333%;
    height: 100%;
    background-color: rgba(184, 31, 46, 0.1);
    filter: blur(100px);
    border-radius: 9999px;
    transform: translateX(50%);
    pointer-events: none;
}

.ae-nos-cta-inner {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    align-items: center;
}

@media (min-width: 1024px) {
    .ae-nos-cta-inner {
        grid-template-columns: 1fr 1fr;
    }
}

.ae-nos-cta-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.ae-nos-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    align-self: flex-start;
    padding: 4px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
}

.ae-nos-cta-badge svg {
    color: #b81f2e;
    flex-shrink: 0;
}

.ae-nos-cta-badge span {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ae-nos-cta-title {
    margin: 0;
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    font-weight: 900;
    font-size: 36px;
    line-height: 1;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: #ffffff;
}

@media (min-width: 768px) {
    .ae-nos-cta-title {
        font-size: 60px;
    }
}

.ae-nos-cta-sub {
    margin: 0;
    max-width: 448px;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.625;
    color: #9ca3af;
}

.ae-nos-cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 640px) {
    .ae-nos-cta-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .ae-nos-cta-grid {
        gap: 48px;
    }
}

.ae-nos-cta-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ae-nos-cta-col-title {
    margin: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #6b7280;
}

.ae-nos-cta-phones {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ae-nos-cta-phone {
    display: block;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #ffffff;
    transition: color 300ms ease;
}

.ae-nos-cta-phone:hover {
    color: #b81f2e;
}

.ae-nos-cta-booking {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ae-nos-cta-booking-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ae-nos-cta-booking-label {
    margin: 0;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
}

.ae-nos-cta-booking-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    transition: color 300ms ease;
}

.ae-nos-cta-booking-link svg {
    color: #b81f2e;
    flex-shrink: 0;
    transition: transform 300ms ease;
}

.ae-nos-cta-booking-link:hover {
    color: #b81f2e;
}

.ae-nos-cta-booking-link:hover svg {
    transform: translateX(4px);
}
