* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Paleta de colores mejorada */
:root {
    --gold-primary: #D4AF37;
    --gold-light: #F5DEB3;
    --gold-dark: #B8860B;
    --orange-primary: #FF8C00;
    --orange-light: #FFA500;
    --orange-dark: #FF6B00;
    --black: #1a1a1a;
    --white: #ffffff;
    --gradient-gold: linear-gradient(135deg, #e6c353 0%, #FFD700 50%, #FF8C00 100%);
    --gradient-gold-reverse: linear-gradient(135deg, #FF8C00 0%, #FFD700 50%, #D4AF37 100%);
    --gradient-gold-new: linear-gradient(135deg, #AE8625, #F7EF8A, #D2AC47, #EDC967);
    --gradient-gold-new-hover: linear-gradient(135deg, #F7EF8A, #EDC967, #D2AC47, #F7EF8A, #AE8625);
}

body {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===================================================================
   ANIMACIONES KEYFRAMES MODERNAS - Efectos profesionales y actuales
   =================================================================== */

/* Easing personalizado con cubic-bezier */
:root {
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-elastic: cubic-bezier(0.68, -0.6, 0.32, 1.6);
    --ease-expo-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Fade In Down - Entrada suave desde arriba */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-40px) scale(0.95);
        filter: blur(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Fade In Up - Entrada suave desde abajo */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        filter: blur(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Fade In - Aparición simple mejorada */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.98);
    }

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

/* Scale In - Entrada con rebote elástico */
@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.7) rotate(-5deg);
    }

    50% {
        transform: scale(1.05) rotate(2deg);
    }

    70% {
        transform: scale(0.95) rotate(-1deg);
    }

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

/* Slide In Left - Deslizamiento desde izquierda mejorado */
@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-60px) rotateY(-15deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) rotateY(0);
    }
}

/* Slide In Right - Deslizamiento desde derecha mejorado */
@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(60px) rotateY(15deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) rotateY(0);
    }
}

/* Shimmer - Efecto de brillo mejorado */
@keyframes shimmer {
    0% {
        background-position: -200% center;
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.2);
    }

    100% {
        background-position: 200% center;
        filter: brightness(1);
    }
}

/* Float - Flotación orgánica suave */
@keyframes float {

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

    25% {
        transform: translateY(-8px) rotate(1deg);
    }

    50% {
        transform: translateY(-12px) rotate(0deg);
    }

    75% {
        transform: translateY(-8px) rotate(-1deg);
    }
}

/* Pulse - Pulsación suave */
@keyframes pulse {

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

    50% {
        transform: scale(1.08);
        opacity: 0.9;
    }
}

/* Glow - Resplandor mejorado con múltiples capas */
@keyframes glow {

    0%,
    100% {
        box-shadow:
            0 0 20px rgba(212, 175, 55, 0.4),
            0 0 40px rgba(212, 175, 55, 0.2),
            inset 0 0 10px rgba(212, 175, 55, 0.1);
    }

    50% {
        box-shadow:
            0 0 30px rgba(212, 175, 55, 0.6),
            0 0 60px rgba(212, 175, 55, 0.4),
            0 0 90px rgba(212, 175, 55, 0.2),
            inset 0 0 20px rgba(212, 175, 55, 0.2);
    }
}

/* Rotate In - Rotación 3D de entrada */
@keyframes rotateIn {
    0% {
        opacity: 0;
        transform: perspective(1000px) rotateY(-20deg) rotateX(10deg) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: perspective(1000px) rotateY(0) rotateX(0) scale(1);
    }
}

