/* =============================================================
   0. Brand font (logo typeface)
   ============================================================= */
@font-face {
  font-family: "Mr Sandsfort";
  src: url("assets/fonts/fonnts.com-Mr_Sandsfort.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --page-bg:   #e7eefb;

  --bg:        #ffffff;
  --bg-soft:   #e4ecfb;
  --bg-navy:   #060a16;
  --bg-navy-2: #0f1c3d;
  --card:      #ffffff;
  --card-line: #cddaf3;

  --ink:       #0b1220;
  --ink-2:     #33415c;
  --on-navy:   #f5f7fc;
  --on-navy-2: #c7d1e8;

  --blue-700:  #123a91;
  --blue-600:  #1d54c4;
  --blue-500:  #3a6dff;
  --blue-100:  #dbe6fc;

  --focus-ring: #1544a6;
  --line:      #cddaf3;

  --serif: "EB Garamond", "Georgia", serif;
  --sans:  "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.33, 1, 0.68, 1);

  --container: 1180px;
  --nav-h: 84px;
  --radius: 28px;
  --frame-margin: 16px;
  --panel-gap: 16px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

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

body {
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.15; font-family: var(--serif); font-weight: 500; }
ul { list-style: none; padding: 0; }
::selection { background: var(--blue-100); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =============================================================
   3. Shell + floating panels
   ============================================================= */
.shell {
  display: flex;
  flex-direction: column;
  gap: var(--panel-gap);
  max-width: 1400px;
  margin-inline: auto;
  padding: var(--frame-margin);
}
.shell > main {
  display: flex;
  flex-direction: column;
  gap: var(--panel-gap);
}

.panel {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 50px -30px rgba(11, 18, 32, 0.22);
}
.panel-soft { background: var(--bg-soft); }
.panel-navy { background: var(--bg-navy); color: var(--on-navy); }

/* =============================================================
   4. Utilities
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .9rem 1.3rem; background: var(--ink); color: #fff;
  z-index: 9999; border-radius: 8px; font-weight: 700; font-size: 1rem;
  transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans);
  font-size: .85rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue-700); font-weight: 700;
}
.kicker::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-600);
}
.kicker.on-navy { color: var(--on-navy-2); }
.kicker.on-navy::before { background: var(--blue-500); }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s var(--ease-smooth), transform 1s var(--ease-smooth);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition-duration: .01ms; transform: none; }
}

/* =============================================================
   5. Typography
   ============================================================= */
h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  letter-spacing: -0.005em;
}
h2 em { font-style: italic; color: var(--blue-700); }
.panel-navy h2 em { color: var(--blue-100); }

h3 { font-size: clamp(1.1rem, 2vw, 1.25rem); }

.section-head { max-width: 44rem; margin-inline: auto; text-align: center; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head p { margin-top: 1rem; color: var(--ink-2); font-size: 1.08rem; }
.section-head.align-left { margin-inline: 0; text-align: left; }
.section-head.align-left .kicker { justify-content: flex-start; }

.logotype { display: inline-flex; flex-direction: column; line-height: 1; }
.logotype .name { font-family: "Mr Sandsfort", var(--serif); font-style: normal; font-weight: 400; font-size: 2.1rem; }
.logotype .sub { font-family: var(--sans); font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; margin-top: .2rem; opacity: .75; }

/* =============================================================
   6. Components
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px;
  padding: .9rem 1.7rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--sans);
  transition: background-color .3s var(--ease-smooth), color .3s var(--ease-smooth), box-shadow .4s var(--ease-smooth), border-color .3s var(--ease-smooth), transform .35s var(--ease-smooth);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 6px 18px -6px rgba(29, 84, 196, 0.45); }
.btn-primary:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(29, 84, 196, 0.55); }
.btn-primary:active { transform: scale(.97); }
.btn-bright { background: var(--blue-500); color: #fff; box-shadow: 0 6px 18px -6px rgba(58, 109, 255, 0.5); }
.btn-bright:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(58, 109, 255, 0.6); }
.btn-bright:active { transform: scale(.97); }
.btn-on-navy { background: #fff; color: var(--bg-navy); }
.btn-on-navy:hover { background: var(--blue-100); transform: translateY(-2px); }
.btn-on-navy:active { transform: scale(.97); }
.btn-ghost-on-navy { background: transparent; border: 2px solid rgba(255,255,255,0.5); color: #fff; }
.btn-ghost-on-navy:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-ghost { background: transparent; border: 2px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue-600); background: var(--blue-100); }
.btn-icon svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* Nav */
.nav {
  position: sticky; top: var(--frame-margin); z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 1rem; }
.nav-links { display: none; align-items: center; gap: clamp(1rem, 1.8vw, 1.9rem); }
.nav-links a { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--ink-2); padding: .6rem .3rem; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); border-color: var(--blue-500); }
.nav-cta { display: none; }
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 6px;
  padding: .7rem; min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  width: 24px; height: 3px; background: var(--ink); border-radius: 2px;
  transform-origin: center;
  transition: transform .45s var(--ease-smooth), opacity .3s var(--ease-smooth);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--frame-margin) var(--frame-margin) auto var(--frame-margin); z-index: 99;
  top: calc(var(--frame-margin) + var(--nav-h) + var(--panel-gap));
  bottom: var(--frame-margin);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(11, 18, 32, 0.35);
  display: flex; flex-direction: column; gap: 1.6rem;
  padding: 2.2rem 1.5rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { font-family: var(--sans); font-weight: 700; font-size: 1.4rem; color: var(--ink); }
