/* ===== MS BALLET — shared styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Archivo:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --yellow: #F5C518;
  --yellow-deep: #E5B400;
  --teal: #0C5E54;
  --teal-deep: #084740;
  --cream: #FAF6E8;
  --ink: #161614;
  --ink-soft: #2a2a26;
  --line: #0C5E54;

  --display: 'Archivo Black', 'Archivo', system-ui, sans-serif;
  --sans: 'Archivo', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius: 0px;
  --container: 1320px;
  --pad-x: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ---------- containers ---------- */
.wrap { max-width: var(--container); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.full-bleed { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 2px solid var(--teal);
}
.nav-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex; align-items: center; gap: 24px;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-size: 22px; letter-spacing: -0.01em;
  color: var(--teal);
  flex-shrink: 0;
}
.nav-logo .mark {
  width: 32px; height: 32px;
  background: var(--yellow);
  border: 2px solid var(--teal);
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 11px; color: var(--teal);
  line-height: 1;
}
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { border-color: var(--teal); color: var(--teal); }
.nav-cta {
  background: var(--teal); color: var(--cream);
  padding: 10px 16px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 600;
  border: 2px solid var(--teal);
  transition: transform 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--yellow); }

.nav-burger {
  display: none;
  background: transparent; border: 2px solid var(--teal);
  width: 44px; height: 44px;
  flex-direction: column; gap: 4px;
  align-items: center; justify-content: center;
  padding: 0;
  margin-left: auto;
}
.nav-burger span {
  display: block; width: 18px; height: 2px; background: var(--teal);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: flex; flex-direction: column;
  padding: 24px var(--pad-x) 32px;
  border-top: 2px solid var(--teal);
  background: var(--cream);
}
.mobile-menu-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu-links a {
  font-family: var(--display); font-size: 28px;
  letter-spacing: -0.01em; color: var(--teal);
  padding: 10px 0;
  border-bottom: 1px solid rgba(12,94,84,0.15);
}
.mobile-menu-links a.active { color: var(--ink); }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
}
@media (min-width: 1081px) {
  .mobile-menu { display: none !important; }
}

/* ---------- type system ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: currentColor;
}

.h-display {
  font-family: var(--display);
  font-size: clamp(40px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--teal);
  margin: 0;
  text-wrap: balance;
}
.h-section {
  font-family: var(--display);
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--teal);
  margin: 0;
  text-wrap: balance;
}
.h-card {
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--teal);
  margin: 0;
}
.lede { font-size: 19px; line-height: 1.5; max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 24px;
  font-family: var(--mono); font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  border: 2px solid var(--teal);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--teal); color: var(--cream); }
.btn-primary:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--yellow); }
.btn-yellow { background: var(--yellow); color: var(--teal); border-color: var(--teal); }
.btn-yellow:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--teal); }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-ghost:hover { background: var(--teal); color: var(--cream); }
.btn .arr { transition: transform 0.2s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- section utilities ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section-yellow { background: var(--yellow); color: var(--teal); }
.section-yellow .h-section,
.section-yellow .eyebrow { color: var(--teal); }
.section-teal { background: var(--teal); color: var(--cream); }
.section-teal .h-section { color: var(--yellow); }
.section-teal .eyebrow { color: var(--yellow); }
.section-cream { background: var(--cream); color: var(--ink); }
.section-ink { background: var(--ink); color: var(--cream); }

/* ---------- footer ---------- */
.footer {
  background: var(--ink); color: var(--cream);
  padding: 72px var(--pad-x) 32px;
}
.footer-grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid #333;
}
.footer h4 {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--yellow);
  margin: 0 0 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a:hover { color: var(--yellow); }
