:root {
  --ink: #191915;
  --ink-soft: #55544c;
  --paper: #fffdf6;
  --paper-light: #ffffff;
  --paper-deep: #f3f1e9;
  --gold: #e9b900;
  --gold-light: #ffd52e;
  --gold-text: #856900;
  --line: rgba(25, 25, 21, 0.16);
  --line-dark: rgba(255, 255, 255, 0.16);
  --white: #fff;
  --container: 1180px;
  --radius: 14px;
  --shadow: 0 24px 80px rgba(41, 36, 24, 0.1);
  --font: Inter, Aptos, "Segoe UI", Helvetica, Arial, sans-serif;
  --header-h: 82px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 850px;
  margin-bottom: 28px;
  font-size: clamp(3.4rem, 8vw, 7.1rem);
  font-weight: 550;
}

h1 span {
  color: var(--gold);
  font-weight: 680;
}

.hero-word {
  display: inline-flex;
  align-items: baseline;
  color: var(--ink) !important;
  font-weight: 550 !important;
  letter-spacing: inherit;
  white-space: nowrap;
}

.hero-word img {
  width: 1.22em;
  height: 1.22em;
  flex: 0 0 auto;
  margin-right: -0.16em;
  object-fit: contain;
  object-position: center;
  transform: translateY(0.06em);
}

.hero-word > span:last-child {
  color: var(--ink);
  font-weight: 550;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  font-weight: 560;
}

.section-heading h2::after {
  display: block;
  width: 62px;
  height: 5px;
  margin-top: 24px;
  border-radius: 99px;
  background: var(--gold);
  content: "";
}

.center-heading h2::after {
  margin-inline: auto;
}

h3 {
  font-size: 1.35rem;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(90px, 12vw, 164px) 0;
}

.section-light {
  background: var(--paper-light);
}

#clases {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

#clases.has-band {
  padding-bottom: 0;
}

#clases::before {
  position: absolute;
  z-index: 0;
  top: 2%;
  right: -7%;
  width: min(56vw, 780px);
  height: min(96%, 1080px);
  background: url("assets/clases-musical-motif-centered.png") center / contain no-repeat;
  content: "";
  opacity: 0.12;
  pointer-events: none;
}

#clases > .container {
  position: relative;
  z-index: 1;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--gold-text);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow-light {
  color: var(--gold-light);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(25, 25, 21, 0.11);
  background: rgba(255, 253, 246, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  min-height: var(--header-h);
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: -0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2vw, 27px);
}

.site-nav > a:not(.button) {
  position: relative;
  color: #4e4d46;
  font-size: 0.78rem;
  font-weight: 610;
  text-decoration: none;
}

.site-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--gold);
  content: "";
  transition: transform 180ms ease;
}

.site-nav > a:not(.button):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 19px;
  height: 1px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover:not(.is-disabled) {
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding-inline: 19px;
  font-size: 0.68rem;
}

.button-large {
  min-height: 60px;
  padding-inline: 33px;
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-gold {
  background: var(--gold);
  color: #11110f;
}

.button-gold:hover:not(.is-disabled) {
  background: #c4a55c;
}

.button-ghost {
  border-color: var(--ink);
}

.button-ghost:hover {
  background: var(--ink);
  color: var(--white);
}

.is-disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(940px, 100svh);
  align-items: center;
  padding-top: 150px;
  background:
    radial-gradient(circle at 77% 38%, rgba(183, 153, 81, 0.16), transparent 30%),
    linear-gradient(135deg, var(--paper-light), var(--paper) 70%);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--line);
  content: "";
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  gap: clamp(48px, 8vw, 110px);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 26px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 0;
  margin: 0 0 36px;
  list-style: none;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #424139;
  font-size: 0.82rem;
  font-weight: 650;
}

.hero-facts li::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.teacher-strip {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-light);
}

.teacher-strip-inner {
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 18px clamp(28px, 5vw, 64px);
}

.teacher-strip .eyebrow {
  margin-bottom: 8px;
}