.mobile-menu a:not(.btn) { display: flex; align-items: center; min-height: 44px; }
.mobile-menu a.btn { font-size: 1rem; font-weight: 700; align-self: flex-start; margin-top: .5rem; }

/* Icon chip — flex centering: deterministic in every browser engine */
.icon-chip {
  width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  align-content: center;
  flex-wrap: nowrap;
  background: var(--blue-100); color: var(--blue-700);
  flex: none;
  padding: 0; line-height: 0;
  box-sizing: border-box;
}
.icon-chip svg {
  width: 22px; height: 22px;
  display: block; margin: 0; padding: 0;
  max-width: none; flex: none;
}
.icon-chip.deep { background: var(--bg-navy); color: var(--blue-100); }
.icon-chip.icon-emoji {
  font-size: 22px;
  line-height: 1;
}

/* Talleres: sección azul con tarjetas claras */
#talleres .section-head h2, #centro-dia .section-head h2 { color: #fff; }
#talleres .section-head p, #centro-dia .section-head p { color: var(--on-navy-2); }

/* Centro de Día / Talleres: sección azul con tarjetas claras */
.centro-dia-grid, .taller-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: 1fr;
}
.centro-dia-grid { margin-top: clamp(1.6rem, 4vw, 2.2rem); }
.centro-dia-card, .taller-card {
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: .9rem;
  transition: transform .45s var(--ease-smooth), border-color .35s var(--ease-smooth), box-shadow .45s var(--ease-smooth);
}
.centro-dia-card:hover, .taller-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-500);
  box-shadow: 0 18px 32px -18px rgba(6, 10, 22, 0.28);
}
.centro-dia-card .icon-chip, .taller-card .icon-chip { transition: transform .45s var(--ease-smooth); }
.centro-dia-card:hover .icon-chip, .taller-card:hover .icon-chip { transform: scale(1.08) rotate(-4deg); }
.centro-dia-card h3, .taller-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem; color: var(--ink); margin: 0;
}
.centro-dia-card p, .taller-card p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* Stat cards */
.stat-card {
  display: flex; align-items: center; gap: 1.1rem;
  background: #fff;
  border-radius: 18px;
  padding: 1.2rem 1.4rem;
  box-shadow: 0 18px 34px -22px rgba(6, 10, 22, 0.45);
  transition: opacity 1s var(--ease-smooth), transform .55s var(--ease-smooth), box-shadow .55s var(--ease-smooth);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 42px -20px rgba(6, 10, 22, 0.55);
}
.stat-card .icon-chip { width: 58px; height: 58px; border-radius: 16px; }
.stat-card .icon-chip svg { width: 30px; height: 30px; }
.stat-card b { display: block; font-family: var(--serif); font-style: italic; font-size: 1.45rem; color: var(--ink); }
.stat-card div span { display: block; font-size: .88rem; color: var(--ink-2); }

