/* ==========================================================
   Encanto: landing page
   Tokens come from the "Encanto" design system (Claude Design).
   The brand is light-only (sky ground, paper flyers), so the
   page locks a single light theme on purpose.
   ========================================================== */

:root {
  color-scheme: light;

  /* Grounds */
  --sky-100: #cde1e8;
  --sky-200: #b8d6e1;
  --sky-logo: #9edbf7;
  --card: #faf8f9;
  --paper: #ffffff;
  --cream-100: #fefdea;
  --cream-200: #f3f0e7;
  --mint: #ddfdfc;

  /* Ink */
  --ink: #111111;
  --ink-slate: #22414a;
  --ink-brown: #3b2a20;
  --ink-olive: #2b291f;
  --navy: #1f3a8c;
  --navy-deep: #172c6b;
  --pin: #3d4a70;

  /* Logo hues (decoration only) */
  --voice-pink: #dd466f;
  --voice-orange: #f1aa3e;
  --voice-blue: #4292f1;
  --mask-gold: #fae453;
  --clef-green: #70a675;

  /* Tags, pills, boxes */
  --tag-pink: #e18093;
  --tag-orange: #ebb06c;
  --flyer-orange: #ecae49;
  --lime: #d3e59b;
  --clip-blue: #889dbf;
  --peach: #f3b785;
  --pill-yellow: #fade70;
  --pill-lime: #cdfd85;
  --pill-sky: #ace0f8;
  --icon-amber: #dea953;
  --focus-ring: var(--navy);

  /* Type */
  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-sans: "Nunito", system-ui, sans-serif;
  --font-hand: "Mali", "Nunito", system-ui, sans-serif;

  /* Space */
  --space-1: 4px;
  --space-2: 8px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --section-y: clamp(72px, 10vw, 128px);

  /* Shape: tags/bars 8px, cards 16px (24px for large panels), interactive = pill */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadow tinted to the sky ground */
  --shadow-soft: 0 10px 30px -12px rgb(34 65 74 / 0.28);
  --shadow-lift: 0 22px 40px -18px rgb(34 65 74 / 0.38);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sky-100);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
a { color: var(--navy); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--card); padding: 10px 16px; border-radius: var(--radius-pill);
  font-weight: 800; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-pill);
  font-family: var(--font-sans); font-weight: 800; font-size: 16px; line-height: 1.2;
  text-decoration: none; white-space: nowrap; border: 2px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease-spring), background-color .25s, box-shadow .35s var(--ease-out), color .25s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn i { font-size: 1.15em; transition: transform .35s var(--ease-spring); }
