/* Latin Dance Movement — one shared stylesheet for every page.
   Mobile first: the base rules are for phones, wider screens add to them.
   Fonts: Fraunces (headings) and DM Sans (text), loaded from Google Fonts in each page's <head>. */

:root {
  --wine-950: #1e070d;
  --wine-900: #2c0a13;
  --wine-800: #45101f;
  --wine-700: #651729;
  --red: #b8202f;
  --red-dark: #931826;
  --gold: #e0a63f;
  --gold-light: #f4d38c;
  --gold-dark: #9a6a12;
  --cream: #fbf5ec;
  --cream-2: #f4e8d8;
  --sand: #ead9c3;
  --surface: #ffffff;
  --ink: #241519;
  --muted: #6b5b5e;
  --line: #e9dccb;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(44, 10, 19, 0.06), 0 4px 14px rgba(44, 10, 19, 0.06);
  --shadow: 0 2px 6px rgba(44, 10, 19, 0.06), 0 18px 40px -12px rgba(44, 10, 19, 0.22);
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --gutter: 20px;
  --header-h: 64px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  overflow-wrap: break-word;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
iframe { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--red); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--red-dark); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  margin: 1.6em 0 0.5em;
  letter-spacing: -0.015em;
  color: var(--wine-900);
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); margin-top: 0.3em; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.65rem, 4.6vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.08rem; }

p, ul, ol { margin: 0 0 1em; }
strong, b { font-weight: 700; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap--narrow { max-width: 780px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  background: var(--red);
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  text-align: center;
  line-height: 1.2;
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 20px -8px rgba(184, 32, 47, 0.6);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); }
.btn--lg { min-height: 56px; padding: 16px 30px; font-size: 1.06rem; }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: 0.92rem; box-shadow: none; }
.btn--block { display: flex; width: 100%; }
.btn--gold { background: var(--gold); color: var(--wine-900); box-shadow: 0 10px 24px -10px rgba(224, 166, 63, 0.7); }
.btn--gold:hover { background: var(--gold-light); color: var(--wine-900); }
.btn--ghost {
  background: transparent;
  color: var(--red);
  box-shadow: inset 0 0 0 2px currentColor;
}
.btn--ghost:hover { background: var(--red); color: #fff; box-shadow: inset 0 0 0 2px var(--red); }
.btn--light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.45); }
.btn--light:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.cta-row { margin: 1.8em 0; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 245, 236, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(101, 23, 41, 0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--wine-900);
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}
.brand:hover { color: var(--wine-900); }
.brand-mark {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--wine-800);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.brand-name em { font-style: italic; color: var(--red); font-weight: 500; }
@media (max-width: 420px) {
  .brand-name { font-size: 0.98rem; }
  .brand-name em { display: block; }
}

.site-nav { display: none; }
.header-cta { flex: none; }

.menu { position: static; flex: none; }
.menu > summary {
  list-style: none;
  cursor: pointer;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--wine-900);
  margin-right: -6px;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-icon { position: relative; }
.menu-icon::before,
.menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }
.menu[open] .menu-icon { background: transparent; }
.menu[open] .menu-icon::before { transform: translateY(7px) rotate(45deg); }
.menu[open] .menu-icon::after { transform: translateY(-7px) rotate(-45deg); }
.menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -20px rgba(44, 10, 19, 0.35);
  padding: 8px var(--gutter) 22px;
  display: flex;
  flex-direction: column;
}
.menu-panel a:not(.btn) {
  color: var(--wine-900);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.menu-panel .btn { margin-top: 18px; }

@media (max-width: 359px) { .header-cta { display: none; } }

@media (min-width: 900px) {
  :root { --header-h: 76px; }
  .menu { display: none; }
  .site-nav {
    display: flex;
    gap: 28px;
    margin-right: 12px;
    font-size: 0.97rem;
    font-weight: 500;
  }
  .site-nav a { color: var(--wine-800); text-decoration: none; padding: 8px 0; position: relative; }
  .site-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease;
  }
  .site-nav a:hover::after { transform: scaleX(1); }
  .brand-mark { width: 42px; height: 42px; font-size: 0.85rem; }
  .brand-name { font-size: 1.28rem; }
  .header-cta { min-height: 46px; padding: 12px 22px; }
}

