/* =========================================================================
   PUERTA CELESSTIAL - DARK LUXURY CELESTIAL WARM WHITE
   ========================================================================= */

:root {
    /* Fondos - Celestial Day */
    --bg-primary: #FFFFFF;
    /* Blanco puro */
    --bg-secondary: #F8FAFC;
    /* Celeste muy claro (Slate 50) */
    --bg-tertiary: #F1F5F9;
    /* Slate 100 */

    /* Acento Primario: Cyan/Azul Etéreo y Blanco (Mucho más claros ahora) */
    --primary-50: #F0F9FF;
    /* Sky 50 */
    --primary-100: #E0F2FE;
    /* Sky 100 */
    --primary-200: #BAE6FD;
    /* Sky 200 */
    --primary-300: #7DD3FC;
    /* Sky 300 - Azul claro suave */
    --primary-400: #38BDF8;
    /* Sky 400 - Azul vibrante pero claro */
    --primary-500: #0EA5E9;
    /* Sky 500 - Azul principal claro */
    --primary-600: #0284C7;
    /* Sky 600 */
    --primary-700: #0369A1;
    /* Sky 700 */
    --primary-800: #075985;
    --primary-900: #0C4A6E;

    /* Acentos Secundarios: Magia Celestial y Dorado */
    --accent-cyan: #7DD3FC;
    --accent-purple: #A5B4FC;
    --accent-gold: #D4AF37;
    /* Oro clásico elegante */
    --accent-yellow: #FDE047;
    /* Amarillo luminoso */

    /* Textos (Oscuros sobre fondo claro) */
    --text-primary: #0F172A;
    --text-secondary: #334155;
    --text-tertiary: #64748B;
    --text-quaternary: #94A3B8;

    /* RGB del Celeste Celestial Principal para rgba() (#0EA5E9) */
    --primary-rgb: 14, 165, 233;
    /* RGB del Dorado para rgba() */
    --gold-rgb: 212, 175, 55;

    /* Gradients Base: Efecto Celestial Diurno con Acentos Dorados */
    --hippie-gradient: linear-gradient(135deg, var(--primary-200) 0%, var(--accent-gold) 60%, var(--primary-400) 100%);
    --gold-gradient: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-gold) 100%);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;

    /* Ambient ethereal glow replicating the luminous cyan/white angel on light bg */
    background-image:
        radial-gradient(circle at center top, rgba(56, 189, 248, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at bottom, rgba(129, 140, 248, 0.1) 0%, transparent 50%);
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    background-color: var(--accent-gold);
    /* Color visible on light background */
    border-radius: 50%;
    opacity: 0.7;
    animation: floatUp infinite linear;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0.5);
        opacity: 0;
    }

    20% {
        opacity: 0.6;
    }

    80% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-20vh) scale(1.5);
        opacity: 0;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', 'Plus Jakarta Sans', serif;
    /* Elegancia Serif lujosa */
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h1 span,
h2 span {
    background: var(--hippie-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(var(--primary-rgb), 0.4);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

/* =========================================================================
   COMPONENTS
   ========================================================================= */

/* Typography */
h1 {
    font-size: 76px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
}

.btn-primary {
    display: inline-block;
    background: var(--gold-gradient);
    background-size: 300% 300%;
    color: #FFFFFF;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    padding: 16px 36px;
    border-radius: 9999px;
    /* Botones estilo Pill */
    border: none;
    box-shadow: 0 0 0 1px rgba(var(--gold-rgb), 0.3), 0 10px 25px -5px rgba(var(--gold-rgb), 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    /* Efecto activo constante */
    animation: gradient-shift 6s ease infinite, pulse-glow-btn 3s infinite alternate;
}

.btn-primary:hover,
.hover-scale:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.2);
}

.btn-secondary {
    display: inline-block;
    background: rgba(var(--gold-rgb), 0.05);
    color: var(--text-primary);
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 9999px;
    /* Botones estilo Pill */
    border: 1px solid var(--accent-gold);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    /* Efecto activo constante */
    animation: pulse-glow-btn-secondary 3s infinite alternate;
}

.btn-secondary:hover {
    background: rgba(var(--gold-rgb), 0.1);
    transform: translateY(-2px);
}

/* Glass Card */
.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(var(--gold-rgb), 0.25);
    /* Borde oro metálico vivo */
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08), inset 0 1px 0 0 rgba(255, 255, 255, 0.8), 0 0 15px rgba(var(--gold-rgb), 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse-glow-border 4s infinite alternate;
    /* Animacion parpadeante global para tarjetas */
}