/* Ripple Wave - Onda expansiva mejorada */
@keyframes rippleWave {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

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

/* Shimmer Enhanced - Brillo premium */
@keyframes shimmerEnhanced {
    0% {
        background-position: -200% center;
        filter: brightness(1) saturate(1);
    }

    50% {
        filter: brightness(1.3) saturate(1.2);
    }

    100% {
        background-position: 200% center;
        filter: brightness(1) saturate(1);
    }
}

/* Particle Float - Partículas flotantes */
@keyframes particleFloat {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translate(var(--tx), var(--ty)) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

/* NUEVAS ANIMACIONES MODERNAS */

/* Bounce In - Entrada con rebote */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-100px);
    }

    50% {
        opacity: 1;
        transform: scale(1.1) translateY(0);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

/* Slide In With Bounce - Deslizamiento con rebote */
@keyframes slideInWithBounce {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    60% {
        transform: translateX(20px);
    }

    80% {
        transform: translateX(-10px);
    }

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

/* Fade In Scale - Aparición con escala */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

/* Rotate In Y - Rotación en eje Y */
@keyframes rotateInY {
    0% {
        opacity: 0;
        transform: perspective(1200px) rotateY(-90deg);
        transform-origin: center;
    }

    100% {
        opacity: 1;
        transform: perspective(1200px) rotateY(0);
    }
}

/* Glow Pulse Enhanced - Pulso de brillo mejorado */
@keyframes glowPulseEnhanced {

    0%,
    100% {
        box-shadow:
            0 0 15px rgba(255, 215, 0, 0.3),
            0 0 30px rgba(255, 140, 0, 0.2),
            0 0 45px rgba(212, 175, 55, 0.1);
        filter: brightness(1);
    }

    50% {
        box-shadow:
            0 0 25px rgba(255, 215, 0, 0.6),
            0 0 50px rgba(255, 140, 0, 0.4),
            0 0 75px rgba(212, 175, 55, 0.3),
            0 0 100px rgba(212, 175, 55, 0.1);
        filter: brightness(1.2);
    }
}

/* Float Soft - Flotación suave y orgánica */
@keyframes floatSoft {

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

    33% {
        transform: translateY(-15px) translateX(5px);
    }

    66% {
        transform: translateY(-8px) translateX(-5px);
    }
}

/* Morph Shape - Transformación de formas */
@keyframes morphShape {

    0%,
    100% {
        border-radius: 20px;
        transform: rotate(0deg);
    }

    25% {
        border-radius: 40px 20px;
        transform: rotate(2deg);
    }

    50% {
        border-radius: 20px 40px;
        transform: rotate(-2deg);
    }

    75% {
        border-radius: 30px 25px;
        transform: rotate(1deg);
    }
}

/* Navbar */
.navbar {
    background: var(--gradient-gold);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
    animation: fadeInDown 0.8s ease-out;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--black);
    animation: slideInLeft 0.8s ease-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.2);
}

.nav-menu {
    display: flex;
    gap: 30px;
    animation: fadeIn 1s ease-out 0.3s both;
}

.nav-menu a {
    color: var(--black);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--black);
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    animation: slideInRight 0.8s ease-out;
}