.btn-primary { background: var(--navy); color: var(--card); box-shadow: 0 8px 20px -10px rgb(31 58 140 / .7); }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgb(31 58 140 / .75); }
.btn-primary:hover i.ph-arrow-right { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: rgb(31 58 140 / .08); transform: translateY(-2px); }
.btn-lg { padding: 15px 28px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- Tags (TitleTag from the design system) ---------- */
.tag {
  position: relative; display: inline-block;
  padding: 8px 20px; border-radius: var(--radius-sm);
  background: var(--tag-pink); color: var(--ink);
  font-family: var(--font-display); font-weight: 500; font-size: 17px; line-height: 1.3;
  text-transform: uppercase; letter-spacing: .02em;
}
.tag::before {
  content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px;
  border-radius: var(--radius-pill); background: var(--pin);
  box-shadow: 0 2px 0 rgb(0 0 0 / .15);
}
.tag--orange { background: var(--tag-orange); }
.tag--pink { background: var(--tag-pink); }

.pill {
  display: inline-flex; align-items: center; padding: 8px 18px; border-radius: var(--radius-pill);
  font-family: var(--font-hand); font-weight: 600; font-size: 16px; color: var(--ink-brown);
}
.pill--sky { background: var(--pill-sky); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled {
  background: rgb(205 225 232 / .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgb(34 65 74 / .12);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; padding: 4px 0; }
.brand img { width: 104px; height: auto; opacity: .9; transition: opacity .25s, transform .4s var(--ease-spring); }
.brand:hover img { opacity: 1; transform: rotate(-3deg); }
.nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.nav-list a:not(.btn) {
  display: inline-block; padding: 8px 14px; border-radius: var(--radius-pill);
  color: var(--ink-slate); font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s;
}
.nav-list a:not(.btn):hover { background: rgb(255 255 255 / .55); color: var(--navy); }
.nav-cta-mobile { display: none; }
.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: var(--radius-pill);
  border: 0; background: var(--card); color: var(--navy); font-size: 24px; cursor: pointer;
  align-items: center; justify-content: center; box-shadow: var(--shadow-soft);
}

@media (max-width: 860px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; inset: var(--header-h) 12px auto 12px; margin: 0; pointer-events: none; }
  .nav-list {
    flex-direction: column; gap: 4px; padding: 12px; border-radius: var(--radius-lg);
    background: var(--card); box-shadow: var(--shadow-lift);
    opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top right;
    transition: opacity .25s, transform .35s var(--ease-out);
  }
  .nav-list a:not(.btn) { display: block; padding: 12px 16px; font-size: 18px; }
  .nav-cta-mobile { display: block; margin-top: 6px; }
  .nav-cta-mobile .btn { width: 100%; }
  .site-header.is-open .nav { pointer-events: auto; }
  .site-header.is-open .nav-list { opacity: 1; transform: none; }
  .site-header.is-open { background: rgb(205 225 232 / .95); }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: 24px 72px; }
.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center;
  min-height: calc(100dvh - var(--header-h) - 96px);
}
.hero-copy { position: relative; z-index: 2; }
.hero-h1 { margin: 0; font: inherit; }
.hero-title {
  display: block;
  margin-top: 28px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(46px, 8.4vw, 92px); line-height: 1.02; letter-spacing: -0.02em; color: var(--navy);
}
.hero-title .hl { position: relative; display: inline-block; color: var(--voice-pink); }
.hero-title .hl::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: .04em; height: .16em; z-index: -1;
  background: var(--mask-gold); border-radius: var(--radius-pill);
  transform-origin: left; transform: scaleX(0);
  animation: underline 0.9s var(--ease-out) .9s forwards;
}
.hero-sub { margin-top: 20px; max-width: 34ch; font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--ink-slate); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-art { position: relative; aspect-ratio: 1 / 0.92; width: 100%; max-width: 620px; margin-inline: auto; }
.hero-glow {
  position: absolute; inset: 6% 4%;
  background: radial-gradient(closest-side, rgb(255 255 255 / .9), rgb(158 219 247 / .55) 60%, transparent);
  filter: blur(8px);
}
.hero-logo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
  animation: logo-in 1.1s var(--ease-out) .15s both, bob 7s ease-in-out 1.3s infinite;
}
.float-pill {
  position: absolute; z-index: 2; padding: 10px 20px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(15px, 1.6vw, 19px);
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
  box-shadow: var(--shadow-soft);
  animation: pop-in .7s var(--ease-spring) calc(.7s + var(--d) * .25) both, drift 6s ease-in-out var(--d) infinite;
}
.float-pill--lime { background: var(--pill-lime); top: 4%; left: 2%; }
.float-pill--yellow { background: var(--pill-yellow); bottom: 10%; left: 6%; }
.float-pill--sky { background: var(--pill-sky); top: 16%; right: 0; }
.note { position: absolute; z-index: 1; animation: drift 5.5s ease-in-out infinite; }
.note--1 { color: var(--tag-orange); font-size: 56px; bottom: 2%; right: 12%; animation-delay: .4s; }
.note--2 { color: var(--voice-blue); font-size: 40px; top: 0; left: 44%; animation-delay: 1.1s; }
.note--3 { color: var(--mask-gold); font-size: 34px; bottom: 26%; right: 2%; animation-delay: 2s; }
.note--4 { color: var(--voice-pink); font-size: 30px; top: 44%; left: -2%; animation-delay: 2.6s; }

