/* Option 2: Adventure / Action Design */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;700;900&display=swap');
@import url('assets/ClashDisplay_WebFont/css/clash-display.css');

:root {
    --primary: #0EA5E9;
    /* Electric Blue */
    --accent: #FACC15;
    /* Warning Yellow */
    --dark: #020617;
    /* Slate 950 */
    --light: #F1F5F9;

    --font-heading: 'ClashDisplay-Variable', 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --skew-degree: -5deg;

    --yellow-corp: #ffd600;
    --blue-corp: #0063ae;
}

body {
    background-color: var(--light);
    color: var(--dark);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body.loaded {
    margin: 0px !important;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    line-height: 0.9;
}

#experiencias>h2>b {
    color: rgb(250 204 21 / 86%);
}

strong {
    color: #0ea5e9;
    font-size: 1.4rem;
}

h3 b,
h2 b {
    color: #FFEB3B;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header - Bold and Sticky with Glass Effect */
header {
    background: rgba(255, 255, 255, 0.05);
    /* Even more transparent initially */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    position: fixed;
    /* Changed from sticky to fixed to allow hero behind it */
    width: 100%;
    top: 0;
    z-index: 3;
}

img.mobile-only-logo {
    display: none;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1.1rem;
}

.nav-links a:hover {
    color: var(--accent);
}


body>main>section.hero>div.container {
    margin-left: 15%;
}

/* Exact CTA Button styles from reference */
.cta {
    display: flex;
    padding: 1rem 2rem;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--dark) !important;
    background: var(--yellow-corp);
    transition: 1s;
    box-shadow: 6px 6px 0 var(--dark);
    transform: skewX(-15deg);
    align-items: center;
}

.cta.pulse {
    animation: pulse-cta 2s infinite;
}

@keyframes pulse-cta {
    0% {
        transform: skewX(-15deg) scale(1);
        box-shadow: 6px 6px 0 var(--dark);
    }

    50% {
        transform: skewX(-15deg) scale(1.05);
        box-shadow: 10px 10px 0 var(--dark);
    }

    100% {
        transform: skewX(-15deg) scale(1);
        box-shadow: 6px 6px 0 var(--dark);
    }
}

.cta:focus {
    outline: none;
}

.cta:hover {
    transition: 0.5s;
    box-shadow: 10px 10px 0 #ffd600;
    background: #0BA5E9;
    color: white !important;
}

.cta span:nth-child(2) {
    transition: 0.5s;
    margin-right: 0px;
}

.cta:hover span:nth-child(2) {
    transition: 0.5s;
    margin-right: -15px;
}

.cta>span {
    transform: skewX(15deg);
}

.cta>span:nth-child(2) {
    width: 40px;
    margin-left: 18px;
    position: relative;
    top: auto;
    display: flex;
    align-items: center;
    margin-right: -30px;
}

/**************SVG****************/

path.one {
    transition: 0.4s;
    transform: translateX(-60%);
}

path.two {
    transition: 0.5s;
    transform: translateX(-30%);
}

.cta:hover path.three {
    animation: color_anim 1s infinite 0.2s;
}

.cta:hover path.one {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.6s;
}

.cta:hover path.two {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.4s;
}

/* SVG animations */

@keyframes color_anim {
    0% {
        fill: white;
    }

    50% {
        fill: var(--yellow-corp);
    }

    100% {
        fill: white;
    }
}

/* Video Background Specifics */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 20%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.btn-action {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    font-weight: 900;
    text-transform: uppercase;
    border: none;
    transform: skewX(var(--skew-degree));
    display: inline-block;
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
}

.btn-action.regalo {
    background-color: #facc15;
}

a.btn-action.reservar {
    max-width: 200px;
    margin: 0 auto;
    display: block;
}

.btn-action span {
    display: block;

}

.btn-action:hover {
    transform: skewX(var(--skew-degree)) scale(1.05);
    background: var(--accent);
    color: var(--dark) !important;
    color: #ffeb3b !important;
    background-color: #0ba5e9 !important;
}

.tira b {
    color: #0ea5e9;
}

/* Hero - Full Screen and Dynamic */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--dark);
    color: white;
    overflow: hidden;
    margin-bottom: -150px;
}

