/* =========================================================
   0) TOKENS / VARIABLES
========================================================= */
:root {
    --heading-font: "Bungee", system-ui, -apple-system, Segoe UI, Roboto, Arial,
        sans-serif;

    --azul: #2c59a8;
    --azul-light: #4dc0d9;
    --azul-baby: #c7e9f4;
    --fusha: #ff2fb3;
    --verde: #319c47;
    --amarillo: #fecb36;
    --naranja: #eb9022;
    --rojo: #dc3e1c;
    --ink: #0c2238;

    --glass: rgba(255, 255, 255, 0.12);
    --bg-top: #f6fbff;
    --bg-bottom: #f6fbff;

    --navH: 64px;

    --footer-bg: #0b2440;
    --footer-bg-2: #0e2c4f;
    --footer-link: #e6f2ff;

    /* overlay */
    --overlay: rgba(0, 0, 0, 0.45);
}

/* =========================================================
   1) RESETS / BASE
========================================================= */
* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    background-color: var(--bg-bottom);
}

body {
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial,
        sans-serif;
    color: var(--ink);
    background-color: var(--azul-baby) !important;
    padding-top: var(--navH);

    /* Sticky footer base */
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
    background-color: var(--bg-bottom);
}

/* =========================================================
   2) TYPOGRAPHY
========================================================= */
h1 {
    font-family: var(--heading-font);
    font-size: 3rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 20px;
    margin-bottom: 20px;
}
h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 12px;
    margin-bottom: 12px;
}

.h-waterpark,
h1.display-4,
h2.h3,
h3.h4 {
    font-family: var(--heading-font);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* opcional: un toque más “logo” */
.h-waterpark {
    text-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

/* =========================================================
   3) COLORS / UTILITIES
========================================================= */
.text-brand {
    color: var(--azul) !important;
}

.txt-azul {
    color: var(--azul);
}
.txt-azul-light {
    color: var(--azul-light);
}
.txt-amarillo {
    color: var(--amarillo);
}

.bg-grad-azul {
    background: linear-gradient(
        45deg,
        var(--azul-light) 0%,
        var(--azul) 50%,
        var(--azul-light) 100%
    ) !important;
}

.bg-general {
    background-color: var(--bg-bottom);
}

.bg-body {
    background: linear-gradient(
        180deg,
        var(--bg-top) 0%,
        var(--bg-bottom) 100%
    );
}

.text-snf {
    background: linear-gradient(
        45deg,
        var(--azul) 0%,
        var(--amarillo) 50%,
        var(--azul-light) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-snf-shadow {
    text-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.opacity-75 {
    opacity: 0.75;
}
.opacity-85 {
    opacity: 0.85;
}

.grad-text {
    background: linear-gradient(90deg, var(--naranja), var(--amarillo));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.z-2 {
    z-index: 2;
}

.badge.bg-glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
}

.bg-cover {
    background-size: cover;
    background-position: center;
}

/* =========================================================
   4) BOOTSTRAP OVERRIDES (NO CAMBIAR REGLAS BASE)
   - Mantener: .btn radius 0.85
   - Mantener: .card radius 1.25
========================================================= */
.btn {
    border-radius: 0.85rem;
}

.btn-primary {
    background: var(--azul);
    border-color: var(--azul);
}

.btn-primary:hover {
    filter: brightness(0.95);
}

.btn-outline-light {
    border-color: #fff;
    color: #fff;
}

.btn-outline-light:hover {
    background: #fff;
    color: #0b2440;
}

.card {
    border: 0;
    border-radius: 1.25rem;
}

/* Cards & glass extras */
.card.lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card.lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.glass {
    background: var(--glass);
    backdrop-filter: blur(8px);
    color: #fff;
}

.highlight {
    background: linear-gradient(
        135deg,
        var(--azul) 0%,
        var(--azul-baby) 100%
    ) !important;
    color: #fff;
}

/* Inputs */
.form-control.is-invalid {
    box-shadow: none;
}

button[disabled],
.btn[disabled] {
    opacity: 0.85;
    cursor: not-allowed;
}

.btn.is-loading {
    opacity: 0.9;
}

/* =========================================================
   5) PRELOADER
========================================================= */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #d8f2ff 0%, #b6e8ff 100%);
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.preloader__inner {
    text-align: center;
}

.preloader__logo {
    width: 180px;
    max-width: 60vw;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.15));
    animation: logoPop 0.5s ease both;
}

@keyframes logoPop {
    from {
        transform: translateY(10px) scale(0.97);
        opacity: 0;
    }
    to {
        transform: none;
        opacity: 1;
    }
}

.preloader__bar {
    margin: 18px auto 0;
    width: 180px;
    max-width: 60vw;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.preloader__bar::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.25),
        rgba(255, 255, 255, 0.95),
        rgba(255, 255, 255, 0.25)
    );
    animation: loadStripe 1.1s linear infinite;
}

@keyframes loadStripe {
    to {
        transform: translateX(100%);
    }
}

.preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .preloader__logo,
    .preloader__bar::after {
        animation: none;
    }
}

