:root {
    --gold: #c9a74e;
    --gold-light: #d4b86a;
    --dark: #080810;
    --dark2: #111120;
    --surface: #16162a;
    --border: rgba(201,167,78,0.18);
    --text: #e0dcd0;
    --muted: #7a7870;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'DM Sans', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--dark); color: var(--text); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', Georgia, serif; }
a { color: inherit; }

/* NAV */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 18px 40px;
    display: flex; justify-content: space-between; align-items: center;
    transition: background 0.3s, backdrop-filter 0.3s;
}
nav.scrolled { background: rgba(8,8,16,0.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.nav-logo { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.2rem; font-weight: 600; letter-spacing: 0.1em; text-decoration: none; color: #fff; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--gold-light); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; transition: all 0.3s; }
@media (max-width: 700px) {
    nav { padding: 16px 20px; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(8,8,16,0.97); flex-direction: column; padding: 20px; gap: 16px; }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
}

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: flex-start; justify-content: center; background: var(--dark); padding: 100px 60px 60px; gap: 60px; max-width: 1100px; margin: 0 auto; }
.hero-left { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 20px; height: 80vh; overflow-y: auto; }
.hero-left h1 { font-size: clamp(3rem, 6vw, 6rem); font-weight: 400; color: #fff; line-height: 1; letter-spacing: 0.04em; margin-bottom: 0; }
.hero-left p { font-size: clamp(0.9rem, 1.5vw, 1.1rem); color: rgba(255,255,255,0.7); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.hero-left .gold { color: var(--gold-light); }
.hero-profile-img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; object-position: center top; flex-shrink: 0; border: 2px solid var(--gold); }
.hero-bio-row { display: flex; gap: 18px; align-items: flex-start; margin-top: 24px; }
.hero-bio { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,0.72); text-transform: none; letter-spacing: normal; }
.hero-right { flex-shrink: 0; position: relative; aspect-ratio: 9/16; height: 80vh; border-radius: 8px; overflow: hidden; background: #000; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-mute-btn { position: absolute; bottom: 14px; right: 14px; z-index: 5; background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.3); color: #fff; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.hero-mute-btn:hover { background: rgba(0,0,0,0.8); }
@media (max-width: 800px) {
    .hero { flex-direction: column; padding: 80px 20px 40px; gap: 32px; }
    .hero-right { height: auto; width: 100%; max-width: 360px; margin: 0 auto; }
}

/* SECTIONS */
section { padding: 90px 40px; }
@media (max-width: 700px) { section { padding: 60px 20px; } }
.section-inner { max-width: 1100px; margin: 0 auto; }
.eyebrow { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; color: #fff; margin-bottom: 20px; line-height: 1.15; }
.section-text { font-size: 16px; line-height: 1.75; color: var(--text); max-width: 680px; }
.section-text + .section-text { margin-top: 12px; }
.divider { width: 60px; height: 1px; background: var(--gold); margin: 24px 0; }

/* TWO-COL */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } .two-col.reverse { direction: ltr; } }

/* PHOTO */
.photo-frame { position: relative; border-radius: 4px; overflow: hidden; }
.photo-frame img { width: 100%; display: block; }
.photo-frame.portrait { max-width: 420px; }
.photo-frame.landscape { width: 100%; }

/* SCROLL STRIP (photos) */
.scroll-strip { display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
.scroll-strip::-webkit-scrollbar { height: 4px; }
.scroll-strip::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
.scroll-strip::-webkit-scrollbar-thumb { background: rgba(201,167,78,0.4); border-radius: 2px; }
.scroll-strip img { flex: 0 0 auto; height: 240px; width: auto; border-radius: 4px; object-fit: cover; cursor: pointer; display: block; }
@media (max-width: 700px) { .scroll-strip img { height: 160px; } }

/* SCROLL STRIP (videos) */
.video-strip { display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
.video-strip::-webkit-scrollbar { height: 4px; }
.video-strip::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
.video-strip::-webkit-scrollbar-thumb { background: rgba(201,167,78,0.4); border-radius: 2px; }
.vthumb { position: relative; flex: 0 0 auto; height: 240px; width: 240px; border-radius: 4px; overflow: hidden; background: #111; cursor: pointer; }
.vthumb video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.vthumb iframe { width: 100%; height: 100%; border: none; pointer-events: none; }
.vthumb-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.35); transition: background 0.2s; }
.vthumb:hover .vthumb-play { background: rgba(0,0,0,0.15); }
.vthumb-play svg { width: 52px; height: 52px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.7)); }
@media (max-width: 700px) { .vthumb { height: 160px; width: 160px; } }

/* PHOTO MODAL */
#photoModal { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.93); align-items: center; justify-content: center; }
#photoModal.open { display: flex; }
#photoModal img { max-width: 92vw; max-height: 88vh; border-radius: 4px; display: block; }
#photoModal .modal-close { position: fixed; top: 1rem; right: 1.4rem; background: none; border: none; cursor: pointer; color: rgba(255,255,255,0.7); font-size: 2.2rem; line-height: 1; z-index: 10001; }
#photoModal .modal-close:hover { color: #fff; }

/* VIDEO MODAL */
#videoModal { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.93); align-items: center; justify-content: center; }
#videoModal.open { display: flex; }
#videoModal video { display: block; max-width: 92vw; max-height: 85vh; border-radius: 4px; background: #000; }
#videoModal .modal-close { position: fixed; top: 1rem; right: 1.4rem; background: none; border: none; cursor: pointer; color: rgba(255,255,255,0.7); font-size: 2.2rem; line-height: 1; z-index: 10001; }
#videoModal .modal-close:hover { color: #fff; }
.modal-nav { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); border-radius: 50%; width: 3rem; height: 3rem; font-size: 2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10001; }
.modal-nav:hover { background: rgba(255,255,255,0.2); color: #fff; }
.modal-nav:disabled { opacity: 0.2; cursor: default; }
#modalPrev { left: 1rem; } #modalNext { right: 1rem; }
.lessons-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-top: 32px; }
.lessons-detail { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 20px; }
.lessons-detail .label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 6px; }
.lessons-detail .value { font-size: 15px; color: #fff; }

/* LINKS */
.links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 40px; }
.link-card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 28px; text-decoration: none; transition: border-color 0.2s, background 0.2s; display: block; }
.link-card:hover { border-color: var(--gold); background: rgba(201,167,78,0.05); }
.link-card h3 { font-size: 1.4rem; color: #fff; margin-bottom: 10px; }
.link-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.link-card .url { font-size: 13px; color: var(--gold); }

/* PHOTO STRIP */
.photo-strip { display: flex; gap: 0; flex-wrap: wrap; }
.photo-strip img { flex: 1 1 auto; width: auto; max-width: 100%; height: auto; display: block; }
@media (max-width: 700px) { .photo-strip { flex-direction: column; } .photo-strip img { width: 100%; } }

/* ECUADOR */
.article-frame { border: 1px solid var(--border); border-radius: 4px; overflow: hidden; max-width: 360px; }
.article-frame img { width: 100%; display: block; }
.article-caption { padding: 10px 14px; font-size: 12px; color: var(--muted); }

/* FOOTER */
footer { background: var(--dark2); border-top: 1px solid var(--border); padding: 48px 40px; text-align: center; }
footer p { font-size: 13px; color: var(--muted); }
footer .footer-contact { display: flex; align-items: center; justify-content: center; gap: 24px; margin-bottom: 16px; flex-wrap: wrap; }
footer .footer-contact a { text-decoration: none; color: var(--muted); font-size: 13px; transition: color 0.2s; }
footer .footer-contact a:hover { color: var(--gold-light); }
footer .footer-contact img { width: 32px; height: 32px; vertical-align: middle; opacity: 0.7; }
@media (max-width: 700px) { footer { padding: 40px 20px; } }

.nav-contact { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--muted); }
.nav-contact a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.nav-contact a:hover { color: var(--gold-light); }
.nav-contact img { width: 32px; height: 32px; vertical-align: middle; opacity: 0.75; transition: opacity 0.2s; }
.nav-contact a:hover img { opacity: 1; }
@media (max-width: 700px) { .nav-contact .nav-contact-text { display: none; } }