.teacher-strip-name {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.teacher-strip .hero-facts {
  margin: 0;
}

.teacher-strip .text-link {
  justify-self: start;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pending-note {
  margin: 15px 0 0 14px;
  color: #78766d;
  font-size: 0.73rem;
}

.hero-visual {
  position: relative;
}

.visual-frame {
  position: relative;
  padding: 22px 22px 26px;
  transform: rotate(1.4deg);
  border: 1px solid rgba(25, 25, 21, 0.24);
  background: rgba(251, 250, 246, 0.7);
  box-shadow: var(--shadow);
}

.visual-frame::before {
  position: absolute;
  z-index: -1;
  top: -18px;
  right: -20px;
  width: 74%;
  height: 80%;
  border: 1px solid rgba(183, 153, 81, 0.45);
  content: "";
}

.visual-number {
  margin-bottom: 18px;
  color: var(--gold-text);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.15em;
}

.visual-placeholder {
  display: flex;
  min-height: 390px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent),
    #25251f;
  color: var(--paper);
  text-align: center;
}

.visual-placeholder span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.visual-placeholder small {
  color: #aaa79c;
  font-size: 0.72rem;
}

.visual-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 60% 35%;
}

.visual-frame > p {
  max-width: 280px;
  margin: 22px 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(46px, 7vw, 80px);
}

.section-heading > p:last-child {
  color: var(--ink-soft);
}

.split-heading {
  display: grid;
  max-width: none;
  align-items: end;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
  gap: 70px;
}

.split-heading h2 {
  max-width: 790px;
  margin-bottom: 0;
}

.split-heading > p {
  margin: 0 0 7px;
}

.lesson-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}

.lesson-card {
  min-height: 310px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background-color 200ms ease, transform 200ms ease;
}

.lesson-card:hover {
  z-index: 1;
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.48);
}

.card-index {
  display: block;
  margin-bottom: 70px;
  color: var(--gold-text);
  font-size: 0.7rem;
  font-weight: 740;
}

.lesson-card h3 {
  min-height: 48px;
  margin-bottom: 16px;
}

.lesson-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.section-statement {
  max-width: 800px;
  margin: 60px 0 0 auto;
  padding-left: 26px;
  border-left: 3px solid var(--gold);
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  font-weight: 430;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.subsection-start {
  padding-top: clamp(72px, 9vw, 120px);
  margin-top: clamp(72px, 9vw, 120px);
  border-top: 1px solid var(--line);
}

.subsection-start h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.method-band {
  margin: clamp(72px, 9vw, 120px) calc(50% - 50vw) 0;
  padding: clamp(72px, 9vw, 120px) calc(50vw - 50%) clamp(90px, 12vw, 164px);
  background: var(--ink);
  color: var(--paper);
}

.method-band .subsection-start {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.method-band .eyebrow {
  color: var(--gold-light);
}

.method-band .section-heading > p:last-child,
.method-band .ace-intro p,
.method-band .ace-card p,
.method-band .method-columns p,
.method-band .method-list span {
  color: #bdbaae;
}

.method-band .ace-intro,
.method-band .method-list,
.method-band .method-list li {
  border-color: var(--line-dark);
}

.method-band .ace-card {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.05);
}

.method-band .ace-letter {
  background: var(--gold-light);
  color: var(--ink);
}

.method-band .text-link {
  color: var(--gold-light);
}

.ace-intro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 30px;
  padding-bottom: 20px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.ace-intro h3,
.ace-intro p {
  margin: 0;
}

.ace-intro p {
  color: var(--ink-soft);
}

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

.ace-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-light);
}

.ace-letter {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-light);
  font-size: 1.6rem;
  font-weight: 750;
  line-height: 1;
}

.ace-card h3 {
  margin-bottom: 12px;
}

.ace-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.method-columns {
  display: grid;
  margin-top: clamp(60px, 8vw, 100px);
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 90px);
}

.method-columns h3 {
  margin-bottom: 16px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.method-columns p {
  color: var(--ink-soft);
}

.method-list {
  padding: 0;
  margin: 26px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.method-list li {
  display: grid;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
}

.method-list strong {
  font-size: 0.95rem;
  font-weight: 650;
}

.method-list span {
  color: var(--ink-soft);
  font-size: 0.85rem;
  text-align: right;
}

.method-action {
  margin-top: 56px;
}

.lesson-grid.family-steps {
  grid-template-columns: repeat(3, 1fr);
}

.family-steps .lesson-card {
  min-height: 270px;
}

.family-steps .lesson-card h3 {
  min-height: 0;
}

.benefits {
  display: grid;
  align-items: baseline;
  margin-top: 60px;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
  gap: 20px 60px;
}

.benefits h3 {
  margin: 0;
}

.benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #424139;
  font-size: 0.92rem;
  font-weight: 650;
}

.benefit-list li::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.audience-section {
  overflow: hidden;
}

.audience-list {
  border-top: 1px solid var(--line);
}

.audience-item {
  display: grid;
  align-items: start;
  padding: 36px 4px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 10% 36% 1fr;
}

.audience-item > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 750;
}