.hero-in { animation: rise .9s var(--ease-out) calc(var(--i) * 110ms + 100ms) both; }

@media (min-width: 960px) {
  .hero { padding-block: 16px 88px; }
  .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 32px; }
}
@media (max-width: 959px) {
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-grid { min-height: 0; }
  .hero-art { max-width: 460px; }
}
@media (max-width: 420px) {
  .hero-ctas .btn { width: 100%; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; background: var(--navy); color: var(--card);
  padding-block: 18px; transform: rotate(-1.2deg) scaleX(1.02);
  box-shadow: var(--shadow-soft);
}
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.marquee span { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 3vw, 32px); white-space: nowrap; }
.marquee i { font-size: 22px; color: var(--mask-gold); }
.marquee i.ph-music-note { color: var(--pill-sky); }

/* ---------- Section scaffolding ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title {
  font-family: var(--font-display); font-weight: 700; color: var(--navy);
  font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -0.015em;
}
.section-lead { margin-top: 16px; font-size: 19px; color: var(--ink-slate); max-width: 55ch; }

/* ---------- Talleres bento ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.cell {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 8px; color: var(--ink);
  border: 1.5px solid rgb(34 65 74 / .18);
  transition: transform .45s var(--ease-spring), box-shadow .45s var(--ease-out);
}
.cell:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow-lift); }
.cell-icon { width: 64px; height: 64px; object-fit: contain; margin-bottom: 8px; transition: transform .5s var(--ease-spring); }
.cell:hover .cell-icon { transform: rotate(-10deg) scale(1.1); }
.cell-title { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.1; }
.cell-aud { font-weight: 800; color: var(--ink-slate); }
.cell-text { margin-top: 4px; max-width: 46ch; }
.cell-when {
  margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 15px;
}
.cell-when i { font-size: 18px; }
.cell-who { font-family: var(--font-hand); font-weight: 600; color: var(--ink-brown); }

.cell--a { background: var(--pill-yellow); }
.cell--a .cell-icon { width: 104px; height: 104px; }
.cell--a .cell-title { font-size: clamp(32px, 3.6vw, 44px); }
.cell--a::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: rgb(255 255 255 / .35);
}
.cell--b { background: var(--pill-lime); }
.cell--c { background: var(--card); }
.cell--d { background: var(--sky-200); }
.cell--d .cell-icon { width: 88px; height: 88px; }
.cell--d .cell-title { font-size: clamp(30px, 3.2vw, 40px); }
.cell--e { background: var(--mint); }
.cell--e > div { display: flex; flex-direction: column; gap: 8px; }

@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell--a { grid-column: span 2; }
  .cell--d { grid-column: span 2; }
  .cell--e { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(210px, auto); }
  .cell--a { grid-column: 1 / span 3; grid-row: 1 / span 2; padding: 40px; }
  .cell--b { grid-column: 4 / span 3; }
  .cell--c { grid-column: 4 / span 3; }
  .cell--d { grid-column: 1 / span 3; padding: 36px; }
  .cell--e { grid-column: 4 / span 3; flex-direction: row; align-items: center; gap: 28px; padding: 32px 40px; }
  .cell--e .cell-icon { width: 96px; height: 96px; flex: none; }
}

/* ---------- Story cards ---------- */
.stories { overflow: hidden; }
.stories .section-head { margin-bottom: 72px; }
.story-row { display: grid; grid-template-columns: 1fr; gap: 56px; max-width: 1080px; margin-inline: auto; }
.story {
  position: relative; background: var(--card); border-radius: var(--radius-md);
  padding: 48px 28px 28px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  box-shadow: var(--shadow-soft);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease-out);
}
.story:hover { transform: rotate(0deg) translateY(-6px); box-shadow: var(--shadow-lift); }
.story > .tag { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; font-size: 16px; }
.story p { font-family: var(--font-hand); font-weight: 600; font-size: 19px; line-height: 1.5; max-width: 30ch; }
.story-ilus { width: auto; height: 190px; margin-top: auto; border-radius: var(--radius-sm); }
.story-list { list-style: none; margin: auto 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.story-list li {
  display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 8px;
  border-radius: var(--radius-pill); background: var(--sky-100); font-weight: 800; font-size: 14px; color: var(--ink-slate);
}
.story-list i { font-size: 18px; color: var(--voice-pink); }
.story-list li:nth-child(2) i { color: var(--voice-blue); }
.story-list li:nth-child(3) i { color: var(--voice-pink); }
.story-list li:nth-child(4) i { color: var(--icon-amber); }

@media (min-width: 900px) {
  .story-row { grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
  .story--up { margin-top: -28px; }
  .story:nth-child(1), .story:nth-child(3) { margin-top: 28px; }
}

/* ---------- Espacio (photo + text) ---------- */
.espacio { background: var(--cream-200); }
.espacio::before {
  /* wavy top edge where the sky meets the cream panel */
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 48px; background: var(--sky-100);
  -webkit-mask: radial-gradient(40px 26px at 50% 0, #000 98%, transparent) 0 0 / 80px 48px repeat-x;
          mask: radial-gradient(40px 26px at 50% 0, #000 98%, transparent) 0 0 / 80px 48px repeat-x;
}
.espacio-grid { display: grid; gap: 40px; align-items: center; }
/* Photo collage: real class photos as pinned polaroids */
.photo {
  margin: 0; position: relative; background: var(--paper); padding: 8px; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift); transform: rotate(var(--tilt, 0deg));
  transition: transform .5s var(--ease-spring);
}
.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.photo:hover { transform: rotate(0deg) scale(1.02); z-index: 2; }
.photo::before {
  content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; z-index: 1;
  border-radius: var(--radius-pill); background: var(--pin); box-shadow: 0 2px 0 rgb(0 0 0 / .15);
}
.collage { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.photo--main { grid-column: 1 / -1; aspect-ratio: 1179 / 960; --tilt: -1.2deg; }
.photo--a { grid-column: 1 / span 3; aspect-ratio: 990 / 850; --tilt: 2deg; margin-top: -24px; }
.photo--b { grid-column: 4 / span 3; aspect-ratio: 1000 / 680; --tilt: -2.4deg; align-self: start; }
.photo--faq { max-width: 320px; margin-top: 28px; aspect-ratio: 710 / 596; --tilt: 2.5deg; }
.photo--faq::after {
  content: ""; position: absolute; width: 64px; height: 64px; left: -18px; bottom: -18px; border-radius: 50%;
  background: var(--sky-logo) url("assets/icons/masks.png") center / 60% no-repeat; box-shadow: var(--shadow-soft);
}
@media (min-width: 900px) {
  .collage { grid-template-rows: auto auto; }
  .photo--main { grid-column: 1 / span 5; }
  .photo--a { grid-column: 1 / span 3; margin-top: -48px; margin-left: -12px; }
  .photo--b { grid-column: 4 / span 3; margin-top: -90px; }
}
.hand-title { font-family: var(--font-hand); font-weight: 600; color: var(--ink-brown); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.25; }
.espacio-copy p { margin-top: 18px; color: var(--ink-brown); font-size: 18px; max-width: 48ch; }
.espacio-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

@media (min-width: 900px) {
  .espacio-grid { grid-template-columns: 1.2fr 1fr; gap: 72px; }
}

/* ---------- Horarios ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: -16px 0 32px; }
.chip {
  padding: 10px 20px; border-radius: var(--radius-pill); border: 2px solid var(--ink-slate);
  background: transparent; color: var(--ink-slate); font: 800 15px/1 var(--font-sans); cursor: pointer;
  transition: background-color .25s, color .25s, transform .35s var(--ease-spring);
}
.chip:hover { transform: translateY(-2px); background: rgb(255 255 255 / .5); }
.chip.is-active { background: var(--ink-slate); color: var(--card); }

.week { display: grid; gap: 16px; grid-template-columns: 1fr; }
.day {
  background: var(--cream-200); border-radius: var(--radius-lg); padding: 24px 0 24px 24px;
  display: flex; flex-direction: column; gap: 14px; color: var(--ink-brown);
}
.day-name { font-family: var(--font-display); font-weight: 700; font-size: 26px; text-transform: uppercase; letter-spacing: .05em; padding-right: 24px; }
.slot {
  background: var(--pill-sky); border-radius: var(--radius-md) 0 0 var(--radius-md); padding: 16px 20px;
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), filter .35s;
}
.slot[data-kind="teatro"] { background: var(--pill-yellow); }
.slot[data-kind="canto"] { background: var(--pill-lime); }
.slot[data-kind="folclore"] { background: var(--pill-sky); }
.slot-time { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; }
.slot-time i { color: var(--ink-brown); font-size: 17px; }
.slot-what { font-family: var(--font-hand); font-weight: 600; font-size: 21px; line-height: 1.3; margin-top: 4px; }
.slot-meta { font-size: 14px; font-weight: 700; color: var(--ink-slate); margin-top: 2px; }
.slot.is-dim { opacity: .28; transform: translateX(10px) scale(.98); filter: saturate(.3); }
.empty-note { margin-top: 24px; font-weight: 700; color: var(--ink-slate); }

@media (min-width: 800px) {
  .week { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .day:nth-child(2) { margin-top: 40px; }
}

/* ---------- Sedes (InfoBox) + profes ---------- */
.sedes { background: var(--paper); }
.sedes::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--flyer-orange);
}
.sedes-grid { display: grid; gap: 40px; }
.infobox { position: relative; background: var(--lime); border-radius: var(--radius-md); padding: 16px; }
.infobox::after {
  /* binder clip */
  content: ""; position: absolute; top: -14px; right: 28px; width: 64px; height: 16px;
  background: var(--clip-blue); border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.infobox::before {
  content: ""; position: absolute; top: -26px; right: 50px; width: 20px; height: 18px;
  border: 5px solid var(--clip-blue); border-bottom: 0; border-radius: 12px 12px 0 0;
}
.infobox-inner { background: var(--cream-100); color: var(--ink-olive); padding: 28px; display: flex; flex-direction: column; gap: 10px; height: 100%; }
.infobox h3 { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--ink-olive); }
.infobox-who { font-weight: 800; color: var(--ink-slate); margin-top: -6px; }
.infobox-inner p:not(.infobox-who) { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.infobox-inner p i { flex: none; font-size: 20px; margin-top: 3px; }
.infobox-inner .ph-map-pin { color: var(--voice-pink); }
.link-arrow {
  margin-top: 8px; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 800; color: var(--navy); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.link-arrow i { transition: transform .35s var(--ease-spring); }
.link-arrow:hover i { transform: translate(3px, -3px); }

.profes { margin-top: 16px; }
.profes-title { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--ink-slate); margin-bottom: 20px; }
.profes-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.profe { display: flex; align-items: center; gap: 14px; }
.profe strong { display: block; font-size: 18px; line-height: 1.2; }
.profe small { font-size: 15px; font-weight: 700; color: var(--ink-slate); }
.avatar {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink);
}
.avatar--pink { background: var(--tag-pink); }
.avatar--orange { background: var(--tag-orange); }
.avatar--blue { background: var(--pill-sky); }
.avatar--lime { background: var(--pill-lime); }

@media (min-width: 800px) {
  .sedes-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }
  .profes { margin-top: 0; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 32px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: var(--card); border-radius: var(--radius-md); padding: 0 24px;
  transition: box-shadow .3s var(--ease-out);
}
.faq-list details[open] { box-shadow: var(--shadow-soft); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sky-100); color: var(--navy); font-size: 18px; transition: transform .4s var(--ease-spring), background-color .3s;
}
.faq-list details[open] summary i { transform: rotate(45deg); background: var(--pill-yellow); }
.faq-list details p { padding-bottom: 22px; max-width: 60ch; color: var(--ink-slate); }
.faq-list details[open] p { animation: rise .45s var(--ease-out) both; }

@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
  .faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Inscripción ---------- */
.signup {
  background: var(--mint); border-radius: 32px; padding: 48px 20px 24px;
  display: grid; gap: 40px; position: relative; box-shadow: var(--shadow-soft);
}
.signup-copy > .tag { margin-bottom: 20px; }
.signup-copy > p { margin-top: 14px; color: var(--ink-slate); font-size: 18px; max-width: 42ch; }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.contact-list a {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: var(--radius-md);
  text-decoration: none; color: var(--ink); background: rgb(255 255 255 / .6);
  transition: background-color .25s, transform .35s var(--ease-spring);
}
.contact-list a:hover { background: var(--paper); transform: translateX(4px); }
.contact-list i {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--card); font-size: 22px;
}
.contact-list strong { display: block; font-size: 17px; line-height: 1.25; word-break: break-word; }
.contact-list small { font-size: 14px; font-weight: 700; color: var(--ink-slate); }

