/* ========================================
   Espíritual — Mystical Design System
   ======================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette — Deep amber & gold mysticism */
    --clr-void: #050208;
    --clr-deep: #0c0614;
    --clr-shadow: #150d22;
    --clr-dusk: #1e1230;
    --clr-gold-dark: #8B6914;
    --clr-gold: #D4A226;
    --clr-gold-light: #F0D060;
    --clr-gold-pale: #FFF1B8;
    --clr-amber: #C87F1A;
    --clr-bronze: #8B5E14;
    --clr-text: #E8DCC8;
    --clr-text-dim: #9A8E7A;
    --clr-text-bright: #FFF6E0;

    /* Fonts */
    --ff-display: "Playfair Display", "Georgia", serif;
    --ff-body: "Montserrat", "Helvetica Neue", sans-serif;
    --ff-serif: "Cormorant Garamond", "Georgia", serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;

    /* Transitions */
    --ease-mystic: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-float: cubic-bezier(0.37, 0, 0.63, 1);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--ff-body);
    overflow-x: hidden;
    width: 100vw;
    color: var(--clr-text);
    background-color: var(--clr-void);
    background-image:
        radial-gradient(ellipse 120% 100% at 50% 50%,
            var(--clr-shadow) 0%,
            var(--clr-deep) 40%,
            var(--clr-void) 100%);
    background-attachment: fixed;
}

/* Full-page noise texture */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* Global vignette effect */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(
        ellipse 70% 60% at 50% 50%,
        transparent 30%,
        rgba(5, 2, 8, 0.4) 70%,
        rgba(5, 2, 8, 0.8) 100%
    );
}

/* --- Font Classes --- */
.kings-regular {
    font-family: var(--ff-display);
    font-weight: 400;
    font-style: normal;
}

.alkatra-regular {
    font-family: var(--ff-accent);
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.alkatra-bold {
    font-family: var(--ff-accent);
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

/* ========================================
   Background & Ambient Layers
   ======================================== */

.background {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background:
        radial-gradient(ellipse 80% 60% at 50% 45%,
            rgba(139, 105, 20, 0.08) 0%,
            transparent 70%);
    overflow: hidden;
}

/* Film grain / noise texture — now handled by body::after */
.noise-overlay {
    display: none;
}

/* Vignette effect — now handled by body::before */
.vignette {
    display: none;
}

/* ========================================
   Sacred Geometry (SVG Background)
   ======================================== */

.sacred-geometry {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    z-index: 1;
    opacity: 0;
    animation: sacredFadeIn 4s var(--ease-mystic) 0.5s forwards;
}

@keyframes sacredFadeIn {
    to { opacity: 1; }
}

.geo-circle {
    fill: none;
    stroke: var(--clr-gold);
    stroke-width: 0.3;
    opacity: 0.12;
    animation: geoBreath 8s var(--ease-float) infinite alternate;
}

.geo-1 { animation-delay: 0s; }
.geo-2 { animation-delay: 0.4s; }
.geo-3 { animation-delay: 0.8s; }
.geo-4 { animation-delay: 1.2s; }
.geo-5 { animation-delay: 1.6s; }
.geo-6 { animation-delay: 2.0s; }
.geo-7 { animation-delay: 2.4s; }

@keyframes geoBreath {
    0% { opacity: 0.08; stroke-width: 0.25; }
    100% { opacity: 0.2; stroke-width: 0.5; }
}

.geo-triangle {
    fill: none;
    stroke: var(--clr-gold-light);
    stroke-width: 0.4;
    opacity: 0.08;
    animation: trianglePulse 6s var(--ease-float) infinite alternate;
    filter: drop-shadow(0 0 4px rgba(240, 208, 96, 0.15));
}

.geo-triangle-inv {
    animation-delay: 3s;
}

@keyframes trianglePulse {
    0% { opacity: 0.04; }
    100% { opacity: 0.12; }
}

/* ========================================
   Spiral Rings (Enhanced)
   ======================================== */

.spiral-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    z-index: 3;
}

.spiral-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border-style: solid;
    border-color: transparent;
}