.glass-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.12), inset 0 1px 0 0 rgba(255, 255, 255, 1);
}

/* Glow Effects */
.glow-primary {
    filter: drop-shadow(0 0 20px rgba(var(--gold-rgb), 0.6)) drop-shadow(0 0 40px rgba(var(--gold-rgb), 0.4)) drop-shadow(0 0 60px rgba(var(--gold-rgb), 0.3));
}

.glow-text {
    text-shadow: 0 0 15px rgba(var(--gold-rgb), 0.6), 0 0 30px rgba(var(--gold-rgb), 0.3);
    color: var(--accent-gold);
}

/* Particles */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px 2px rgba(var(--gold-rgb), 0.8);
    opacity: 0;
    animation: float-particle 20s infinite ease-in-out;
}

/* =========================================================================
   LAYOUT / SECTIONS
   ========================================================================= */

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    /* Noche trans */
    backdrop-filter: blur(32px);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    padding: 16px 0;
}

.nav-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: auto;
}

.logo-text {
    font-family: 'Playfair Display', 'Plus Jakarta Sans', serif;
    font-weight: 700;
    font-size: 24px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(var(--gold-rgb), 0.4);
    line-height: 1;
    transform: translateY(2px);
    /* Centrado óptico para tipografía serif */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-500);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-nav {
    padding: 10px 24px;
    border-radius: 8px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: 0.3s;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    text-align: center;
}

.hero-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 20px;
    color: var(--primary-500);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
    animation: fade-in-up 0.8s forwards;
}

.hero-title {
    margin-bottom: 24px;
    animation: fade-in-up 0.8s forwards;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    animation: fade-in-up 0.8s 0.2s forwards;
    opacity: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: scale-in 0.6s 0.4s forwards;
    opacity: 0;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fade-in-rotate 1.2s forwards;
}

.sphere {
    width: 450px;
    height: 450px;
    position: relative;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.sphere-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(var(--primary-rgb), 0.1) 0%, transparent 70%);
    border-radius: 50%;
    box-shadow:
        0 0 80px rgba(var(--primary-rgb), 0.1),
        inset 0 0 40px rgba(var(--primary-rgb), 0.2);
    /* cyan/white inner glow */
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
}

.icon-3d {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Efecto activo constante */
    animation: pulse-glow-hero 4s infinite alternate;
}

.icon-3d:hover {
    transform: rotateY(10deg) rotateX(-5deg) scale(1.05);
}

/* Social Proof */
.social-proof {
    padding: 60px 0;
    border-top: 1px solid rgba(var(--gold-rgb), 0.2);
    border-bottom: 1px solid rgba(var(--gold-rgb), 0.2);
    background: rgba(var(--primary-rgb), 0.03);
    /* Celestial bg */
}

.social-text {
    font-size: 14px;
    color: var(--text-quaternary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.metric span {
    font-size: 48px;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--accent-gold);
    text-shadow: 0 0 20px rgba(var(--gold-rgb), 0.3);
}

.metric p {
    color: var(--text-tertiary);
    font-weight: 500;
}

/* Purpose Section */
.purpose {
    padding: 120px 0;
}

.section-header {
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header p {
    font-size: 20px;
    color: var(--text-tertiary);
}

.purpose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.purpose-icon {
    font-size: 48px;
    margin-bottom: 24px;
    display: inline-block;
}

/* Servicios Cards */
.services {
    padding: 100px 0;
    background: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid rgba(var(--gold-rgb), 0.4);
    border-radius: 20px;
    padding: 0;
    /* Removing padding from card to allow background to clip edge */
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    animation: pulse-glow-border 3s infinite alternate;
}

/* Image container at the top of the card */
.service-image-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(var(--gold-rgb), 0.2);
    border-radius: 20px 20px 0 0;
    /* Force internal clipping */
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
}

.service-image-container iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px 30px 0 0;
}

