/* ═══════════════════════════════════════════════════════════════
   FIESTA DE LA ESPUMA — DESIGN SYSTEM ACUÁTICO
   Premium Landing Page · Fiestas Zoe
   ═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   1. DESIGN TOKENS — PALETA ACUÁTICA
   ───────────────────────────────────────── */
.espuma-page {
    /* — Colores Primarios — */
    --esp-blue-electric: #0066ff;
    --esp-blue-deep: #0040a8;
    --esp-blue-dark: #001a44;
    --esp-blue-midnight: #000d22;
    --esp-turquoise: #00d4aa;
    --esp-turquoise-light: #33ffd6;
    --esp-cyan: #00c8ff;
    --esp-cyan-glow: #00e5ff;
    --esp-foam-white: #f0f9ff;
    --esp-foam-cream: #e0f2fe;
    --esp-neon-blue: #4d9fff;
    --esp-neon-purple: #a855f7;
    --esp-neon-pink: #ec4899;

    /* — Fondos — */
    --esp-bg-primary: #020b18;
    --esp-bg-section: #041025;
    --esp-bg-section-alt: #06142e;
    --esp-bg-card: rgba(6, 20, 46, 0.7);
    --esp-bg-glass: rgba(4, 16, 37, 0.65);

    /* — Texto — */
    --esp-text-white: #ffffff;
    --esp-text-light: #c4daf6;
    --esp-text-muted: #7a9cc6;
    --esp-text-dim: #4a6d99;

    /* — Bordes — */
    --esp-border: rgba(0, 102, 255, 0.15);
    --esp-border-glow: rgba(0, 200, 255, 0.3);
    --esp-border-card: rgba(100, 170, 255, 0.12);

    /* — Gradientes — */
    --esp-grad-hero: linear-gradient(135deg, #020b18 0%, #041025 40%, #0a1a3e 100%);
    --esp-grad-blue: linear-gradient(135deg, #0066ff, #00c8ff);
    --esp-grad-neon: linear-gradient(135deg, #0066ff, #00d4aa);
    --esp-grad-card: linear-gradient(160deg, rgba(0, 102, 255, 0.08), rgba(0, 200, 255, 0.04));
    --esp-grad-cta: linear-gradient(135deg, #0066ff 0%, #0040a8 50%, #00d4aa 100%);

    /* — Sombras — */
    --esp-shadow-sm: 0 2px 8px rgba(0, 102, 255, 0.1);
    --esp-shadow-md: 0 8px 32px rgba(0, 102, 255, 0.15);
    --esp-shadow-lg: 0 16px 64px rgba(0, 102, 255, 0.2);
    --esp-shadow-glow: 0 0 30px rgba(0, 200, 255, 0.3);
    --esp-shadow-neon: 0 0 40px rgba(0, 102, 255, 0.4), 0 0 80px rgba(0, 102, 255, 0.2);

    /* — Glass — */
    --esp-glass-bg: rgba(4, 16, 37, 0.6);
    --esp-glass-blur: 20px;
    --esp-glass-border: rgba(100, 170, 255, 0.15);

    /* — Espaciado (heredado + custom) — */
    --esp-section-gap: clamp(5rem, 10vw, 8rem);

    /* — Radios — */
    --esp-radius-sm: 8px;
    --esp-radius-md: 16px;
    --esp-radius-lg: 24px;
    --esp-radius-xl: 32px;
    --esp-radius-full: 9999px;

    /* — Transiciones — */
    --esp-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --esp-ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --esp-ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --esp-dur-fast: 0.2s;
    --esp-dur-base: 0.4s;
    --esp-dur-slow: 0.7s;
    --esp-dur-reveal: 1s;

    /* — Base overrides — */
    background: var(--esp-bg-primary);
    color: var(--esp-text-light);
    overflow-x: hidden;
}


/* ═══════════════════════════════════════════════════════════════
   2. PARTÍCULAS DE ESPUMA — FONDO ANIMADO
   ═══════════════════════════════════════════════════════════════ */
.esp-bubbles-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.esp-bubble-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.25) 0%, rgba(0, 200, 255, 0.08) 60%, transparent 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: espBubbleFloat var(--dur, 18s) var(--delay, 0s) infinite ease-in-out;
    will-change: transform, opacity;
    opacity: 0;
}

@keyframes espBubbleFloat {
    0% {
        transform: translate3d(0, 100vh, 0) scale(0.3);
        opacity: 0;
    }

    10% {
        opacity: var(--opacity, 0.4);
    }

    90% {
        opacity: var(--opacity, 0.4);
    }

    100% {
        transform: translate3d(var(--drift, 40px), -10vh, 0) scale(1);
        opacity: 0;
    }
}


/* ═══════════════════════════════════════════════════════════════
   3. ONDAS DE AGUA — TRANSICIONES ENTRE SECCIONES
   ═══════════════════════════════════════════════════════════════ */
.esp-wave-divider {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
    margin-top: -1px;
}

.esp-wave-divider svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.esp-wave-divider--flip {
    transform: scaleY(-1);
    margin-bottom: -1px;
    margin-top: 0;
}


/* ═══════════════════════════════════════════════════════════════
   4. SCROLL REVEAL SYSTEM
   ═══════════════════════════════════════════════════════════════ */
.esp-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity var(--esp-dur-reveal) var(--esp-ease-smooth),
        transform var(--esp-dur-reveal) var(--esp-ease-smooth);
}

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

.esp-reveal--delay-1 {
    transition-delay: 0.1s;
}

.esp-reveal--delay-2 {
    transition-delay: 0.2s;
}

.esp-reveal--delay-3 {
    transition-delay: 0.3s;
}

.esp-reveal--delay-4 {
    transition-delay: 0.4s;
}

.esp-reveal--delay-5 {
    transition-delay: 0.5s;
}

.esp-reveal--delay-6 {
    transition-delay: 0.6s;
}

.esp-reveal--delay-7 {
    transition-delay: 0.7s;
}

.esp-reveal--delay-8 {
    transition-delay: 0.8s;
}

.esp-reveal--scale {
    opacity: 0;
    transform: scale(0.9);
}

.esp-reveal--scale.is-visible {
    opacity: 1;
    transform: scale(1);
}

.esp-reveal--left {
    opacity: 0;
    transform: translateX(-60px);
}

.esp-reveal--left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.esp-reveal--right {
    opacity: 0;
    transform: translateX(60px);
}

.esp-reveal--right.is-visible {
    opacity: 1;
    transform: translateX(0);
}


/* ═══════════════════════════════════════════════════════════════
   5. BOTONES — ESTILO ACUÁTICO
   ═══════════════════════════════════════════════════════════════ */
.esp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 2.2rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--esp-radius-full);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition:
        transform var(--esp-dur-fast) var(--esp-ease),
        box-shadow var(--esp-dur-base) var(--esp-ease),
        background var(--esp-dur-base) var(--esp-ease);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.esp-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--esp-dur-base) var(--esp-ease);
    z-index: -1;
}

