/* ---- VARIABLES DE DISEÑO PREMIUM (Quiet Luxury) ---- */
:root {
    --bg-pure: #FFFFFF;
    --bg-broken: #FAF8F5;
    --ink: #1C1B1A;
    --ink-soft: #423F3E;
    --sand: #C2B2A2;
    --sand-light: #F3EFEA;
    --sand-dark: #8C7E74;
    --blur-overlay: rgba(255, 255, 255, 0.7);
    --easing-natural: cubic-bezier(0.25, 1, 0.5, 1);
    --verde: #4F5D46;
    --verde-light: #E6EAE1;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ---- RESET & GENERALES ---- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-broken);
    color: var(--ink-soft);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-small {
    max-width: 800px;
}

.eyebrow {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--sand-dark);
    margin-bottom: 16px;
}

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

/* ---- BOTONES & MICROINTERACCIONES PHYSICAL ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s var(--easing-natural), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--ink);
    color: var(--bg-pure);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.btn-primary:hover {
    background-color: var(--ink-soft);
    transform: translateY(-2px) scale(1.02);
}

.btn-primary:active {
    transform: translateY(1px) scale(0.98);
}

.btn-ghost {
    background-color: transparent;
    border: 1px solid var(--sand);
    color: var(--ink);
}

.btn-ghost:hover {
    background-color: var(--sand-light);
    border-color: var(--sand-dark);
    transform: translateY(-2px);
}

/* ---- NAVEGACIÓN (APPLE STYLE) ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: background 0.3s ease;
}

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

.logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background-color: var(--ink);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-cta-mobile {
    display: none;
}

.nav-link {
    font-size: 14px;
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--ink);
}

.nav-cta {
    font-size: 13px;
    font-weight: 500;
    color: var(--bg-pure);
    background-color: var(--ink);
    padding: 10px 24px;
    border-radius: 100px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.nav-cta:hover {
    background-color: var(--ink-soft);
}

/* ---- HERO SECTION EDITORIAL ---- */
.hero {
    padding-top: 180px;
    padding-bottom: 120px;
    background: linear-gradient(180deg, var(--bg-pure) 0%, var(--bg-broken) 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.hero-title {
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.1;
    margin-bottom: 24px;
}

.accent-word {
    color: var(--sand-dark);
    font-style: italic;
    font-weight: 400;
}

.hero .lead {
    font-size: 19px;
    color: var(--ink-soft);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
}

.trust-row {
    display: flex;
    gap: 32px;
}

.trust-item {
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--sand-dark);
}

.trust-item .dot {
    width: 6px;
    height: 6px;
    background-color: var(--sand);
    border-radius: 50%;
}

/* FRAME EDITORIAL PARALLAX */
.hero-visual {
    position: relative;
}

.editorial-frame {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.03);
    border: 1px solid rgba(255,255,255,0.8);
}

.parallax-bg {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: center 20%;
    will-change: transform;
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

/* ---- BARRA DE ESTADÍSTICAS ---- */
.stats-strip {
    background-color: var(--ink);
    padding: 48px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 38px);
    color: var(--bg-pure);
    margin-bottom: 6px;
}

.stat-label {
    display: block;
    font-size: 13px;
    letter-spacing: 0.03em;
    color: rgba(255,255,255,0.55);
}

/* ---- SOBRE MÍ / CREDENCIALES ---- */
.sobre-mi {
    padding: 140px 0;
    background-color: var(--bg-pure);
}

.sobre-mi-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 72px;
    align-items: center;
}

.about-frame {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    aspect-ratio: 4/5;
}

.about-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.sobre-mi-content h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.2;
    margin-bottom: 20px;
}

.sobre-mi-content .reveal-text {
    font-size: 17px;
    margin-bottom: 28px;
}

.credentials-list {
    list-style: none;
    margin-bottom: 36px;
}

.credentials-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-size: 15px;
    color: var(--ink-soft);
}

.credentials-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--verde-light);
    border: 1px solid var(--verde);
}

/* ---- STORYTELLING ---- */
.storytelling {
    padding: 140px 0;
    background-color: var(--bg-pure);
}

.sec-head h2 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
    margin-bottom: 24px;
}

.sec-head p {
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 700px;
    margin: 0 auto;
}

/* ---- SECCIÓN TRIGGER RESPIRACIÓN ---- */
.breath-experience-trigger-zone {
    padding: 120px 0;
    background-color: var(--sand-light);
}