.hazte-socio {
    background: #FFD700;
    color: var(--black);
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.hazte-socio::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hazte-socio:hover::before {
    width: 300px;
    height: 300px;
}

.hazte-socio:hover {
    background: var(--gradient-gold-new-hover);
    color: var(--white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-registrarse {
    background: var(--white);
    color: var(--black);
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.btn-registrarse::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-registrarse:hover::before {
    width: 300px;
    height: 300px;
}

.btn-registrarse:hover {
    background: var(--black);
    color: var(--gold-primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero {
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    animation: fadeIn 1.5s ease-out;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: scaleIn 1.5s ease-out;
    filter: brightness(0.5);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-text {
    max-width: 600px;
    color: white;
    display: inline-block;
    animation: scaleIn 1.2s ease-out 0.8s both;
    transition: all 0.4s ease;
}

.hero-text:hover {
    transform: translateY(-5px);
}

.hero h1 {
    font-size: 42px;
    font-weight: bold;
    color: var(--gold-light);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease-out 1s both;
}

.hero p {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--white);
    animation: fadeIn 1s ease-out 1.2s both;
}

.hero-description {
    font-size: 14px;
    margin-bottom: 30px;
    animation: fadeIn 1s ease-out 1.4s both;
}

.btn-libertad {
    background: var(--gradient-gold);
    color: var(--black);
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.5s var(--ease-elastic);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    animation: fadeIn 1s ease-out 1.6s both;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
    text-decoration: none;
    display: inline-block;
}

/* Efecto de brillo deslizante */
.btn-libertad::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.5),
            transparent);
    transition: left 0.6s var(--ease-expo-out);
}

.btn-libertad:hover::before {
    left: 100%;
}

/* Efecto de resplandor */
.btn-libertad::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 30px;
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    z-index: -1;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.5s var(--ease-expo-out);
}

.btn-libertad:hover::after {
    opacity: 0.7;
}

.btn-libertad:hover {
    transform: translateY(-6px) scale(1.1);
    box-shadow:
        0 15px 40px rgba(212, 175, 55, 0.7),
        0 5px 20px rgba(255, 140, 0, 0.5),
        0 0 60px rgba(255, 215, 0, 0.3);
}

.btn-libertad:active {
    transform: translateY(-3px) scale(1.05);
    transition: all 0.1s ease;
}

/* Problem Section */
.problem-section {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #fff 0%, #fafafa 100%);
    text-align: center;
}

.problem-section h2 {
    font-size: 32px;
    margin-bottom: 50px;
    color: var(--black);
    animation: fadeInDown 0.8s ease-out;
    position: relative;
    display: inline-block;
}

.problem-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
    animation: slideInLeft 0.8s ease-out 0.3s both;
}

.cards-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background: var(--gradient-gold);
    padding: 40px 30px;
    border-radius: 20px;
    width: 280px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    transition: all 0.5s var(--ease-expo-out);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
    transform-style: preserve-3d;
    cursor: pointer;
}

.card:nth-child(1) {
    animation-delay: 0.1s;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Efecto de brillo deslizante */
.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.4) 50%,
            transparent 70%);
    transform: rotate(45deg);
    transition: all 0.8s var(--ease-expo-out);
    opacity: 0;
}

.card:hover::before {
    top: 100%;
    left: 100%;
    opacity: 1;
}

/* Efecto de resplandor interno */
.card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.5), rgba(255, 140, 0, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s var(--ease-expo-out);
}

.card:hover::after {
    opacity: 1;
}

/* Hover con efecto 3D magnético */
.card:hover {
    transform: translateY(-20px) scale(1.05) perspective(1000px) rotateX(5deg);
    box-shadow:
        0 25px 60px rgba(212, 175, 55, 0.6),
        0 10px 40px rgba(255, 140, 0, 0.4),
        0 0 50px rgba(255, 215, 0, 0.2);
    animation: floatSoft 3s ease-in-out infinite;
}

.card p {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    position: relative;
    z-index: 1;
    transition: transform 0.3s var(--ease-expo-out);
}

.card:hover p {
    transform: translateZ(20px);
}

/* Success Section */
.success-section {
    padding: 40px 40px;
    background: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.success-card {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    color: var(--white);
    min-height: 400px;
    display: flex;
    align-items: center;
    animation: rotateIn 1s ease-out;
    transition: all 0.4s ease;
}

.success-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.success-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/index4.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: brightness(0.6);
}

.success-card:hover .success-image-bg {
    transform: scale(1.05);
    filter: brightness(0.5);
}

.success-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

.success-card-content {
    padding: 50px;
    z-index: 3;
    position: relative;
    animation: fadeInUp 1s ease-out 0.5s both;
    max-width: 50%;
}

.success-card-content>* {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center center;
}

.success-card-content h3 {
    transition-delay: 0.1s;
}

.success-card-content .success-description {
    transition-delay: 0.2s;
}

.success-card-content .btn-empezar {
    transition-delay: 0.3s;
}

.logo-overlay {
    font-size: 48px;
    font-weight: bold;
    color: var(--gold-primary);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    animation: glow 2s ease-in-out infinite;
}