.esp-btn:hover::before {
    opacity: 1;
}

.esp-btn:active {
    transform: scale(0.96);
}

/* Primary — Blue Gradient */
.esp-btn--primary {
    background: var(--esp-grad-blue);
    color: var(--esp-text-white);
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
}

.esp-btn--primary::before {
    background: linear-gradient(135deg, #0077ff, #00d4ff);
}

.esp-btn--primary:hover {
    box-shadow: 0 8px 40px rgba(0, 102, 255, 0.6);
    transform: translateY(-2px);
}

/* Secondary — Ghost/Outline */
.esp-btn--secondary {
    background: transparent;
    color: var(--esp-text-white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.esp-btn--secondary::before {
    background: rgba(255, 255, 255, 0.1);
}

.esp-btn--secondary:hover {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* WhatsApp */
.esp-btn--whatsapp {
    background: #25d366;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.esp-btn--whatsapp::before {
    background: #2be06f;
}

.esp-btn--whatsapp:hover {
    box-shadow: 0 8px 40px rgba(37, 211, 102, 0.6);
    transform: translateY(-2px);
}

/* CTA Glow */
.esp-btn--glow {
    background: var(--esp-grad-cta);
    color: white;
    box-shadow: var(--esp-shadow-neon);
    animation: espBtnPulse 3s ease-in-out infinite;
}

.esp-btn--glow:hover {
    animation: none;
    box-shadow: 0 0 50px rgba(0, 102, 255, 0.6), 0 0 100px rgba(0, 102, 255, 0.3);
    transform: translateY(-3px);
}

@keyframes espBtnPulse {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(0, 102, 255, 0.4), 0 0 60px rgba(0, 102, 255, 0.15);
    }

    50% {
        box-shadow: 0 0 50px rgba(0, 200, 255, 0.5), 0 0 100px rgba(0, 200, 255, 0.2);
    }
}

/* Button icon */
.esp-btn__icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════════
   6. HERO SECTION — FULLSCREEN
   ═══════════════════════════════════════════════════════════════ */
.esp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--esp-bg-primary);
}

.esp-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.esp-hero__video,
.esp-hero__fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.esp-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(2, 11, 24, 0.7) 0%,
            rgba(2, 11, 24, 0.3) 35%,
            rgba(2, 11, 24, 0.4) 65%,
            rgba(2, 11, 24, 0.95) 100%);
}