.ring-1 {
    width: 420px;
    height: 420px;
    transform: translate(-50%, -50%);
    border-width: 1px;
    border-top-color: rgba(212, 162, 38, 0.2);
    border-right-color: rgba(212, 162, 38, 0.1);
    animation: ringRotate1 25s linear infinite;
    box-shadow:
        0 0 40px rgba(212, 162, 38, 0.04),
        inset 0 0 40px rgba(212, 162, 38, 0.02);
}

.ring-2 {
    width: 320px;
    height: 320px;
    transform: translate(-50%, -50%);
    border-width: 1px;
    border-bottom-color: rgba(240, 208, 96, 0.12);
    border-left-color: rgba(240, 208, 96, 0.06);
    animation: ringRotate2 18s linear infinite;
}

.ring-3 {
    width: 220px;
    height: 220px;
    transform: translate(-50%, -50%);
    border-width: 1px;
    border-top-color: rgba(255, 241, 184, 0.1);
    border-right-color: rgba(255, 241, 184, 0.05);
    animation: ringRotate1 12s linear infinite reverse;
}

.ring-4 {
    width: 130px;
    height: 130px;
    transform: translate(-50%, -50%);
    border-width: 1px;
    border-bottom-color: rgba(212, 162, 38, 0.18);
    animation: ringRotate2 8s linear infinite reverse;
    box-shadow:
        0 0 20px rgba(212, 162, 38, 0.06),
        inset 0 0 20px rgba(212, 162, 38, 0.03);
}

@keyframes ringRotate1 {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes ringRotate2 {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* Core glow — the "eye" at center */
.core-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(240, 208, 96, 0.12) 0%,
        rgba(212, 162, 38, 0.06) 40%,
        transparent 70%
    );
    animation: corePulse 4s var(--ease-float) infinite alternate;
}

@keyframes corePulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 1;
    }
}

/* ========================================
   Particles (Enhanced)
   ======================================== */

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: floatParticle 15s infinite linear;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    5% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(-50vh) translateX(50px) scale(0.6);
        opacity: 0.4;
    }
    95% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) translateX(-30px) scale(0.2);
        opacity: 0;
    }
}

/* ========================================
   Navigation
   ======================================== */

.nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1.5rem 3rem;
    opacity: 0;
    animation: fadeSlideDown 1.2s var(--ease-mystic) 0.3s forwards;
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        top: -20px;
    }
    to {
        opacity: 1;
        top: 0;
    }
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-sigil {
    font-size: 1.2rem;
    color: var(--clr-gold);
    animation: sigilPulse 3s var(--ease-float) infinite alternate;
}

@keyframes sigilPulse {
    0% { opacity: 0.5; text-shadow: 0 0 8px rgba(212, 162, 38, 0.3); }
    100% { opacity: 1; text-shadow: 0 0 20px rgba(212, 162, 38, 0.6); }
}

.nav-title {
    font-family: var(--ff-display);
    font-size: 1.4rem;
    color: var(--clr-gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
}

/* --- Hamburger Button (hidden on desktop) --- */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 60;
    flex-direction: column;
    gap: 5px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--clr-gold);
    transition: all 0.3s var(--ease-mystic);
    transform-origin: center;
}

/* Hamburger → X animation when open */
.nav-hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

.nav-link {
    font-family: var(--ff-body);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--clr-text-dim);
    text-decoration: none;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.4s var(--ease-mystic);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
    transition: transform 0.4s var(--ease-mystic);
}

.nav-link:hover {
    color: var(--clr-gold-light);
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* ========================================
   Main Content
   ======================================== */

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    padding: var(--space-lg) var(--space-xl);
    max-width: 720px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    scrollbar-width: none;  /* Firefox */
    -ms-overflow-style: none;  /* IE/Edge */
}

.content::-webkit-scrollbar {
    display: none;  /* Chrome/Safari */
}

/* --- Ornaments (SVG dividers) --- */
.ornament {
    display: flex;
    justify-content: center;
    margin: var(--space-md) auto;
    opacity: 0;
    animation: ornamentReveal 1.5s var(--ease-mystic) 1s forwards;
}

.ornament svg {
    width: 160px;
    height: 24px;
}