/* ---------- Generic sections ---------- */
main { display: block; }
.section { padding: 64px 0; }
.section--tight { padding: 44px 0; }
.section--cream2 { background: var(--cream-2); }
.section--white { background: var(--surface); }
.section--dark { background: var(--wine-900); color: #f1e3dc; }
.section--dark h2, .section--dark h3 { color: #fff; }
@media (min-width: 900px) { .section { padding: 96px 0; } }

.section-head { max-width: 680px; margin: 0 0 36px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 0; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-bottom: 0; }
.section--dark .section-head p { color: #d9c3bd; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--red);
  margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }
.eyebrow--light { color: var(--gold-light); }

.lead { font-size: 1.15rem; color: var(--muted); line-height: 1.6; }

/* Responsive 16:9 video */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 1.4em 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--wine-950);
  box-shadow: var(--shadow);
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #f6e9e4;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(224, 166, 63, 0.22) 0%, rgba(224, 166, 63, 0) 55%),
    radial-gradient(90% 60% at 0% 100%, rgba(184, 32, 47, 0.45) 0%, rgba(184, 32, 47, 0) 60%),
    linear-gradient(165deg, var(--wine-900) 0%, var(--wine-800) 60%, var(--wine-700) 100%);
  padding: 36px 0 52px;
}
.hero h1 { color: #fff; margin: 0 0 16px; }
.hero h1 em { font-style: italic; color: var(--gold-light); font-weight: 500; }
.hero-grid {
  display: grid;
  grid-template-areas: "top" "media" "actions";
  gap: 4px;
}
.hero-top { grid-area: top; }
.hero-media { grid-area: media; }
.hero-actions { grid-area: actions; }
.hero-sub { font-size: 1.14rem; color: #ecd5cf; margin: 0 0 6px; max-width: 34em; }
.hero-media .video { margin: 18px 0 24px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.08); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-buttons .btn { flex: 1 1 auto; }
.trust {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.92rem;
  color: #e3cbc4;
}
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before {
  content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%232c0a13' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
@media (min-width: 900px) {
  .hero { padding: 80px 0 96px; }
  .hero h1 { font-size: clamp(2.4rem, 4vw, 3.3rem); }
  .hero-grid {
    grid-template-columns: 1fr 1.15fr;
    grid-template-areas: "top media" "actions media";
    grid-template-rows: auto 1fr;
    column-gap: 56px;
    align-items: start;
  }
  .hero-top { align-self: end; }
  .hero-media { align-self: center; }
  .hero-media .video { margin: 0; }
  .hero-actions { margin-top: 24px; }
  .hero-buttons .btn { flex: none; }
}

/* Intro statement */
.statement {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.6vw, 2rem);
  line-height: 1.35;
  font-weight: 500;
  color: var(--wine-900);
  text-align: center;
  max-width: 30em;
  margin: 0 auto;
  letter-spacing: -0.01em;
}
.statement em { color: var(--red); }

/* ---------- Course cards ---------- */
.course-grid { display: grid; gap: 22px; }
@media (min-width: 700px) { .course-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .course-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.course-card {
  position: relative;
  background: var(--surface);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.course-card:hover { transform: translateY(-4px); }
.course-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.course-card__img img { width: 100%; height: 100%; object-fit: cover; }
.course-card__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,7,13,0) 55%, rgba(30,7,13,0.35) 100%);
}
.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  background: rgba(255,255,255,0.94);
  color: var(--wine-900);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
}
.badge--gold { background: var(--gold); }
.course-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.course-card h3 { font-size: 1.7rem; margin: 0 0 6px; }
.course-card__pitch { color: var(--muted); margin-bottom: 14px; }
.course-card__facts {
  list-style: none; padding: 0; margin: 0 0 20px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.course-card__facts li {
  font-size: 0.82rem; font-weight: 600; color: var(--wine-700);
  background: var(--cream-2); padding: 4px 10px; border-radius: 999px;
}
.course-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.course-card__price { font-family: var(--display); font-size: 2rem; font-weight: 600; color: var(--wine-900); line-height: 1; }
.course-card__price small { display: block; font-family: var(--font); font-size: 0.75rem; font-weight: 500; color: var(--muted); margin-top: 4px; }
.course-card--featured { box-shadow: 0 0 0 2px var(--gold), var(--shadow); }

/* ---------- Dance tiles ---------- */
.dance-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .dance-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .dance-grid { grid-template-columns: repeat(4, 1fr); } }
.dance-tile {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--line);
}
.dance-tile h3 { margin: 0 0 8px; font-size: 1.35rem; }
.dance-tile p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.dance-tile .kicker { display: block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 6px; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.steps li {
  counter-increment: step;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: var(--wine-900);
  font-family: var(--display); font-weight: 700; font-size: 1.2rem;
  margin-bottom: 16px;
}
.steps h3 { margin: 0 0 8px; font-size: 1.35rem; }
.steps p { margin: 0; color: #d9c3bd; }
.section--cream2 .steps li { background: var(--surface); border-color: var(--line); }
.section--cream2 .steps p { color: var(--muted); }

/* ---------- Guarantee ---------- */
.guarantee {
  display: grid;
  gap: 22px;
  align-items: center;
  background: var(--surface);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.guarantee h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 4vw, 2.1rem); }
.guarantee p { margin: 0; color: var(--muted); }
@media (min-width: 700px) { .guarantee { grid-template-columns: auto 1fr; padding: 40px 44px; gap: 36px; } }

.seal {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 50%, var(--wine-800) 0 58%, transparent 59%),
    repeating-conic-gradient(var(--gold) 0 6deg, var(--gold-light) 6deg 12deg);
  color: #fff;
  font-family: var(--display);
  line-height: 1;
  box-shadow: 0 10px 24px -10px rgba(44,10,19,0.5);
  flex: none;
}
.seal strong { display: block; font-size: 1.9rem; font-weight: 700; color: var(--gold-light); }
.seal span { display: block; font-family: var(--font); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 3px; }
.seal--sm { width: 84px; height: 84px; }
.seal--sm strong { font-size: 1.45rem; }
.seal--sm span { font-size: 0.52rem; }