/* FLOATING LOGO */
.floating-logo { position: fixed; bottom: 28px; left: 28px; z-index: 99; opacity: 0.85; transition: opacity 0.2s; pointer-events: none; }
.floating-logo img { width: 480px; height: auto; display: block; mix-blend-mode: screen; }
@media (max-width: 700px) { .floating-logo { bottom: 16px; left: 16px; } .floating-logo img { width: 130px; } }

/* SECTION BG ALTERNATES */
.bg-alt { background: var(--dark2); }

/* CONTACT FORM */
.contact-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 40px 100px;
}
.contact-section-title {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--text);
    text-align: center;
    margin-bottom: 0.5rem;
}
.contact-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
    margin-bottom: 1rem;
}
.contact-intro {
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 3rem;
}
.contact-form-box {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 50px;
    position: relative;
}
.contact-form-box::before,
.contact-form-box::after {
    content: '';
    position: absolute;
    width: 28px; height: 28px;
    border-style: solid;
    border-color: var(--gold);
    opacity: 0.25;
}
.contact-form-box::before { top: 14px; left: 14px; border-width: 1px 0 0 1px; }
.contact-form-box::after  { bottom: 14px; right: 14px; border-width: 0 1px 1px 0; }
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.form-group {
    margin-bottom: 24px;
}
.form-group label {
    display: block;
    margin-bottom: 9px;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--muted);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: var(--dark2);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 300;
    transition: border-color 0.3s;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--dark); color: var(--text); }