.audience-item > div {
  display: contents;
}

.audience-item h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
}

.audience-item p {
  max-width: 520px;
  margin: 3px 0 0;
  color: var(--ink-soft);
}

.online-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(40px, 7vw, 90px);
}

.online-points {
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.online-points li {
  display: grid;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 60px 1fr;
}

.online-points .card-index {
  margin: 6px 0 0;
}

.online-points h3 {
  margin-bottom: 10px;
}

.online-points p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
}

.online-setup {
  padding: clamp(30px, 4vw, 42px);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
}

.online-setup h3 {
  padding-bottom: 18px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-dark);
}

.online-setup ul {
  padding: 0;
  margin: 0 0 30px;
  list-style: none;
}

.online-setup li {
  display: grid;
  padding: 12px 0;
  color: #d2d0c7;
  font-size: 0.95rem;
  grid-template-columns: 30px 1fr;
}

.online-setup li::before {
  color: var(--gold-light);
  font-weight: 750;
  content: "✓";
}

.online-setup .button {
  width: 100%;
}

.audience-item p a {
  color: var(--ink);
  font-weight: 650;
}

.process-section {
  background: var(--ink);
  color: var(--paper);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(60px, 10vw, 140px);
}

.process-intro {
  position: sticky;
  top: 130px;
  align-self: start;
}

.process-intro p:last-child {
  color: #b9b7ae;
}

.process-list {
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.process-list li {
  display: grid;
  min-height: 140px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-dark);
  grid-template-columns: 80px 1fr;
}

.process-list span {
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 750;
}

.process-list p {
  margin: 0;
  font-size: clamp(1.25rem, 2.8vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.teacher-section {
  background: var(--paper-deep);
}

.teacher-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(55px, 10vw, 135px);
}

.portrait-placeholder {
  display: flex;
  min-height: 650px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(25, 25, 21, 0.18);
  background:
    linear-gradient(145deg, transparent 25%, rgba(183, 153, 81, 0.12)),
    #dcd6c8;
  color: #5d594f;
  text-align: center;
}

.teacher-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 38% 45%;
}