/* =========================================================
   6) NAVBAR
========================================================= */
.nav-glass {
    background: linear-gradient(
        to bottom,
        rgba(11, 36, 64, 0.7) 0%,
        rgba(11, 36, 64, 0.45) 55%,
        rgba(11, 36, 64, 0) 100%
    );
    backdrop-filter: blur(6px);
    transition: background-color 0.25s ease, background 0.25s ease,
        box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.nav-solid {
    background: rgba(11, 36, 64, 0.92);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.navbar .nav-link {
    color: #eef6ff;
}
.navbar .nav-link:hover {
    color: #ffffff;
}

.nav-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}
.navbar-brand:hover .nav-logo {
    transform: scale(1.05);
}

@media (max-width: 576px) {
    .nav-logo {
        height: 34px;
    }
}

/* Pills y botones dentro del navbar */
.navbar .btn.btn-pill {
    border-radius: 9999px !important;
    padding: 0.45rem 1rem;
    line-height: 1.2;
}

.navbar .btn-primary {
    background-color: #3b9cff;
    border-color: #3b9cff;
    color: #fff;
    box-shadow: 0 6px 16px rgba(59, 156, 255, 0.35);
}

.navbar .btn-outline-light {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.85);
    background-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: saturate(120%) blur(0.5px);
}

.navbar .btn-outline-light:hover,
.navbar .btn-outline-light:focus {
    color: #111 !important;
    background-color: #fff !important;
    border-color: #fff !important;
}

.navbar .btn-danger {
    background-color: #d9534f;
    border-color: #d9534f;
    color: #fff;
    box-shadow: 0 6px 16px rgba(217, 83, 79, 0.35);
}

.navbar .btn {
    text-decoration: none !important;
}

/* Menú móvil */
@media (max-width: 991.98px) {
    .navbar .navbar-collapse.show {
        background: rgba(11, 36, 64, 0.98);
        backdrop-filter: blur(8px);
        border-bottom-left-radius: 0.75rem;
        border-bottom-right-radius: 0.75rem;

        padding: 0.75rem 1rem 1rem;
    }

    .navbar-nav .nav-item + .nav-item {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        margin-top: 0.25rem;
        padding-top: 0.25rem;
    }

    .navbar-nav .nav-item .ms-lg-2 {
        margin-left: 0 !important;
    }

    .navbar .nav-link {
        padding-left: 0;
        padding-right: 0;
    }

    .navbar .navbar-collapse.show .nav-item .btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 0.15rem;
    }

    .navbar .navbar-collapse.show .nav-item .btn.btn-pill,
    .navbar .navbar-collapse.show .nav-item .btn.btn-primary,
    .navbar .navbar-collapse.show .nav-item .btn.btn-danger {
        padding-top: 0.55rem;
        padding-bottom: 0.55rem;
    }

    .navbar .cart-link {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        padding-top: 0.3rem;
        padding-bottom: 0.3rem;
        position: relative;
    }

    .navbar .cart-link .badge {
        position: static;
        transform: none;
        margin-left: 0.15rem;
    }

    .navbar .cart-link .bi {
        font-size: 1.2rem;
    }
}