/* Ambient light effects */
.esp-hero__lights {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.esp-hero__light {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: espLightFloat 8s ease-in-out infinite;
}

.esp-hero__light--blue {
    width: 500px;
    height: 500px;
    background: rgba(0, 102, 255, 0.3);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.esp-hero__light--cyan {
    width: 400px;
    height: 400px;
    background: rgba(0, 200, 255, 0.25);
    bottom: 10%;
    left: -5%;
    animation-delay: -4s;
}

.esp-hero__light--turquoise {
    width: 300px;
    height: 300px;
    background: rgba(0, 212, 170, 0.2);
    top: 40%;
    left: 50%;
    animation-delay: -2s;
}

@keyframes espLightFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -20px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 15px) scale(0.9);
    }
}

.esp-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 950px;
    padding: var(--space-2xl) var(--gutter);
}

.esp-hero__overline {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--esp-cyan);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: espFadeUp 0.8s var(--esp-ease-smooth) 0.3s forwards;
}

.esp-hero__title {
    font-family: var(--font-editorial);
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--esp-text-white);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: espFadeUp 1s var(--esp-ease-smooth) 0.5s forwards;
}

.esp-hero__title em {
    font-style: normal;
    background: var(--esp-grad-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.esp-hero__subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    color: var(--esp-text-light);
    line-height: 1.8;
    max-width: 56ch;
    margin-inline: auto;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: espFadeUp 1s var(--esp-ease-smooth) 0.7s forwards;
}

.esp-hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    opacity: 0;
    animation: espFadeUp 1s var(--esp-ease-smooth) 0.9s forwards;
}

/* Trust Badges */
.esp-hero__trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    opacity: 0;
    animation: espFadeUp 1s var(--esp-ease-smooth) 1.1s forwards;
}

.esp-hero__trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--esp-text-light);
}

.esp-hero__trust-icon {
    width: 20px;
    height: 20px;
    color: var(--esp-turquoise);
    flex-shrink: 0;
}

/* Scroll indicator */
.esp-hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    opacity: 0;
    animation: espFadeUp 1s var(--esp-ease-smooth) 1.4s forwards;
}

.esp-hero__scroll span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--esp-text-muted);
}

.esp-hero__scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, var(--esp-cyan), transparent);
    animation: espScrollLine 2s ease-in-out infinite;
}

@keyframes espFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes espScrollLine {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.8);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}


/* ═══════════════════════════════════════════════════════════════
   7. MARQUEE — INFINITE LOOP
   ═══════════════════════════════════════════════════════════════ */
.esp-marquee {
    padding: 1.5rem 0;
    overflow: hidden;
    background: var(--esp-bg-section);
    border-top: 1px solid var(--esp-border);
    border-bottom: 1px solid var(--esp-border);
    position: relative;
}

.esp-marquee__track {
    display: flex;
    width: max-content;
    animation: espMarqueeScroll 30s linear infinite;
}

.esp-marquee__text {
    font-family: var(--font-editorial);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    color: rgba(0, 200, 255, 0.12);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-right: 2rem;
}

@keyframes espMarqueeScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-25%);
    }
}


/* ═══════════════════════════════════════════════════════════════
   9. SECCIÓN DE PRECIOS — PRICING CARDS
   ═══════════════════════════════════════════════════════════════ */
.esp-pricing {
    padding: var(--esp-section-gap) 0;
    background: var(--esp-bg-primary);
    position: relative;
}

.esp-pricing__header {
    text-align: center;
    margin-bottom: 4rem;
}

.esp-pricing__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Pricing Card */
.esp-price-card {
    position: relative;
    border-radius: var(--esp-radius-lg);
    overflow: hidden;
    transition: transform var(--esp-dur-base) var(--esp-ease);
}

.esp-price-card:hover {
    transform: translateY(-8px);
}

.esp-price-card__glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    transition: opacity var(--esp-dur-base);
    opacity: 0;
}

.esp-price-card:hover .esp-price-card__glow {
    opacity: 1;
}