.hero-text {
    padding: 3.5rem;
    z-index: 10;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.295), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    align-self: center;
    max-width: 600px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    margin-left: 15%;
    /* Desktop: 15% */
    margin-right: auto;
    position: relative;
    opacity: 0;
    /* JS trigger */
}

.hero-text.animate {
    animation: fade-in-left 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

section.diagonal-section.regalo-section {
    background: rgb(250 204 21);
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        margin-left: -40px !important;
    }

    img.mobile-only-logo {
        display: block !important;
    }

    .nav-links {
        display: none;
    }

    body>main>section.hero>div.container {
        margin-left: 0;
        padding: 0;
        z-index: 9;
    }

    .hero-text {
        margin: 0 1rem;
        padding: 2.5rem 1.5rem;
        text-align: center;
        max-width: calc(100% - 2rem);
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 30px;
    }

    .hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.1;
        margin-top: 0;
    }

    .hero h1 .highlight {
        font-size: 3rem !important;
        line-height: 2rem !important;
        top: 0;
    }

    .hero p {
        font-size: 1.1rem !important;
    }

    /* Target the play button specifically in mobile */
    .hero-text .play-btn-wrap {
        position: relative;
        left: auto;
        bottom: auto;
        transform: translateY(0);
        margin-top: 2.5rem;
        opacity: 1;
        pointer-events: auto;
    }

    .diagonal-section {
        padding: 4rem 1rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}

@keyframes fade-in-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    margin-top: -6px;

}

.hero h1 .highlight {
    color: var(--primary);
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0;
    filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.3));
    font-size: 6rem;
    line-height: 5rem;
    top: 20px;
    position: relative;
}

.hero-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: #80d7ff;
}

/* Diagonal Sections */
.diagonal-section {
    position: relative;
    padding: 6rem 0;
    background: var(--primary);
    transform: skewY(-3deg);
    margin: 4rem 0;
}

.diagonal-content {
    transform: skewY(3deg);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    background-color: #80d7ff;
    padding: 2rem 32px;
    border-radius: 20px;
}

.action-card {
    background: white;
    border: 3px solid var(--dark);
    padding: 0;
    transition: transform 0.2s;
    position: relative;
}

.action-card:hover {
    transform: translate(-10px, -10px);
    box-shadow: 10px 10px 0 var(--accent);
}

.card-img-top {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-bottom: 3px solid var(--dark);
}

.card-body {
    padding: 1.5rem;
}

.price-tag {
    background: var(--primary);
    color: var(--accent);
    display: inline-block;
    padding: 0.5rem 1rem;
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: 10px;
    transform: rotate(3deg);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 5rem 0 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    text-align: left;
    margin-bottom: 4rem;
}

.footer-col h3 {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    color: white;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: white;
    transition: transform 0.3s, fill 0.3s;
}

.social-icon:hover {
    transform: translateY(-5px);
    fill: var(--primary);
}

@media (max-width: 768px) {
    .footer-grid {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* SEO Page Headers */
.page-header {
    text-align: center;
    padding: 8rem 0 4rem 0;
    position: relative;
    background: none !important;
    backdrop-filter: none;
    border: none;
    z-index: 998;
}

.page-header h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.page-header h1 b {
    color: #0ea5e9;
    font-size: 2rem;
    display: block;
}

.page-header p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    color: white;
    line-height: 1.6;
}

.page-header p b {
    color: #fbf723;
    font-size: 1.3rem;

}

/* Title mapping for subpages */
.interactive-box h2 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .interactive-box h2 {
        font-size: 2.2rem;
    }
}

/* ------------------ NEW ADDITIONS FOR DYNAMIC FEATURES ------------------ */

/* Splash Overlay - New Dynamic Gradient */
.splash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(179deg, #74e8f0, #80d7ffcf, #38b2d9);
    background-size: 180% 180%;
    animation: gradient-animation 9s ease infinite;
    z-index: 2000;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}




.splash-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Paraglider Animation */
.hero-paraglider {
    position: fixed;
    top: -20%;
    /* Initial state for animation */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    z-index: 2001;
    pointer-events: auto;
    cursor: default;
    transition: width 0.3s ease, top 0.1s linear, left 0.1s linear, opacity 0.5s ease;
    will-change: transform, width, top, left;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    opacity: 0;
}