/* Blindaje contra reglas externas */
.navbar .navbar-collapse {
    visibility: visible !important;
}
@media (min-width: 992px) {
    .navbar .navbar-collapse {
        display: flex !important;
        flex-basis: auto !important;
    }
    .navbar .navbar-nav {
        flex-direction: row !important;
    }
}
@media (max-width: 991.98px) {
    .navbar .navbar-collapse.show {
        display: block !important;
    }
}

/* =========================================================
   7) HERO / WAVES
========================================================= */
#hero {
    min-height: 75vh;
    margin-top: calc(-1 * var(--navH));
    padding-top: var(--navH);
    z-index: 0;
    display: grid;
    place-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    z-index: 1;
}

/* Slideshow */
.hero-bg .slide {
    position: absolute;
    inset: 0;
    background: center/cover no-repeat;
    opacity: 0;
    transition: opacity 900ms ease-in-out, transform 1800ms ease;
    filter: contrast(1) brightness(0.9);
}
.hero-bg .slide.active {
    transform: scale(1.12);
    opacity: 1;
}

.hero-bg .slide.s1 {
    background-image: url("../img/banners/b1.jpg");
}
.hero-bg .slide.s2 {
    background-image: url("../img/banners/b2.jpg");
}
.hero-bg .slide.s3 {
    background-image: url("../img/banners/b3.jpg");
}

@supports not (background: url("../img/banners/b1.jpg")) {
    .hero-bg .slide.s1 {
        background-image: url("../img/banners/b1.jpg");
    }
    .hero-bg .slide.s2 {
        background-image: url("../img/banners/b2.jpg");
    }
    .hero-bg .slide.s3 {
        background-image: url("../img/banners/b3.jpg");
    }
}

/* Waves */
.wave-sep {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 3;
    line-height: 0;
    pointer-events: none;
}

.wave-sep svg {
    display: block;
    width: 100%;
    height: 120px;
}

.wave-sep--flip svg {
    transform: rotate(180deg);
    transform-origin: 50% 50%;
}

/* =========================================================
   8) SUBHERO
========================================================= */
.subhero {
    min-height: 35vh;
    display: grid;
    align-items: center;
    position: relative;
    margin-top: calc(-1 * var(--navH));
    padding-top: calc(var(--navH) + 8px);
}

@media (max-width: 576px) {
    .subhero {
        min-height: 28vh;
    }
}

.parallax-bg {
    position: absolute;
    inset: 0;
    background: center/cover no-repeat;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    z-index: 1;
    filter: contrast(1) brightness(0.9);
}

.subhero .container {
    position: relative;
    z-index: 2;
}

/* Internal overlay */
.is-internal .subhero .parallax-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(11, 36, 64, 0.65) 0%,
        rgba(11, 36, 64, 0.35) 55%,
        rgba(11, 36, 64, 0) 100%
    );
    pointer-events: none;
}

/* “subhero-bg” helper (lo dejas tal cual, pero ya está agrupado) */
.subhero-bg {
    position: absolute;
    inset: 0;
}
.subhero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(11, 36, 64, 0.45);
}

/* breadcrumb banner */
.subhero-crumb {
    display: inline-block;
    max-width: min(640px, 92vw);
}
@media (min-width: 992px) {
    .subhero-crumb {
        max-width: 640px;
    }
}

.subhero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(11, 36, 64, 0.65) 0%,
        rgba(11, 36, 64, 0.25) 55%,
        rgba(11, 36, 64, 0) 100%
    );
    pointer-events: none;
}

.glass-crumb {
    display: inline-block;
    padding: 0.9rem 1rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

/* =========================================================
   9) FLOATING UI
========================================================= */
.scroll-top-btn {
    position: fixed;
    right: 16px;
    bottom: 150px;
    z-index: 1050;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--azul) 0%, #605dff 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateY(12px) scale(0.95);
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.2s ease;
    cursor: pointer;
    pointer-events: none;
}

.scroll-top-btn:hover {
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.scroll-top-btn.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.scroll-top-btn i {
    font-size: 1.15rem;
}

/* Floating cake */
.floating-cake {
    position: fixed;
    right: 18px;
    top: 75px;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: #0d6efd;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    z-index: 1055;
    text-decoration: none;
    transform: translateZ(0);
}
.floating-cake:hover {
    color: #fff;
    transform: translateY(-2px);
}
.floating-cake i {
    font-size: 24px;
}
.floating-cake .badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #dc3545;
    color: #fff;
    border-radius: 999px;
    font-size: 12px;
    padding: 4px 7px;
    border: 2px solid #fff;
}