.ornament-bottom {
    animation-delay: 2.5s;
}

@keyframes ornamentReveal {
    from { opacity: 0; transform: scaleX(0.5); }
    to   { opacity: 1; transform: scaleX(1); }
}

.orn-line {
    stroke: var(--clr-gold);
    stroke-width: 0.5;
    opacity: 0.3;
}

.orn-dot {
    fill: var(--clr-gold);
    opacity: 0.4;
}

.orn-dot-center {
    fill: none;
    stroke: var(--clr-gold);
    stroke-width: 0.8;
    opacity: 0.5;
    animation: dotPulse 3s var(--ease-float) infinite alternate;
}

@keyframes dotPulse {
    0% { opacity: 0.3; r: 4; }
    100% { opacity: 0.7; r: 5; }
}

/* --- Title --- */
.content h1 {
    font-family: var(--ff-display);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 400;
    font-style: normal;
    line-height: 1.15;
    margin-bottom: var(--space-md);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: transparent;
    background: linear-gradient(
        135deg,
        var(--clr-gold-pale) 0%,
        var(--clr-gold-light) 30%,
        var(--clr-gold) 60%,
        var(--clr-amber) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(212, 162, 38, 0.15));
    opacity: 0;
    animation: titleReveal 2s var(--ease-mystic) 0.8s forwards;
}

@keyframes titleReveal {
    from {
        opacity: 0;
        letter-spacing: 0.15em;
        filter: drop-shadow(0 0 60px rgba(212, 162, 38, 0.3));
    }
    to {
        opacity: 1;
        letter-spacing: 0.02em;
        filter: drop-shadow(0 0 30px rgba(212, 162, 38, 0.15));
    }
}

/* --- Divider --- */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    opacity: 0;
    animation: fadeIn 1.5s var(--ease-mystic) 1.3s forwards;
}

.divider-wing {
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--clr-gold-dark));
}

.divider-wing.right {
    background: linear-gradient(90deg, var(--clr-gold-dark), transparent);
}

.divider-diamond {
    color: var(--clr-gold);
    font-size: 0.5rem;
    opacity: 0.6;
    animation: diamondSpin 12s linear infinite;
}

@keyframes diamondSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* --- Subtitle --- */
.subtitle {
    font-family: var(--ff-serif);
    font-size: clamp(1.2rem, 3vw, 1.65rem);
    font-weight: 300;
    font-style: italic;
    color: var(--clr-text);
    letter-spacing: 0.08em;
    margin-bottom: var(--space-lg);
    opacity: 0;
    animation: fadeIn 1.8s var(--ease-mystic) 1.5s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Intro Text --- */
.intro-text {
    font-family: var(--ff-serif);
    font-size: clamp(1.2rem, 2.64vw, 1.44rem);
    font-weight: 300;
    font-style: italic;
    color: var(--clr-text-dim);
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto var(--space-xl);
    text-shadow:
        0 0 20px rgba(212, 162, 38, 0.1);
    animation: textGlow 5s var(--ease-float) infinite alternate;
}

@keyframes textGlow {
    0% {
        text-shadow:
            0 0 15px rgba(212, 162, 38, 0.05),
            0 0 40px rgba(139, 105, 20, 0.03);
    }
    100% {
        text-shadow:
            0 0 20px rgba(212, 162, 38, 0.12),
            0 0 50px rgba(139, 105, 20, 0.06);
    }
}

/* --- CTA Callout Box --- */
.cta-callout {
    position: relative;
    max-width: 520px;
    margin: 0 auto var(--space-lg);
    padding: var(--space-lg) var(--space-xl);
    border: 1px solid rgba(5, 2, 8, 0.2);
    background: linear-gradient(
        135deg,
        rgba(212, 162, 38, 0.95) 0%,
        rgba(240, 208, 96, 0.95) 50%,
        rgba(212, 162, 38, 0.95) 100%
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: center;
    opacity: 0;
    animation: calloutReveal 1.8s var(--ease-mystic) 2s forwards;
}

/* Ornamental corner accents */
.cta-callout::before,
.cta-callout::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: var(--clr-void);
    border-style: solid;
    opacity: 0.35;
}

.cta-callout::before {
    top: -1px;
    left: -1px;
    border-width: 1px 0 0 1px;
}

.cta-callout::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 1px 1px 0;
}