@media (max-width: 768px) {
    body.loaded .hero-paraglider {
        display: none !important;
    }
}

body.loaded .hero-paraglider {
    z-index: 5;
}

.hero-paraglider.entering {
    animation: enterFromTop 2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes enterFromTop {
    from {
        top: -20%;
        opacity: 0;
    }

    to {
        top: 35%;
        opacity: 1;
    }
}


.hero-paraglider img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.hero-paraglider.floating img {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Logo Placeholder in Header */
.logo-placeholder {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* No Scroll Utility */
body.no-scroll {
    overflow: hidden;
}

/* Ensure Hero Text is above background */
.hero-text {
    z-index: 2;
    position: relative;
}

/* Modify Hero Layout for Parallax Background Compatibility */
.hero {
    /* Ensure hero can contain the absolute positioned bg */
    position: relative;
}

/* Updates for Hero BG Image ID */
#hero-bg-img {
    will-change: transform;
}

/* Play Button - Standalone Position */
.play-btn-wrap {
    opacity: 0;
    position: absolute;
    left: 54%;
    bottom: 9%;
    /* Bottom area */
    transform: translateX(-50%) translateY(20px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 20;
}

.play-btn-wrap.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.play-btn-wrap:hover .play-btn {
    transform: scale(1.05);
    background: white;
}

.play-btn {
    background: linear-gradient(90deg, rgba(250, 204, 21, 1) 0%, rgba(237, 221, 83, 1) 100%);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.4);
    animation: pulse-border 2s infinite;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#open-video>span>em {
    font-size: .7rem;
    opacity: 50%;
}

.play-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--dark);
}

.play-btn:hover {
    transform: scale(1.1);
    background: white;
}


@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(250, 204, 21, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(250, 204, 21, 0);
    }
}

/* Lightbox */
.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1db9ffcf;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.video-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.3s ease;
    z-index: 3001;
}

.lightbox-close:hover {
    transform: rotate(90deg) scale(1.2);
    color: var(--primary);
}

.video-container {
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    background: #80d7ff;
    box-shadow: 0 20px 50px #80d7ff;
    position: relative;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Mobile Nav Menu Drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #0ba5e9;
    z-index: 1000;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 5rem 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav .nav-links-mobile {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    list-style: none;
}

.mobile-nav .nav-links-mobile a {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

/* Mobile Nav Menu Drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: #00aeef;
    /* Vibrant Blue from Image */
    z-index: 3000;
    /* Higher than everything */
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 4rem 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    justify-content: space-between;
    text-align: center;
    visibility: hidden;
    /* Hide until active */
}

.mobile-nav.active {
    transform: translateX(0);
    visibility: visible;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white !important;
    font-size: 3.5rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    z-index: 2100;
    padding: 10px;
}

.mobile-nav .nav-links-mobile {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.mobile-nav .nav-links-mobile a {
    color: white !important;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

/* Visibility Utilities */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: relative;
    z-index: 1100;
    /* Above header */
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    margin: 6px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}


.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- Dynamic Refinements --- */

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.tira {
    display: inline-block;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.ticker-wrap {
    background: var(--accent);
    white-space: nowrap;
    overflow: hidden;
    padding: 1.2rem 0;
    font-weight: 900;
    font-family: var(--font-heading);
    transform: skewY(-1.5deg);
    font-size: 2.4rem;
    margin-top: -40px;
    position: relative;
    z-index: 100;
    /*border-top: 3px solid var(--dark);
    border-bottom: 3px solid var(--dark);*/
    color: var(--dark);
    margin-bottom: -45px;
}



.bg-tinted {
    position: relative;
    background: #0ea5e96e;
}

.bg-tinted::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/img/hero-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: -1;
    filter: saturate(1.5) hue-rotate(10deg);
}

.interactive-box {
    background: white;
    border: 3px solid var(--dark);
    padding: 2.5rem;
    transition: transform 0.2s;
    position: relative;
    color: var(--dark);
}

.interactive-box:hover {
    transform: translate(-10px, -10px);
    box-shadow: 10px 10px 0 var(--accent);
}

.subpage-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 3px solid var(--dark);
    padding: 3rem;
    color: var(--dark);
}

/* --- BRANDING UPDATE 1.0 (RETOQUE FINAL) --- */

/* Animations */
@keyframes float-gentle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes float-subtle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.hover-scale {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-scale:hover {
    transform: scale(1.1) rotate(2deg);
}

.hover-scale-inline {
    display: inline-block;
    transition: transform 0.3s ease;
}

.hover-scale-inline:hover {
    transform: translateX(10px);
}

.float-decor {
    animation: float-gentle 4s ease-in-out infinite;
    pointer-events: auto;
}

.float-decor-subtle {
    animation: float-subtle 6s ease-in-out infinite;
}

/* Specific Placements */
.nube-regalo {
    position: absolute;
    top: -60px;
    right: 5%;
    width: 150px;
    z-index: 10;
}

.icon-vale {
    width: 180px;
    margin: -110px auto 1rem auto;
    display: block;
    position: relative;
    z-index: 10;
}

.logo-nube-separardor {
    width: 400px;
    margin-top: 60px;
    margin-bottom: -60px;
    height: 240px;
}

.logo-nube-separardor-1 {
    width: 400px;
    margin-top: 60px;
    margin-bottom: -60px;
    height: 240px;
    transform: skewY(3deg);
    margin-top: -90px;
    margin-bottom: 10px;
}


/* Experiencias Layout */
.experiencias-header {
    text-align: center;
    position: relative;
    z-index: 2;
    margin-bottom: 150px;
}

.experiencias-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 0.5rem;
}

.bg-text-experiencias {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 10vw, 8rem);
    color: rgba(14, 165, 233, 0.2);
    position: absolute;
    top: -120px;
    left: 38%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    font-weight: 800;
}