/* Feature (navy) panel */
.feature-light {
  position: relative;
  padding-block: clamp(3rem, 6vw, 4.5rem);
  background: var(--bg-soft);
}
.feature-glow {
  position: absolute; inset: -10% 10% auto auto; width: 55%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(58, 109, 255, 0.35), transparent 70%);
  pointer-events: none;
}
.feature-light .feature-glow { display: none; }
.feature-grid { display: grid; gap: 2.4rem; align-items: center; grid-template-columns: 1fr; position: relative; }
.feature-copy h2 { color: var(--ink); margin-top: .6rem; }
.feature-copy p { color: var(--ink-2); margin-top: 1.1rem; font-size: 1.05rem; max-width: 32rem; }
.feature-media { position: relative; }
.feature-media figure { border-radius: 24px; overflow: hidden; aspect-ratio: 4/3.2; border: 1px solid var(--card-line); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.stat-badge {
  position: absolute; left: -1rem; bottom: -1.2rem; z-index: 2;
  display: flex; align-items: center; gap: .9rem;
  background: #fff; border-radius: 16px; padding: .9rem 1.2rem;
  box-shadow: 0 18px 34px -18px rgba(2, 4, 10, 0.55);
}
.stat-badge .icon-chip { width: 54px; height: 54px; border-radius: 15px; }
.stat-badge .icon-chip svg { width: 28px; height: 28px; }
.stat-badge b { display: block; font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--ink); }
.stat-badge div span { display: block; font-size: .8rem; color: var(--ink-2); }
.feature-stats { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: clamp(2.6rem, 5vw, 3.6rem); position: relative; }

/* Gallery: uniform grid */
.gallery-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.gallery-item { display: flex; flex-direction: column; gap: .7rem; }
.gallery-item .photo-wrap {
  border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; background: var(--bg-soft);
  transition: transform .55s var(--ease-smooth), box-shadow .55s var(--ease-smooth);
}
.gallery-item .photo-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease-smooth);
}
.gallery-item:hover .photo-wrap {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px -18px rgba(6, 10, 22, 0.4);
}
.gallery-item:hover .photo-wrap img { transform: scale(1.05); }
.gallery-item figcaption { font-weight: 700; color: var(--ink); font-size: .98rem; padding-inline: .1rem; }
.gallery-item .photo-wrap.img-missing { display: flex; align-items: center; justify-content: center; }
.gallery-item .photo-wrap.img-missing::after {
  content: attr(data-fallback);
  text-align: center; padding: 1rem;
  font-family: var(--serif); font-style: italic; color: var(--blue-700); font-size: .95rem;
}
.gallery-item .photo-wrap.img-missing img { display: none; }

/* Nuestras redes (sección con grilla de Instagram curada) */
.redes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.redes-item {
  position: relative; display: block;
  aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden;
  background: var(--bg-soft);
  transition: transform .45s var(--ease-smooth), box-shadow .45s var(--ease-smooth);
}
.redes-item:hover { transform: translateY(-4px); box-shadow: 0 16px 28px -16px rgba(6, 10, 22, 0.35); }
.redes-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-smooth); }
.redes-item:hover img { transform: scale(1.06); }
.redes-icon {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(6, 10, 22, 0.55); color: #fff;
  backdrop-filter: blur(2px);
}
.redes-icon svg { width: 20px; height: 20px; }
.redes-item.img-missing img { display: none; }
.redes-item.img-missing::after {
  content: attr(data-fallback);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 1rem;
  font-family: var(--serif); font-style: italic;
  color: var(--blue-700); background: var(--blue-100); font-size: .9rem;
}
.redes-follow {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
  margin-top: clamp(1.6rem, 4vw, 2.2rem);
}

/* Info bands (static strips) */
.info-band {
  padding: 1rem 1.4rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.info-band.on-light { background: var(--bg-soft); }
.info-band.on-navy { background: var(--bg-navy); }
.info-list {
  display: flex; flex-wrap: wrap; gap: .9rem clamp(1.4rem, 4vw, 3rem);
  justify-content: center;
  margin-inline: auto;
}
.info-item {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-weight: 700; font-size: .95rem;
  color: var(--blue-700);
}
.info-band.on-navy .info-item { color: var(--on-navy); }
.info-item svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--blue-600); }
.info-band.on-navy .info-item svg { color: var(--blue-100); }