.footer-brand {
  font-family: var(--display); color: var(--yellow);
  font-size: 40px; line-height: 0.9; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.footer-bottom {
  max-width: var(--container); margin: 0 auto;
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: #888;
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--teal); color: var(--yellow);
  border-top: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex; gap: 48px;
  white-space: nowrap;
  animation: scroll 38s linear infinite;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.01em;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after {
  content: "✦"; color: var(--yellow); font-size: 0.7em;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- hero ---------- */
.hero {
  background: var(--yellow);
  color: var(--teal);
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--teal);
}
.hero-grid {
  max-width: var(--container); margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--pad-x);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  min-height: 64vh;
}
.hero-eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
}
.hero-eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(40px, 7vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  display: inline-block;
  position: relative;
}
.hero h1 em::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: 0.08em; height: 0.16em;
  background: var(--teal); opacity: 0.16; z-index: -1;
}
.hero-sub { font-size: 19px; max-width: 46ch; line-height: 1.5; margin: 0 0 36px; color: var(--teal-deep); }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-figure {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--yellow);
  border: 2px solid var(--teal);
}
.hero-figure img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hero-figure .ticker {
  position: absolute; left: -2px; right: -2px; bottom: -2px;
  background: var(--teal); color: var(--yellow);
  padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 2px solid var(--teal);
}
.hero-stats {
  position: absolute; left: 0; right: 0; bottom: -2px;
  background: var(--teal); color: var(--yellow);
  border-top: 2px solid var(--teal);
  padding: 18px var(--pad-x);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  max-width: var(--container); margin: 0 auto;
  align-items: end;
}
.hero-stats .stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stats .num { font-family: var(--display); font-size: clamp(32px, 4vw, 48px); line-height: 1; }
.hero-stats .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.85; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- placeholder image ---------- */
.ph {
  background:
    repeating-linear-gradient(45deg, var(--cream) 0 12px, #f0ecd8 12px 24px);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal);
  text-align: center;
  border: 1px dashed var(--teal);
}
.ph-yellow {
  background:
    repeating-linear-gradient(45deg, var(--yellow) 0 12px, var(--yellow-deep) 12px 24px);
  color: var(--teal);
  border: 1px dashed var(--teal);
}
.ph-teal {
  background:
    repeating-linear-gradient(45deg, var(--teal) 0 12px, var(--teal-deep) 12px 24px);
  color: var(--yellow);
  border: 1px dashed var(--yellow);
}

/* ---------- modalities grid (used on home & modalidades) ---------- */
.mod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid var(--teal);
  border-left: 2px solid var(--teal);
}
.mod-card {
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  padding: 32px 28px;
  background: var(--cream);
  min-height: 280px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}
.mod-card:hover { background: var(--teal); color: var(--cream); }
.mod-card:hover .h-card { color: var(--yellow); }
.mod-card:hover .mod-num { color: var(--yellow); }
.mod-card:hover .mod-meta { color: var(--cream); }
.mod-num {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em;
  color: var(--teal); margin-bottom: auto;
}
.mod-meta {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft); margin-top: 16px;
}

@media (max-width: 980px) { .mod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .mod-grid { grid-template-columns: 1fr; } }

/* ---------- testimonials ---------- */
.quote-card {
  background: var(--cream); border: 2px solid var(--teal);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.quote-card .q {
  font-family: var(--display); font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.2; letter-spacing: -0.01em; color: var(--teal); margin: 0;
}
.quote-card .who {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* ---------- FAQ ---------- */
.faq-item {
  border-top: 2px solid var(--teal);
  padding: 24px 0;
  cursor: pointer;
}
.faq-item:last-child { border-bottom: 2px solid var(--teal); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.01em;
  color: var(--teal);
}
.faq-toggle {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border: 2px solid var(--teal);
  display: grid; place-items: center;
  font-family: var(--display);
  background: transparent;
}
.faq-a {
  margin-top: 16px;
  max-width: 70ch;
  font-size: 16px; line-height: 1.6;
  color: var(--ink-soft);
  display: none;
}
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-toggle { background: var(--teal); color: var(--yellow); }

/* ---------- form ---------- */
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal);
}
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 16px;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--teal);
  padding: 12px 0;
  color: var(--ink);
  outline: none;
  border-radius: 0;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-bottom-width: 3px;
}
.field textarea { resize: vertical; min-height: 120px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 14px;
  border: 2px solid var(--teal);
  color: var(--teal);
  background: transparent;
  cursor: pointer;
  user-select: none;
}
.chip.active { background: var(--teal); color: var(--yellow); }

@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- big number list (schedule) ---------- */
.bignum-row {
  display: grid;
  grid-template-columns: 80px 1.6fr 1fr 1fr auto;
  gap: 24px; align-items: center;
  padding: 24px 0;
  border-top: 2px solid var(--teal);
}
.bignum-row:last-child { border-bottom: 2px solid var(--teal); }
.bignum-row .n {
  font-family: var(--display);
  font-size: 40px; line-height: 1; color: var(--teal); letter-spacing: -0.02em;
}
.bignum-row .t {
  font-family: var(--display);
  font-size: 22px; line-height: 1.05; color: var(--teal);
}
.bignum-row .meta {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft);
}
.bignum-row .age {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal);
  border: 2px solid var(--teal); padding: 6px 10px; justify-self: start;
}
@media (max-width: 820px) {
  .bignum-row { grid-template-columns: 56px 1fr; gap: 16px; }
  .bignum-row .meta, .bignum-row .age { grid-column: 2; }
}