.esp-price-card__inner {
    position: relative;
    z-index: 1;
    background: var(--esp-bg-card);
    border: 1px solid var(--esp-border-card);
    border-radius: inherit;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(var(--esp-glass-blur));
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Featured card */
.esp-price-card--featured .esp-price-card__inner {
    border-color: rgba(0, 102, 255, 0.3);
    background: linear-gradient(160deg, rgba(0, 102, 255, 0.12), rgba(0, 200, 255, 0.06));
}

.esp-price-card__badge {
    position: absolute;
    top: 0;
    right: 2rem;
    background: var(--esp-grad-blue);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 0 0 var(--esp-radius-sm) var(--esp-radius-sm);
    z-index: 2;
}

.esp-price-card__name {
    font-family: var(--font-editorial);
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    color: var(--esp-text-white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.esp-price-card__price {
    font-family: var(--font-body);
    font-size: clamp(2.8rem, 5vw, 3.5rem);
    font-weight: 800;
    background: var(--esp-grad-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.esp-price-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    flex-grow: 1;
}

.esp-price-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0;
    font-size: 0.95rem;
    color: var(--esp-text-light);
    border-bottom: 1px solid rgba(100, 170, 255, 0.06);
}

.esp-price-card__features li:last-child {
    border-bottom: none;
}

.esp-price-card__check {
    width: 20px;
    height: 20px;
    color: var(--esp-turquoise);
    flex-shrink: 0;
    margin-top: 2px;
}

.esp-price-card__extra {
    font-size: 0.9rem;
    color: var(--esp-cyan);
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(0, 200, 255, 0.06);
    border-radius: var(--esp-radius-sm);
}

.esp-price-card__note {
    font-size: 0.85rem;
    color: var(--esp-text-muted);
    text-align: center;
    margin-bottom: 1.5rem;
}

.esp-price-card__cta {
    margin-top: auto;
}

.esp-price-card__cta .esp-btn {
    width: 100%;
}


/* ═══════════════════════════════════════════════════════════════
   10. GALERÍA INMERSIVA — MASONRY GRID + LIGHTBOX
   ═══════════════════════════════════════════════════════════════ */
.esp-gallery {
    padding: var(--esp-section-gap) 0;
    background: var(--esp-bg-section);
    position: relative;
}

.esp-gallery__header {
    text-align: center;
    margin-bottom: 4rem;
}

.esp-gallery__grid {
    columns: 3;
    column-gap: 1rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.esp-gallery__item {
    break-inside: avoid;
    margin-bottom: 1rem;
    position: relative;
    border-radius: var(--esp-radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--esp-dur-base) var(--esp-ease);
}

.esp-gallery__item:hover {
    transform: scale(1.02);
}

.esp-gallery__item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--esp-dur-slow) var(--esp-ease);
}

.esp-gallery__item:hover img {
    transform: scale(1.08);
}

.esp-gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 11, 24, 0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--esp-dur-base) var(--esp-ease);
    display: flex;
    align-items: flex-end;
    padding: 1.2rem;
}

.esp-gallery__item:hover .esp-gallery__item-overlay {
    opacity: 1;
}

.esp-gallery__item-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Lightbox */
.esp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(2, 11, 24, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--esp-dur-base) var(--esp-ease), visibility var(--esp-dur-base);
    cursor: pointer;
}

.esp-lightbox.is-active {
    opacity: 1;
    visibility: visible;
}

.esp-lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--esp-radius-md);
    box-shadow: var(--esp-shadow-lg);
    transition: transform var(--esp-dur-base) var(--esp-ease);
}

.esp-lightbox.is-active .esp-lightbox__img {
    transform: scale(1);
}

.esp-lightbox__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--esp-dur-fast);
    font-size: 1.5rem;
    line-height: 1;
}

.esp-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
}


/* ═══════════════════════════════════════════════════════════════
   11. CAÑÓN 3D CSS INTERACTIVO
   ═══════════════════════════════════════════════════════════════ */
.esp-cannon-section {
    padding: var(--esp-section-gap) 0;
    background: var(--esp-bg-primary);
    position: relative;
    overflow: hidden;
}

.esp-cannon__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* 3D Scene */
.esp-cannon__scene {
    perspective: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    position: relative;
}

.esp-cannon__model {
    width: 280px;
    height: 280px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-15deg) rotateY(-25deg);
    transition: transform 0.3s var(--esp-ease);
}

.esp-cannon__model:hover {
    transform: rotateX(-10deg) rotateY(-15deg) scale(1.05);
}