/* Cart FAB */
.cart-fab {
    position: fixed;
    right: 16px;
    top: calc(var(--navH) + 10px);
    z-index: 1060;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--azul) 0%, #605dff 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.cart-fab:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
    color: #fff;
}

.cart-fab:active {
    transform: translateY(0);
}

.cart-fab i {
    font-size: 1.3rem;
}

.cart-fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ffc107;
    color: #111;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px rgba(11, 36, 64, 0.85);
}

@media (max-width: 576px) {
    .cart-fab {
        right: 12px;
        top: calc(var(--navH) + 6px);
        width: 42px;
        height: 42px;
    }
    .cart-fab i {
        font-size: 1.15rem;
    }
}

/* =========================================================
   10) FOOTER + WAVES
========================================================= */
.site-footer {
    color: #eaf2fb;
    background: linear-gradient(
        180deg,
        var(--footer-bg) 0%,
        var(--footer-bg-2) 100%
    );
    margin-top: 165px !important;
    position: relative;
    overflow: visible;
    flex-shrink: 0;
}

.footer-wave {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    transform: translateY(-99%);
    line-height: 0;
    pointer-events: none;
    z-index: 5;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 100px;
    transform: rotate(180deg);
}

.footer-wave path {
    fill: var(--footer-bg);
}

.footer-logo {
    height: 85px;
    width: auto;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25));
}

/* Footer bottom */
.site-footer .footer-bottom {
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Links */
.footer-links a {
    color: var(--footer-link);
    text-decoration: none;
}
.footer-links li {
    line-height: 1.9rem;
}
.footer-links a:hover {
    text-decoration: underline;
}

/* Contact */
.footer-contact li {
    margin-bottom: 0.35rem;
}
.footer-contact a {
    color: #ffffff;
    text-decoration: none;
}
.footer-contact a:hover {
    text-decoration: underline;
}

/* Ticket button */
.btn-ticket {
    border-radius: 999px;
    background: linear-gradient(
        135deg,
        var(--amarillo) 0%,
        var(--naranja) 100%
    );
    color: #111;
    font-weight: 700;
    border: 0;
    padding: 0.7rem 1rem;
    box-shadow: 0 10px 24px rgba(255, 123, 0, 0.25);
}
.btn-ticket:hover {
    filter: brightness(0.95);
    color: #111;
}

/* Plans button */
.btn-plans {
    border-radius: 999px;
    background: linear-gradient(
        135deg,
        var(--azul-baby) 0%,
        var(--azul-light) 100%
    );
    color: #111;
    font-weight: 700;
    border: 0;
    padding: 0.7rem 1rem;
    box-shadow: 0 10px 24px rgba(255, 123, 0, 0.25);
}
.btn-plans:hover {
    filter: brightness(0.95);
    color: #111;
}

/* CubyWeb credit */
.site-footer .eidt-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: #e6f2ff;
    white-space: nowrap;
}
.site-footer .eidt-footer-brand-name {
    color: #ff7b00;
    font-weight: 800;
}
.site-footer .eidt-footer-brand:hover {
    text-decoration: underline;
}
.site-footer .eidt-footer-logo img {
    width: 18px;
    height: 18px;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

/* Wave between sections */
.wave-between {
    position: relative;
    line-height: 0;
    margin-top: -1px;
    pointer-events: none;
}

.wave-between svg {
    display: block;
    width: 100%;
    height: 120px;
}

.wave-between--invert svg {
    transform: rotate(180deg);
    transform-origin: 50% 50%;
}

.wave-between path {
    fill: var(--footer-bg);
    filter: none;
}

/* Hide waves on mobile */
@media (max-width: 576px) {
    .wave-sep,
    .wave-between,
    .footer-wave {
        display: none !important;
    }

    #subhero {
        margin-bottom: 12px;
    }

    #sponsors {
        padding-top: 12px;
    }

    .site-footer {
        margin-top: 12px;
    }
}