/* ---------- duotone tile ---------- */
.duo {
  width: 100%; aspect-ratio: 4/5;
  background-size: cover; background-position: center;
  border: 2px solid var(--teal);
}
.duo-wide { aspect-ratio: 16/9; }
.duo-square { aspect-ratio: 1/1; }

/* ---------- two-up ---------- */
.two-up {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  align-items: stretch;
}
.two-up > * { min-width: 0; }
@media (max-width: 880px) { .two-up { grid-template-columns: 1fr; } }

/* ---------- gallery grid ---------- */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.gal-grid > * { aspect-ratio: 1/1; }
.gal-grid .tall { grid-row: span 2; aspect-ratio: 1/2; }
.gal-grid .wide { grid-column: span 2; aspect-ratio: 2/1; }
@media (max-width: 880px) { .gal-grid { grid-template-columns: repeat(2, 1fr); } .gal-grid .tall, .gal-grid .wide { grid-row: span 1; grid-column: span 1; aspect-ratio: 1/1; } }

/* ===== BLOG ===== */

/* ---------- blog index hero ---------- */
.blog-hero {
  background: var(--cream);
  border-bottom: 2px solid var(--teal);
  padding: clamp(56px, 9vw, 128px) 0 clamp(40px, 6vw, 80px);
}
.blog-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.blog-hero h1 {
  font-family: var(--display);
  font-size: clamp(56px, 10vw, 144px);
  line-height: 0.86;
  letter-spacing: -0.035em;
  color: var(--teal);
  margin: 24px 0 0;
  text-wrap: balance;
}
.blog-hero h1 em {
  font-style: normal; color: var(--ink);
  position: relative;
}
.blog-hero h1 em::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: 0.04em; height: 0.16em;
  background: var(--yellow); z-index: -1;
}
.blog-hero .lede { color: var(--ink-soft); }
@media (max-width: 880px) {
  .blog-hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- blog filters ---------- */
.blog-filter-bar {
  border-bottom: 2px solid var(--teal);
  background: var(--cream);
  padding: 18px 0;
  position: sticky; top: 67px; z-index: 10;
}
.blog-filter-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center;
}
.blog-filter-row .label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--teal);
  margin-right: 6px;
}
.blog-chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 2px solid var(--teal);
  color: var(--teal);
  background: transparent;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s, color 0.15s;
}
.blog-chip:hover { background: var(--teal); color: var(--yellow); }
.blog-chip.active { background: var(--teal); color: var(--yellow); }

/* ---------- blog grid ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--teal);
  border-left: 2px solid var(--teal);
}
.blog-card {
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  background: var(--cream);
  display: flex; flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
  position: relative;
}
.blog-card:hover { background: var(--yellow); }
.blog-card .cover {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-bottom: 2px solid var(--teal);
}
.blog-card .cover img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.4s ease;
}
.blog-card:hover .cover img { transform: scale(1.04); }
.blog-card .cover .badge {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 11px;
  background: var(--yellow); color: var(--teal);
  border: 2px solid var(--teal);
}
.blog-card .cover .num {
  position: absolute; bottom: 14px; right: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  color: var(--cream);
  background: rgba(12,94,84,0.85);
  padding: 6px 10px;
  border: 2px solid var(--cream);
}
.blog-card .body {
  padding: 28px 28px 32px;
  display: flex; flex-direction: column;
  gap: 14px;
  flex: 1;
}
.blog-card .meta {
  display: flex; gap: 16px; align-items: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft);
}
.blog-card h2 {
  font-family: var(--display);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--teal);
  margin: 0;
  text-wrap: balance;
}
.blog-card .excerpt {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.blog-card .read-more {
  margin-top: auto;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal);
  display: inline-flex; align-items: center; gap: 8px;
}
.blog-card:hover .read-more { color: var(--ink); }

/* Featured / first card spans wider on desktop */
.blog-card.featured {
  grid-column: span 2;
  grid-row: span 1;
}
.blog-card.featured .cover { aspect-ratio: 16/9; }
.blog-card.featured h2 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 0.98;
}
.blog-card.featured .excerpt { font-size: 17px; }