/* ---------- About ---------- */
.about { display: grid; gap: 28px; align-items: center; }
.about img { width: 100%; border-radius: 24px; box-shadow: var(--shadow); }
.about h2 { margin-top: 0; }
@media (min-width: 820px) { .about { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 18px; margin: 1.5em 0; }
@media (min-width: 700px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 24px 22px;
  margin: 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 18px;
  font-family: var(--display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.6;
}
.quote p { font-family: var(--display); font-size: 1.12rem; line-height: 1.5; color: var(--wine-900); }
.quote footer, .quote cite { display: flex; align-items: center; gap: 12px; font-style: normal; font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.quote img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; margin: 0; }

.testimonial-shots {
  display: grid;
  gap: 14px;
  margin: 1em 0;
  align-items: start;
}
@media (min-width: 820px) { .testimonial-shots { grid-template-columns: 1fr 1fr; } }
.testimonial-shots img {
  width: 100%;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin: 0;
}

/* ---------- FAQ (details/summary) ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  padding: 0 20px;
  transition: box-shadow 0.2s ease;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.04rem;
  padding: 18px 40px 18px 0;
  list-style: none;
  position: relative;
  color: var(--wine-900);
  min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background: var(--cream-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M9 12l5 5 5-5' fill='none' stroke='%23b8202f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details > *:not(summary) { margin-top: 0; color: #3f3033; }
.faq details > *:last-child { margin-bottom: 20px; }

/* ---------- Post cards (home) ---------- */
.post-cards { display: grid; gap: 18px; }
@media (min-width: 700px) { .post-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .post-cards { grid-template-columns: repeat(4, 1fr); } }
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.post-card .kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px; }
.post-card h3 { margin: 0 0 8px; font-size: 1.22rem; }
.post-card p { color: var(--muted); font-size: 0.95rem; margin: 0 0 14px; }
.post-card .more { margin-top: auto; font-weight: 700; color: var(--red); font-size: 0.93rem; }

/* ---------- Post list (blog index, 404) ---------- */
.post-list { list-style: none; padding: 0; margin: 1.2em 0 2em; display: grid; gap: 12px; }
.post-list li {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.post-list li:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-list a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.22rem;
  line-height: 1.3;
  color: var(--wine-900);
  text-decoration: none;
}
.post-list a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post-list a:hover { color: var(--red); }
.post-list p { margin: 8px 0 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Article pages (blog posts, guides, legal, FAQ) ---------- */
.page-top { padding: 36px 0 8px; }
@media (min-width: 900px) { .page-top { padding: 64px 0 8px; } }

main > .wrap--narrow,
main > .wrap.article { padding-top: 40px; padding-bottom: 72px; }
@media (min-width: 900px) { main > .wrap--narrow, main > .wrap.article { padding-top: 64px; padding-bottom: 96px; } }

main > .wrap--narrow > h1:first-child,
main > .wrap.article > h1:first-child { margin-top: 0; }
main > .wrap--narrow > h1:first-child + .lead,
main > .wrap.article > h1:first-child + .lead { font-size: 1.2rem; margin-bottom: 1.6em; }

.article { font-size: 1.08rem; line-height: 1.75; }
.article > p,
.article > ul,
.article > ol,
.article > h2,
.article > h3,
.article > h4,
.article > blockquote:not(.quote) { max-width: 68ch; }
.wrap.article > * { margin-left: auto; margin-right: auto; }
.wrap.article { max-width: 1000px; }
.wrap.article > p,
.wrap.article > ul,
.wrap.article > ol,
.wrap.article > h1,
.wrap.article > h2,
.wrap.article > h3,
.wrap.article > .lead,
.wrap.article > .eyebrow { max-width: 740px; }
.article h1 { font-size: clamp(2rem, 6vw, 3.1rem); }
.article h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-top: 1.8em; }
.article h3 { font-size: 1.3rem; margin-top: 1.6em; }
.article li { margin-bottom: 0.45em; }
.article ul li::marker { color: var(--red); }
.article ol li::marker { color: var(--red); font-weight: 700; }
.article img { border-radius: var(--radius); margin: 1.6em auto; box-shadow: var(--shadow-sm); }
.article .video { margin: 1.8em 0; }
.article blockquote:not(.quote) {
  margin: 1.6em 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--gold);
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--wine-900);
}
.article .quote { margin: 1.8em 0; }
.article table { width: 100%; border-collapse: collapse; font-size: 0.97rem; margin: 1.4em 0; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { font-weight: 700; color: var(--wine-900); }
.article hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.article .cta-row .btn { min-width: 240px; }

.meta-line { color: var(--muted); font-size: 0.92rem; }

.note {
  background: var(--cream-2);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.97rem;
}

/* In-article course pitch */
.pitch {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(224,166,63,0.25), rgba(224,166,63,0) 60%),
    linear-gradient(160deg, var(--wine-900), var(--wine-700));
  color: #ecd5cf;
  border-radius: 22px;
  padding: 30px 26px;
  margin: 2.6em 0;
  box-shadow: var(--shadow);
}
.pitch h2, .pitch h3 { margin-top: 0; color: #fff; }
.pitch p { max-width: 56ch; }
.pitch .btn { background: var(--gold); color: var(--wine-900); box-shadow: none; }
.pitch .btn:hover { background: var(--gold-light); }
.pitch a:not(.btn) { color: var(--gold-light); }

/* Cards used on content pages (salsa-lessons-online) */
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; margin: 1.8em 0; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .cards, .cards--3 { grid-template-columns: 1fr 1fr 1fr; } }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin: 0; border-radius: 0; box-shadow: none; }
.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h2,
.card-body h3 { margin-top: 0; font-size: 1.35rem; }
.card-body .btn { margin-top: auto; align-self: flex-start; }
.card-body p:last-of-type { margin-bottom: 1.2em; }