.service-video-iframe {
    border-radius: 30px 30px 0 0;
    clip-path: inset(0 0 0 0 round 30px 30px 0 0);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-img {
    transform: scale(1.08);
    /* Zoom effect on hover */
}

/* Container for text inside the card */
.service-content {
    width: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
    /* Take up remaining space */
}

/* --- FEATURED SERVICE (Lectura de Vela) --- */
.featured-service-container {
    width: 100%;
    margin-bottom: 40px;
}

.featured-service-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    /* Force clipping in WebKit browsers for iframe/video elements */
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    /* Subtler shadow */
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    /* Slightly stronger border */
    border-radius: 20px;
    background: var(--bg-primary);
    /* Use primary bg */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.featured-service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.4), transparent, rgba(var(--secondary-rgb), 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
}


.featured-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.featured-service-card .service-image-container {
    height: 400px;
    /* Taller video on mobile */
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(var(--gold-rgb), 0.2);
    border-radius: 20px 20px 0 0;
    /* Force internal clipping */
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
}

.featured-service-card .service-image-container::after {
    /* Overlay removed to not obscure video */
    display: none;
}

.featured-service-card .service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.featured-service-card:hover .service-img {
    transform: scale(1.05);
}

.featured-service-card .service-content {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Align text to left */
    text-align: left;
    position: relative;
    z-index: 2;
}

.featured-service-card .service-icon-wrapper {
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
}

.featured-service-card .service-icon {
    width: 40px;
    height: 40px;
}

.featured-service-card .service-title {
    font-size: 32px;
    /* Larger title */
    margin-bottom: 20px;
}

.featured-service-card .service-description-single {
    align-items: flex-start;
}

.featured-service-card .service-benefits {
    text-align: left;
}

.featured-service-card .service-benefits li {
    display: block;
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
}

.featured-service-card .service-benefits li::before {
    position: absolute;
    left: 0;
    top: 2px;
    margin-right: 0;
    font-size: 1.2em;
    line-height: 1.2;
    color: var(--accent-gold);
    /* Usar dorado para resaltar las viñetas */
}

.featured-service-card .service-price {
    font-size: 36px;
    margin-top: auto;
    /* Push to bottom */
    margin-bottom: 24px;
}

/* Desktop layout for featured service */
@media (min-width: 992px) {
    .featured-service-card {
        flex-direction: row;
        align-items: stretch;
    }

    .featured-service-card .service-image-container {
        flex: 0 0 60%;
        height: auto;
        /* Let it fill height naturally */
        min-height: 450px;
        border-bottom: none;
        border-right: 1px solid rgba(var(--gold-rgb), 0.2);
        border-radius: 20px 0 0 20px;
    }

    .featured-service-card .service-image-container iframe {
        border-radius: 30px 0 0 30px;
    }

    .service-video-iframe {
        border-radius: 30px 0 0 30px !important;
        clip-path: inset(0 0 0 0 round 30px 0 0 30px) !important;
    }

    .featured-service-card .service-image-container::after {
        background: linear-gradient(to right, transparent, var(--bg-primary));
        height: 100%;
        width: 30%;
        bottom: 0;
        left: auto;
        right: 0;
    }

    .featured-service-card .service-content {
        flex: 0 0 50%;
        padding: 60px;
        justify-content: center;
    }
}


.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px -10px rgba(0, 0, 0, 0.1);
}

.service-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(var(--gold-rgb), 0.1);
    border: 1px solid rgba(var(--gold-rgb), 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(var(--gold-rgb), 0.2);
    animation: pulse-glow-shadow 2.5s infinite alternate;
}

.service-icon {
    width: 32px;
    height: 32px;
    color: var(--accent-gold);
}

.service-title {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-primary);
    text-align: center;
}

.service-description {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.6;
    flex-grow: 1;
}