@media (max-width: 980px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-card.featured { grid-column: span 2; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card.featured { grid-column: span 1; }
}

/* ---------- post page ---------- */
.post-header {
  background: var(--cream);
  border-bottom: 2px solid var(--teal);
  padding: clamp(32px, 4vw, 56px) 0 clamp(24px, 3vw, 40px);
}
.post-breadcrumbs {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-soft);
  display: flex; gap: 12px; align-items: center; margin-bottom: 32px;
}
.post-breadcrumbs a { color: var(--teal); }
.post-breadcrumbs a:hover { color: var(--ink); }
.post-breadcrumbs .sep { color: var(--ink-soft); }

.post-eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal);
  display: inline-flex; align-items: center; gap: 12px;
}
.post-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.post-title {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--teal);
  margin: 20px 0 28px;
  max-width: 22ch;
  text-wrap: balance;
}

.post-meta {
  display: flex; flex-wrap: wrap; gap: 24px;
  padding: 16px 0;
  border-top: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
}
.post-meta .item { display: flex; flex-direction: column; gap: 4px; }
.post-meta .lbl { color: var(--ink-soft); font-size: 9px; }
.post-meta .val { color: var(--teal); }

.post-cover {
  width: 100%;
  aspect-ratio: 21/9;
  background-size: cover;
  background-position: center;
  border-bottom: 2px solid var(--teal);
}
.post-cover.tall { aspect-ratio: 16/9; }

.post-body {
  padding: clamp(56px, 8vw, 112px) 0;
  background: var(--cream);
}
.post-grid {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.post-side {
  position: sticky; top: 100px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
}
.post-side .label {
  color: var(--ink-soft); margin-bottom: 12px; font-size: 10px;
}
.post-side ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.post-side a { color: var(--teal); }
.post-side a:hover { color: var(--ink); }

.post-prose {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 68ch;
}
.post-prose > .lede {
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 40px;
  border-left: 4px solid var(--yellow);
  padding-left: 24px;
}
.post-prose h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--teal);
  margin: 56px 0 20px;
  text-wrap: balance;
}
.post-prose h3 {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.1;
  color: var(--teal);
  margin: 36px 0 14px;
}
.post-prose p { margin: 0 0 22px; }
.post-prose strong { color: var(--teal); }
.post-prose ul, .post-prose ol {
  margin: 0 0 24px;
  padding-left: 22px;
}
.post-prose li { margin-bottom: 10px; }
.post-prose a {
  color: var(--teal);
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 1px;
}
.post-prose a:hover { background: var(--yellow); }

/* mid-article callout */
.post-callout {
  background: var(--teal);
  color: var(--cream);
  padding: clamp(32px, 4vw, 56px);
  margin: 56px 0;
  border: 2px solid var(--teal);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.post-callout h3 {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.05;
  color: var(--yellow);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.post-callout p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--cream);
  opacity: 0.9;
  max-width: 50ch;
}
.post-callout .btn { flex-shrink: 0; }
@media (max-width: 720px) {
  .post-callout { grid-template-columns: 1fr; }
}

/* tags */
.post-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 48px 0 0;
}
.post-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 2px solid var(--teal);
  color: var(--teal);
  background: var(--cream);
}

/* author / share row */
.post-foot {
  margin-top: 56px;
  border-top: 2px solid var(--teal);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft);
}

@media (max-width: 980px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-side { position: static; }
}