/* =========================================================
   11) SOCIAL BUTTON (CLARO)  ✅ se deja UNA sola vez
========================================================= */
.btn-social {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #e6eef6;
    background: #f8fbff;
    color: #0b2440;
    display: grid;
    place-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-social:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 24, 40, 0.12);
}

/* =========================================================
   12) PARALLAX HELPERS
========================================================= */
.parallax {
    background: url("/assets/img/hero.webp") center/cover fixed no-repeat;
    position: relative;
}

.parallax::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--overlay);
}

.parallax > .container {
    position: relative;
    z-index: 2;
}

.parallax--secondary {
    background-image: url("/assets/img/waves.webp");
}

/* =========================================================
   13) FEATURES + SPONSORS
========================================================= */
#features {
    background: #b6e8ff;
}

.feature-card {
    --ring: rgba(26, 166, 255, 0.35);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    min-height: 160px;
    height: 100%;
    padding: 1.25rem 1.1rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e8eef6;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
    text-align: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease,
        border-color 0.18s ease;
    position: relative;
    overflow: hidden;
}

.feature-card h3 {
    margin: 0.25rem 0 0;
    font-size: 1.05rem;
    color: #0f172a;
    font-weight: 600;
}
.feature-card p {
    margin: 0;
    color: #475569;
}

.feature-card .fc-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #e6f6ff 0%, #f1fbff 100%);
    border: 1px solid #d9edf8;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.65);
}

.feature-card .fc-icon i {
    font-size: 1.6rem;
    color: #1aa6ff;
    transition: transform 0.25s ease;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: radial-gradient(
            120% 120% at 0% 0%,
            var(--ring) 0%,
            transparent 60%
        ),
        radial-gradient(120% 120% at 100% 100%, var(--ring) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.18s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.12);
    border-color: #cfe7fb;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover .fc-icon i {
    transform: translateY(-2px) scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
    .feature-card,
    .feature-card .fc-icon i {
        transition: none;
    }
}

/* Sponsors */
#sponsors {
    background: var(--bg-top);
}

.logo-marquee {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0,
        #000 6%,
        #000 94%,
        transparent 100%
    );
    mask-image: linear-gradient(
        90deg,
        transparent 0,
        #000 6%,
        #000 94%,
        transparent 100%
    );
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 64px;
    animation: marqueeScroll 22s linear infinite;
    will-change: transform;
}

.marquee-track img {
    height: 60px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.marquee-track img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-2px);
}

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.logo-marquee:hover .marquee-track {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
}

/* =========================================================
   14) CONTACT SECTION
========================================================= */
.contact-wrap {
    position: relative;
}

.bg-soft-brand {
    background: rgba(26, 166, 255, 0.15);
    color: #0b2440;
}

/* blobs */
.contact-wrap .blob {
    position: absolute;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.45;
    pointer-events: none;
}

.contact-wrap .blob.b1 {
    width: 280px;
    height: 280px;
    top: -40px;
    left: -60px;
    background: radial-gradient(closest-side, #b6e8ff, transparent);
}

.contact-wrap .blob.b2 {
    width: 260px;
    height: 260px;
    bottom: -40px;
    right: -40px;
    background: radial-gradient(closest-side, #e0f3ff, transparent);
}

/* cards */
.card-neo {
    border-radius: 22px;
    border: 1px solid #e8eef6;
    box-shadow: 0 12px 34px rgba(16, 24, 40, 0.08);
    position: relative;
    background: #fff;
}

.card-neo::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 23px;
    z-index: -1;
    background: linear-gradient(
        135deg,
        rgba(26, 166, 255, 0.25),
        rgba(98, 102, 255, 0.2)
    );
    filter: blur(6px);
}

.card-neo-light {
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #e6eef6;
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.06);
}

/* chips */
.chip {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background: #eef7ff;
    color: #0b2440;
    border: 1px solid #d9ecff;
}

/* inputs icon */
.input-icon-group {
    position: relative;
}

.input-icon-group i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #5b708a;
    pointer-events: none;
    z-index: 5;
}

.input-icon-group .form-control {
    padding-left: 2.6rem;
}

.input-icon-group label {
    padding-left: 2.6rem;
}

.form-floating > .form-control {
    border-radius: 0.9rem;
}