.trigger-box h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.trigger-box p {
    font-size: 16px;
    margin-bottom: 32px;
}

/* ---- INMERSIVE FULLSCREEN BREATH EXPERIENCE ---- */
.fullscreen-breath {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background-color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s var(--easing-natural);
}

.fullscreen-breath.active {
    opacity: 1;
    pointer-events: all;
}

.close-breath {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    color: var(--bg-pure);
    font-size: 36px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.close-breath:hover {
    opacity: 1;
}

.breath-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.organic-blob-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    margin-bottom: 60px;
}

.organic-blob {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E8E0D8 0%, #C2B2A2 100%);
    border-radius: 60% 40% 40% 60% / 60% 43% 57% 40%;
    will-change: transform, border-radius;
    filter: blur(2px);
    box-shadow: 0 0 80px rgba(194, 178, 162, 0.4);
    transition: transform 4s ease-in-out, border-radius 4s ease-in-out;
}

.organic-blob.inhale {
    transform: scale(1.4);
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
    box-shadow: 0 0 120px rgba(232, 224, 216, 0.7);
}

.organic-blob.exhale {
    transform: scale(0.85);
    border-radius: 65% 35% 38% 62% / 63% 38% 62% 37%;
    box-shadow: 0 0 60px rgba(194, 178, 162, 0.2);
}

.breath-instruction {
    color: var(--bg-pure);
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    opacity: 0.9;
}

.breath-counter {
    color: var(--bg-pure);
    font-size: 24px;
    font-weight: 400;
    opacity: 0.5;
}

/* QUIZ POST RESPIRACIÓN */
.post-breath-quiz {
    position: absolute;
    max-width: 500px;
    text-align: center;
    color: var(--bg-pure);
}

.post-breath-quiz h3 {
    color: var(--bg-pure);
    font-size: 24px;
    margin-bottom: 32px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quiz-opt {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--bg-pure);
    padding: 16px 28px;
    border-radius: 100px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
}

.quiz-opt:hover {
    background: var(--bg-pure);
    color: var(--ink);
}

.dynamic-response-zone {
    margin-top: 32px;
    animation: fadeIn 0.5s ease forwards;
}

/* ---- GRID PILLARS DE METODO ---- */
.metodo {
    padding: 140px 0;
}

.grid-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.pillar-card {
    background: var(--bg-pure);
    padding: 48px 36px;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 15px 40px rgba(0,0,0,0.01);
    transition: transform 0.4s var(--easing-natural), box-shadow 0.4s var(--easing-natural);
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.04);
}

.pillar-icon {
    font-size: 14px;
    font-weight: 600;
    color: var(--sand-dark);
    margin-bottom: 32px;
}

.pillar-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.pillar-card p {
    font-size: 15px;
    color: var(--ink-soft);
}

/* ---- TESTIMONIALS ---- */
.testimonials {
    padding: 140px 0;
    background-color: var(--bg-pure);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--bg-broken);
    padding: 48px;
    border-radius: 24px;
}

.testimonial-card .quote {
    font-size: 18px;
    color: var(--ink);
    font-style: italic;
    margin-bottom: 32px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.user-info h4 {
    font-size: 15px;
}

.user-info span {
    font-size: 13px;
    color: var(--sand-dark);
}

/* ---- FORMULARIO HIGH CONVERSION ---- */
.contacto {
    padding: 140px 0;
}

.contact-inner {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-pure);
    border-radius: 32px;
    padding: 56px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
}

.contact-inner h2 {
    font-size: 32px;
    margin-bottom: 12px;
    text-align: center;
}

.progress-bar-container {
    width: 100%;
    height: 4px;
    background-color: var(--sand-light);
    border-radius: 100px;
    margin: 32px 0;
    overflow: hidden;
}

.progress-bar-fill {
    width: 33.33%;
    height: 100%;
    background-color: var(--ink);
    transition: width 0.4s var(--easing-natural);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: stepFadeIn 0.4s ease forwards;
}

.field {
    margin-bottom: 32px;
}

.field label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 12px;
}

.field input, .field select {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid var(--sand);
    background-color: var(--bg-broken);
    font-size: 16px;
    font-family: inherit;
    color: var(--ink);
    transition: all 0.3s ease;
}