/* Shimmer sweep on the border */
@property --shimmer-pos {
    syntax: '<percentage>';
    inherits: false;
    initial-value: -30%;
}

.cta-callout {
    --shimmer-pos: -30%;
    box-shadow:
        0 0 40px rgba(212, 162, 38, 0.15),
        inset 0 0 40px rgba(255, 255, 255, 0.1);
    border-image: linear-gradient(
        90deg,
        rgba(5, 2, 8, 0.1) 0%,
        rgba(5, 2, 8, 0.4) var(--shimmer-pos),
        rgba(5, 2, 8, 0.1) 100%
    ) 1;
    animation:
        calloutReveal 1.8s var(--ease-mystic) 2s forwards,
        shimmerSweep 5s var(--ease-float) 3.5s infinite;
}

@keyframes calloutReveal {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes shimmerSweep {
    0%, 100% { --shimmer-pos: -30%; }
    50%      { --shimmer-pos: 130%; }
}

.callout-sigil {
    display: block;
    font-size: 1.1rem;
    color: var(--clr-gold);
    margin-bottom: var(--space-sm);
    opacity: 0.7;
    animation: sigilPulse 3s var(--ease-float) infinite alternate;
}

.callout-heading {
    font-family: var(--ff-display);
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    font-weight: 600;
    text-transform: uppercase;
    color: transparent;
    background: linear-gradient(
        135deg,
        var(--clr-gold-pale) 0%,
        var(--clr-gold-light) 40%,
        var(--clr-gold) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.04em;
    margin-bottom: var(--space-md);
    filter: drop-shadow(0 0 20px rgba(212, 162, 38, 0.12));
}

.callout-text {
    font-family: var(--ff-body);
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    font-weight: 300;
    color: var(--clr-text);
    line-height: 1.75;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-lg);
}

.callout-text em {
    color: var(--clr-gold-light);
    font-style: italic;
}

.callout-text strong {
    color: var(--clr-gold-pale);
    font-weight: 400;
}

/* Inverted styles specifically for CTA Callout */
.cta-callout .callout-sigil {
    color: var(--clr-void);
    opacity: 0.8;
}

.cta-callout .callout-heading {
    color: var(--clr-void);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    filter: none;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
}

.cta-callout .callout-text {
    color: var(--clr-deep);
    font-weight: 400;
    font-size: 0.95rem;
}

.cta-callout .callout-text em {
    font-family: var(--ff-serif);
    font-size: 1.1rem;
    color: var(--clr-void);
    font-style: italic;
    font-weight: 600;
}

.cta-callout .callout-text strong {
    color: var(--clr-void);
    font-weight: 600;
}

/* Button inside callout — override delay and margin */
.cta-callout .cta-button {
    margin-top: var(--space-sm);
    animation-delay: 2.6s;
}

/* --- CTA Button --- */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-family: var(--ff-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--clr-gold-light);
    padding: 0.9rem 2.5rem;
    border: 1px solid rgba(21, 13, 34, 0.5);
    border-radius: 0;
    background: var(--clr-void);
    cursor: pointer;
    transition: all 0.5s var(--ease-mystic);
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 1.5s var(--ease-mystic) 2s forwards;
    box-shadow: 0 5px 20px rgba(5, 2, 8, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(212, 162, 38, 0.1),
        rgba(212, 162, 38, 0.02)
    );
    transition: all 0.5s var(--ease-mystic);
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 300%;
    height: 300%;
    background: radial-gradient(
        circle,
        rgba(212, 162, 38, 0.1) 0%,
        transparent 60%
    );
    transition: transform 0.6s var(--ease-mystic);
}

.cta-button:hover {
    border-color: var(--clr-gold);
    color: var(--clr-gold-pale);
    box-shadow:
        0 0 30px rgba(5, 2, 8, 0.5),
        inset 0 0 20px rgba(212, 162, 38, 0.1);
}

.cta-button:hover::before {
    background: linear-gradient(
        135deg,
        rgba(212, 162, 38, 0.15),
        rgba(212, 162, 38, 0.05)
    );
}