/* Cannon Body */
.esp-cannon__body {
    position: absolute;
    width: 140px;
    height: 200px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(180deg, #1a2a4a 0%, #0d1b2a 50%, #1a2a4a 100%);
    border-radius: 20px 20px 30px 30px;
    box-shadow:
        0 0 0 3px #2a4a6a,
        inset 0 0 20px rgba(0, 200, 255, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.5);
    transform-style: preserve-3d;
}

.esp-cannon__body::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #000510 0%, #0d1b2a 60%);
    box-shadow:
        0 0 0 6px #2a4a6a,
        0 0 0 8px #1a3a5a,
        inset 0 0 25px rgba(0, 200, 255, 0.3),
        0 0 40px rgba(0, 200, 255, 0.2);
    border: 2px solid rgba(0, 200, 255, 0.2);
}

.esp-cannon__body::after {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: rgba(0, 200, 255, 0.5);
    text-transform: uppercase;
    white-space: nowrap;
}

/* Foam particles from cannon */
.esp-cannon__foam {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
}

.esp-cannon__foam-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.9), rgba(200, 240, 255, 0.4));
    box-shadow:
        inset 2px 2px 6px rgba(255, 255, 255, 0.9),
        inset -3px -3px 8px rgba(0, 150, 255, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.2);
    animation: espCannonBubble var(--b-dur, 3s) ease-out var(--b-delay, 0s) infinite;
    opacity: 0;
}

@keyframes espCannonBubble {
    0% {
        transform: translate(0, 0) scale(0.1);
        opacity: 0.9;
    }

    40% {
        opacity: 1;
    }

    100% {
        transform: translate(var(--b-x, 20px), var(--b-y, -80px)) scale(var(--b-scale, 1.5));
        opacity: 0;
    }
}

/* Info labels */
.esp-cannon__labels {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.esp-cannon__label {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--esp-cyan);
    white-space: nowrap;
    opacity: 0.8;
}

.esp-cannon__label::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--esp-cyan);
    box-shadow: 0 0 8px var(--esp-cyan);
    flex-shrink: 0;
}

.esp-cannon__label--top {
    top: 5%;
    left: 5%;
}

.esp-cannon__label--mid {
    top: 50%;
    right: 0;
}

.esp-cannon__label--bot {
    bottom: 15%;
    left: 5%;
}

/* Info Panel */
.esp-cannon__info {
    padding-right: 2rem;
}

.esp-cannon__info-title {
    font-family: var(--font-editorial);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--esp-text-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 600;
}

.esp-cannon__info-desc {
    font-size: 1.05rem;
    color: var(--esp-text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 44ch;
}

.esp-cannon__specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.esp-cannon__spec {
    padding: 1rem;
    background: var(--esp-bg-card);
    border: 1px solid var(--esp-border-card);
    border-radius: var(--esp-radius-sm);
    backdrop-filter: blur(10px);
}

.esp-cannon__spec-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--esp-cyan);
    display: block;
    margin-bottom: 0.3rem;
}

.esp-cannon__spec-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--esp-text-muted);
}


/* ═══════════════════════════════════════════════════════════════
   12. ¿PARA QUÉ EVENTOS? — EVENT CARDS
   ═══════════════════════════════════════════════════════════════ */
.esp-events {
    padding: var(--esp-section-gap) 0;
    background: var(--esp-bg-section-alt);
    position: relative;
}

.esp-events__header {
    text-align: center;
    margin-bottom: 4rem;
}

.esp-events__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.esp-event-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1rem;
    background: var(--esp-bg-card);
    border: 1px solid var(--esp-border-card);
    border-radius: var(--esp-radius-md);
    backdrop-filter: blur(10px);
    text-align: center;
    transition:
        transform var(--esp-dur-base) var(--esp-ease),
        border-color var(--esp-dur-base) var(--esp-ease),
        box-shadow var(--esp-dur-base) var(--esp-ease);
    cursor: default;
}

.esp-event-card:hover {
    transform: translateY(-6px);
    border-color: var(--esp-border-glow);
    box-shadow: var(--esp-shadow-md);
}

.esp-event-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--esp-radius-md);
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15), rgba(0, 200, 255, 0.08));
    color: var(--esp-cyan);
    transition: background var(--esp-dur-base);
}

.esp-event-card:hover .esp-event-card__icon {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.25), rgba(0, 200, 255, 0.15));
}

