/* --- ULTIMATE MONOCHROME EDITORIAL (MIRROR SYNC) --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;900&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --bg-ivory: #FAF9F6;
    --bg-white: #FFFFFF;
    --text-black: #111111;
    --text-grey: #444444;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-ivory);
    color: var(--text-black);
    font-family: var(--font-sans);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.header {
    display: flex;
    justify-content: flex-start; /* Logo a sinistra con padding */
    align-items: center;
    padding: 60px 15%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    pointer-events: none;
}

.logo-text {
    pointer-events: auto;
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: -1px;
}

/* --- HERO SECTION --- */
.hero-scroll-container { height: 800vh; background: var(--bg-ivory); position: relative; }
.hero { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; }

.focus-text, .goal-text { position: absolute; top: 25%; font-family: var(--font-serif); font-size: clamp(30px, 4vw, 55px); font-weight: 500; font-style: italic; z-index: 10; line-height: 1; }
.focus-text { left: max(5%, calc(50% - 460px)); text-align: right; }
.goal-text { right: max(5%, calc(50% - 460px)); text-align: left; }

.strength-text {
    position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%);
    font-family: var(--font-serif); font-size: clamp(80px, 15vw, 150px);
    font-weight: 700; text-transform: uppercase; color: #1a1a1a;
    letter-spacing: -3px; z-index: 1; line-height: 1;
}

.hero-image-wrapper { position: sticky; top: 0; left: 0; width: 100%; height: 100vh; z-index: 5; display: flex; justify-content: center; align-items: center; }
.hero-image-wrapper canvas { width: clamp(400px, 50vw, 800px); height: 95vh; object-fit: contain; object-position: bottom center; }

/* --- INFO & STATS --- */
.info-side { position: absolute; top: 40%; transform: translateY(-50%); z-index: 100; width: 280px; pointer-events: none; }
.info-left { left: 5%; } .info-right { right: 3%; }
.info-box { display: flex; flex-direction: column; gap: 15px; opacity: 0; pointer-events: auto; }
.info-label { font-size: 0.7rem; font-weight: 900; letter-spacing: 3px; color: var(--text-grey); text-transform: uppercase; }
.info-title { font-family: var(--font-serif); font-size: 2.2rem; line-height: 0.9; color: var(--text-black); }
.info-desc { font-size: 0.9rem; color: var(--text-grey); line-height: 1.5; font-weight: 300; }

.stats-left { position: absolute; bottom: 8%; left: max(3%, calc(50% - 680px)); z-index: 15; display: flex; flex-direction: column; gap: 40px; }
.stat-item h3 { font-family: var(--font-serif); font-size: clamp(2.2rem, 3.5vw, 3.2rem); font-weight: 400; color: #111; line-height: 1; }
.stat-item p { font-size: 0.85rem; color: #555; font-weight: 300; }
.stat-line { height: 1px; width: 100%; max-width: 100px; margin-top: 10px; background: var(--text-black); opacity: 0.2; }

/* --- LOGOS BAR --- */
.logos-footer { padding: 40px 0 60px; position: relative; z-index: 100; width: 100%; background: var(--bg-ivory); }
.logos-track { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; opacity: 0.3; }
.logotype { font-size: 0.9rem; font-weight: 900; letter-spacing: 2px; }

.seminar-card {
    position: absolute; bottom: 10%; right: max(3%, calc(50% - 680px)); z-index: 15;
    background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08); padding: 35px; border-radius: 16px; max-width: 380px;
}

.seminar-subtitle { font-size: 0.7rem; font-weight: 900; letter-spacing: 2px; color: var(--text-grey); text-transform: uppercase; display: block; margin-bottom: 20px; }
.seminar-title { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 300; line-height: 1.2; margin-bottom: 25px; color: var(--text-black); }

.info-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 25px;
    background: #111111;
    color: #FFFFFF;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
}