.cta-button:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.cta-text {
    position: relative;
    z-index: 1;
}

.cta-glow {
    position: absolute;
    inset: -1px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, 
        rgba(212, 162, 38, 0.3), 
        transparent 40%, 
        transparent 60%, 
        rgba(212, 162, 38, 0.3)
    ) border-box;
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s var(--ease-mystic);
}

.cta-button:hover .cta-glow {
    opacity: 1;
}

/* Disable entrance and continuous animations for the bottom CTA */
#cta-programa,
#cta-programa .cta-button {
    animation: none !important;
    opacity: 1 !important;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    text-align: center;
    padding: 1.5rem 2rem;
    opacity: 0;
    animation: fadeIn 1.5s var(--ease-mystic) 3s forwards;
}

.footer-quote {
    font-family: var(--ff-serif);
    font-size: 0.8rem;
    font-weight: 300;
    font-style: italic;
    color: var(--clr-text-dim);
    letter-spacing: 0.05em;
    opacity: 0.5;
    margin-bottom: 0.25rem;
}

.footer-attr {
    font-family: var(--ff-body);
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--clr-gold-dark);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.4;
}

/* ========================================
   Section: El Camino
   ======================================== */

.section-camino {
    position: relative;
    width: 100%;
    background:
        radial-gradient(ellipse 70% 40% at 50% 40%,
            rgba(139, 105, 20, 0.06) 0%,
            transparent 70%);
    padding: var(--space-2xl) 0;
    overflow: hidden;
}

/* --- Triangular Sacred Geometry --- */
.sacred-triangles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    z-index: 0;
    opacity: 0.7;
}

/* Outer triangles */
.tri-shape {
    fill: none;
    stroke: var(--clr-gold);
    stroke-width: 0.4;
    opacity: 0.1;
    animation: triBreath 9s var(--ease-float) infinite alternate;
}

.tri-1 { animation-delay: 0s; }
.tri-2 { animation-delay: 0.6s; }
.tri-3 { animation-delay: 1.2s; }
.tri-4 { animation-delay: 1.8s; }
.tri-5 { animation-delay: 2.4s; }
.tri-6 { animation-delay: 3.0s; }

@keyframes triBreath {
    0%   { opacity: 0.06; stroke-width: 0.3; }
    100% { opacity: 0.15; stroke-width: 0.5; }
}

/* Inner hexagram star */
.tri-star {
    fill: none;
    stroke: var(--clr-gold-light);
    stroke-width: 0.5;
    opacity: 0.08;
    animation: triStarPulse 7s var(--ease-float) infinite alternate;
}

.tri-7 { animation-delay: 0.5s; }
.tri-8 { animation-delay: 2s; }

@keyframes triStarPulse {
    0%   { opacity: 0.05; }
    100% { opacity: 0.14; }
}

/* Innermost core triangles */
.tri-core {
    fill: none;
    stroke: var(--clr-gold-pale);
    stroke-width: 0.6;
    opacity: 0.06;
    animation: triCorePulse 5s var(--ease-float) infinite alternate;
    filter: drop-shadow(0 0 6px rgba(240, 208, 96, 0.12));
}

.tri-9  { animation-delay: 0s; }
.tri-10 { animation-delay: 2.5s; }

@keyframes triCorePulse {
    0%   { opacity: 0.04; stroke-width: 0.4; }
    100% { opacity: 0.1; stroke-width: 0.7; }
}

/* Radiating lines */
.tri-ray {
    stroke: var(--clr-gold-dark);
    stroke-width: 0.3;
    opacity: 0.06;
    animation: rayFade 10s var(--ease-float) infinite alternate;
}

@keyframes rayFade {
    0%   { opacity: 0.03; }
    100% { opacity: 0.08; }
}

/* Central bindu */
.tri-bindu {
    fill: var(--clr-gold);
    opacity: 0.15;
    animation: binduPulse 4s var(--ease-float) infinite alternate;
}

.tri-bindu-ring {
    fill: none;
    stroke: var(--clr-gold-light);
    stroke-width: 0.6;
    opacity: 0.1;
    animation: binduPulse 4s var(--ease-float) infinite alternate-reverse;
}