/* Single column layout for service descriptions with benefits list */
.service-description-single {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-description-single .service-description {
    margin-bottom: 16px;
    flex-grow: 0;
}

.service-benefits {
    list-style-type: none;
    /* Removing default disc for a cleaner look, use custom or keep simple */
    padding-left: 0;
    margin: 0 0 30px 0;
    text-align: center;
    /* Center aligning benefits to match the card style */
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.service-benefits li {
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
    /* Helps with centering */
    width: 100%;
}

.service-benefits li::before {
    content: '✧';
    /* Celestial bullet point */
    color: var(--primary-300);
    margin-right: 8px;
}

.service-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-300);
    margin-bottom: 24px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

/* Payment Marquee */
.payment-marquee-wrapper {
    margin: 0 auto 50px auto;
    width: 100%;
    overflow: hidden;
    text-align: center;
}

.payment-text {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.payment-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.payment-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 20s linear infinite;
}

.payment-group {
    display: flex;
    gap: 40px;
    padding-right: 40px;
}

.payment-logo {
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.8);
    padding: 12px 28px;
    border-radius: 12px;
    border: 1px solid rgba(var(--gold-rgb), 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.payment-logo img {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    object-fit: contain;
}

.payment-logo:hover {
    color: var(--accent-gold);
    border-color: rgba(var(--gold-rgb), 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--gold-rgb), 0.15);
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Testimonials */
.testimonials {
    padding: 120px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.testimonial-card {
    position: relative;
    padding-top: 40px;
}

.quote-mark {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    line-height: 1;
    font-family: serif;
    color: rgba(var(--gold-rgb), 0.15);
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.author-info h4 {
    margin: 0;
    font-size: 18px;
}

.author-info span {
    font-size: 14px;
    color: var(--accent-gold);
}

/* About Section */
.about {
    padding: 120px 0;
    /* Remover el fondo oscuro para que no sea tan gris */
    background: radial-gradient(circle at center, rgba(var(--gold-rgb), 0.05) 0%, var(--bg-primary) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.maestra-photo {
    height: auto;
    display: block;
    padding: 10px;
}

.maestra-img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(var(--gold-rgb), 0.15);
    display: block;
}

.about-content h2 {
    margin-bottom: 30px;
}

.about-content p {
    font-size: 18px;
    margin-bottom: 24px;
}

.signature {
    font-family: 'Plus Jakarta Sans', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-500);
    margin-top: 40px;
}

/* Final CTA */
.cta-section {
    padding: 100px 0;
}

.cta-card {
    text-align: center;
    padding: 80px 40px;
    background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.15) 0%, var(--bg-secondary) 100%);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-card h2 {
    font-size: 56px;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-primary);
    border-top: 1px solid rgba(56, 189, 248, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-desc {
    color: var(--text-tertiary);
    margin-top: 20px;
    max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
    color: var(--text-primary);
    margin-bottom: 24px;
    font-size: 18px;
}

.footer-links a,
.footer-social a {
    display: block;
    color: var(--text-tertiary);
    margin-bottom: 12px;
    transition: 0.3s;
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    color: var(--text-quaternary);
    border-top: 1px solid rgba(var(--gold-rgb), 0.05);
    padding-top: 30px;
}

/* Videos Section */
.videos-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.video-card {
    aspect-ratio: 16 / 9;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(var(--primary-rgb), 0.4);
}

.video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(var(--primary-rgb), 0.2) 0%, rgba(2, 6, 23, 0.8) 100%);
    z-index: 1;
    transition: all 0.5s ease;
}

.video-card:hover::before {
    background: radial-gradient(circle at center, rgba(var(--primary-rgb), 0.3) 0%, rgba(2, 6, 23, 0.6) 100%);
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 2;
}

.play-btn {
    font-size: 56px;
    color: var(--accent-gold);
    text-shadow: 0 0 20px rgba(var(--gold-rgb), 0.8);
    transition: transform 0.3s ease;
}

.video-card:hover .play-btn {
    transform: scale(1.15);
    color: var(--text-primary);
}

.video-placeholder p {
    font-weight: 600;
    color: var(--text-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-size: 18px;
    letter-spacing: 0.5px;
}

/* =========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================= */

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-in {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fade-in-rotate {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(-10deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(2deg);
    }

    50% {
        transform: translateY(-10px) rotate(-2deg);
    }

    75% {
        transform: translateY(-30px) rotate(1deg);
    }
}

@keyframes float-particle {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0;
    }

    25% {
        transform: translate(100px, -100px);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50px, -200px);
        opacity: 0.6;
    }

    75% {
        transform: translate(-100px, -100px);
        opacity: 0.8;
    }
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse-glow-border {
    0% {
        border-color: rgba(var(--gold-rgb), 0.2);
        box-shadow: 0 0 10px rgba(var(--gold-rgb), 0.1), inset 0 0 10px rgba(var(--gold-rgb), 0.05);
    }

    100% {
        border-color: rgba(var(--gold-rgb), 0.8);
        box-shadow: 0 0 25px rgba(var(--gold-rgb), 0.4), inset 0 0 20px rgba(var(--gold-rgb), 0.2);
    }
}

@keyframes pulse-glow-shadow {
    0% {
        box-shadow: 0 0 10px rgba(var(--gold-rgb), 0.2);
    }

    100% {
        box-shadow: 0 0 30px rgba(var(--gold-rgb), 0.6);
    }
}

.pulse-btn {
    animation: gradient-shift 4s ease infinite, pulse-glow 3s ease-in-out infinite, pulse-glow-shadow 2s infinite alternate;
}

@keyframes pulse-glow-btn {
    0% {
        box-shadow: 0 0 0 1px rgba(var(--gold-rgb), 0.3), 0 10px 25px -5px rgba(var(--gold-rgb), 0.3);
    }

    100% {
        box-shadow: 0 0 0 2px rgba(var(--gold-rgb), 0.8), 0 8px 40px rgba(var(--gold-rgb), 0.8);
    }
}

@keyframes pulse-glow-btn-secondary {
    0% {
        border-color: rgba(var(--gold-rgb), 0.4);
        box-shadow: 0 0 10px rgba(var(--gold-rgb), 0.1);
    }

    100% {
        border-color: rgba(var(--gold-rgb), 0.8);
        box-shadow: 0 0 25px rgba(var(--gold-rgb), 0.4);
    }
}

@keyframes pulse-glow-hero {
    0% {
        filter: drop-shadow(0 0 15px rgba(var(--gold-rgb), 0.2));
    }

    100% {
        filter: drop-shadow(0 0 45px rgba(var(--gold-rgb), 0.7));
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 1px rgba(var(--gold-rgb), 0.5), 0 4px 24px rgba(var(--gold-rgb), 0.4), 0 0 40px rgba(var(--gold-rgb), 0.2);
    }

    50% {
        box-shadow: 0 0 0 2px rgba(var(--gold-rgb), 0.8), 0 8px 30px rgba(var(--gold-rgb), 0.6), 0 0 60px rgba(var(--gold-rgb), 0.4);
    }
}

.animate-in {
    animation: fade-in-up 0.8s forwards !important;
    opacity: 1 !important;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================================
   RESPONSIVE DESIGN
   ========================================================================= */

@media (max-width: 1024px) {
    h1 {
        font-size: 60px;
    }

    h2 {
        font-size: 40px;
    }

    .hero-grid {
        gap: 30px;
    }

    .sphere {
        width: 350px;
        height: 350px;
    }

    .purpose-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-visual {
        margin-bottom: 40px;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 32px;
    }

    .hero {
        text-align: center;
        padding-top: 120px;
    }

    .hero-ctas {
        justify-content: center;
        flex-direction: column;
    }

    .sphere {
        width: 280px;
        height: 280px;
        margin: 0 auto 40px;
    }

    .metrics-grid,
    .purpose-grid,
    .services-grid,
    .testimonial-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        text-align: center;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        padding: 20px;
        flex-direction: column;
        text-align: center;
        border-bottom: 1px solid rgba(var(--gold-rgb), 0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .cta-card {
        padding: 40px 20px;
    }

    .cta-card h2 {
        font-size: 36px;
    }
}

/* Responsive Main Video Section */
.main-video-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(var(--gold-rgb), 0.2);
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    background: #000;
    /* Dark background for vertical videos to fill sides */
}

.main-video-content {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 default */
}

.main-video-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .main-video-content {
        /* Vertical aspect ratio for mobile (9:16) */
        padding-top: 177.77%;
    }
}

@media (min-width: 769px) {
    .main-video-content {
        /* On desktop, vertical videos look better at 4:3 or similar if we don't want them too tall */
        padding-top: 56.25%;
    }
}