:root {
  --ink: #0b0b0d;
  --ink-soft: #232326;
  --paper: #f6f4f1;
  --white: #ffffff;
  --red: #ff2f4f;
  --red-deep: #db1636;
  --lime: #d8ff51;
  --line: rgba(11, 11, 13, .14);
  --radius-lg: 32px;
  --radius-md: 22px;
  --shadow: 0 28px 70px rgba(20, 11, 13, .16);
}

.story-reviews { background: var(--white); }
.story-card { max-width: 900px; margin: 0 auto 80px; }
.story-reviews h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.05em; }
.story-lead { font-size: 1.35rem; color: var(--red-deep); font-weight: 750; }
.reviews-block { max-width: 1340px; margin: auto; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 32px 0; }
.review-grid figure { margin: 0; padding: 28px; border-radius: 22px; background: var(--paper); }
.review-grid blockquote { margin: 0 0 22px; font-size: 1.25rem; font-weight: 750; }
.review-grid figcaption, .reviews-note { font-size: .8rem; color: #66656a; }
.reviews-note { max-width: 850px; margin-top: 18px; }
@media (max-width: 760px) { .review-grid { grid-template-columns: 1fr; } }

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: radial-gradient(rgba(11,11,13,.045) .7px, transparent .7px);
  background-size: 7px 7px;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.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;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: 10px 14px;
  color: white;
  background: var(--ink);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 88px;
  padding: 12px clamp(22px, 5vw, 72px);
  background: rgba(246, 244, 241, .9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: min-height .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  min-height: 72px;
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(15, 8, 10, .06);
}

.brand { width: 116px; }
.brand img { width: 100%; }

.main-nav {
  justify-self: center;
  display: flex;
  gap: clamp(26px, 4vw, 56px);
}

.main-nav a {
  position: relative;
  text-decoration: none;
  font-size: .83rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--red);
  transition: right .2s ease;
}

.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }

.menu-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 24px;
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 14px 28px rgba(255, 47, 79, .24);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.button:hover, .button:focus-visible {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 17px 32px rgba(255, 47, 79, .32);
}

.button--small { min-height: 46px; padding: 10px 21px; font-size: .9rem; }
.button--wide { width: 100%; justify-content: space-between; padding-inline: 22px; }
.button--secondary { color: var(--ink); background: transparent; border-color: var(--ink); box-shadow: none; }
.button--secondary:hover, .button--secondary:focus-visible { color: var(--white); background: var(--ink); box-shadow: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
  min-height: calc(100vh - 88px);
  max-width: 1540px;
  margin: 0 auto;
  padding: clamp(58px, 8vw, 120px) clamp(22px, 6vw, 96px);
  overflow: hidden;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--red);
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: currentColor;
}

.eyebrow--light { color: #ff8295; }

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3.65rem, 7vw, 7.2rem);
  line-height: .86;
  letter-spacing: -.075em;
  font-weight: 950;
}

h1 em {
  display: block;
  color: var(--red);
  font-weight: 600;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: #414044;
  font-size: clamp(1.03rem, 1.5vw, 1.25rem);
}

.hero__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--ink);
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
}

.trust-list {
  display: flex;
  gap: clamp(22px, 4vw, 46px);
  margin: clamp(44px, 7vw, 84px) 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li { display: grid; gap: 2px; }
.trust-list strong { font-size: 1.5rem; line-height: 1; }
.trust-list span { color: #68676b; font-size: .78rem; }

.hero__visual {
  position: relative;
  min-height: min(690px, 74vh);
}

.hero__visual::before {
  content: "";
  position: absolute;
  width: 54%;
  aspect-ratio: 1;
  right: -12%;
  top: -8%;
  border-radius: 50%;
  background: var(--red);
  opacity: .12;
}

.hero__photo {
  position: absolute;
  inset: 0 9% 0 0;
  border-radius: var(--radius-lg);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.hero__photo--main {
  background-image: linear-gradient(180deg, transparent 52%, rgba(0,0,0,.35)), url("./assets/hero-academia-roller.jpg");
  background-position: center 34%;
}

.hero__note {
  position: absolute;
  left: -46px;
  bottom: 42px;
  display: flex;
  gap: 14px;
  align-items: center;
  width: min(330px, 76%);
  padding: 18px 20px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero__note p { margin: 0; font-size: .88rem; }
.hero__note-icon { display: grid; place-items: center; flex: 0 0 40px; height: 40px; color: var(--white); background: var(--red); border-radius: 50%; font-weight: 900; }

.hero__badge {
  position: absolute;
  right: -2px;
  top: 46px;
  padding: 18px 14px;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 50%;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: .74rem;
  line-height: 1.2;
  transform: rotate(8deg);
}

.hero__badge strong { text-transform: uppercase; font-size: .66rem; }

.section { padding: clamp(82px, 10vw, 150px) clamp(22px, 6vw, 96px); }

.programs {
  background: var(--white);
  border-radius: 48px 48px 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .48fr);
  gap: 50px;
  align-items: end;
  max-width: 1340px;
  margin: 0 auto 52px;
}

.section-heading h2, .finder h2 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 5.2vw, 5.6rem);
  line-height: .94;
  letter-spacing: -.06em;
}

.section-heading > p { color: #66656a; margin-bottom: 7px; }

.program-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1340px;
  margin: 0 auto 24px;
  border-bottom: 1px solid var(--line);
}

.program-tabs button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 20px 14px;
  color: #79787c;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 850;
}

