/* Academy Héctor Defez — black, metallic gold, condensed italic display. */
:root {
  --black: #000;
  --panel: #100e0a;
  --panel-2: #17140e;
  --line: rgba(212, 162, 76, .28);
  --gold: #d4a24c;
  --gold-hi: #f3d994;
  --gold-lo: #8e6420;
  --gold-grad: linear-gradient(172deg, var(--gold-hi) 0%, var(--gold) 46%, var(--gold-lo) 100%);
  --white: #f6f3ec;
  --mute: #aaa396;
  --display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 5vw, 56px);
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: var(--white);
  font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--black); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--black);
  padding: 10px 16px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* Display type: condensed italic, uppercase, gold gradient fill on the big lines. */
.display, h1, h2, h3 { font-family: var(--display); font-style: italic; font-weight: 900;
  text-transform: uppercase; line-height: .92; letter-spacing: .005em; margin: 0; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold); }
h2 { font-size: clamp(2.5rem, 7.5vw, 4.75rem); padding-right: .12em; }
h3 { font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2rem); line-height: 1; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 2.4vw, 1.3rem); line-height: 1.55; color: var(--white); max-width: 34em; }
.muted { color: var(--mute); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font: 800 1.35rem/1 var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .04em;
  color: var(--black); background: var(--gold-grad); text-decoration: none;
  padding: 1.05rem 2.1rem; min-height: 52px; transform: skewX(-10deg);
  box-shadow: 0 0 0 1px rgba(243, 217, 148, .5) inset; transition: filter .2s, box-shadow .2s; }
.btn > span { display: inline-block; transform: skewX(10deg); }
.btn:hover { color: var(--black); filter: brightness(1.12); box-shadow: 0 0 34px rgba(212, 162, 76, .35); }
.btn--sm { font-size: 1rem; padding: .7rem 1.1rem; min-height: 44px; white-space: nowrap; }
.btn--ghost { background: transparent; color: var(--gold-hi); box-shadow: 0 0 0 1.5px var(--gold) inset; }
.btn--ghost:hover { color: var(--black); background: var(--gold-grad); }

/* Header */
.site-header { position: relative; z-index: 5; border-bottom: 1px solid var(--line); background: var(--black); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand img { width: clamp(120px, 32vw, 230px); mix-blend-mode: lighten; }

/* Hero */
/* Full-viewport hero: header height is subtracted so the hero plus header fill the screen */
:root { --hdr: 69px; }
.hero { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center;
  min-height: calc(100vh - var(--hdr)); min-height: calc(100svh - var(--hdr)); padding: clamp(28px, 6vh, 72px) 0; }
.hero::before { content: ""; position: absolute; z-index: -2; right: -8%; top: -10%; width: 62%; height: 130%;
  background: linear-gradient(180deg, rgba(212, 162, 76, .22), rgba(212, 162, 76, .02));
  transform: skewX(-12deg); border-left: 1px solid var(--line); }
/* Gold glow behind the cut-out photo */
.hero::after { content: ""; position: absolute; z-index: -2; right: 2%; bottom: 8%; width: min(70vw, 760px); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(212, 162, 76, .30), rgba(212, 162, 76, .08) 45%, transparent 70%); }
.hero .wrap { position: relative; z-index: 1; }
.hero__text { max-width: 40rem; }
.hero h1 { font-size: clamp(4rem, 15vw, 8.75rem); line-height: .84; padding-right: .1em; margin: .1em 0 .12em; }
.hero__sub { font: 800 clamp(1.3rem, 4.2vw, 2rem)/1.05 var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .03em; color: var(--white); margin: 0 0 1.4rem; }
.hero__edition { display: inline-block; font: 800 clamp(1.1rem, 3.4vw, 1.5rem)/1 var(--display); font-style: italic; text-transform: uppercase;
  letter-spacing: .06em; color: var(--black); background: var(--gold-grad); padding: .45em 1em; transform: skewX(-10deg); }
.hero__edition > span { display: inline-block; transform: skewX(10deg); }
.pillars { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: 10px; }
.pillars li { font: 700 1.2rem/1.1 var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .03em;
  padding: .15em 0 .15em 14px; border-left: 3px solid var(--gold); transform: skewX(-8deg); }