.form { background: var(--paper); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 600px) {
  .field-row { grid-template-columns: 1fr 120px; gap: 14px; align-items: start; }
}
.field label { font-weight: 800; font-size: 15px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: 600 16px/1.4 var(--font-sans); color: var(--ink);
  padding: 13px 16px; border-radius: 12px; border: 2px solid #8fa7ae; background: var(--card);
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-slate) 50%), linear-gradient(135deg, var(--ink-slate) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgb(31 58 140 / .2); }
.field-help { font-size: 13px; font-weight: 600; color: #4a5f66; }
.field-error { font-size: 14px; font-weight: 800; color: #b3123f; }
.field.has-error input, .field.has-error select { border-color: #b3123f; }

@media (min-width: 900px) {
  .signup { grid-template-columns: 1fr 1.05fr; padding: 64px; gap: 56px; align-items: start; }
  .form { padding: 32px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--sky-200); padding-top: 56px; color: var(--ink-slate); }
.footer-grid { display: grid; gap: 32px; align-items: center; }
.footer-brand img {
  width: 150px;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 66%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 66%, transparent 100%);
}
.footer-brand p { margin-top: 8px; font-weight: 700; max-width: 30ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { color: var(--ink-slate); font-weight: 800; text-decoration: none; }
.footer-nav a:hover { color: var(--navy); text-decoration: underline; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card); color: var(--navy); font-size: 22px; text-decoration: none;
  transition: transform .35s var(--ease-spring), background-color .25s;
}
.footer-social a:hover { transform: translateY(-3px) rotate(-6deg); background: var(--pill-yellow); }
.footer-bottom { padding-block: 28px; margin-top: 32px; border-top: 1px solid rgb(34 65 74 / .18); font-size: 14px; font-weight: 700; }
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.2fr 2fr auto; }
}

/* ---------- WhatsApp floating button ---------- */
.wa-fab {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--card); font-size: 32px; text-decoration: none;
  box-shadow: 0 14px 30px -10px rgb(31 58 140 / .8);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
  transition: opacity .35s, transform .5s var(--ease-spring), background-color .2s;
}
.wa-fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-fab:hover { background: var(--navy-deep); transform: scale(1.06); }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0; translate: 0 32px;
  transition: opacity .8s var(--ease-out), translate .9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }
.js .story[data-reveal] { rotate: calc(var(--tilt, 0deg) * -3); transition-property: opacity, translate, rotate; }
.js .story[data-reveal].is-in { rotate: 0deg; }

/* ---------- Keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes logo-in { from { opacity: 0; transform: scale(.86) rotate(-3deg); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes drift { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -12px; rotate: 6deg; } }
@keyframes underline { to { transform: scaleX(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; translate: none; rotate: none; }
  .marquee-track { animation: none; }
}