.esp-event-card__icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.esp-event-card__name {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--esp-text-white);
    letter-spacing: 0.03em;
}


/* ═══════════════════════════════════════════════════════════════
   13. CONTADORES DE IMPACTO
   ═══════════════════════════════════════════════════════════════ */
.esp-counters {
    padding: 5rem 0;
    background: var(--esp-bg-primary);
    position: relative;
    overflow: hidden;
}

.esp-counters::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 102, 255, 0.08) 0%, transparent 70%);
}

.esp-counters__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--gutter);
    position: relative;
    z-index: 1;
}

.esp-counter {
    text-align: center;
    padding: 2rem 1rem;
}

.esp-counter__icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 1rem;
    color: var(--esp-cyan);
}

.esp-counter__icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.esp-counter__number {
    font-family: var(--font-body);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--esp-text-white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.esp-counter__number .counter-prefix {
    color: var(--esp-cyan);
}

.esp-counter__label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--esp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}


/* ═══════════════════════════════════════════════════════════════
   14. TESTIMONIOS — CARRUSEL
   ═══════════════════════════════════════════════════════════════ */
.esp-testimonials {
    padding: var(--esp-section-gap) 0;
    background: var(--esp-bg-section);
    position: relative;
    overflow: hidden;
}

.esp-testimonials__header {
    text-align: center;
    margin-bottom: 4rem;
}

.esp-testimonials__carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--gutter);
    overflow: hidden;
}

.esp-testimonials__track {
    display: flex;
    transition: transform 0.6s var(--esp-ease-smooth);
}

.esp-testimonial {
    flex: 0 0 100%;
    padding: 0 1rem;
}

.esp-testimonial__card {
    background: var(--esp-bg-card);
    border: 1px solid var(--esp-border-card);
    border-radius: var(--esp-radius-lg);
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(var(--esp-glass-blur));
}

.esp-testimonial__stars {
    display: flex;
    gap: 0.3rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.esp-testimonial__stars svg {
    width: 22px;
    height: 22px;
    fill: #fbbf24;
}

.esp-testimonial__text {
    font-family: var(--font-editorial);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-style: italic;
    color: var(--esp-text-white);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 50ch;
    margin-inline: auto;
}

.esp-testimonial__author {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--esp-text-light);
}

.esp-testimonial__role {
    font-size: 0.8rem;
    color: var(--esp-text-muted);
    margin-top: 0.3rem;
}

/* Carousel Controls */
.esp-testimonials__controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.esp-testimonials__btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--esp-border-card);
    border-radius: 50%;
    background: var(--esp-bg-card);
    color: var(--esp-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--esp-dur-fast) var(--esp-ease);
}

.esp-testimonials__btn:hover {
    border-color: var(--esp-cyan);
    color: var(--esp-cyan);
    background: rgba(0, 200, 255, 0.1);
}

.esp-testimonials__btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.esp-testimonials__dots {
    display: flex;
    gap: 0.5rem;
}

.esp-testimonials__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--esp-text-dim);
    border: none;
    cursor: pointer;
    transition: all var(--esp-dur-fast);
    padding: 0;
}

.esp-testimonials__dot.is-active {
    background: var(--esp-cyan);
    width: 24px;
    border-radius: 4px;
}


/* ═══════════════════════════════════════════════════════════════
   15. MAPA SVG INTERACTIVO DE ESPAÑA
   ═══════════════════════════════════════════════════════════════ */
.esp-map {
    padding: var(--esp-section-gap) 0;
    background: var(--esp-bg-primary);
    position: relative;
}

.esp-map__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.esp-map__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.esp-map__svg-wrap {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.esp-map__svg-wrap svg {
    width: 100%;
    height: auto;
}

.esp-map__svg-wrap .map-region {
    fill: rgba(0, 102, 255, 0.15);
    stroke: rgba(0, 200, 255, 0.3);
    stroke-width: 0.5;
    transition: fill var(--esp-dur-base) var(--esp-ease);
}

.esp-map__svg-wrap .map-region:hover {
    fill: rgba(0, 102, 255, 0.35);
}

.esp-map__svg-wrap .map-region--active {
    fill: rgba(0, 102, 255, 0.3);
    animation: espMapPulse 3s ease-in-out infinite;
}

@keyframes espMapPulse {

    0%,
    100% {
        fill: rgba(0, 102, 255, 0.2);
    }

    50% {
        fill: rgba(0, 200, 255, 0.35);
    }
}

.esp-map__glow-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--esp-cyan);
    box-shadow: 0 0 20px var(--esp-cyan), 0 0 40px rgba(0, 200, 255, 0.3);
    animation: espDotPulse 2s ease-in-out infinite;
}

