/**
 * ============================================================================
 * Perfect Shape System (PSS) — Design System & UI Stylesheet
 * ============================================================================
 * Architecture: Editorial Dark Glassmorphism, Custom CSS Properties,
 * Hardware-Accelerated 3D Transforms, and Mobile-First Responsive Grid.
 * ============================================================================
 */

:root {
    --bg-base: #050505;
    --accent: #12505D;
    --accent-hover: #186676;
    --accent-bright: #238296;
    --accent-light: #8EBEC7;
    --card-bg: rgba(12, 16, 22, 0.94);
    --input-bg: #111111;
    --text-primary: #F3F4F6;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;

    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--text-primary);
}

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}



/* Elegant & Non-Intrusive Scroll Reveal System (Cinematic Depth) */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(35px) scale(0.985);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

/* Subtle staggered delays for card grids */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

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

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

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

/* Layout & Fullscreen Viewport Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 110px 0;
    position: relative;
    box-sizing: border-box;
}

h2 {
    font-size: 2.3rem;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-kicker {
    display: block;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--accent-bright);
    margin-bottom: 8px;
    font-family: var(--font-display);
}

/* Floating Luxury Island Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent !important;
    border: none !important;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-container {
    pointer-events: auto;
    width: auto;
    max-width: fit-content;
    margin: 0 auto;
    padding: 7px 10px 7px 22px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: rgba(10, 14, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 9999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 25px rgba(18, 80, 93, 0.2);
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s ease, border-color 0.35s ease;
}

.nav-container-clean {
    justify-content: center;
}

.navbar.scrolled .nav-container {
    background: rgba(6, 9, 14, 0.98);
    border-color: rgba(35, 130, 150, 0.45);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.7), 0 0 30px rgba(35, 130, 150, 0.25);
    transform: translateY(-2px) translateZ(0);
}

.logo-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-brand:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.nav-logo-img {
    height: 48px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 229, 255, 0.2));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 7px 14px;
    font-size: 0.90rem;
    font-weight: 500;
    border-radius: 9999px;
    transition: all 0.25s ease;
    margin-left: 0;
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-links a.btn-primary {
    background: rgba(35, 130, 150, 0.35);
    border: 1px solid rgba(35, 130, 150, 0.65);
    color: #ffffff;
    padding: 8px 22px;
    margin-left: 8px;
    box-shadow: 0 0 15px rgba(24, 102, 118, 0.35);
}

.nav-links a.btn-primary:hover {
    background: rgba(35, 130, 150, 0.6);
    border-color: rgba(142, 190, 199, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 0 22px rgba(35, 130, 150, 0.6);
}

/* Language Switcher in Navbar */
.nav-pipe {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.16);
    margin: 0 10px;
    display: inline-block;
    vertical-align: middle;
}

