:root {
    --bg: #0a0a0a;
    --text: #ededed;
    --accent: #4A5D23;
    --text-muted: #888;
    --text-dim: #555;
    --font: 'Inter', -apple-system, sans-serif;
}

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

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

section {
    padding: 120px 24px;
    position: relative;
}

.section-inner {
    max-width: 900px;
    margin: 0 auto;
}

/* === ANIMACIONES === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
                transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.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; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* === TIPOGRAFÍA === */
h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-muted);
}

/* === HERO === */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 24px;
    position: relative;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 40px 40px;
}

.logo {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 2rem;
    color: var(--text);
}

.logo span {
    color: var(--accent);
}

.hero h1 {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    max-width: 700px;
    line-height: 1.1;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.6;
}

/* === LÍNEA DE MEDICIÓN === */
.medicion-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, var(--accent) 20%, var(--accent) 80%, transparent 100%);
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.medicion-line.visible {
    opacity: 0.5;
}

/* === PARADIGMA === */
.paradigma {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.paradigma .section-inner {
    position: relative;
    padding-left: 40px;
    border-left: 1px solid rgba(74, 93, 35, 0.3);
}

.paradigma ul {
    list-style: none;
    margin: 2rem 0;
}

.paradigma li {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.paradigma li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.5;
}

.paradigma .cierre {
    font-size: clamp(1.125rem, 1.5vw, 1.25rem);
    color: var(--text);
    margin-top: 2rem;
    font-style: italic;
}

/* === FILOSOFÍA === */
.filosofia {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.preguntas {
    margin: 2.5rem 0;
}

.pregunta-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(74, 93, 35, 0.15);
}

.pregunta-item:first-child {
    border-top: 1px solid rgba(74, 93, 35, 0.15);
}

.pregunta-item p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--text);
    line-height: 1.6;
    font-weight: 400;
}

.filosofia .cierre {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--accent);
    margin-top: 1.5rem;
}

/* === MÉTODO === */
.metodo {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.metodo h2 {
    margin-bottom: 3rem;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
                transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.metodo .steps-reveal .step { opacity: 1; transform: translateY(0); }
.metodo .steps-reveal .step:nth-child(1) { transition-delay: 0.0s; }
.metodo .steps-reveal .step:nth-child(2) { transition-delay: 0.15s; }
.metodo .steps-reveal .step:nth-child(3) { transition-delay: 0.3s; }
.metodo .steps-reveal .step:nth-child(4) { transition-delay: 0.45s; }
.metodo .steps-reveal .step:nth-child(5) { transition-delay: 0.6s; }

.step-num {
    font-size: 2rem;
    font-weight: 300;
    color: var(--accent);
    line-height: 1;
}

.step-title {
    font-size: clamp(1.125rem, 1.5vw, 1.25rem);
    font-weight: 600;
    margin-bottom: 0.35rem;
    line-height: 1.3;
    color: var(--text);
}

.step-desc {
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-muted);
}

/* === AUTORIDAD === */
.autoridad {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.autoridad p {
    margin-bottom: 1.5rem;
}

.autoridad p:last-of-type {
    margin-bottom: 0;
}

.destacado {
    font-size: clamp(1.125rem, 1.5vw, 1.25rem);
    color: var(--text);
    font-weight: 400;
    line-height: 1.6;
}

/* === CTA === */
.cta {
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.cta .section-inner {
    text-align: center;
}

.cta h2 {
    margin-bottom: 1.5rem;
}

.cta p {
    max-width: 550px;
    margin: 0 auto 2.5rem;
}

.cta-email {
    display: inline-block;
    font-size: clamp(1.125rem, 1.5vw, 1.5rem);
    font-weight: 400;
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.cta-email:hover {
    opacity: 0.7;
}

.cta-brand {
    color: var(--text-muted);
}

/* === FOOTER === */
footer {
    text-align: center;
    padding: 60px 24px;
}

footer p {
    font-size: clamp(0.6875rem, 2.5vw, 0.875rem);
    color: var(--text-dim);
    letter-spacing: clamp(0.5px, 0.5vw, 2px);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.legal-links {
    font-size: 0.625rem;
    color: var(--text-dim);
}

.legal-links a {
    color: inherit;
    text-decoration: none;
    margin: 0 0.5rem;
}

.legal-links span {
    color: inherit;
    font-size: inherit;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 4px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--text-dim);
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    section {
        padding: 80px 20px;
    }

    .hero {
        height: auto;
        min-height: 85vh;
        justify-content: center;
        padding: 60px 24px;
    }

    .logo {
        font-size: 3.75rem;
        margin-bottom: 1.5rem;
    }

    .hero h1 {
        font-size: 1.7rem;
        margin-bottom: 1.25rem;
        line-height: 1.15;
    }

    .hero p {
        font-size: 1.125rem;
        line-height: 1.5;
    }

    .paradigma .section-inner {
        padding-left: 20px;
    }

    .step {
        grid-template-columns: 40px 1fr;
        gap: 14px;
    }

    .step-num {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 16px;
    }

    .paradigma .section-inner {
        padding-left: 16px;
    }
}