/* Closing CTA band (Contacto) */
.cta-band { padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-band h2 { color: #fff; }
.section-head .cta-sub { color: #fff; margin-top: 1rem; font-size: 1.05rem; max-width: 34rem; }
.cta-actions {
  display: flex; flex-direction: column; gap: 1.1rem;
  width: 100%;
  margin-top: clamp(1.4rem, 3vw, 2rem);
}
.cta-pill {
  display: flex; align-items: center; gap: 1.3rem;
  width: 100%;
  min-height: 88px;
  background: var(--bg-navy-2);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 1.2rem 2.4rem;
  transition: background-color .35s var(--ease-smooth), transform .45s var(--ease-smooth), border-color .35s var(--ease-smooth);
}
.cta-pill:hover { background: #1c2b4d; transform: translateY(-3px) scale(1.015); border-color: rgba(255,255,255,0.3); }
.cta-pill:active { transform: scale(.98); }
.cta-pill .icon-chip { width: 58px; height: 58px; border-radius: 16px; background: rgba(255,255,255,0.14); color: var(--blue-100); }
.cta-pill .icon-chip svg { width: 28px; height: 28px; }
.cta-pill strong { display: block; font-family: var(--sans); font-size: 1.2rem; }
.cta-pill span span { display: block; font-size: .95rem; color: var(--on-navy-2); margin-top: .15rem; }
.cta-pill-static { cursor: default; }
.cta-pill-static:hover { transform: none; }

/* Redes sociales en Contacto */
.contact-social {
  display: flex; align-items: center; flex-wrap: wrap; gap: 1rem;
  margin-top: 1.6rem;
}
.contact-social-label {
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  color: var(--on-navy-2);
}
.social-links { display: flex; gap: .8rem; }
.social-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.12);
  color: #fff;
  transition: transform .45s var(--ease-smooth), background-color .35s var(--ease-smooth);
}
.social-btn:hover { background: var(--blue-600); transform: translateY(-3px); }
.social-btn:active { transform: scale(.95); }
.social-btn svg { width: 24px; height: 24px; }
.footer-social { margin-top: 1.3rem; }

/* Mapa integrado */
.map-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
  height: clamp(300px, 48vw, 440px);
  background: var(--bg-navy-2);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-cta {
  position: absolute; left: 1.2rem; bottom: 1.2rem; z-index: 2;
  box-shadow: 0 16px 32px -12px rgba(2, 4, 10, 0.6);
}

/* Footer */
.footer { padding-block: 3rem 2rem; }
.footer-top { display: flex; flex-direction: column; gap: 2rem; padding-bottom: 2rem; }
.footer .logotype .name { color: var(--ink); }
.footer-tag { color: var(--ink-2); font-size: .95rem; max-width: 26rem; margin-top: .8rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer-links a { color: var(--ink-2); font-size: .95rem; font-weight: 600; }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--card-line); color: var(--ink-2); font-size: .85rem; }
.footer .social-btn { background: rgba(11,18,32,0.08); color: var(--ink); }
.footer .social-btn:hover { background: var(--blue-600); color: #fff; }

/* =============================================================
   7. Sections
   ============================================================= */
section { position: relative; padding-block: clamp(3.4rem, 7vw, 5.5rem); }

/* Hero */
.hero {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: 0;
  background: linear-gradient(155deg, var(--bg-navy-2) 0%, var(--bg-navy) 62%, #020409 100%);
  color: var(--on-navy);
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1fr; padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.hero .kicker { margin-bottom: 1.4rem; }
.hero-title { font-size: clamp(2.2rem, 5.5vw, 3.3rem); color: #fff; }
.hero-title .accent { color: var(--blue-100); font-style: italic; }
.hero-sub { margin-top: 1.2rem; color: var(--on-navy-2); font-size: clamp(1.02rem, 1.4vw, 1.15rem); max-width: 32rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-media { position: relative; }
.hero-media .blob {
  position: absolute; inset: -10% -10% -10% 10%;
  background: radial-gradient(circle, rgba(58, 109, 255, 0.4) 0%, transparent 70%);
  z-index: 0;
}
.hero-media figure {
  position: relative; z-index: 1;
  border-radius: 24px; overflow: hidden; aspect-ratio: 4/3.4;
  border: 4px solid rgba(255,255,255,0.08);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Hero entrance choreography */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.hero .kicker   { animation: heroIn 1s var(--ease-smooth) both; }
.hero-title     { animation: heroIn 1.1s var(--ease-smooth) .15s both; }
.hero-sub       { animation: heroIn 1.1s var(--ease-smooth) .3s both; }
.hero-actions   { animation: heroIn 1.1s var(--ease-smooth) .45s both; }
.hero-media     { animation: heroIn 1.2s var(--ease-smooth) .35s both; }
.hero .info-band { animation: heroIn 1.1s var(--ease-smooth) .65s both; }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 720px) {
  .footer-top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .feature-stats { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .taller-grid { grid-template-columns: repeat(2, 1fr); }
  .centro-dia-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-actions { flex-direction: row; }
  .cta-actions .cta-pill { flex: 1; }
}

@media (min-width: 960px) {
  :root { --frame-margin: 24px; --panel-gap: 20px; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .taller-grid { grid-template-columns: repeat(3, 1fr); }
  .centro-dia-grid { grid-template-columns: repeat(4, 1fr); }
  .redes-grid { grid-template-columns: repeat(4, 1fr); }
}

/* =============================================================
   9. Reduced-motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .hero .kicker, .hero-title, .hero-sub, .hero-actions, .hero-media, .hero .info-band { animation: none; }
}