.program-tabs button span { font-size: .68rem; letter-spacing: .08em; }
.program-tabs button::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 4px; background: var(--red); transition: right .25s ease; }
.program-tabs button[aria-selected="true"] { color: var(--ink); }
.program-tabs button[aria-selected="true"]::after { right: 0; }

.program-panel {
  display: grid;
  grid-template-columns: minmax(380px, 1fr) minmax(390px, .85fr);
  min-height: 550px;
  max-width: 1340px;
  margin: 0 auto;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.program-panel[hidden] { display: none; }
.program-panel__image { min-height: 420px; background-size: cover; background-position: center; }
.program-panel__image--classes { background-image: linear-gradient(90deg, transparent 55%, rgba(11,11,13,.12)), url("./assets/clases-adultos.jpg"); background-position: center 35%; }
.program-panel__image--school { background-image: linear-gradient(90deg, transparent 55%, rgba(11,11,13,.12)), url("./assets/extraescolares-ninos.jpg"); background-position: center 35%; }
.program-panel__image--camp { background-image: linear-gradient(90deg, transparent 55%, rgba(11,11,13,.12)), url("./assets/campamento-grupo.jpg"); background-position: center 28%; }

.program-panel__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 6vw, 80px);
}

.program-panel__label { color: #ff8396; font-size: .74rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.program-panel h3 { margin-bottom: 18px; font-size: clamp(2.3rem, 4vw, 4.3rem); line-height: .96; letter-spacing: -.055em; }
.program-panel__content > p:not(.program-panel__label) { color: #c7c4c5; }
.program-panel .text-link { align-self: flex-start; margin-top: 22px; color: var(--white); border-color: var(--red); }

.check-list { display: grid; gap: 11px; padding: 0; margin: 18px 0 0; list-style: none; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; }
.check-list li::before { content: "✓"; color: var(--red); font-weight: 950; }

.finder {
  display: grid;
  grid-template-columns: minmax(300px, .76fr) minmax(500px, 1.24fr);
  gap: clamp(48px, 9vw, 130px);
  align-items: start;
  color: var(--white);
  background: var(--ink);
}

.finder__intro { position: sticky; top: 130px; }
.finder__intro > p:last-child { max-width: 520px; margin-top: 28px; color: #bbb8ba; font-size: 1.05rem; }

.finder-card { padding: clamp(24px, 4vw, 46px); color: var(--ink); background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.finder-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.finder-controls label > span { display: block; margin-bottom: 8px; color: #5d5b5f; font-size: .74rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }

select {
  width: 100%;
  min-height: 54px;
  padding: 0 42px 0 16px;
  color: var(--ink);
  background: #f3f1ef;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 750;
  cursor: pointer;
}

select:focus { outline: 3px solid rgba(255,47,79,.17); border-color: var(--red); }
.result { padding-top: 28px; }
.result__topline { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 21px; }
.result__tag { display: inline-flex; padding: 7px 10px; color: var(--red-deep); background: #fff0f3; border-radius: 7px; font-size: .7rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.result__status { color: #5b5a5e; font-size: .76rem; }
.result__status i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; background: #20b15a; border-radius: 50%; }
.result h3 { margin-bottom: 26px; font-size: clamp(2rem, 3.3vw, 3.2rem); line-height: 1; letter-spacing: -.045em; }
.result__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.result__grid > div { padding: 16px; background: #f3f1ef; border-radius: 14px; }
.result__grid span { display: block; margin-bottom: 6px; color: #6d6b6e; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.result__grid strong { display: block; white-space: pre-line; font-size: .92rem; line-height: 1.35; }
.result__note { min-height: 52px; margin: 20px 0; color: #59575b; font-size: .9rem; }
.result__actions { display: grid; gap: 10px; }
.fine-print { margin: 13px 5px 0; color: #777579; font-size: .72rem; text-align: center; }

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr .8fr auto;
  gap: 40px;
  align-items: end;
  padding: 52px clamp(22px, 6vw, 96px);
  background: #050506;
  color: #aaa7a9;
  border-top: 1px solid #2a282a;
}

.site-footer img { width: 126px; padding: 7px; margin-bottom: 14px; background: var(--white); border-radius: 8px; }
.site-footer p { margin-bottom: 0; max-width: 410px; font-size: .84rem; }
.footer-contact { display: grid; gap: 8px; }
.footer-contact a { color: var(--white); text-decoration: none; font-weight: 750; }
.footer-meta { justify-self: end; }

.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  color: #062914;
  background: #50db78;
  border: 1px solid #1e9e4d;
  border-radius: 999px;
  box-shadow: 0 16px 38px rgba(0,0,0,.22);
  text-decoration: none;
  font-weight: 900;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .site-header { grid-template-columns: auto auto 1fr; }
  .main-nav { justify-self: end; }
  .header-cta { display: none; }
  .hero { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero__note { left: -20px; }
  .finder { grid-template-columns: 1fr; }
  .finder__intro { position: static; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 74px; }
  .site-header { min-height: 72px; padding: 10px 20px; grid-template-columns: 1fr auto; }
  .brand { width: 91px; }
  .menu-toggle { display: grid; gap: 5px; width: 44px; height: 44px; place-content: center; background: var(--ink); border: 0; border-radius: 50%; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { display: block; width: 18px; height: 2px; background: var(--white); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: absolute; inset: 72px 14px auto; display: none; padding: 24px; background: var(--ink); border-radius: 18px; box-shadow: var(--shadow); }
  .main-nav.is-open { display: grid; gap: 22px; }
  .main-nav a { color: var(--white); }

  .hero { grid-template-columns: minmax(0, 1fr); min-height: auto; gap: 34px; padding: 48px 20px 64px; }
  .hero__copy, .hero__visual { min-width: 0; }
  h1 { font-size: clamp(2.85rem, 13vw, 4.6rem); }
  .hero__lead { font-size: 1rem; }
  .hero__actions { gap: 18px; }
  .hero__actions .button { width: 100%; }
  .trust-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 38px; }
  .trust-list li { min-width: 0; }
  .trust-list strong { font-size: clamp(1rem, 5vw, 1.35rem); }
  .trust-list span { font-size: .67rem; line-height: 1.3; }
  .hero__visual { min-height: clamp(290px, 90vw, 390px); margin: 0 0 0 12px; }
  .hero__photo { right: 0; }
  .hero__note { left: -12px; bottom: 14px; width: min(310px, 90%); padding: 14px 16px; }
  .hero__badge { right: -4px; top: 14px; }

  .section { padding: 78px 20px; }
  .programs { border-radius: 30px 30px 0 0; }
  .section-heading { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 30px; }
  .section-heading h2, .finder h2 { font-size: clamp(2.35rem, 11vw, 3.4rem); }
  .program-tabs { overflow: visible; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .program-tabs button { min-width: 0; gap: 5px; padding: 14px 4px; font-size: clamp(.73rem, 3.4vw, .88rem); }
  .program-tabs button span { display: none; }
  .program-panel { grid-template-columns: minmax(0, 1fr); min-width: 0; min-height: 0; }
  .program-panel__image { min-height: clamp(220px, 68vw, 300px); }
  .program-panel__content { min-width: 0; padding: 30px 22px 34px; }
  .program-panel h3 { font-size: clamp(2rem, 9vw, 3rem); }
  .camp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: clamp(220px, 68vw, 290px) repeat(2, clamp(125px, 40vw, 170px)); padding: 0 16px 16px; gap: 8px; }
  .camp-gallery figure:first-child { grid-column: 1 / -1; grid-row: auto; }
  .finder { gap: 38px; }
  .finder-card { min-width: 0; padding: 18px; border-radius: 22px; }
  .finder-controls { grid-template-columns: 1fr; }
  .result__grid { grid-template-columns: 1fr; }
  .result__note { min-height: 0; }

  .site-footer { grid-template-columns: 1fr; align-items: start; gap: 26px; padding-bottom: 100px; }
  .footer-meta { justify-self: start; }
  .whatsapp-fab { right: 14px; bottom: 14px; }
}

@media (max-width: 400px) {
  .site-header { padding-inline: 16px; }
  .hero { padding-inline: 18px; }
  .hero__actions .button { padding-inline: 16px; font-size: .92rem; }
  .section { padding-inline: 16px; }
  .program-tabs button { font-size: .72rem; }
  .result__topline { align-items: flex-start; flex-direction: column; gap: 10px; }
  .result__grid > div { padding: 14px; }
  .camp-gallery { grid-template-rows: 220px repeat(2, 132px); }
}

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

.osmal-gallery { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin:32px 0; }
.osmal-gallery figure { margin:0; min-width:0; }
.osmal-gallery img { display:block; width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; border-radius:22px; }
.osmal-gallery figcaption { margin-top:10px; font-size:.9rem; color:#66656a; }
@media(max-width:600px) { .osmal-gallery { grid-template-columns:1fr; gap:24px; } }

/* Requested menu and review additions. */
.main-nav { gap:clamp(14px,1.7vw,26px); }
.main-nav a { letter-spacing:.05em; }
.school-list { margin:24px 0; }
.school-list h4 { margin:0 0 12px; }
.school-list ul { padding-left:20px; columns:2; column-gap:28px; }
.school-list li { break-inside:avoid; margin-bottom:8px; }
.google-review-card { display:block; width:280px; max-width:100%; padding:28px 22px; margin:30px 0; text-align:center; text-decoration:none; background:#fff; color:#222; border-radius:12px; box-shadow:0 5px 24px #0002; }
.google-review-card__count { font-size:3rem; font-weight:800; line-height:1.1; }
.google-review-card__stars { color:#f5ad25; font-size:1.8rem; letter-spacing:3px; margin:14px 0; }
.google-review-card__labels { display:flex; justify-content:space-between; gap:16px; font-size:.85rem; }
.google-review-card__link { display:block; font-size:.85rem; margin-top:18px; color:var(--red-deep); }
@media(min-width:761px) and (max-width:1200px) { .site-header { padding-left:22px; padding-right:22px; gap:18px; } .main-nav a { font-size:.72rem; } }
@media(max-width:760px) { .school-list ul { columns:1; } }

.google-review-card { width:300px; padding:30px 18px; border:1px solid #111; border-radius:20px; box-shadow:none; min-height:250px; display:flex; flex-direction:column; justify-content:center; }
.google-review-card__people { display:flex; align-items:center; justify-content:center; }
.google-review-card__people img { width:50px; height:50px; border:2px solid #fff; border-radius:50%; object-fit:cover; }
.google-review-card__people img + img { margin-left:-12px; }
.google-review-card__count { display:inline-flex; align-items:center; justify-content:center; width:50px; height:50px; margin-left:-12px; border:2px solid white; border-radius:50%; background:#111; color:white; font-size:16px; }
.google-review-card__stars { font-size:22px; letter-spacing:6px; color:#ffbd21; }
.google-review-card__labels { align-items:center; justify-content:center; font-size:13px; }
.google-review-card__labels strong:last-child { border:1px solid black; border-radius:50px; padding:5px 8px; }

#panel-campamentos > .program-panel__content { grid-column:1 / -1; }
.camp-gallery { grid-column:1 / -1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:repeat(2,240px); gap:12px; padding:0 32px 32px; }
.camp-gallery figure { margin:0; min-width:0; min-height:0; overflow:hidden; border-radius:16px; }
.camp-gallery figure:first-child { grid-row:span 2; }
.camp-gallery img { display:block; width:100%; height:100%; object-fit:cover; }
@media(max-width:760px) { .camp-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:340px 220px 220px; padding:0 24px 24px; gap:10px; } .camp-gallery figure:first-child { grid-column:1 / -1; grid-row:auto; } .camp-gallery figure:first-child img { object-position:center 45%; } }
@media(max-width:480px) { .camp-gallery { grid-template-rows:360px 180px 180px; } }