.field input:focus, .field select:focus {
    outline: none;
    border-color: var(--ink);
    background-color: var(--bg-pure);
    box-shadow: 0 0 0 4px rgba(28, 27, 26, 0.05);
}

.form-step-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.form-step-actions .btn {
    flex: 1;
}

.success-box {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    background-color: var(--sand-light);
    color: var(--sand-dark);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

/* ---- FOOTER ---- */
footer {
    background-color: var(--ink);
    color: rgba(255,255,255,0.4);
    padding: 60px 0;
    font-size: 13px;
}

footer .logo {
    color: var(--bg-pure);
    margin-bottom: 16px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ---- ANIMACIONES INTERSECTION OBSERVER & REVEALS ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--easing-natural), transform 0.8s var(--easing-natural);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal-word {
    opacity: 0;
    transform: translateY(15px);
    animation: wordFadeIn 0.8s var(--easing-natural) forwards;
}

@keyframes stepFadeIn {
    from { opacity: 0; transform: translateX(15px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes wordFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* ---- BANNER DE COMUNIDAD / TALLERES ---- */
.community-banner {
    padding: 0 0 140px;
    background-color: var(--bg-broken);
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    background-color: var(--verde-light);
    border-radius: 32px;
    padding: 56px;
}

.community-visual img {
    width: 100%;
    border-radius: 20px;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: center 25%;
    box-shadow: 0 25px 50px rgba(0,0,0,0.06);
}

.community-content h2 {
    font-size: clamp(26px, 3vw, 34px);
    margin: 12px 0 20px;
    line-height: 1.25;
}

.community-content p {
    font-size: 16px;
    margin-bottom: 28px;
}

.community-content .eyebrow {
    color: var(--verde);
}

/* ---- FAQ ---- */
.faq {
    padding: 140px 0;
    background-color: var(--bg-pure);
}

.faq-list {
    margin-top: 40px;
}

.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 24px 0;
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faq-icon {
    font-size: 22px;
    color: var(--sand-dark);
    transition: transform 0.3s var(--easing-natural);
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--easing-natural);
}

.faq-answer p {
    padding-bottom: 24px;
    font-size: 15px;
    max-width: 640px;
}

/* ---- CONTACTO: GRID CON ASIDE ---- */
.contacto-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 48px;
    align-items: start;
}

.contacto-aside {
    position: sticky;
    top: 120px;
}

.aside-card {
    background-color: var(--ink);
    border-radius: 28px;
    padding: 44px 36px;
    color: rgba(255,255,255,0.85);
}

.aside-card .eyebrow {
    color: var(--sand);
}

.aside-card h3 {
    color: var(--bg-pure);
    font-size: 22px;
    margin-bottom: 16px;
}

.aside-card p {
    font-size: 15px;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.65);
}

.aside-list {
    list-style: none;
    margin-bottom: 32px;
}

.aside-list li {
    font-size: 14px;
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.75);
}

.aside-list li strong {
    color: var(--bg-pure);
    font-weight: 500;
}

.aside-whatsapp {
    width: 100%;
    border-color: rgba(255,255,255,0.25);
    color: var(--bg-pure);
}

.aside-whatsapp:hover {
    background-color: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.4);
}

/* ---- WHATSAPP FLOTANTE ---- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background-color: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 900;
    transition: transform 0.25s var(--easing-natural);
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

@media (max-width: 960px) {
    .hero-container { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: -1; max-width: 340px; margin: 0 auto; }
    .grid-pillars { grid-template-columns: 1fr; }
    .testimonials-slider { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .sobre-mi-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-frame { max-width: 340px; margin: 0 auto; }
    .community-grid { grid-template-columns: 1fr; padding: 32px; border-radius: 24px; }
    .community-visual img { max-width: 340px; margin: 0 auto; display: block; }
    .contacto-grid { grid-template-columns: 1fr; }
    .contacto-aside { position: static; }

    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 73px;
        left: 0;
        right: 0;
        background-color: var(--bg-pure);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 8px 40px 24px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease;
    }
    .nav-links.open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }
    .nav-link { padding: 14px 0; width: 100%; border-bottom: 1px solid rgba(0,0,0,0.04); }
    .nav-cta { display: none; }
    .nav-cta-mobile {
        display: inline-flex;
        margin-top: 16px;
        width: 100%;
    }
    .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 20px; }
}