.success-card h3 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.highlight {
    font-size: 42px;
    font-weight: bold;
    background: linear-gradient(90deg,
            #D4AF37 0%,
            #FFD700 25%,
            #FFF 50%,
            #FFD700 75%,
            #D4AF37 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: shimmerEnhanced 3s linear infinite;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.success-description {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 90%;
    animation: fadeIn 1s ease-out 0.9s both;
}

.btn-empezar {
    display: inline-block;
    background: var(--gradient-gold-reverse);
    color: var(--black);
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.4);
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 1.1s both;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.btn-empezar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-empezar:hover::before {
    width: 300px;
    height: 300px;
}

.btn-empezar:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 10px 35px rgba(255, 140, 0, 0.6), 0 0 50px rgba(255, 140, 0, 0.4);
}

/* Contenedor mejorado para scrollytelling */
.scrolly-container {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

/* Interactive Grid Background - MEJORADO */
.interactive-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    gap: 1px;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.interactive-tile {
    width: 100%;
    padding-bottom: 100%;
    background: radial-gradient(circle at center,
            rgba(255, 215, 0, 0.95) 0%,
            rgba(255, 140, 0, 0.75) 25%,
            rgba(212, 175, 55, 0.5) 50%,
            transparent 75%);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: none;
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 40px rgba(255, 140, 0, 0.4),
        0 0 60px rgba(212, 175, 55, 0.2),
        inset 0 0 15px rgba(255, 255, 255, 0.3);
    will-change: transform, opacity;
    filter: blur(0.5px);
    position: relative;
}

.interactive-tile::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.interactive-tile.wave-active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 215, 0, 0.6);
    border-radius: 50%;
    animation: rippleWave 0.8s ease-out;
}

/* Services Section */
.services-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
}

.services-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease-out;
    position: relative;
    display: inline-block;
    width: 100%;
}

.services-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-card {
    background: var(--gradient-gold-reverse);
    padding: 40px 30px;
    border-radius: 25px;
    width: 320px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    animation-fill-mode: both;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
    transform-style: preserve-3d;
}

.service-card:nth-child(1) {
    animation-delay: 0.2s;
}

.service-card:nth-child(2) {
    animation-delay: 0.4s;
}

.service-card:nth-child(3) {
    animation-delay: 0.6s;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.service-card:hover::after {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px) perspective(1000px) rotateY(5deg) rotateX(2deg);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.5), 0 0 40px rgba(212, 175, 55, 0.3);
}

.service-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.service-icon img {
    width: 70px;
    height: 70px;
    transition: transform 0.4s ease;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--black);
    font-weight: bold;
}

.service-card p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

.btn-info {
    background: var(--white);
    color: var(--black);
    padding: 12px 30px;
    border: 2px solid transparent;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-info:hover {
    background: var(--black);
    color: var(--gold-primary);
    border-color: var(--gold-primary);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--white);
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-gold);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out;
}

.footer-left,
.footer-center,
.footer-right {
    flex: 1;
    min-width: 250px;
    animation: fadeIn 1s ease-out;
    animation-fill-mode: both;
}

.footer-left {
    animation-delay: 0.2s;
}

.footer-center {
    animation-delay: 0.4s;
}

.footer-right {
    animation-delay: 0.6s;
}

.logo-footer {
    font-size: 36px;
    font-weight: bold;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: inline-block;
    animation: glow 3s ease-in-out infinite;
}

.footer-left p {
    font-size: 14px;
    margin-bottom: 10px;
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-left a {
    color: var(--gold-light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-left a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
}

.footer-left a:hover::after {
    width: 100%;
}

.footer-left a:hover {
    color: var(--gold-primary);
    transform: translateX(5px);
}

.footer-center h3,
.footer-right h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-center h3::after,
.footer-right h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient-gold);
}

.footer-center a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-center a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-center a:hover::before {
    opacity: 1;
}