@keyframes espDotPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.6;
    }
}

.esp-map__info {
    padding-left: 2rem;
}

.esp-map__info-title {
    font-family: var(--font-editorial);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--esp-text-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 600;
}

.esp-map__info-desc {
    font-size: 1.05rem;
    color: var(--esp-text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 44ch;
}

.esp-map__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.esp-map__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: var(--esp-radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--esp-text-light);
    transition: all var(--esp-dur-fast);
}

.esp-map__badge:hover {
    background: rgba(0, 102, 255, 0.2);
    border-color: rgba(0, 200, 255, 0.3);
}


/* ═══════════════════════════════════════════════════════════════
   16. CONTENIDO SEO
   ═══════════════════════════════════════════════════════════════ */
.esp-seo {
    padding: var(--esp-section-gap) 0;
    background: var(--esp-bg-section);
}

.esp-seo__inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.esp-seo__title {
    font-family: var(--font-editorial);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--esp-text-white);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
}

.esp-seo__content {
    font-size: 1.05rem;
    color: var(--esp-text-light);
    line-height: 1.9;
}

.esp-seo__content h2 {
    font-family: var(--font-editorial);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: var(--esp-text-white);
    margin-top: 3rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.esp-seo__content h3 {
    font-family: var(--font-editorial);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    color: var(--esp-text-white);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.esp-seo__content p {
    margin-bottom: 1.5rem;
    max-width: none;
}

.esp-seo__content strong {
    color: var(--esp-text-white);
    font-weight: 600;
}

.esp-seo__content ul {
    margin: 1.5rem 0;
    padding-left: 0;
}

.esp-seo__content ul li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
}

.esp-seo__content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--esp-grad-blue);
}


/* ═══════════════════════════════════════════════════════════════
   17. FAQ — ACCORDION
   ═══════════════════════════════════════════════════════════════ */
.esp-faq {
    padding: var(--esp-section-gap) 0;
    background: var(--esp-bg-primary);
}

.esp-faq__header {
    text-align: center;
    margin-bottom: 4rem;
}

.esp-faq__list {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.esp-faq__item {
    border-bottom: 1px solid var(--esp-border);
}

.esp-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--esp-text-white);
    transition: color var(--esp-dur-fast);
}

.esp-faq__question:hover {
    color: var(--esp-cyan);
}

.esp-faq__icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border: 1px solid var(--esp-border-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--esp-cyan);
    transition: transform var(--esp-dur-base) var(--esp-ease), background var(--esp-dur-fast);
}

.esp-faq__icon svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

.esp-faq__item.is-open .esp-faq__icon {
    transform: rotate(45deg);
    background: rgba(0, 200, 255, 0.1);
}

.esp-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--esp-dur-base) var(--esp-ease),
        padding var(--esp-dur-base) var(--esp-ease);
}

.esp-faq__item.is-open .esp-faq__answer {
    max-height: 300px;
    padding-bottom: 1.5rem;
}

.esp-faq__answer p {
    font-size: 0.95rem;
    color: var(--esp-text-light);
    line-height: 1.8;
    max-width: none;
}


/* ═══════════════════════════════════════════════════════════════
   19. CTA FINAL
   ═══════════════════════════════════════════════════════════════ */
.esp-cta-final {
    position: relative;
    padding: var(--esp-section-gap) 0;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.esp-cta-final__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.esp-cta-final__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.esp-cta-final__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(135deg,
            rgba(0, 40, 100, 0.85) 0%,
            rgba(2, 11, 24, 0.9) 50%,
            rgba(0, 50, 120, 0.85) 100%);
}

.esp-cta-final__lights {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.esp-cta-final__light {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.esp-cta-final__light--1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 102, 255, 0.4);
    top: -20%;
    left: 10%;
    animation: espLightFloat 10s ease-in-out infinite;
}

.esp-cta-final__light--2 {
    width: 350px;
    height: 350px;
    background: rgba(0, 212, 170, 0.3);
    bottom: -15%;
    right: 10%;
    animation: espLightFloat 10s ease-in-out infinite reverse;
}

