:root {
  --ink: #0b0b0c;
  --ink-soft: #171719;
  --paper: #f5f2ea;
  --paper-2: #ebe5d9;
  --gold: #c6a15b;
  --gold-deep: #8a672e;
  --white: #fff;
  --muted: #6b6964;
  --line: rgba(11, 11, 12, .14);
  --line-dark: rgba(245, 242, 234, .14);
  --radius: 22px;
  --shadow: 0 24px 70px rgba(11, 11, 12, .13);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 999; padding: 10px 14px; background: var(--gold); color: var(--ink); }
.skip-link:focus { top: 16px; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow { margin: 0 0 18px; color: var(--gold-deep); font-size: .77rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.section-dark .eyebrow, .hero .eyebrow, .final-cta .eyebrow { color: var(--gold); }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 7vw, 5.8rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.15rem, 5vw, 4.25rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
p { margin: 0; }
.lead { max-width: 720px; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.section-dark .lead { color: #c4c0b8; }
.section { padding: clamp(76px, 10vw, 132px) 0; }
.section-dark { color: var(--paper); background: var(--ink); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .62fr); gap: 50px; align-items: end; margin-bottom: 52px; }
.section-head .lead { justify-self: end; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 50; color: var(--paper); border-bottom: 1px solid var(--line-dark); }
.header-row { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { position: relative; z-index: 50; display: inline-flex; align-items: center; gap: 13px; color: inherit; text-decoration: none; }
.brand img { width: 76px; height: 78px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-family: Georgia, serif; font-size: 1.06rem; font-weight: 500; letter-spacing: .05em; }
.brand-copy small { margin-top: 7px; color: #bdb8ad; font-size: .63rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 31px; }
.site-nav a { color: inherit; font-size: .88rem; font-weight: 650; text-decoration: none; }
.site-nav a:not(.header-cta) { position: relative; }
.site-nav a:not(.header-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 1px; background: var(--gold); transition: right .25s ease; }
.site-nav a:not(.header-cta):hover::after { right: 0; }
.header-cta { padding: 12px 19px; border: 1px solid rgba(198,161,91,.7); }
.menu-toggle { position: relative; z-index: 50; display: none; width: 46px; height: 46px; padding: 0; color: var(--paper); background: transparent; border: 1px solid var(--line-dark); }
.menu-toggle span { display: block; width: 20px; height: 1px; margin: 5px auto; background: currentColor; }

.hero { min-height: 810px; color: var(--paper); background: var(--ink); overflow: hidden; }
.hero-grid { min-height: 810px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: stretch; }
.hero-copy { padding: 190px 64px 92px max(20px, calc((100vw - var(--max)) / 2)); display: flex; flex-direction: column; justify-content: center; }
.hero-copy h1 { max-width: 780px; }
.hero-copy .gold { color: var(--gold); }
.hero-copy .intro { max-width: 690px; margin-top: 28px; color: #cac5bc; font-size: clamp(1.06rem, 1.55vw, 1.26rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 35px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border: 1px solid transparent; color: var(--ink); background: var(--gold); font-size: .82rem; font-weight: 850; letter-spacing: .07em; line-height: 1.15; text-align: center; text-decoration: none; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); background: #d5b470; }
.button-outline { color: var(--paper); background: transparent; border-color: rgba(245,242,234,.32); }
.button-outline:hover { color: var(--ink); background: var(--paper); }
.hero-note { margin-top: 28px; display: flex; gap: 16px; color: #a8a39b; font-size: .86rem; }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note i { width: 6px; height: 6px; display: inline-block; background: var(--gold); border-radius: 50%; }
.hero-visual { position: relative; min-height: 810px; background: #242426; overflow: hidden; }
.hero-visual::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(11,11,12,.16); pointer-events: none; }
.hero-visual::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; z-index: 2; width: 1px; background: var(--gold); opacity: .65; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.hero-mark { position: absolute; right: -9px; bottom: -44px; z-index: 3; color: transparent; -webkit-text-stroke: 1px rgba(245,242,234,.18); font-family: Georgia, serif; font-size: clamp(8rem, 18vw, 15rem); line-height: 1; }

.positioning { padding: 32px 0; color: var(--paper); background: var(--ink-soft); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.positioning-row { display: grid; grid-template-columns: 1.4fr repeat(2, .8fr); gap: 28px; align-items: center; }
.positioning strong { font-family: Georgia, serif; font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-weight: 500; }
.positioning span { color: #b9b4ab; font-size: .88rem; }
.stat { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.stat b { display: block; color: var(--gold); font-size: 1.05rem; }

.mode-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 52px; }
.mode-card { min-height: 360px; padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); background: var(--white); }
.mode-card.dark { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.mode-number { color: var(--gold-deep); font-family: Georgia, serif; font-size: 4.5rem; line-height: 1; }
.dark .mode-number { color: var(--gold); }
.mode-card p { max-width: 480px; margin-top: 16px; color: var(--muted); }
.mode-card.dark p { color: #bcb7ae; }
.mode-card a { margin-top: 30px; font-size: .8rem; font-weight: 850; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.mode-card a span { color: var(--gold); }

.course-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.course-card { position: relative; min-height: 350px; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; color: var(--paper); background: var(--ink-soft); border: 1px solid var(--line-dark); overflow: hidden; }
.course-card:nth-child(1), .course-card:nth-child(2) { grid-column: span 6; }
.course-card:nth-child(n+3) { grid-column: span 4; }
.course-card::before { content: attr(data-index); position: absolute; right: 16px; top: 0; color: transparent; -webkit-text-stroke: 1px rgba(198,161,91,.23); font-family: Georgia, serif; font-size: 7rem; line-height: 1; }
.course-kicker { position: relative; z-index: 1; display: flex; gap: 8px; flex-wrap: wrap; }
.pill { padding: 6px 9px; color: var(--gold); border: 1px solid rgba(198,161,91,.35); font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.course-content { position: relative; z-index: 1; }
.course-card h3 { max-width: 360px; font-size: clamp(1.55rem, 3vw, 2.4rem); }
.course-card p { max-width: 470px; margin-top: 15px; color: #bcb8b0; }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 25px; color: var(--gold); font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.text-link::after { content: "→"; font-size: 1rem; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

.teacher-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(45px, 8vw, 100px); align-items: center; }
.teacher-photo { position: relative; min-height: 640px; background: #29292b; box-shadow: var(--shadow); overflow: hidden; }
.teacher-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 16%; }
.teacher-photo::after { content: "Andersen Moreno"; position: absolute; right: 22px; bottom: 20px; padding: 9px 12px; color: var(--paper); background: rgba(11,11,12,.82); font-family: Georgia, serif; font-size: 1.05rem; }
.teacher-copy .lead { margin-top: 24px; }
.check-list { display: grid; gap: 18px; margin: 34px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; color: var(--muted); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .68em; width: 13px; height: 1px; background: var(--gold-deep); }
.teacher-copy .button { margin-top: 36px; }

.journey { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 52px; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.journey article { min-height: 250px; padding: 34px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.journey article::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 50px; color: var(--gold); font-family: Georgia, serif; font-size: 1.15rem; }
.journey p { margin-top: 14px; color: #aaa69f; }

.faq-list { max-width: 920px; margin: 50px auto 0; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 27px 46px 27px 0; cursor: pointer; font-family: Georgia, serif; font-size: clamp(1.12rem, 2vw, 1.38rem); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 8px; top: 23px; color: var(--gold-deep); font-family: ui-sans-serif, sans-serif; font-size: 1.5rem; font-weight: 300; }
details[open] summary::after { content: "−"; }
details p { max-width: 760px; padding: 0 50px 28px 0; color: var(--muted); }

.final-cta { padding: clamp(84px, 12vw, 150px) 0; color: var(--paper); background: var(--ink); text-align: center; }
.final-cta h2 { max-width: 900px; margin-inline: auto; }
.final-cta p { max-width: 660px; margin: 24px auto 0; color: #bbb6ad; font-size: 1.08rem; }
.final-cta .button { margin-top: 34px; }
.site-footer { padding: 55px 0 35px; color: #b4afa6; background: #050506; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .7fr .9fr; gap: 50px; align-items: start; }
.footer-brand { color: var(--paper); font-family: Georgia, serif; font-size: 1.35rem; }
.footer-brand + p { max-width: 360px; margin-top: 14px; }
.footer-title { margin-bottom: 14px; color: var(--paper); font-size: .73rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { display: grid; gap: 7px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { margin-top: 45px; padding-top: 25px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line-dark); font-size: .8rem; }
.whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 40; min-height: 50px; display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; color: #fff; background: #198b4e; border-radius: 999px; box-shadow: 0 14px 38px rgba(0,0,0,.25); font-size: .82rem; font-weight: 800; text-decoration: none; }
.whatsapp svg { width: 20px; height: 20px; fill: currentColor; }
.whatsapp-badge { position: absolute; right: 2px; top: -5px; width: 20px; height: 20px; display: grid; place-items: center; background: #e53d3d; border: 2px solid white; border-radius: 50%; font-size: .66rem; }

.course-hero { padding: 205px 0 94px; color: var(--paper); background: var(--ink); border-bottom: 1px solid var(--line-dark); }
.course-hero-grid { display: grid; grid-template-columns: 1.1fr .65fr; gap: 70px; align-items: end; }
.course-hero h1 { max-width: 840px; font-size: clamp(2.8rem, 6.6vw, 5.4rem); }
.course-hero .lead { margin-top: 25px; color: #c4c0b8; }
.course-hero-aside { padding: 30px; border: 1px solid var(--line-dark); }
.course-hero-aside strong { display: block; color: var(--gold); font-family: Georgia, serif; font-size: 1.35rem; font-weight: 500; }
.course-hero-aside p { margin-top: 10px; color: #aaa69f; }
.course-layout { display: grid; grid-template-columns: 1fr .4fr; gap: clamp(45px, 8vw, 100px); align-items: start; }
.course-copy h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.course-copy > p { margin-top: 22px; color: var(--muted); font-size: 1.08rem; }
.syllabus { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 35px; }
.syllabus li { min-height: 110px; padding: 22px; color: var(--ink); background: var(--white); border: 1px solid var(--line); list-style: none; }
.syllabus b { display: block; margin-bottom: 8px; color: var(--gold-deep); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.course-side { position: sticky; top: 30px; padding: 30px; color: var(--paper); background: var(--ink); }
.course-side h3 { margin-bottom: 16px; }
.course-side p { color: #b7b2aa; }
.course-side .button { width: 100%; margin-top: 24px; }
.course-side small { display: block; margin-top: 14px; color: #8f8b84; }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 45px; }
.who-card { padding: 28px; color: var(--ink); background: var(--white); border: 1px solid var(--line); }
.who-card span { color: var(--gold-deep); font-family: Georgia, serif; font-size: 2.8rem; }
.who-card h3 { margin-top: 24px; }
.who-card p { margin-top: 12px; color: var(--muted); }

.has-motion [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.has-motion [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .brand-copy { display: none; }
  .site-nav { gap: 18px; }
  .hero-grid { grid-template-columns: 1fr 43%; }
  .hero-copy { padding-left: 30px; padding-right: 30px; }
  .section-head { grid-template-columns: 1fr; gap: 22px; }
  .section-head .lead { justify-self: start; }
  .course-card:nth-child(n) { grid-column: span 6; }
  .course-card:last-child { grid-column: span 12; }
  .teacher-grid { grid-template-columns: .78fr 1.22fr; gap: 45px; }
  .course-layout { grid-template-columns: 1fr .55fr; gap: 45px; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .site-header { position: absolute; }
  .header-row { min-height: 86px; }
  .brand img { width: 58px; height: 60px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 0; z-index: 40; padding: 118px 28px 35px; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; color: var(--paper); background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s ease; }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav a { padding: 18px 0; font-family: Georgia, serif; font-size: 1.35rem; border-bottom: 1px solid var(--line-dark); }
  .site-nav .header-cta { margin-top: 24px; padding-inline: 18px; font-family: Inter, sans-serif; font-size: .78rem; text-align: center; }
  .hero, .hero-grid { min-height: auto; }
  .hero-grid { display: flex; flex-direction: column; }
  .hero-copy { min-height: 650px; padding: 155px 22px 65px; }
  .hero-copy h1 { font-size: clamp(2.75rem, 14vw, 4.5rem); }
  .hero-copy .intro { margin-top: 22px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-note { flex-direction: column; gap: 7px; }
  .hero-visual { min-height: 560px; }
  .hero-visual::after { left: 14px; top: 14px; right: 14px; bottom: 14px; width: auto; height: auto; border: 1px solid rgba(198,161,91,.38); background: transparent; }
  .positioning-row { grid-template-columns: 1fr; }
  .stat { padding: 20px 0 0; border-top: 1px solid var(--line-dark); border-left: 0; }
  .mode-grid, .teacher-grid, .journey, .footer-grid, .course-hero-grid, .course-layout, .who-grid { grid-template-columns: 1fr; }
  .course-grid { display: grid; grid-template-columns: 1fr; }
  .course-card:nth-child(n) { grid-column: auto; min-height: 320px; }
  .teacher-photo { min-height: 580px; }
  .journey { border-left: 1px solid var(--line-dark); }
  .course-hero { padding: 158px 0 72px; }
  .course-hero-grid { gap: 38px; }
  .course-side { position: static; }
  .syllabus { grid-template-columns: 1fr; padding: 0; }
  .footer-bottom { flex-direction: column; }
  .whatsapp { width: 54px; height: 54px; padding: 0; justify-content: center; }
  .whatsapp-label { display: none; }
}

@media (max-width: 420px) {
  .hero-copy { min-height: 620px; }
  .teacher-photo { min-height: 520px; }
  .mode-card, .course-card { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