.form-floating > label {
    color: #7b8aa1;
}

/* botones */
.btn-gradient {
    background: linear-gradient(135deg, var(--azul) 0%, #605dff 100%);
    color: #fff;
    border: 0;
    border-radius: 0.9rem;
    box-shadow: 0 14px 28px rgba(26, 166, 255, 0.25);
}

.btn-gradient:hover {
    filter: brightness(0.97);
    color: #fff;
}

.btn-social-alt {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #fff;
    color: #0b2440;
    border: 1px solid #e6eef6;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-social-alt:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(16, 24, 40, 0.12);
}

.map-card {
    border: 1px solid #e6eef6;
}

.lead {
    line-height: 1.6;
}

/* =========================================================
   15) ERROR + UNDER CONSTRUCTION
========================================================= */
.error-page {
    min-height: calc(100vh - var(--navH) - 220px);
    padding: 5rem 1rem 4rem;
    position: relative;
    background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
    overflow: hidden;
}

.error-graphic {
    position: relative;
}

.error-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 30% 30%,
        var(--azul-light) 0%,
        var(--azul) 90%
    );
    opacity: 0.15;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.animate-pop {
    animation: popIn 0.8s ease both;
}

@keyframes popIn {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.uc-wrap {
    max-width: 920px;
    margin: 0 auto;
}

.uc-illu {
    display: grid;
    place-items: center;
}

.uc-float {
    animation: ucFloat 4s ease-in-out infinite;
}

@keyframes ucFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

.uc-progress {
    height: 8px;
    max-width: 420px;
    border-radius: 999px;
    background: #eef5ff;
}

.uc-progress .progress-bar {
    background: linear-gradient(90deg, var(--azul), #605dff);
    border-radius: 999px;
}

.uc-blob {
    position: absolute;
    border-radius: 999px;
    filter: blur(44px);
    opacity: 0.45;
    pointer-events: none;
}

.uc-blob.b1 {
    width: 280px;
    height: 280px;
    top: -40px;
    left: -60px;
    background: radial-gradient(closest-side, #b6e8ff, transparent);
}

.uc-blob.b2 {
    width: 240px;
    height: 240px;
    bottom: -60px;
    right: -40px;
    background: radial-gradient(closest-side, #e0f3ff, transparent);
}

/* =========================================================
   16) PAGES: PRICING / PLAN / AREA / CALENDAR
========================================================= */
/* HERO (Plan) */
.plan-hero {
    background: linear-gradient(180deg, #2563eb, #1e40af);
    position: relative;
}

.plan-hero__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(
            60% 120% at 80% 0%,
            rgba(255, 255, 255, 0.18),
            transparent 60%
        ),
        radial-gradient(
            50% 100% at 0% 0%,
            rgba(255, 255, 255, 0.1),
            transparent 60%
        );
}

.plan-hero .wave-sep svg {
    width: 100%;
    height: 70px;
    color: var(--bs-body-bg);
    display: block;
}

/* PRICE CARD */
.price-card {
    background: var(--bs-body-bg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Soft cards */
.soft-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.gradient-cta {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 1rem;
}

.plan-richtext {
    white-space: pre-wrap;
}

/* thumbs */
.thumbs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}
@media (max-width: 576px) {
    .thumbs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.thumb {
    border: 0;
    padding: 0;
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.thumb.is-active {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

/* title card */
.title-card {
    position: relative;
    overflow: hidden;
}
.title-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
}

.h-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

/* Calendar */
#tblCal button {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

#calPrev,
#calNext {
    background: #0d6efd;
    color: #fff;
    border-radius: 8px;
    padding: 0.25rem 0.5rem;
}

#calPrev:disabled,
#calNext:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Area cards */
.area-card {
    border: 0;
    background: transparent;
}

.area-card__body {
    border: 2px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, #f5f9ff 0%, #eef7ff 50%, #ffffff 100%);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease,
        border-color 0.15s ease;
    box-shadow: 0 6px 16px rgba(24, 71, 188, 0.06);
}

.area-card__icon {
    display: inline-grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    background: #e8f1ff;
    color: #2559d6;
    font-size: 1.1rem;
    flex: 0 0 auto;
}

.area-card__title {
    line-height: 1.15;
}

.area-card__badge {
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
}

.area-card:hover .area-card__body {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(24, 71, 188, 0.12);
    border-color: rgba(37, 89, 214, 0.25);
}

.area-card:focus .area-card__body,
.area-card:focus-visible .area-card__body {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(37, 89, 214, 0.15),
        0 10px 20px rgba(24, 71, 188, 0.15);
    border-color: rgba(37, 89, 214, 0.35);
}

.area-card[disabled],
.area-card[aria-disabled="true"] {
    cursor: not-allowed;
}

.area-card[disabled] .area-card__body,
.area-card[aria-disabled="true"] .area-card__body {
    filter: grayscale(0.2);
    opacity: 0.65;
}

/* PRICING */
.pricing {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--azul);
}

.pricing .z-2 {
    position: relative;
    z-index: 2;
}

.pricing .card.glass {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing .card.highlight {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.16),
        rgba(255, 255, 255, 0.08)
    );
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.pricing .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.pricing .plan-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 992px) {
    .pricing .plan-img {
        height: 280px;
    }
}

.pricing .special-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: linear-gradient(135deg, #ffd166, #ff9f1c);
    color: #1a1a1a;
    font-weight: 800;
    font-size: 0.8rem;
    border-radius: 999px;
    padding: 0.28rem 0.62rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.pricing .plan-title {
    font-weight: 900;
    letter-spacing: 0.2px;
}

.pricing .price-wrap {
    line-height: 1.05;
}

.pricing .price-old {
    font-size: 0.95rem;
    opacity: 0.85;
    text-decoration: line-through;
}

.pricing .price-now {
    font-size: 2.3rem;
    font-weight: 900;
}

.pricing .btn-cta {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.pricing .pricing-inner {
    position: relative;
    z-index: 3;
}

.pricing .wave-top,
.pricing .wave-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 2;
}

.pricing .wave-top {
    top: 0;
    transform: translateY(-1px);
}

.pricing .wave-bottom {
    bottom: 0;
    transform: rotate(180deg) translateY(-1px);
    transform-origin: center;
}

.pricing .wave-top svg,
.pricing .wave-bottom svg {
    width: 100%;
    height: auto;
    display: block;
}

.pricing .wave-top svg path,
.pricing .wave-bottom svg path {
    fill: rgba(255, 255, 255, 0.18);
}

.pricing .pricing-parallax {
    position: absolute;
    inset: -10% 0;
    background-image: url("../img/placeholders/birthdayP.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;

    will-change: transform;
    transform: translate3d(0, 0, 0) scale(1.08);
}

.pricing .pricing-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay);
    z-index: 1;
}

/* =========================================================
   17) LEGAL
========================================================= */
.legal-content {
    max-width: 980px;
}

.legal-content p,
.legal-content li {
    line-height: 1.75;
    color: #334155;
}

.legal-content h3 {
    margin-top: 1.5rem;
}

.legal-content ol li {
    margin-bottom: 0.5rem;
}

/* =========================================================
   18) BIRTHDAYS INDEX (OFFERS)
========================================================= */
.offer-card {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(12, 34, 56, 0.1);
    box-shadow: 0 16px 50px rgba(12, 34, 56, 0.1);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    background: #fff;
}

.offer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 70px rgba(12, 34, 56, 0.16);
}

.offer-media {
    position: relative;
    height: 220px;
    background: #0c2238;
}

@media (min-width: 992px) {
    .offer-media {
        height: 240px;
    }
}

.offer-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 0.35s ease;
}

.offer-card:hover .offer-media img {
    transform: scale(1.06);
}

.offer-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(12, 34, 56, 0.1) 0%,
        rgba(12, 34, 56, 0.42) 100%
    );
}