/* Course outlines (salsa-lessons-online) */
.lesson-list { padding-left: 1.4em; }
.lesson-list > li { margin-bottom: 12px; }
.lesson-list p { margin: 4px 0 2px; color: var(--muted); font-size: 0.97rem; }
.lesson-list ol { margin: 0 0 6px; font-size: 0.97rem; color: var(--muted); }

.img-center { border-radius: var(--radius); margin: 0 auto 1em; }
.small { font-size: 0.88rem; color: var(--muted); }
.center { text-align: center; }

/* ---------- Sales pages ---------- */
.sp-hero {
  color: #f1e0da;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(224, 166, 63, 0.18) 0%, rgba(224, 166, 63, 0) 55%),
    radial-gradient(90% 50% at 0% 100%, rgba(184, 32, 47, 0.4) 0%, rgba(184, 32, 47, 0) 60%),
    linear-gradient(170deg, var(--wine-950) 0%, var(--wine-800) 55%, var(--wine-700) 100%);
  padding: 20px 0 48px;
}
.sp-hero .video { margin: 0 0 26px; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.08); }
.sp-hero h1 { color: #fff; font-size: clamp(1.9rem, 6vw, 3.1rem); margin: 0 0 14px; }
.sp-hero h1 em { font-style: italic; color: var(--gold-light); font-weight: 500; }
.sp-hero .hero-sub { margin-bottom: 22px; }
.sp-hero-grid { display: grid; gap: 28px; }
@media (min-width: 900px) {
  .sp-hero { padding: 40px 0 88px; }
  .sp-hero .video { max-width: 940px; margin: 0 auto 56px; }
  .sp-hero-grid { grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
}

.checks { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; line-height: 1.5; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%232c0a13' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.sp-hero .checks li { color: #f3e4de; }
.sp-hero .checks strong { color: #fff; }
.checks--dark li::before {
  background-color: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.buy-card {
  background: var(--cream);
  color: var(--ink);
  border-radius: 24px;
  padding: 26px 22px 22px;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.55);
  position: relative;
}
.buy-card__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.buy-card__label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 2px; }
.buy-card__price { font-family: var(--display); font-weight: 600; font-size: 3.4rem; line-height: 1; color: var(--wine-900); margin: 0; letter-spacing: -0.03em; }
.buy-card__note { font-size: 0.92rem; color: var(--muted); margin: 6px 0 0; }
.buy-card .checks { margin: 18px 0 20px; font-size: 0.97rem; }
.buy-card .small { text-align: center; margin: 12px 0 0; }
@media (min-width: 900px) { .buy-card { padding: 32px 30px 26px; } }

.split { display: grid; gap: 32px; align-items: center; }
.split img { width: 100%; border-radius: 24px; box-shadow: var(--shadow); }
.split h2 { margin-top: 0; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--flip > :first-child { order: 2; }
}

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0 0; }
.fact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.fact strong { display: block; font-family: var(--display); font-size: 1.8rem; line-height: 1.1; color: var(--red); font-weight: 600; }
.fact span { font-size: 0.9rem; color: var(--muted); }

.tv-visual {
  background:
    radial-gradient(70% 70% at 50% 40%, rgba(224,166,63,0.28), rgba(224,166,63,0) 70%),
    var(--wine-900);
  border-radius: 24px;
  padding: 32px 20px;
  box-shadow: var(--shadow);
}
.tv-visual img { box-shadow: none; border-radius: 0; max-width: 460px; margin: 0 auto; }

.compare { display: grid; gap: 16px; }
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1fr; gap: 22px; } }
.compare__col {
  border-radius: 22px;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.compare__col h3 { margin: 0 0 4px; font-size: 1.3rem; }
.compare__price { font-family: var(--display); font-size: 2.2rem; font-weight: 600; line-height: 1.1; margin: 0 0 16px; color: var(--wine-900); }
.compare__price small { font-family: var(--font); font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.compare__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.compare__col li { position: relative; padding-left: 30px; }
.compare__col li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--cream-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 10h6' stroke='%236b5b5e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.compare__col--win {
  background: var(--wine-900);
  border-color: var(--wine-900);
  color: #f1e0da;
  box-shadow: var(--shadow);
  position: relative;
}
.compare__col--win h3, .compare__col--win .compare__price { color: #fff; }
.compare__col--win .compare__price small { color: #d9c3bd; }
.compare__col--win li::before {
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%232c0a13' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.compare__col--win .badge { position: absolute; top: -12px; left: 22px; right: auto; background: var(--gold); }

.video-grid { display: grid; gap: 18px; }
.video-grid .video { margin: 0; }
@media (min-width: 860px) { .video-grid--2 { grid-template-columns: 1fr 1fr; } .video-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.checkout-wrap {
  background: var(--surface);
  border-radius: 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
}
.checkout-head {
  background: linear-gradient(160deg, var(--wine-900), var(--wine-700));
  color: #f1e0da;
  padding: 26px 22px;
  display: grid;
  gap: 18px;
  align-items: center;
}
.checkout-head h2 { color: #fff; margin: 0 0 4px; font-size: clamp(1.6rem, 4.5vw, 2.2rem); }
.checkout-head p { margin: 0; color: #e3cbc4; }
@media (max-width: 699px) { .checkout-head { grid-template-columns: 1fr auto; } .checkout-head > div:first-child { grid-column: 1 / -1; } }
.checkout-head__price { font-family: var(--display); font-size: 2.6rem; font-weight: 600; color: var(--gold-light); line-height: 1; }
@media (min-width: 700px) { .checkout-head { grid-template-columns: 1fr auto auto; padding: 30px 36px; gap: 28px; } }
.checkout { padding: 18px 8px 8px; min-height: 200px; scroll-margin-top: calc(var(--header-h) + 12px); }
@media (min-width: 700px) { .checkout { padding: 24px 28px 12px; } }
.checkout-foot { padding: 0 22px 24px; text-align: center; }
.checkout-mockup { max-width: 340px; width: 100%; margin: 6px auto 18px; }
.checkout-cta { padding: 26px 22px 30px; text-align: center; }
.checkout-cta .checks { display: inline-grid; text-align: left; margin: 0 0 24px; }
.checkout-cta .btn { max-width: 420px; margin: 0 auto; }
.legal-links { font-size: 0.85rem; text-align: center; color: var(--muted); margin: 26px 0 0; }
.legal-links a { color: var(--muted); }

/* Sticky "get the course" bar on sales pages (phones and tablets) */
.buy-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  background: rgba(30, 7, 13, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 10px var(--gutter);
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(120%);
  transition: transform 0.3s ease;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.25);
}
.buy-bar.is-visible { transform: translateY(0); }
.buy-bar__text { color: #f1e0da; font-size: 0.85rem; line-height: 1.3; flex: 1; min-width: 0; }
.buy-bar__text strong { display: block; color: #fff; font-family: var(--display); font-size: 1.05rem; font-weight: 600; }
.buy-bar .btn { flex: none; min-height: 48px; padding: 12px 20px; }
body.has-buy-bar { padding-bottom: 76px; }
@media (min-width: 1000px) { .buy-bar { display: none; } body.has-buy-bar { padding-bottom: 0; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--wine-950);
  color: #d9c3bd;
  padding: 56px 0 40px;
  font-size: 0.96rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-top { display: grid; gap: 28px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 36px; }
.footer-brand .brand-name { color: #fff; font-size: 1.5rem; }
.footer-brand .brand-name em { color: var(--gold-light); display: inline; }
.footer-brand p { margin: 10px 0 0; max-width: 34em; }
.site-footer .support { margin: 0; }
.site-footer .support a { color: var(--gold-light); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.4fr 1fr; align-items: end; } }
.footer-cols { display: grid; gap: 26px 16px; grid-template-columns: 1fr 1fr; }
@media (min-width: 760px) { .footer-cols { grid-template-columns: repeat(4, 1fr); } }
.footer-cols h2 {
  font-family: var(--font);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin: 0 0 12px;
}
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin-bottom: 4px; }
.footer-cols li a { display: inline-block; padding: 5px 0; }
.copyright { margin: 40px 0 0; color: #a68e8a; font-size: 0.85rem; }

/* ---------- Sticky course bar (content pages) ---------- */
.course-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(30, 7, 13, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(110%);
  transition: transform 0.35s ease;
  padding: 12px 48px 12px var(--gutter);
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}
.course-bar.is-visible { transform: translateY(0); }
.course-bar__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.course-bar__text { margin: 0; font-size: 0.86rem; line-height: 1.35; flex: 1; color: #e3cbc4; min-width: 0; }
.course-bar__text strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: #fff; }
.course-bar__link {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: var(--gold);
  color: var(--wine-900);
  text-decoration: none;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  white-space: nowrap;
}
.course-bar__link:hover { background: var(--gold-light); color: var(--wine-900); }
.course-bar__close {
  position: absolute;
  top: 50%;
  margin-top: -22px;
  right: 2px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
body.has-course-bar { padding-bottom: 96px; }

@media (prefers-reduced-motion: reduce) {
  .course-bar, .buy-bar, .btn, .course-card, .post-card, .post-list li { transition: none; }
}

/* ---------- Guide pages ---------- */
.guide-video { margin: 1.8em 0; }
.guide-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius);
  background: var(--wine-950);
  box-shadow: var(--shadow);
}
.guide-video figcaption { margin-top: 10px; font-size: 0.93rem; color: var(--muted); }
.pitch ul li::marker { color: var(--gold); }
.course-pitch__price { font-weight: 700; color: #fff; }
.course-pitch__link { font-weight: 700; }