/* ---------- related posts ---------- */
.post-related {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 2px solid var(--teal);
}
.post-related .eyebrow { color: var(--yellow); }
.post-related h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 64px);
  color: var(--yellow);
  margin: 24px 0 48px;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
}
.related-card {
  background: #1f1f1c;
  border: 2px solid #1f1f1c;
  text-decoration: none; color: var(--cream);
  display: flex; flex-direction: column;
  transition: background 0.2s, border-color 0.2s;
}
.related-card:hover { background: var(--teal); border-color: var(--yellow); }
.related-card .cov {
  aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  border-bottom: 2px solid #1f1f1c;
}
.related-card:hover .cov { border-bottom-color: var(--yellow); }
.related-card .b { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.related-card h3 {
  font-family: var(--display);
  font-size: 20px; line-height: 1.05; letter-spacing: -0.01em;
  color: var(--cream); margin: 0;
}
.related-card .cat {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--yellow);
}
@media (max-width: 880px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* duotone color tints applied to cover backgrounds */
.tint-yellow {
  background-color: var(--yellow);
  background-blend-mode: multiply;
}
.tint-teal {
  background-color: var(--teal);
  background-blend-mode: screen;
}
.tint-ink {
  background-color: var(--ink);
  background-blend-mode: screen;
  filter: grayscale(0.2);
}

/* ===== MODALITIES QUICK GRID (first-fold strip on modalidades.html) ===== */
.mod-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid var(--teal);
  border-left: 2px solid var(--teal);
  background: var(--cream);
}
.mod-quick-grid a {
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: var(--teal);
  background: var(--cream);
  transition: background 0.15s ease, color 0.15s ease;
  min-height: 110px;
  justify-content: space-between;
}
.mod-quick-grid a:hover {
  background: var(--teal);
  color: var(--yellow);
}
.mod-quick-grid a:hover .quick-num,
.mod-quick-grid a:hover .quick-meta {
  color: var(--yellow);
}
.mod-quick-grid .quick-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--teal);
}
.mod-quick-grid .quick-name {
  font-family: var(--display);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.mod-quick-grid .quick-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
@media (max-width: 880px) { .mod-quick-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .mod-quick-grid { grid-template-columns: 1fr; } }

/* ===== SCHEDULE MATRIX (horarios.html — days × times) ===== */
.schedule-matrix-wrap {
  overflow-x: auto;
  border: 2px solid var(--teal);
  background: var(--cream);
  -webkit-overflow-scrolling: touch;
}
.schedule-matrix {
  display: grid;
  grid-template-columns: 90px repeat(6, minmax(140px, 1fr));
  min-width: 900px;
}
.schedule-matrix .cell {
  padding: 16px 14px;
  border-right: 1px solid rgba(12, 94, 84, 0.18);
  border-bottom: 1px solid rgba(12, 94, 84, 0.18);
  min-height: 78px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.35;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.schedule-matrix .cell:nth-child(7n) { border-right: none; }
.schedule-matrix .head {
  background: var(--teal);
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-right: 1px solid rgba(245, 197, 24, 0.25);
  border-bottom: 2px solid var(--teal);
  min-height: 56px;
  align-items: flex-start;
  justify-content: center;
}
.schedule-matrix .head:nth-child(7n) { border-right: none; }
.schedule-matrix .time {
  background: var(--yellow);
  color: var(--teal);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  border-right: 2px solid var(--teal);
  align-items: center;
  justify-content: center;
  text-align: center;
}
.schedule-matrix .class {
  background: var(--cream);
  cursor: default;
  transition: background 0.15s;
}
.schedule-matrix .class:hover { background: rgba(245, 197, 24, 0.4); }
.schedule-matrix .class .name {
  font-family: var(--display);
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--teal);
}
.schedule-matrix .class .meta {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.schedule-matrix .empty {
  background: repeating-linear-gradient(45deg, var(--cream) 0 8px, #f0ecd8 8px 16px);
  opacity: 0.5;
}
.schedule-hint {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 12px;
  display: none;
}
@media (max-width: 880px) {
  .schedule-hint { display: block; }
}

/* ===== CONTATO — first-fold form layout ===== */
.contact-hero {
  background: var(--yellow);
  border-bottom: 2px solid var(--teal);
  padding: clamp(40px, 5vw, 64px) 0 clamp(48px, 6vw, 80px);
}
.contact-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-hero h1 {
  font-family: var(--display);
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--teal);
  margin: 20px 0 20px;
  text-wrap: balance;
}
.contact-hero .lede { color: var(--teal-deep); max-width: 38ch; }
.contact-form-card {
  background: var(--cream);
  border: 2px solid var(--teal);
  padding: clamp(28px, 3vw, 40px);
}
.contact-form-card h2 {
  font-family: var(--display);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.05;
  color: var(--teal);
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}
@media (max-width: 880px) {
  .contact-hero-grid { grid-template-columns: 1fr; }
}

/* ===== GOOGLE MAPS embed ===== */
.maps-embed {
  width: 100%;
  height: clamp(320px, 50vh, 520px);
  border: 2px solid var(--teal);
  display: block;
}