.portrait-placeholder span {
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.portrait-placeholder small {
  color: #7f7a70;
}

.teacher-copy h2 {
  font-size: clamp(2.55rem, 5vw, 4.5rem);
}

.lead-copy {
  font-size: clamp(1.2rem, 2vw, 1.48rem);
  letter-spacing: -0.018em;
  line-height: 1.5;
}

.teacher-copy > p:not(.eyebrow) {
  color: #4f4d46;
}

.credentials {
  margin-top: 45px;
}

.credentials + .credentials {
  margin-top: 32px;
}

.credentials h3 {
  padding-bottom: 14px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.credentials ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.credentials li {
  display: grid;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 44px 1fr;
}

.credentials li span {
  color: var(--gold-text);
  font-size: 0.67rem;
  font-weight: 750;
}

.credentials li strong {
  font-size: 0.83rem;
  font-weight: 620;
}

.gallery-section {
  background: var(--paper-light);
}

.gallery {
  display: grid;
  grid-auto-rows: 270px;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.gallery-card {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: flex-end;
  padding: 26px;
  border: 1px solid var(--line);
  background:
    linear-gradient(140deg, rgba(233, 185, 0, 0.16), transparent 48%),
    #e6e1d6;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.gallery-card::after {
  position: absolute;
  top: 18%;
  right: 12%;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(183, 153, 81, 0.32);
  border-radius: 50%;
  content: "";
}

.gallery-card:hover {
  border-color: rgba(183, 153, 81, 0.7);
  background-color: #ddd7ca;
}

.gallery-card-wide {
  grid-row: span 2;
}

.gallery-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}

.gallery-card.has-photo::before {
  position: absolute;
  z-index: 1;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(17, 17, 16, 0.72));
  content: "";
}

.gallery-card.has-photo::after {
  display: none;
}

.gallery-card.has-photo > span,
.gallery-card.has-photo p {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.gallery-card.has-photo > span {
  position: absolute;
  color: var(--gold-light);
}

.gallery-card > span {
  position: absolute;
  top: 24px;
  left: 26px;
  color: var(--gold-text);
  font-size: 0.7rem;
  font-weight: 750;
}

.gallery-card p {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 650;
}

.gallery-card small {
  position: absolute;
  right: 26px;
  bottom: 28px;
  color: #78746b;
  font-size: 0.67rem;
  font-weight: 670;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reviews-section {
  background: var(--paper);
}

.center-heading {
  margin-inline: auto;
  text-align: center;
}

.center-heading .eyebrow {
  justify-content: center;
}

.reviews-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: 1fr 1fr;
}

.review-card {
  display: flex;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 246, 0.58);
}

.stars {
  margin-bottom: 28px;
  color: var(--gold-text);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.review-card blockquote {
  margin: 0 0 30px;
  color: #55534c;
  font-size: 1.05rem;
  font-style: normal;
}

.review-card > p {
  margin: auto 0 0;
  color: #76736a;
  font-size: 0.78rem;
  font-weight: 620;
}

.center-action {
  margin-top: 40px;
  text-align: center;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.faq-section {
  background: var(--paper-light);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(60px, 10vw, 140px);
}

.faq-grid .section-heading {
  position: sticky;
  top: 130px;
  align-self: start;
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 25px 50px 25px 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 650;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 14px;
  height: 1px;
  background: var(--ink);
  content: "";
  transition: transform 180ms ease;
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0);
}

.faq-list details > p {
  max-width: 670px;
  padding: 0 50px 26px 0;
  margin: 0;
  color: var(--ink-soft);
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: clamp(100px, 14vw, 180px) 0;
  background: #111110;
  color: var(--paper);
}

.contact-section::before {
  position: absolute;
  top: -310px;
  left: 50%;
  width: 620px;
  height: 620px;
  transform: translateX(-50%);
  border: 1px solid rgba(183, 153, 81, 0.26);
  border-radius: 50%;
  content: "";
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
}

.contact-inner .eyebrow {
  justify-content: center;
}

.contact-inner h2 {
  font-size: clamp(3rem, 7.5vw, 6.8rem);
}

.contact-inner > p:not(.eyebrow, .pending-note) {
  max-width: 580px;
  margin: 0 auto 38px;
  color: #b8b6ae;
  font-size: 1.08rem;
}

.pending-note-light {
  color: #949188;
}

.contact-secondary {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 34px;
  padding-top: 38px;
  margin-top: 38px;
  border-top: 1px solid var(--line-dark);
  color: #a8a59c;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.contact-secondary a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.contact-icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-secondary a:hover {
  color: var(--gold-light);
}

.site-footer {
  padding: 75px 0 24px;
  background: #151512;
  color: var(--paper);
}

.footer-grid {
  display: grid;
  padding-bottom: 62px;
  grid-template-columns: 1.5fr 0.65fr 0.85fr;
  gap: 60px;
}

.brand-footer .brand-mark {
  border-color: rgba(255, 255, 255, 0.4);
}

.brand-footer .brand-logo {
  width: 112px;
  height: 112px;
  border-radius: 10px;
}

.footer-grid > div:first-child > p {
  max-width: 320px;
  margin: 22px 0 0;
  color: #98968d;
  font-size: 0.85rem;
}

.footer-grid nav,
.footer-contact {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 11px;
}

.footer-grid nav a,
.footer-contact span,
.footer-contact a {
  color: #aaa79f;
  font-size: 0.76rem;
  text-decoration: none;
}

.footer-grid nav a:hover,
.footer-contact a:hover {
  color: var(--gold-light);
}

.footer-contact p {
  margin-bottom: 4px;
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  color: #77756e;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.footer-bottom p {
  margin: 0;
}

.js .reveal {
  transform: translateY(18px);
  opacity: 0;
  transition: opacity 650ms ease, transform 650ms ease;
}

.js .reveal-delay {
  transition-delay: 100ms;
}

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

.mobile-cta {
  display: none;
}

@media (max-width: 1100px) {
  .site-nav {
    gap: 15px;
  }

  .site-nav > a:not(.button) {
    font-size: 0.72rem;
  }

  .lesson-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lesson-card {
    min-height: 275px;
  }
}

@media (max-width: 1023px) {
  .teacher-strip-inner {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    position: relative;
    z-index: 102;
    display: block;
  }

  .nav-toggle[aria-expanded="true"] > span:not(.sr-only):nth-child(2) {
    transform: translateY(3px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] > span:not(.sr-only):nth-child(3) {
    transform: translateY(-3px) rotate(-45deg);
  }

  .site-nav {
    /* The header sets backdrop-filter, which makes it the containing block for
       fixed descendants: offsets here resolve against the header box, not the
       viewport. Hence top: 100% (just below it) plus an explicit height. */
    position: fixed;
    z-index: 101;
    top: 100%;
    right: 0;
    left: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100svh - var(--header-h));
    display: flex;
    visibility: hidden;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 19px;
    padding: 24px 20px;
    overflow-y: auto;
    transform: translateY(-12px);
    background: rgba(244, 241, 233, 0.98);
    opacity: 0;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
  }

  .site-nav > a:not(.button) {
    font-size: 1.15rem;
  }

  .site-nav .button {
    margin-top: 10px;
  }

  .hero {
    min-height: auto;
    padding-top: 155px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-visual {
    width: min(78%, 570px);
    margin-left: auto;
  }

  .split-heading,
  .process-grid,
  .faq-grid,
  .method-columns,
  .benefits,
  .online-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .process-intro,
  .faq-grid .section-heading {
    position: static;
  }

  .teacher-grid {
    grid-template-columns: 0.8fr 1fr;
    gap: 55px;
  }

  .portrait-placeholder {
    min-height: 530px;
  }

}

@media (max-width: 740px) {
  body {
    padding-bottom: 84px;
  }

  .mobile-cta {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 253, 246, 0.94);
    backdrop-filter: blur(10px);
  }

  .mobile-cta .button {
    width: 100%;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 88px 0;
  }

  #clases::before {
    right: -35%;
    width: 120vw;
    opacity: 0.08;
  }

  :root {
    --header-h: 72px;
  }

  .brand-logo {
    width: 60px;
    height: 60px;
  }

  h1 {
    font-size: clamp(3.25rem, 16vw, 5.1rem);
  }

  .hero-word img {
    width: 1.1em;
    height: 1.1em;
  }

  h2 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .hero {
    padding-top: 135px;
  }

  .hero-facts {
    align-items: flex-start;
    flex-direction: column;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button-row .button {
    width: 100%;
  }

  .hero-visual {
    width: calc(100% - 14px);
  }

  .visual-placeholder {
    min-height: 330px;
  }

  .split-heading {
    gap: 25px;
  }

  .lesson-grid,
  .lesson-grid.family-steps,
  .ace-grid {
    grid-template-columns: 1fr;
  }

  .lesson-card,
  .family-steps .lesson-card {
    min-height: auto;
  }

  .ace-card {
    padding: 28px;
  }

  .ace-letter {
    width: 54px;
    height: 54px;
    margin-bottom: 28px;
    font-size: 1.35rem;
  }

  .method-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .method-list span {
    text-align: left;
  }

  .online-points li {
    grid-template-columns: 45px 1fr;
  }

  .card-index {
    margin-bottom: 38px;
  }

  .audience-item {
    grid-template-columns: 45px 1fr;
    gap: 8px;
  }

  .audience-item > div {
    display: block;
  }

  .audience-item p {
    margin-top: 12px;
  }

  .process-list li {
    min-height: 115px;
    grid-template-columns: 55px 1fr;
  }

  .teacher-grid {
    grid-template-columns: 1fr;
  }

  .portrait-placeholder {
    min-height: 460px;
  }

  .gallery {
    grid-auto-rows: 240px;
    grid-template-columns: 1fr;
  }

  .gallery-card-wide {
    grid-row: span 1;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .stars {
    margin-bottom: 22px;
  }

  .contact-inner .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    transform: none;
    opacity: 1;
  }
}