.offer-badges {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 14px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    z-index: 2;
}

.offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-weight: 900;
    font-size: 0.78rem;
    letter-spacing: 0.2px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.offer-badge--special {
    background: linear-gradient(135deg, var(--amarillo), #ff9f1c);
    color: var(--ink);
}

.offer-badge--popular {
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    border: 1px solid rgba(12, 34, 56, 0.1);
}

.offer-body {
    padding: 16px 16px 14px;
}

.offer-title {
    font-weight: 950;
    letter-spacing: 0.1px;
    margin: 0 0 6px;
    color: #0c2238;
}

.offer-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
}

.offer-price-now {
    font-size: 2.1rem;
    font-weight: 950;
    color: var(--azul);
    line-height: 1;
}

.offer-price-old {
    font-size: 0.95rem;
    color: rgba(12, 34, 56, 0.55);
    text-decoration: line-through;
    font-weight: 800;
}

.offer-desc {
    color: rgba(12, 34, 56, 0.7);
    font-size: 0.95rem;
    line-height: 1.35;
    margin: 0 0 12px;
    min-height: 2.7em;
}

.offer-footer {
    padding: 0 16px 16px;
}

.offer-btn {
    width: 100%;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(12, 34, 56, 0.12);
}

.offer-divider {
    height: 1px;
    background: rgba(12, 34, 56, 0.08);
    margin: 0 16px;
}