.info-cta span { font-size: 1.2rem; margin-left: 5px; }
.info-cta:hover { transform: scale(1.05); background: #333; }

.btn-register {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-register-text {
    background: #111;
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-register-icon {
    width: 44px;
    height: 44px;
    background: #111;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- MOBILE BRANDING (HIDDEN BY DEFAULT) --- */
.mobile-sticky-brand { display: none; }

/* --- GALLERY --- */
.gallery-section { padding: 0; background: var(--bg-ivory); position: relative; z-index: 150; height: 300vh; }
.gallery-wrapper { position: sticky; top: 0; height: 100vh; width: 100%; display: flex; align-items: center; overflow: hidden; }
.gallery-container { width: 100%; padding: 0 80px; }
.section-header { text-align: center; margin-bottom: 80px; }
.section-title { font-family: var(--font-serif); font-size: clamp(3rem, 8vw, 5.5rem); line-height: 0.9; letter-spacing: -2px; }

.gallery-grid { display: flex !important; gap: 50px; width: max-content; padding-right: 100px; }
.gallery-item { flex-shrink: 0; width: 420px; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 20px; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08); transition: transform 0.4s ease; }
.gallery-item.large { width: 500px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 10%; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* --- CONTACT SECTION (LIGHT) --- */
.contact-section { padding: 120px 0; background: var(--bg-ivory); color: var(--text-black); text-align: center; border-top: 0.5px solid rgba(0,0,0,0.1); border-bottom: 0.5px solid rgba(0,0,0,0.1); }
.contact-title { font-family: var(--font-serif); font-size: clamp(2.5rem, 6vw, 4rem); line-height: 0.85; margin-bottom: 3rem; letter-spacing: -1px; }

.whatsapp-cta { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta-desc { font-size: 0.9rem; opacity: 0.5; letter-spacing: 1px; font-weight: 300; }
.whatsapp-button { display: inline-block; padding: 15px 40px; border: 1px solid var(--text-black); color: var(--text-black); text-decoration: none; border-radius: 100px; font-weight: 500; font-size: 0.8rem; letter-spacing: 2px; transition: all 0.3s ease; }
.whatsapp-button:hover { background: var(--text-black); color: #fff; }

/* --- MAIN FOOTER (MINIMAL LIGHT) --- */
.main-footer { background: var(--bg-ivory); color: var(--text-black); padding: 80px 0 40px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; padding-bottom: 60px; }
.footer-logo { font-family: var(--font-serif); font-size: 2rem; font-weight: 900; letter-spacing: -1px; }
.footer-nav { display: flex; gap: 30px; }
.footer-nav a { color: var(--text-black); text-decoration: none; font-size: 0.75rem; font-weight: 500; letter-spacing: 2px; opacity: 0.6; transition: opacity 0.3s ease; }
.footer-nav a:hover { opacity: 1; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 0.5px solid rgba(0,0,0,0.1); font-size: 0.65rem; opacity: 0.3; letter-spacing: 2px; }

/* --- RESPONSIVE DESIGN (MOBILE 768px) --- */
@media (max-width: 768px) {
    .container { padding: 0 25px; }
    .header { padding: 40px 10%; }
    .hero-scroll-container { height: 600vh; }
    .hero { position: sticky; top: 0; height: 100vh; overflow: hidden; }
    .hero-image-wrapper { height: 80vh; top: 22vh !important; width: 100vw; position: absolute; z-index: 5; }
    .hero-image-wrapper canvas { width: 100%; height: 100%; object-fit: contain; object-position: top center; }

    #hero-fallback-img { width: 100%; height: 100%; object-fit: contain; object-position: top center; position: absolute; top: 0; left: 0; opacity: 1; z-index: 10; }

    .focus-text, .goal-text { top: 12vh; font-size: 1.4rem !important; position: absolute; z-index: 100; }
    .strength-text { top: 16vh; font-size: 2.8rem !important; position: absolute; z-index: 100; left: 50% !important; transform: translateX(-50%) !important; }

    .mobile-sticky-brand { display: none; flex-direction: column; align-items: center; width: 100%; position: absolute; top: 12vh; left: 0; z-index: 200; text-align: center; opacity: 0; pointer-events: none; }
    .msb-small { font-family: var(--font-serif); font-size: 1.3rem; letter-spacing: 2px; font-style: italic; color: var(--text-black); }
    .msb-large { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 900; line-height: 0.9; color: var(--text-black); }

    .stats-left { top: 25vh !important; bottom: auto !important; left: 0 !important; width: 100% !important; flex-direction: row !important; justify-content: center !important; gap: 15px !important; }
    .stat-item h3 { font-size: 1.4rem; } .stat-item p { font-size: 0.75rem; }

    .info-side { width: 100% !important; left: 0 !important; bottom: 0 !important; top: auto !important; height: 140px; z-index: 250; }
    .info-box, .seminar-card { position: absolute; bottom: 0; left: 3%; width: 94%; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); padding: 15px 20px; border-radius: 20px; opacity: 0; }
    .info-title { font-size: 1.5rem; } .info-desc { font-size: 0.85rem; }
    .info-cta { padding: 10px 20px; font-size: 0.65rem; margin-top: 10px; }
    .btn-register-text { padding: 10px 20px; font-size: 0.8rem; }

    .gallery-section { height: 200vh !important; }
    .gallery-container { padding: 0 20px; }
    .gallery-grid { gap: 20px; }
    .gallery-item { width: 75vw; aspect-ratio: 3 / 4; border-radius: 20px; }
    .gallery-item.large { width: 80vw; }
    .gallery-item img { object-position: center 10%; }

    .contact-section { padding: 80px 0; border-radius: 0; }
    .contact-title { font-size: 2.6rem !important; margin-bottom: 2.5rem !important; }
    .whatsapp-button { width: 100%; }

    .footer-content { flex-direction: column; gap: 40px; text-align: center; padding-bottom: 40px; }
    .footer-nav { flex-direction: column; gap: 15px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}