.esp-cta-final__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.esp-cta-final__title {
    font-family: var(--font-editorial);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--esp-text-white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.esp-cta-final__subtitle {
    font-size: 1.1rem;
    color: var(--esp-text-light);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 46ch;
    margin-inline: auto;
}

.esp-cta-final__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* ═══════════════════════════════════════════════════════════════
   20. SECTION HEADERS — REUSABLE
   ═══════════════════════════════════════════════════════════════ */
.esp-section-overline {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--esp-cyan);
    margin-bottom: 1rem;
}

.esp-section-title {
    font-family: var(--font-editorial);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--esp-text-white);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.esp-section-subtitle {
    font-size: 1.05rem;
    color: var(--esp-text-muted);
    max-width: 50ch;
    margin-inline: auto;
    line-height: 1.7;
}


/* ═══════════════════════════════════════════════════════════════
   21. WHATSAPP & PHONE OVERRIDES (AQUATIC THEME)
   ═══════════════════════════════════════════════════════════════ */
.espuma-page .whatsapp-float .botones {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    animation: espWaFloat 3s ease-in-out infinite;
}

@keyframes espWaFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.espuma-page .phone-float .botones-phone {
    background-color: var(--esp-blue-electric);
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
}


/* ═══════════════════════════════════════════════════════════════
   22. HEADER OVERRIDES (AQUATIC)
   ═══════════════════════════════════════════════════════════════ */
.espuma-page .site-header {
    background: rgba(2, 11, 24, 0.7);
    border-bottom-color: var(--esp-border);
}

.espuma-page .site-header__logo .brand-name {
    color: var(--esp-cyan);
}

.espuma-page .site-header__nav a:hover,
.espuma-page .site-header__nav a:focus-visible {
    color: var(--esp-cyan);
}

.espuma-page .site-header__nav a::after {
    background: var(--esp-cyan);
}

.espuma-page .btn--champagne {
    border-color: var(--esp-cyan);
    color: var(--esp-cyan);
}

.espuma-page .btn--champagne:hover,
.espuma-page .btn--champagne:focus-visible {
    background: var(--esp-cyan);
    color: var(--esp-bg-primary);
}


/* ═══════════════════════════════════════════════════════════════
   23. FOOTER OVERRIDES (AQUATIC)
   ═══════════════════════════════════════════════════════════════ */
.espuma-page .site-footer {
    background: var(--esp-bg-primary);
    border-top: 1px solid var(--esp-border);
}

.espuma-page .site-footer__heading {
    color: var(--esp-foam-cream);
}

.espuma-page .site-footer__links a:hover {
    color: var(--esp-cyan);
}

.espuma-page .site-footer__social a:hover {
    color: var(--esp-cyan);
    border-color: var(--esp-cyan);
}

.espuma-page .site-footer__bottom {
    border-top-color: var(--esp-border);
}

.espuma-page :focus-visible {
    outline-color: var(--esp-cyan);
}


/* ═══════════════════════════════════════════════════════════════
   24. RESPONSIVE — MOBILE FIRST
   ═══════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
    .esp-cannon__wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .esp-cannon__info {
        padding-right: 0;
        text-align: center;
    }

    .esp-cannon__info-desc {
        margin-inline: auto;
    }

    .esp-cannon__specs {
        max-width: 400px;
        margin: 0 auto;
    }

    .esp-map__wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .esp-map__info {
        padding-left: 0;
        text-align: center;
    }

    .esp-map__info-desc {
        margin-inline: auto;
    }

    .esp-map__badges {
        justify-content: center;
    }

    .esp-counters__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large Mobile */
@media (max-width: 768px) {
    .esp-pricing__grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .esp-gallery__grid {
        columns: 2;
    }

    .esp-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .esp-hero__actions .esp-btn {
        width: 100%;
        max-width: 320px;
    }

    .esp-hero__trust {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .esp-hero__scroll {
        display: none;
    }

    .esp-events__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .esp-form {
        padding: 2rem 1.5rem;
    }

    .esp-form__grid {
        grid-template-columns: 1fr;
    }

    .esp-cta-final__actions {
        flex-direction: column;
        align-items: center;
    }

    .esp-cta-final__actions .esp-btn {
        width: 100%;
        max-width: 320px;
    }

    .esp-cannon__scene {
        min-height: 300px;
    }

    .esp-cannon__model {
        width: 220px;
        height: 220px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .esp-gallery__grid {
        columns: 1;
    }

    .esp-events__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .esp-counters__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .esp-counter {
        padding: 1.5rem 0.5rem;
    }

    .esp-testimonial__card {
        padding: 2rem 1.5rem;
    }

    .esp-offer__inner {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .esp-wave-divider {
        height: 50px;
    }
}