.pillars li span { display: block; transform: skewX(8deg); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; margin: 1.6rem 0 0; font-size: .98rem; }
.hero__meta strong { color: var(--gold-hi); font-weight: 600; }
.hero__meta span { color: var(--white); font-weight: 600; padding-left: 22px; border-left: 1px solid var(--line); }
.hero__note { max-width: 32em; color: var(--mute); font-size: .95rem; margin: 1rem 0 0; }
/* The photo is cut flat at the bottom and on its right arm: anchor it to the
   bottom-right corner and fade the bottom so neither edge shows. */
.hero__photo { position: absolute; z-index: -1; right: 0; bottom: 0; width: auto; max-width: none;
  height: 78%; -webkit-mask-image: linear-gradient(to top, transparent 0, #000 22%); mask-image: linear-gradient(to top, transparent 0, #000 22%); }
@media (max-width: 899px) {
  /* Text sits over the photo on phones: darken the photo where the copy runs */
  .hero__photo { height: min(70%, 620px); right: -14%; opacity: .5; }
  .hero__text > :not(h1) { text-shadow: 0 2px 16px rgba(0, 0, 0, .95); }
}
@media (min-width: 600px) and (max-width: 899px) { .hero__photo { right: -8%; opacity: .7; } }
@media (min-width: 900px) {
  .hero__photo { height: 92%; }
  .hero__text { max-width: 54%; }
  .pillars { grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 32px; }
}

/* Sections */
section { padding: clamp(56px, 9vw, 112px) 0; }
.section--panel { background: var(--panel); border-block: 1px solid var(--line); }
.section-head { margin-bottom: clamp(28px, 5vw, 56px); max-width: 52rem; }
.section-head p { margin-top: 1.2rem; }

/* Audience: who the course is for */
.audience__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.audience__list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .4em; padding: 18px 22px;
  background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  font: 800 clamp(1.5rem, 4.6vw, 2.2rem)/1.05 var(--display); font-style: italic; text-transform: uppercase; }
.audience__list em { color: var(--gold); font-size: .7em; }
@media (min-width: 900px) { .audience__list { grid-template-columns: repeat(3, 1fr); gap: 22px; } .audience__list li { flex-direction: column; gap: .15em; } }

/* Philosophy */
.philo { display: grid; gap: 40px; }
.philo__quote { font: 800 clamp(1.7rem, 5.2vw, 3.2rem)/1.04 var(--display); font-style: italic; text-transform: uppercase; margin: 0; }
.aprende p { margin-bottom: .9rem; color: var(--mute); }
.aprende ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.aprende li { font: 800 clamp(1.5rem, 4vw, 2.1rem)/1.1 var(--display); font-style: italic; text-transform: uppercase;
  padding: .3em 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .philo { grid-template-columns: 1.2fr .8fr; gap: 72px; align-items: start; } }

/* Teachers */
.teachers { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.teacher { background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; }
.teacher img { width: 100%; aspect-ratio: 415 / 420; object-fit: cover; background: #000; }
.teacher__body { padding: 20px 22px 26px; border-top: 1px solid var(--line); }
.teacher__role { color: var(--gold); font-weight: 600; margin: .5rem 0 .9rem; }
.teacher__body p:last-child { margin-bottom: 0; color: var(--mute); font-size: .98rem; }
.teacher__tag { display: inline-block; font-size: .85rem; color: var(--black); background: var(--gold); padding: 2px 10px; font-weight: 600; margin-bottom: .8rem; }
@media (min-width: 760px) { .teachers { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

/* Video */
.presentation { display: grid; gap: 36px; align-items: center; }
.video-frame { width: min(100%, 340px); margin: 0 auto; border: 1px solid var(--line); background: #000; box-shadow: 0 0 60px rgba(212, 162, 76, .12); }
.video-frame video { width: 100%; height: auto; }
@media (min-width: 800px) { .presentation { grid-template-columns: 340px 1fr; gap: 72px; } .video-frame { margin: 0; } }

/* Syllabus */
.syllabus { display: grid; gap: 10px; max-width: 54rem; }
.topic { border: 1px solid var(--line); background: var(--panel-2); }
.topic summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; min-height: 64px; }
.topic summary::-webkit-details-marker { display: none; }
.topic__n { font: 900 2.2rem/1 var(--display); font-style: italic; min-width: 1.5ch; text-align: center; }
.topic__t { font: 800 clamp(1.25rem, 3.6vw, 1.75rem)/1.05 var(--display); font-style: italic; text-transform: uppercase; }
.topic__by { display: block; font: 500 .85rem/1.3 var(--body); font-style: normal; text-transform: none; color: var(--gold); margin-top: 4px; letter-spacing: 0; }
.topic__chev { width: 14px; height: 14px; border-right: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(45deg); transition: transform .2s; margin-right: 6px; }
.topic[open] .topic__chev { transform: rotate(-135deg); }
.topic[open] { border-color: var(--gold); }
.topic__body { padding: 4px 18px 22px calc(18px + 1.5ch + 14px); }
.topic__body ul { margin: 0; padding-left: 1.1em; }
.topic__body li { margin: .25em 0; }
.topic__body li::marker { color: var(--gold); }
.topic__note { margin: 1rem 0 0; padding: 10px 14px; border-left: 3px solid var(--gold); background: rgba(212, 162, 76, .08); font-size: .95rem; color: var(--white); }
@media (max-width: 520px) { .topic__body { padding-left: 18px; } .topic summary { gap: 10px; padding: 14px; } }
.duration { margin-top: 36px; max-width: 54rem; padding: 22px 24px; border: 1px solid var(--gold); display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; }
.duration strong { font: 900 clamp(1.7rem, 5vw, 2.6rem)/1 var(--display); font-style: italic; text-transform: uppercase; }

/* Pricing */
.prices { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.price { background: var(--panel-2); border: 1px solid var(--line); padding: 28px 24px 30px; display: flex; flex-direction: column; }
.price h3 { color: var(--white); margin-bottom: 1rem; }
.price__amount { font: 900 clamp(3.4rem, 9vw, 4.6rem)/1 var(--display); font-style: italic; margin: 0; }
.price__total { color: var(--mute); margin: 0 0 1.2rem; font-size: .95rem; }
.price__detail { margin: 0; border-top: 1px solid var(--line); padding-top: 1rem; }
.price__detail strong { color: var(--gold-hi); font-weight: 600; }
.prices-note { margin-top: 26px; color: var(--mute); max-width: 40rem; }
@media (min-width: 860px) { .prices { grid-template-columns: repeat(3, 1fr); } }

/* Testimonials */
/* Mobile: swipeable row so six vertical videos don't stack into a wall */
.testimonials { list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 12px; scroll-padding-inline: var(--gutter); display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 300px);
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.testimonials li { scroll-snap-align: start; }
.testimonials .video-frame { width: 100%; margin: 0; }
@media (min-width: 760px) { .testimonials { margin: 0; padding: 0; overflow: visible; grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; } }

/* Teachers intro + classes */
.teachers-intro { margin: 40px auto 0; max-width: 460px; }
.teachers-intro .video-frame { width: 100%; }
.teachers-intro figcaption { margin-top: 12px; color: var(--mute); font-size: .95rem; text-align: center; }
.clips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 700px; }
.clips .video-frame { width: 100%; margin: 0; }
@media (min-width: 760px) { .clips { gap: 24px; } }

/* Final CTA */
.final { text-align: center; position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.final::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(60% 80% at 50% 100%, rgba(212, 162, 76, .22), transparent 70%); }
.final h2 { margin: 0 auto 1.4rem; max-width: 12em; font-size: clamp(2.6rem, 9vw, 6rem); }
.final p { color: var(--mute); max-width: 32em; margin: 0 auto 2rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 96px; font-size: .92rem; color: var(--mute); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--mute); }
.site-footer a:hover { color: var(--gold-hi); }
.site-footer .foot-logo { width: 56px; }
.credit { width: 100%; margin: 0; font-size: .85rem; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold-grad); color: var(--black);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .6), 0 0 0 1px rgba(243, 217, 148, .5) inset; transition: transform .2s; }
.wa-float:hover { color: var(--black); transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* Legal / 404 pages */
.legal { max-width: 46rem; margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gutter) 80px; }
.legal h1 { font-size: clamp(2.6rem, 9vw, 4.4rem); margin-bottom: 1.6rem; padding-right: .1em; }
.legal h2 { font-size: 1.7rem; font-weight: 800; margin: 2rem 0 .6rem; color: var(--gold-hi); padding: 0; }
.legal .todo { color: var(--gold-hi); }
.center-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px var(--gutter); }
.center-page h1 { font-size: clamp(5rem, 24vw, 11rem); padding-right: .1em; }
.center-page p { color: var(--mute); margin: 1rem auto 2rem; max-width: 26em; }

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