.lang-switch-capsule {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.lang-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 6px 12px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

.lang-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.lang-btn.active {
    background: linear-gradient(135deg, rgba(35, 130, 150, 0.5) 0%, rgba(24, 102, 118, 0.75) 100%);
    border: 1px solid rgba(142, 190, 199, 0.45);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(18, 80, 93, 0.4);
}

.lang-btn .lang-flag {
    font-size: 0.90rem;
    line-height: 1;
}

/* International Pricing Badges & Detail Styles */
.pricing-card-top-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.pricing-badge-intl {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(35, 130, 150, 0.22);
    border: 1px solid rgba(142, 190, 199, 0.45);
    color: #A5D8E2;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.pricing-badge-lang {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #F1F5F9;
    padding: 4px 11px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 0.4rem;
    flex-wrap: wrap;
}

.pricing-amount {
    font-size: 2.1rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.pricing-usd-approx {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent-light);
    letter-spacing: 0.2px;
}

.pricing-scope-note {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.2rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Buttons */
.btn-primary {
    font-family: var(--font-display);
    background: rgba(20, 28, 38, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.btn-primary:hover {
    background: rgba(35, 130, 150, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.45);
}

.large-btn {
    padding: 14px 38px;
    font-size: 1.05rem;
}

.full-width {
    width: 100%;
}

/* Hero (Photo-Free Pure Luxury Dark Design) */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 90px;
    position: relative;
    background-color: transparent;
    background-image:
        radial-gradient(circle at 50% 0%, rgba(18, 80, 93, 0.55) 0%, rgba(6, 8, 11, 0) 65%),
        radial-gradient(circle at 85% 85%, rgba(24, 102, 118, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 15% 85%, rgba(24, 102, 118, 0.12) 0%, transparent 40%);
    overflow: hidden;
    text-align: center;
}

/* Atmospheric Ambient Glow Orbs (Zero Blur-Filter GPU Friendly) */
.hero-ambient-glow {
    position: absolute;
    top: -180px;
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    width: 900px;
    height: 540px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(24, 102, 118, 0.22) 0%, rgba(18, 80, 93, 0.12) 38%, rgba(6, 8, 11, 0) 70%);
    pointer-events: none;
    z-index: 1;
}



.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 860px;
    text-align: center;
    margin: 0 auto;
    animation: fadeIn 1s ease-out;
}

/* Hero Brand Emblem */
.hero-brand-emblem {
    margin-bottom: 24px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-img {
    height: 64px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.hero-logo-img:hover {
    transform: scale(1.04);
}


.hero .credentials {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.badge {
    font-family: var(--font-display);
    background: rgba(14, 19, 27, 0.92);
    color: #e2e8f0;
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.12);
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.badge:hover {
    border-color: rgba(24, 102, 118, 0.5);
    background: rgba(18, 80, 93, 0.35);
    color: #ffffff;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.035em;
    background: linear-gradient(180deg, #FFFFFF 20%, #E2E8F0 75%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0 auto 34px;
    line-height: 1.6;
    max-width: 640px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
}

.hero-subinfo {
    font-size: 0.84rem;
    color: #64748B;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* Cards (Solid/Semi-Transparent RGBA for High-FPS Scrolling) */
.card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 32px 28px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    border-color: rgba(24, 102, 118, 0.65);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
    transform: translateY(-4px);
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

/* Pilares */
.pilar-card {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.step-num {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent-bright);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(18, 80, 93, 0.35);
    border: 1px solid rgba(24, 102, 118, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.pilar-card h3 {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.pilar-card p {
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.65;
}

/* Programas */
.program-card {
    position: relative;
    overflow: hidden;
}

.program-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.highlight-card {
    border: 1px solid rgba(24, 102, 118, 0.5);
}

.highlight-tag {
    background: var(--accent);
    color: var(--bg-base);
    font-weight: 700;
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.program-card p {
    color: var(--text-secondary);
}

/* Testimonios */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonio-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(24, 102, 118, 0.2);
    background: #080B10;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonio-wrapper:hover {
    border-color: rgba(24, 102, 118, 0.55);
    box-shadow: 0 12px 30px rgba(24, 102, 118, 0.15);
}

.testimonio-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(8, 11, 16, 0.02), rgba(8, 11, 16, 0.3));
    pointer-events: none;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transform: scale(1.015);
    transition: transform 0.35s ease, filter 0.35s ease;
    filter: brightness(0.95) contrast(1.04);
}

.testimonio-wrapper:hover img {
    transform: scale(1.045);
    filter: brightness(1) contrast(1.08);
}

.testimonio-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: var(--bg-base);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Gallery Filters */
.gallery-filters .filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.gallery-filters .filter-btn:hover {
    border-color: rgba(197, 160, 89, 0.5);
}

.gallery-filters .filter-btn.active {
    background: var(--accent);
    color: var(--bg-base);
    border-color: var(--accent);
    font-weight: 700;
}

.testimonio-wrapper.hidden,
.testimonio-wrapper.hidden-by-limit {
    display: none !important;
}

@keyframes galleryFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

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

.testimonio-wrapper:not(.hidden):not(.hidden-by-limit) {
    animation: galleryFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

/* Load More Button for Testimonials Gallery */
.gallery-load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    background: rgba(18, 80, 93, 0.18);
    border: 1px solid rgba(24, 102, 118, 0.5);
    color: #f1f5f9;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
    font-family: var(--font-display);
}

.btn-load-more:hover {
    background: rgba(24, 102, 118, 0.38);
    border-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 6px 22px rgba(24, 102, 118, 0.3);
    transform: translateY(-2px);
}

.btn-load-more .toggle-icon {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--accent-hover);
}

.btn-load-more.is-expanded .toggle-icon {
    transform: rotate(180deg);
}

.hidden {
    display: none !important;
}



/* ==========================================================
   FAQ Interactive Accordion
   ========================================================== */
.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 840px;
    margin: 0 auto;
    width: 100%;
}

.faq-accordion-item {
    padding: 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #090C11;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-accordion-item:hover,
.faq-accordion-item.active {
    border-color: rgba(24, 102, 118, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.faq-question-btn {
    width: 100%;
    padding: 22px 26px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: color 0.25s ease;
}

.faq-question-btn:hover {
    color: #ffffff;
}

.faq-chevron {
    color: var(--accent-hover);
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-accordion-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
    padding: 0 26px;
    border-top: 1px solid transparent;
}

.faq-accordion-item.active .faq-answer-content {
    max-height: 300px;
    padding: 0 26px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.faq-answer-content p {
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.65;
    margin: 0;
}

/* ==========================================================
   Value & ROI Comparison Section
   ========================================================== */
.comparativa-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0;
    position: relative;
    background: transparent;
    border-top: none;
    border-bottom: none;
    box-sizing: border-box;
}

.comparativa-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 1060px;
    margin: 0 auto;
}

.comparativa-col {
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    position: relative;
}

.comparativa-col-danger {
    background: rgba(12, 14, 18, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    opacity: 0.9;
}

.comparativa-col-success {
    background: linear-gradient(180deg, rgba(18, 80, 93, 0.22) 0%, rgba(10, 13, 18, 0.85) 100%);
    border: 1px solid rgba(24, 102, 118, 0.55);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6), 0 0 40px rgba(18, 80, 93, 0.15);
}

.comparativa-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comparativa-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.tag-muted {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
}

.tag-accent {
    background: rgba(18, 80, 93, 0.4);
    color: #cbd5e1;
    border: 1px solid rgba(24, 102, 118, 0.5);
}

.comparativa-header h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.comparativa-costo-total {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: #e2e8f0;
    line-height: 1.1;
    margin-bottom: 4px;
}

.comparativa-costo-total.pss-price {
    color: #ffffff;
}

.comparativa-periodo {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.comparativa-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.comparativa-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.comparativa-list li strong {
    display: block;
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 3px;
}

.comparativa-list li p {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.icon-cross {
    color: #ef4444;
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.icon-check {
    color: #1D7284;
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.comparativa-cta-box {
    margin-top: auto;
}

/* ==========================================================
   Candidacy Evaluation & Intake Wizard (Multi-Step)
   ========================================================== */
.triage-card {
    max-width: 680px;
    margin: 0 auto;
    padding: 35px;
    text-align: left;
    border: 1px solid rgba(24, 102, 118, 0.4);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.65);
    background: #080A0E;
}

.triage-progress-header {
    margin-bottom: 30px;
}

.triage-step-indicators {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.triage-pill {
    flex: 1;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 8px;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.triage-pill.active {
    background: rgba(18, 80, 93, 0.45);
    color: #e2e8f0;
    border-color: rgba(24, 102, 118, 0.6);
}

.triage-progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.triage-progress-fill {
    height: 100%;
    background: #186676;
    transition: width 0.4s ease;
}

.triage-step {
    display: none;
    animation: fadeIn 0.35s ease;
}

.triage-step.active {
    display: block;
}

.triage-step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.triage-dual-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.triage-dual-actions .btn-secondary {
    flex: 0 0 110px;
    padding: 12px;
    text-align: center;
}

.triage-dual-actions .btn-primary {
    flex: 1;
    padding: 12px;
    text-align: center;
}

@media (max-width: 768px) {
    .comparativa-grid {
        grid-template-columns: 1fr;
    }

    .triage-step-indicators {
        flex-direction: column;
        gap: 4px;
    }

    /* Mobile Gallery: Compact 2-Column Editorial Grid */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .testimonio-wrapper {
        border-radius: 8px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    }

    .testimonio-tag {
        top: 7px;
        left: 7px;
        font-size: 0.62rem;
        padding: 3px 6px;
        letter-spacing: 0.2px;
        border-radius: 3px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    }

    .gallery-filters {
        gap: 6px !important;
        margin-bottom: 20px !important;
    }

    .gallery-filters .filter-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .gallery-load-more-container {
        margin-top: 22px;
    }

    .btn-load-more {
        width: 100%;
        max-width: 320px;
        padding: 11px 18px;
        font-size: 0.88rem;
    }
}

@media (max-width: 400px) {
    .gallery-grid {
        gap: 7px;
    }

    .testimonio-tag {
        font-size: 0.56rem;
        padding: 2px 4px;
    }
}

/* Form Controls & Input Layout */
.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-wrapper h2 {
    text-align: left;
    margin-bottom: 10px;
}

.form-wrapper>p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--input-bg);
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
    accent-color: var(--accent);
}

.checkbox-group label {
    font-weight: 400;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.checkbox-group a {
    color: var(--accent);
    text-decoration: underline;
}

/* Off-screen Bot Trap & Media Protection */
.field-confirm-ref {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

img {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content h3 {
    color: var(--accent);
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.social-links a {
    color: var(--text-primary);
    text-decoration: none;
    margin-left: 15px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    padding: 20px;
    will-change: transform;
    transform: translateZ(0);
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    max-width: 600px;
    width: 100%;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--accent);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    will-change: transform;
    transform: translateZ(0);
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
}

.close-lightbox {
    position: absolute;
    right: 30px;
    top: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 960px) {
    .hero {
        padding: 130px 20px 70px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 110px 20px 60px;
    }

    .hero-ambient-glow {
        width: 100%;
        height: 350px;
        top: -100px;
    }

    .hero h1 {
        font-size: 2.15rem;
        line-height: 1.2;
    }

    .hero .subtitle {
        font-size: 1.02rem;
    }

    h2 {
        font-size: 1.85rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 24px 20px;
    }

    .nav-links {
        display: none;
        /* Simple mobile approach for now */
    }
}

/* ==========================================================
   Coach Transformation Section (Luxury Minimal & Impactful)
   ========================================================== */
.coach-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0;
    position: relative;
    background: transparent;
    border-top: none;
    border-bottom: none;
    box-sizing: border-box;
}

.coach-container {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 60px;
    align-items: center;
}

.coach-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.coach-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, rgba(24, 102, 118, 0.28) 0%, rgba(18, 80, 93, 0.12) 45%, transparent 72%);
    border-radius: 24px;
    z-index: 1;
    pointer-events: none;
    transform: translateZ(0);
}

.coach-image-card {
    position: relative;
    z-index: 2;
    background: #0B0E14;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.coach-image-card:hover {
    transform: translateY(-4px);
    border-color: rgba(24, 102, 118, 0.45);
}

.coach-image-card img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 0;
    display: block;
    cursor: zoom-in;
}


.coach-info {
    display: flex;
    flex-direction: column;
}

.coach-info h2 {
    text-align: left;
    margin-bottom: 20px;
    font-size: 2.5rem;
    line-height: 1.18;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 30%, #3FA3B8 70%, #186676 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.coach-lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #f1f5f9;
    margin-bottom: 16px;
    font-weight: 500;
}

.coach-description {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.coach-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 34px;
}

.coach-stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.coach-stat-box:hover {
    background: rgba(18, 80, 93, 0.25);
    border-color: rgba(24, 102, 118, 0.35);
}

.coach-stat-box .stat-number {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--accent-bright);
    line-height: 1;
    margin-bottom: 6px;
}

.coach-stat-box .stat-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.35;
    font-weight: 500;
}

.coach-cta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-secondary {
    font-family: var(--font-display);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

@media (max-width: 960px) {
    .coach-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .coach-info h2 {
        text-align: center;
        font-size: 2.15rem;
    }

    .coach-info .section-kicker {
        text-align: center !important;
    }

    .coach-lead,
    .coach-description {
        text-align: center;
    }

    .coach-cta-row {
        justify-content: center;
    }
}

@media (max-width: 580px) {
    .coach-stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .coach-cta-row {
        flex-direction: column;
        width: 100%;
    }

    .coach-cta-row .btn-primary,
    .coach-cta-row .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================
   Footer & Brand Styling (Structured Multi-Column Layout)
   ========================================================== */
.site-footer {
    background: #030507;
    border-top: none;
    padding: 70px 0 35px;
    margin-top: 60px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    max-width: 900px;
    height: 1px;
    background: radial-gradient(ellipse at center, rgba(35, 130, 150, 0.45) 0%, rgba(24, 102, 118, 0.15) 50%, transparent 85%);
}

.footer-grid-layout {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.2fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col-brand {
    padding-right: 20px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(24, 102, 118, 0.2));
}

.footer-bio {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.footer-badges-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge-mini {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    letter-spacing: 0.2px;
}

.footer-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 18px;
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    padding: 10px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.25s ease;
}

.contact-icon-svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--accent-bright);
    transition: transform 0.25s ease, color 0.25s ease, filter 0.25s ease;
}

.footer-contact-link:hover {
    color: #ffffff;
    background: rgba(24, 102, 118, 0.16);
    border-color: rgba(24, 102, 118, 0.45);
    transform: translateY(-2px);
}

.footer-contact-link:hover .contact-icon-svg {
    color: #3FA3B8;
    transform: scale(1.12);
    filter: drop-shadow(0 0 8px rgba(24, 102, 118, 0.6));
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-bar .copyright {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.footer-legal-links .legal-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s ease;
}

.footer-legal-links .legal-link:hover {
    color: var(--accent-bright);
}

@media (max-width: 992px) {
    .footer-grid-layout {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
}

@media (max-width: 600px) {
    .footer-grid-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        top: 14px;
        padding: 0 16px;
    }

    .nav-pipe {
        display: none;
    }

    .nav-container {
        padding: 4px;
        max-width: fit-content;
        margin: 0 auto;
        overflow: visible;
        background: rgba(8, 12, 17, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 9999px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 18px rgba(24, 102, 118, 0.25);
        will-change: transform;
        transform: translateZ(0);
    }

    .lang-switch-capsule {
        margin: 0;
        padding: 0;
        gap: 3px;
    }

    .lang-btn {
        padding: 6px 14px;
        font-size: 0.76rem;
    }

    .nav-logo-img {
        height: 38px;
        max-width: 180px;
    }

    .footer-logo-img {
        height: 42px;
        max-width: 210px;
    }
}

/* ==========================================================
   Desktop Interactive Motion (Parallax & 3D Tilt) - PC Only
   ========================================================== */
@media (hover: hover) and (pointer: fine) {

    /* Smooth transitions for interactive cards (no permanent 3D layers during scroll) */
    .card,
    .pilar-card,
    .program-card,
    .comparativa-col,
    .coach-image-card,
    .coach-stat-box {
        transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    }

    /* Magnetic interactive buttons */
    .btn-primary,
    .btn-secondary,
    .badge {
        transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
    }

    /* Hero Parallax Elements */
    .hero-ambient-glow {
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .hero-brand-emblem {
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }
}

/* ==========================================================
   Interactive Dark Background (Ambient Spotlight & Canvas - PC Only)
   ========================================================== */
.bg-spotlight {
    position: fixed;
    top: -425px;
    left: -425px;
    width: 850px;
    height: 850px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(18, 80, 93, 0.24) 0%, rgba(24, 102, 118, 0.08) 42%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Maintain proper layering so text and cards stay on top */
header,
section,
footer {
    position: relative;
    z-index: 1;
}

@media (hover: none) and (pointer: coarse) {

    .bg-spotlight,
    .bg-canvas {
        display: none !important;
    }
}