.experiencias-wrapper {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    max-width: 100%;
    margin-top: 2rem;
}

.experiencias-wrapper .card-grid {
    flex: 3;
    z-index: 2;
    padding-top: 0;
    background: #c4e5f6;
    margin-bottom: 150px
}

/* Sidebar Grabacion */
.sidebar-grabacion {
    flex: 1;
    min-width: 250px;
    position: sticky;
    top: 120px;
    z-index: 2;
    padding-top: 2rem;
    left: 35%;
}

.sidebar-grabacion-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-grabacion h3 {
    line-height: 1;
    margin-bottom: 0;
}

#cursos>div>div.card-grid>div:nth-child(4) {
    left: 35% !important;
    position: sticky;
    margin-bottom: 60px;
}

.text-cyan {
    color: var(--primary);
    font-size: 2.8rem;
    font-weight: 900;
}

.text-small {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--dark);
}

.text-black {
    color: var(--dark);
    font-size: 2.2rem;
    font-weight: 900;
}

.camara-svg {
    width: 110px;
    margin: 1rem 0 0 0;
}

.gratis-tarjeta-svg {
    width: 130px;
}

.grabacion-text {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--dark);
    margin-top: 1rem;
}

.note-text {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Cursos Section */
.cursos-section {
    background: #80d7ff40 !important;
    margin-top: 2rem;
    padding: 4rem 0 6rem 0;
}

.cursos-section .card-grid {
    background: rgb(250 204 21 / 86%);
    padding: 20px;
}

.cursos-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.cursos-title {
    color: #facc15;
    font-size: clamp(2.5rem, 5vw, 6rem);
    /* -webkit-text-stroke: 2px var(--dark); */
    margin: 0;
    line-height: 0.8;
    margin-bottom: -57px;
}


.aprende-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--dark);
    margin: 0;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.como-reservar-link {
    width: 100%;
    text-align: center;
    display: inline-block;
    margin-top: 1rem;
    color: var(--dark);
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.como-reservar-link:hover {
    color: var(--primary);
}

.parachute-right {
    position: absolute;
    right: 5%;
    bottom: -80px;
    width: 180px;
    z-index: 10;
}

.nube-bg-left {
    position: absolute;
    left: -5%;
    top: 20%;
    width: 250px;
    opacity: 0.8;
}

.nube-bg-right {
    position: absolute;
    right: -2%;
    top: 50%;
    width: 200px;
    opacity: 0.8;
}

.icon-seguridad {
    width: 80px;
    margin-bottom: 1.5rem;
}

.faq-icon-corner {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    z-index: 10;
}

@media (max-width: 1024px) {
    .experiencias-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .sidebar-grabacion,
    .sidebar-cursos {
        position: relative;
        top: 0;
        margin: 3rem auto 0 auto;
        /* Center horizontally */
        background: white;
        padding: 2rem;
        border-radius: 20px;
        border: 3px solid var(--dark);
        box-shadow: 10px 10px 0 var(--primary);
        max-width: 90%;
        width: 100%;
        left: auto !important;
        /* Force override any left positioning */
    }

    .cursos-header {
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
    }

    .parachute-right {
        bottom: -50px;
        width: 120px;
    }

    .bg-text-experiencias {
        font-size: 3rem;
        top: -30px;
    }
}

/* Custom Gift Button */
.cta-regalo-container {
    display: inline-block;
    margin: 1.5rem 0;
}

.btn-regalo-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-regalo-wrapper:hover {
    transform: scale(1.05) rotate(1deg);
}

.btn-regalo-pill {
    background: white;
    color: var(--primary);
    /* Cyan text */
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    padding: 1rem 2.5rem 1rem 4.5rem;
    /* Padding left leaves room for the overlapping icon */
    border-radius: 50px;
    text-decoration: none;
    line-height: 1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: inline-block;
}

.btn-regalo-icon {
    position: absolute;
    left: -28px;
    top: 40%;
    transform: translateY(-50%) rotate(-10deg);
    width: 80px;
    filter: drop-shadow(5px 10px 10px rgba(0, 0, 0, 0.1));
    z-index: 10;
    pointer-events: none;
}

.text-link-white {
    color: white;
    text-decoration: underline;
    font-weight: 700;
    transition: color 0.3s ease;
}

.text-link-white:hover {
    color: var(--dark);
}

/* --- REGALO BADGE ROTATION --- */
.nube-regalo-wrapper {
    position: absolute;
    top: -90px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

#badge-animation-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Sits behind the icon */
    pointer-events: none;
}

.badge-icon-overlay {
    position: relative;
    z-index: 2;
    /* Sits on top */
    width: 55%;
    /* Adjusts the cloud icon size inside the wrapper */
    height: auto;
}

.badge-generated-svg {
    overflow: visible;
    width: 100%;
    height: 100%;
}

.spin-group {
    transform-origin: 50% 50%;
    animation: spin-badge 25s linear infinite;
}

@keyframes spin-badge {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.badge-text {
    fill: #FFEB3B;
    font-family: var(--font-heading), sans-serif;
    font-weight: 900;
    font-size: 80px;
    letter-spacing: 4px;
    text-transform: uppercase;
    dominant-baseline: central;
}

/* --- GIFT BADGE ANIMATION ENHANCEMENTS --- */
.nube-regalo-wrapper.fixed-mode {
    position: fixed;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
}

.nube-regalo-wrapper.fixed-mode.active {
    opacity: 1;
    pointer-events: auto;
    animation: bounce-up 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes bounce-up {
    0% {
        transform: translate(-50%, 100%) scale(0.5);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, 0) scale(1);
        opacity: 1;
    }
}

.nube-regalo-wrapper.fixed-mode.pulse {
    animation: pulse-gentle-bottom 2s infinite ease-in-out;
}

@keyframes pulse-gentle-bottom {

    0%,
    100% {
        transform: translate(-50%, 0) scale(1);
    }

    50% {
        transform: translate(-50%, 0) scale(1.05);
    }
}

/* Ensure original in-section badge is hidden when in fixed mode */
.nube-regalo-wrapper.hidden {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 480px) {
    .btn-action {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
        box-shadow: 4px 4px 0 var(--dark);
    }

    .btn-action:hover {
        box-shadow: 6px 6px 0 var(--yellow-corp);
    }

    .nube-regalo-wrapper {
        width: 180px;
        height: 180px;
        top: -70px;
    }

    .hero-btns-wrap {
        gap: 0.8rem;
        justify-content: center;
    }

    .icon-vale {
        width: 140px;
        margin-top: -80px;
    }
}