.footer-center a:hover {
    color: var(--gold-primary);
    padding-left: 25px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #333 0%, #444 100%);
    color: var(--white);
    transition: all 0.4s ease;
    animation: scaleIn 0.6s ease-out;
    animation-fill-mode: both;
}

.social-icon:nth-child(1) {
    animation-delay: 0.8s;
}

.social-icon:nth-child(2) {
    animation-delay: 0.9s;
}

.social-icon:nth-child(3) {
    animation-delay: 1s;
}

.social-icon:hover {
    background: var(--gradient-gold);
    color: var(--black);
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
}

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

.footer-newsletter {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.footer-newsletter h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--gold-primary);
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #555;
    border-radius: 25px;
    font-size: 14px;
    background-color: #333;
    color: var(--white);
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--gold-primary);
    background-color: #404040;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.newsletter-btn {
    background: var(--gradient-gold);
    color: var(--black);
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.newsletter-btn:hover {
    background: var(--gradient-gold-reverse);
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
}

/* Diana Requejo Section */
.diana-section {
    padding: 40px 20px;
    background: linear-gradient(to bottom, #fafafa 0%, #fff 100%);
    overflow: hidden;
}

.diana-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
    text-align: left;
}

.diana-left {
    flex: 1 1 300px;
    animation: slideInLeft 1s ease-out;
    text-align: center;
}

.diana-photo {
    width: 100%;
    max-width: 320px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.diana-left:hover .diana-photo {
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.diana-quote {
    margin-top: 25px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    background: var(--white);
    padding: 20px;
    border-left: 5px solid var(--gold-primary);
    border-radius: 10px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.diana-quote:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.diana-right {
    flex: 2 1 400px;
    color: #333;
    animation: slideInRight 1s ease-out;
}

.diana-right h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--black);
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}

.diana-right h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-gold);
}

.diana-right p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.diana-cta {
    font-weight: bold;
    margin-top: 30px;
    font-size: 1.1rem;
    color: var(--black);
}

.diana-cta span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .cards-container,
    .services-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
    }

    .card,
    .service-card {
        width: 100%;
        max-width: 350px;
    }

    .diana-container {
        text-align: center;
    }

    .diana-right {
        text-align: center;
    }

    .diana-right h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .diana-photo {
        margin-left: auto;
        margin-right: auto;
    }

    .interactive-grid {
        grid-template-columns: repeat(15, 1fr);
    }
}


.contenedor-principal {
    display: flex;
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    gap: 60px;
    align-items: flex-start;
}

.columna-izquierda {
    flex: 0 0 400px;
}

.titulo-principal {
    font-family: 'Alkatra', cursive;
    font-size: 72px;
    font-weight: 500;
    color: #8B6F47;
    line-height: 1.1;
    margin-bottom: 30px;
}

.descripcion-principal {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.cta-link {
    font-family: 'Poppins', sans-serif;
    color: #ff9800;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease;
}

.cta-link:hover {
    color: #f57c00;
}

.columna-derecha {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.tarjeta-info {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 35px;
}

.tarjeta-info:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.etiqueta-superior {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.titulo-tarjeta {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ff9800;
    margin-bottom: 18px;
}

.descripcion-tarjeta {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

.boton-accion {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    color: #000;
    border: 2px solid #ff9800;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.boton-accion:hover {
    background: #ff9800;
    color: white;
}

.boton-accion::after {
    content: ' ▷';
    margin-left: 8px;
}

@media (max-width: 968px) {
    .contenedor-principal {
        flex-direction: column;
        gap: 50px;
    }

    .columna-izquierda {
        flex: 1;
        width: 100%;
    }

    .titulo-principal {
        font-size: 56px;
    }
}

@media (max-width: 568px) {
    .titulo-principal {
        font-size: 48px;
    }

    .titulo-tarjeta {
        font-size: 28px;
    }

    .contenedor-principal {
        margin: 50px auto;
    }
}