@keyframes binduPulse {
    0%   { opacity: 0.08; }
    100% { opacity: 0.2; }
}

.section-inner {
    position: relative;
    z-index: 10;
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

/* Section ornaments — always visible (no animation) */
.section-ornament {
    opacity: 1;
    animation: none;
}

/* --- Section Title (H2) --- */
.section-title {
    font-family: var(--ff-display);
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-md);
    color: transparent;
    background: linear-gradient(
        135deg,
        var(--clr-gold-pale) 0%,
        var(--clr-gold-light) 30%,
        var(--clr-gold) 60%,
        var(--clr-amber) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px rgba(212, 162, 38, 0.12));
}

/* --- Section Intro --- */
.section-intro {
    font-family: var(--ff-serif);
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    font-weight: 300;
    font-style: italic;
    color: var(--clr-text);
    line-height: 1.75;
    max-width: 640px;
    margin: 0 auto var(--space-xl);
    letter-spacing: 0.02em;
}

/* --- Pillar Grid --- */
.pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

/* --- Pillar Card --- */
.pillar-card {
    position: relative;
    padding: var(--space-xl) var(--space-lg);
    border: 1px solid rgba(212, 162, 38, 0.15);
    background: linear-gradient(
        160deg,
        rgba(21, 13, 34, 0.7) 0%,
        rgba(12, 6, 20, 0.85) 100%
    );
    text-align: center;
    transition: border-color 0.4s var(--ease-mystic),
                box-shadow 0.4s var(--ease-mystic);
}

/* Corner accents on pillar cards */
.pillar-card::before,
.pillar-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--clr-gold);
    border-style: solid;
    opacity: 0.25;
    transition: opacity 0.4s var(--ease-mystic);
}

.pillar-card::before {
    top: -1px;
    left: -1px;
    border-width: 1px 0 0 1px;
}

.pillar-card::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 1px 1px 0;
}

.pillar-card:hover {
    border-color: rgba(212, 162, 38, 0.3);
    box-shadow:
        0 0 40px rgba(212, 162, 38, 0.06),
        inset 0 0 30px rgba(212, 162, 38, 0.03);
}

.pillar-card:hover::before,
.pillar-card:hover::after {
    opacity: 0.5;
}

.pillar-sigil {
    font-size: 2rem;
    color: var(--clr-gold);
    margin-bottom: var(--space-md);
    opacity: 0.7;
    animation: sigilPulse 3s var(--ease-float) infinite alternate;
}

.pillar-title {
    font-family: var(--ff-display);
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--clr-gold-light);
    margin-bottom: var(--space-md);
}

.pillar-divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
    margin: 0 auto var(--space-md);
    opacity: 0.4;
}

.pillar-text {
    font-family: var(--ff-serif);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 300;
    color: var(--clr-text);
    line-height: 1.75;
    letter-spacing: 0.02em;
}

/* --- Shadow Retreat Callout (reuses callout styles) --- */
.shadow-callout {
    position: relative;
    max-width: 640px;
    margin: 0 auto var(--space-lg);
    padding: var(--space-xl) var(--space-xl);
    border: 1px solid rgba(212, 162, 38, 0.25);
    background: linear-gradient(
        135deg,
        rgba(21, 13, 34, 0.85) 0%,
        rgba(12, 6, 20, 0.9) 50%,
        rgba(21, 13, 34, 0.85) 100%
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: center;
    box-shadow:
        0 0 50px rgba(212, 162, 38, 0.06),
        inset 0 0 40px rgba(212, 162, 38, 0.03);
}

/* Corner accents */
.shadow-callout::before,
.shadow-callout::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: var(--clr-gold);
    border-style: solid;
    opacity: 0.35;
}

.shadow-callout::before {
    top: -1px;
    left: -1px;
    border-width: 1px 0 0 1px;
}

.shadow-callout::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 1px 1px 0;
}

/* --- Programa Section Specifics --- */
.section-subtitle {
    font-family: var(--ff-serif);
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    font-weight: 300;
    color: var(--clr-gold-light);
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
}