.contact-submit-btn {
    width: 100%;
    padding: 17px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--dark);
    border: none;
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s;
    border-radius: 0;
}
.contact-submit-btn:hover:not(:disabled) { opacity: 0.85; }
.contact-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.contact-success {
    display: none;
    margin-top: 22px;
    padding: 22px;
    background: rgba(201,167,78,0.08);
    border: 1px solid rgba(201,167,78,0.3);
    color: var(--gold-light);
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 1px;
}
@media (max-width: 600px) {
    .contact-form-box { padding: 28px 20px; }
    .contact-section { padding: 60px 20px 80px; }
}

/* LANDING PAGE EXTRAS */
.landing-hero { max-width: 1100px; margin: 0 auto; padding: 130px 40px 40px; }
.landing-hero .eyebrow { margin-bottom: 16px; }
.landing-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 400; color: #fff; line-height: 1.08; letter-spacing: 0.02em; }
.landing-hero .lede { font-size: 1.05rem; line-height: 1.8; color: rgba(255,255,255,0.8); max-width: 740px; margin-top: 20px; }
.landing-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.btn-gold { display: inline-block; padding: 15px 30px; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--dark); text-decoration: none; font-size: 0.72rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; transition: opacity 0.2s; }
.btn-gold:hover { opacity: 0.85; }
.btn-ghost { display: inline-block; padding: 15px 30px; background: transparent; color: var(--gold-light); text-decoration: none; font-size: 0.72rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; border: 1px solid var(--border); transition: border-color 0.2s, color 0.2s; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.prose p { font-size: 16px; line-height: 1.8; color: var(--text); max-width: 760px; margin-bottom: 16px; }
.prose h3 { font-size: 1.5rem; color: #fff; margin: 32px 0 12px; }
.prose ul { max-width: 760px; margin: 0 0 16px; padding-left: 22px; }
.prose ul li { font-size: 16px; line-height: 1.8; color: var(--text); margin-bottom: 8px; }
.prose a { color: var(--gold-light); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.faq-block { max-width: 820px; margin: 0 auto; }
.faq-q { font-size: 1.2rem; color: #fff; margin: 28px 0 8px; }
.faq-a { font-size: 15px; line-height: 1.8; color: rgba(224,220,208,0.85); }