/* =========================================================
   19) PUBLIC ADMIN INDICATOR
========================================================= */
.pub-admin-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #111827;
    color: #fff;
    border-radius: 14px;
    padding: 10px 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.pub-admin-float__main {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.pub-admin-float__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(245, 158, 11, 0.18);
    color: #f59e0b;
    flex: 0 0 auto;
}

.pub-admin-float__text {
    min-width: 0;
    line-height: 1.1;
}

.pub-admin-float__title {
    font-weight: 700;
}

.pub-admin-float__sub {
    font-size: 0.82rem;
    opacity: 0.85;
}

.pub-admin-float__cta {
    font-weight: 600;
    opacity: 0.9;
}

.pub-admin-float__logout {
    border: 0;
    background: transparent;
    color: #f87171;
    padding: 6px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.pub-admin-float__logout:hover {
    background: rgba(248, 113, 113, 0.18);
}

/* =========================================================
   20) ACCOUNTS
========================================================= */

.input-group .btn[data-toggle-password-btn] {
    border-top-right-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}
.input-group .form-control[data-toggle-password] {
    border-top-left-radius: 0.75rem;
    border-bottom-left-radius: 0.75rem;
}

/* =========================================================
   21) ULTRA-WIDE GUTTERS (NO TOCA LAYOUT)
========================================================= */
@media (min-width: 2300px) {
    body.public {
        background: radial-gradient(
                1200px 700px at 50% 0%,
                rgba(255, 255, 255, 0.08),
                transparent 70%
            ),
            linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55));
    }

    body.public::before {
        content: "";
        position: fixed;
        top: 18px;
        left: 50%;
        transform: translateX(-50%);
        width: 1760px;
        height: calc(100vh - 36px);
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.03);
        box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55),
            0 2px 0 rgba(255, 255, 255, 0.06) inset;
        pointer-events: none;
        z-index: -1;
    }

    body.public::after {
        content: "";
        position: fixed;
        inset: 0;
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.35),
            transparent 18%,
            transparent 82%,
            rgba(0, 0, 0, 0.35)
        );
        pointer-events: none;
        z-index: -1;
    }
}

/* ===== Impersoanl Customer Indicator ===== */
#customerImpersonateIndicator {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 1080;
}

.imp-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
    padding: 14px;
    width: 260px;
    border-left: 6px solid #f59e0b;
    /* warning */
}

.imp-title {
    font-weight: 800;
    color: #92400e;
    font-size: 14px;
    margin-bottom: 6px;
}

.imp-body {
    font-size: 13px;
    color: #334155;
    line-height: 1.4;
}
/* ===== Auth forms (login/register) ===== */
.txt-req {
    color: red;
}
.auth-card .input-group .form-control,
.auth-card .input-group .btn {
    border-radius: 0 !important;
}

.auth-card .input-group .form-control:first-child {
    border-top-left-radius: 0.75rem !important;
    border-bottom-left-radius: 0.75rem !important;
}

.auth-card .input-group .btn:last-child {
    border-top-right-radius: 0.75rem !important;
    border-bottom-right-radius: 0.75rem !important;
}

.auth-card .input-group .btn {
    border-left: 0 !important; /* pega limpio */
}

.auth-card .input-group .form-control {
    border-right: 0 !important; /* pega limpio */
}