.facilitators-title {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

/* --- Phases Timeline/Cards --- */
.phases-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    text-align: left;
}

.phase-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-left: 2px solid rgba(212, 162, 38, 0.2);
    background: linear-gradient(
        90deg,
        rgba(212, 162, 38, 0.05) 0%,
        transparent 100%
    );
    transition: all 0.4s var(--ease-mystic);
    position: relative;
}

.phase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -2px;
    height: 100%;
    width: 2px;
    background: var(--clr-gold);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s var(--ease-mystic);
}

.phase-card:hover {
    background: linear-gradient(
        90deg,
        rgba(212, 162, 38, 0.1) 0%,
        transparent 100%
    );
}

.phase-card:hover::before {
    transform: scaleY(1);
}

.phase-number {
    font-family: var(--ff-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--clr-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    min-width: 80px;
    padding-top: 3px;
}

.phase-content {
    flex: 1;
}

.phase-title {
    font-family: var(--ff-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--clr-text-bright);
    margin-bottom: var(--space-xs);
    letter-spacing: 0.04em;
}

.phase-text {
    font-family: var(--ff-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--clr-text-dim);
    line-height: 1.6;
}

/* --- Facilitators Grid --- */
.facilitators-grid {
    margin-bottom: var(--space-xl);
}

.facilitator-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.facilitator-img-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: var(--space-md);
    border: 2px solid rgba(212, 162, 38, 0.3);
    box-shadow: 0 0 20px rgba(212, 162, 38, 0.1);
    transition: all 0.4s var(--ease-mystic);
}

.facilitator-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%) sepia(20%) hue-rotate(5deg);
    transition: all 0.4s var(--ease-mystic);
}

.facilitator-card:hover .facilitator-img-wrapper {
    border-color: rgba(212, 162, 38, 0.6);
    box-shadow: 0 0 30px rgba(212, 162, 38, 0.2);
}

.facilitator-card:hover .facilitator-img {
    filter: grayscale(0%) sepia(0%) hue-rotate(0deg);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        inset: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--space-xl);
        background: rgba(5, 2, 8, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 55;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links .nav-link {
        font-size: 1.1rem;
        letter-spacing: 0.2em;
    }

    .nav-hamburger {
        display: flex;
    }

    .content {
        padding: var(--space-md);
    }

    .sacred-geometry {
        width: 400px;
        height: 400px;
    }

    .spiral-container {
        width: 350px;
        height: 350px;
    }

    .ring-1 { width: 300px; height: 300px; }
    .ring-2 { width: 230px; height: 230px; }
    .ring-3 { width: 160px; height: 160px; }
    .ring-4 { width: 100px; height: 100px; }

    .ornament svg {
        width: 120px;
    }

    .divider-wing {
        width: 40px;
    }

    .footer {
        padding: 1rem;
    }

    .footer-quote {
        font-size: 0.7rem;
    }

    .cta-callout {
        padding: var(--space-md) var(--space-lg);
    }

    .cta-callout::before,
    .cta-callout::after {
        width: 16px;
        height: 16px;
    }

    /* El Camino — stack pillars on tablet */
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .shadow-callout {
        padding: var(--space-lg) var(--space-lg);
    }

    .shadow-callout::before,
    .shadow-callout::after {
        width: 16px;
        height: 16px;
    }

    .phase-card {
        flex-direction: column;
        gap: var(--space-xs);
        padding: var(--space-md);
    }
}

@media (max-width: 480px) {
    .sacred-geometry {
        width: 280px;
        height: 280px;
    }

    .spiral-container {
        width: 260px;
        height: 260px;
    }

    .ring-1 { width: 230px; height: 230px; }
    .ring-2 { width: 170px; height: 170px; }
    .ring-3 { width: 120px; height: 120px; }
    .ring-4 { width: 80px;  height: 80px; }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.75rem;
    }

    .cta-callout {
        padding: var(--space-md);
        margin-bottom: var(--space-md);
    }

    .callout-text {
        font-size: 0.82rem;
        line-height: 1.6;
    }

    .shadow-callout {
        padding: var(--space-md);
    }

    .pillar-card {
        padding: var(--space-lg) var(--space-md);
    }
}