
/* =========================================================
   ESCUELA INFANTIL BAJO EL MAR
   Archivo principal de estilos.
   Web estática lista para subir a Hostinger.
   ========================================================= */

/* ---------- Variables globales ---------- */
:root{
  --deep:#043D5D;
  --deep-2:#082F49;
  --mid:#0A6B8A;
  --teal:#14B8A6;
  --foam:#A7F3D0;
  --sand:#FFF8F0;
  --cream:#FFFDF9;
  --coral:#FF6F5E;
  --yellow:#FFD85C;
  --ink:#0D2535;
  --muted:#60788A;
  --line:#E7EEF3;
  --white:#FFFFFF;
  --shadow:0 20px 60px rgba(4,61,93,.16);
  --shadow-strong:0 30px 90px rgba(4,61,93,.28);
  --radius:22px;
  --radius-lg:34px;
  --container:1180px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"Nunito",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--cream);
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit}
::selection{background:var(--foam);color:var(--deep)}
main{background:var(--cream)}

/* ---------- Utilidades ---------- */
.container{
  width:min(var(--container),calc(100% - 2rem));
  margin-inline:auto;
}
.section{
  padding:clamp(4rem,7vw,7.5rem) 0;
}
.section.soft{background:var(--sand)}
.section.deep{
  background:linear-gradient(145deg,var(--deep),#05263B);
  color:#fff;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  margin-bottom:1rem;
  color:var(--teal);
  font-size:.78rem;
  font-weight:1000;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.eyebrow::before{
  content:"";
  width:28px;
  height:2px;
  border-radius:99px;
  background:currentColor;
}
.section.deep .eyebrow{color:var(--foam)}
.title{
  font-family:"Fraunces",Georgia,serif;
  font-size:clamp(2rem,4.7vw,4rem);
  line-height:1.06;
  color:var(--deep);
  letter-spacing:-.03em;
}
.section.deep .title{color:#fff}
.title em{
  color:var(--teal);
  font-style:italic;
}
.lead{
  color:#526D80;
  font-size:clamp(1.02rem,1.4vw,1.18rem);
  line-height:1.85;
  max-width:720px;
}
.section.deep .lead{color:rgba(255,255,255,.76)}
.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(2rem,6vw,5rem);
  align-items:center;
}
.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.15rem;
}
.grid-4{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1rem;
}
.card{
  border:1px solid var(--line);
  background:#fff;
  border-radius:var(--radius);
  padding:1.45rem;
  box-shadow:0 10px 30px rgba(4,61,93,.06);
}
.card h3{
  font-family:"Fraunces",Georgia,serif;
  color:var(--deep);
  font-size:1.35rem;
  margin-bottom:.55rem;
}
.card p,.card li{
  color:var(--muted);
  line-height:1.75;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  min-height:48px;
  padding:.86rem 1.25rem;
  border-radius:999px;
  text-decoration:none;
  border:1px solid transparent;
  font-weight:1000;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease,color .2s ease,border-color .2s ease;
  cursor:pointer;
  font-family:inherit;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{
  background:var(--coral);
  color:#fff;
  box-shadow:0 12px 30px rgba(255,111,94,.28);
}
.btn-primary:hover{box-shadow:0 18px 45px rgba(255,111,94,.36)}
.btn-secondary{
  background:#fff;
  color:var(--deep);
  border-color:rgba(4,61,93,.12);
}
.btn-secondary:hover{box-shadow:var(--shadow)}
.btn-ghost{
  color:#fff;
  border-color:rgba(255,255,255,.32);
  background:rgba(255,255,255,.11);
  backdrop-filter:blur(12px);
}
.btn-ghost:hover{background:rgba(255,255,255,.18)}
.chips{
  display:flex;
  flex-wrap:wrap;
  gap:.65rem;
  margin-top:1.4rem;
}
.chip{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  border-radius:999px;
  padding:.55rem .85rem;
  background:rgba(20,184,166,.1);
  color:var(--mid);
  font-weight:900;
  font-size:.88rem;
}

/* ---------- Header global ---------- */
.site-header {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--container), calc(100% - 2rem));
  z-index: 1000;
  transition: top 0.3s ease;
  pointer-events: none;
}
.header-inner {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 99px;
  padding: 0.65rem 1.5rem;
  box-shadow: 0 12px 38px rgba(4, 61, 93, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: auto;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.is-scrolled,
body:not(.home-page) .site-header {
  top: 0.6rem;
}
.site-header.is-scrolled .header-inner,
body:not(.home-page) .site-header .header-inner {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px rgba(4, 61, 93, 0.16);
  padding: 0.45rem 1.25rem;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: clamp(38px, 5vh, 46px);
  width: auto;
  display: block;
  transition: height 0.2s ease;
}
.site-header.is-scrolled .logo-img,
body:not(.home-page) .site-header .logo-img {
  height: clamp(32px, 4vh, 38px);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}
.main-nav a {
  text-decoration: none;
  font-size: .78rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--deep);
  transition: color 0.2s ease;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--teal);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: .7rem;
}
.header-actions .portal {
  font-size: .78rem;
  font-weight: 1000;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease;
}
.header-actions .portal:hover {
  color: var(--deep);
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(4, 61, 93, 0.12);
  border-radius: 14px;
  background: rgba(4, 61, 93, 0.05);
  color: var(--deep);
  cursor: pointer;
}
.menu-toggle span{
  display:block;
  width:22px;
  height:2px;
  margin:5px auto;
  border-radius:99px;
  background:currentColor;
  transition:transform .2s ease,opacity .2s ease;
}
.menu-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-toggle.open span:nth-child(2){opacity:0}
.menu-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ---------- Hero Home con puerta animada ---------- */
.home-gate-hero {
  position: relative;
  height: 180vh;
  min-height: 1150px;
  background: #043D5D;
}

.gate-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
  background: #043D5D;
}

/* Mundo submarino interior */
.underwater-world {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  transform: scale(1.04);
  background:
    radial-gradient(circle at 50% 28%, rgba(255,255,255,.55), transparent 22rem),
    radial-gradient(circle at 72% 55%, rgba(167,243,208,.32), transparent 25rem),
    radial-gradient(circle at 22% 72%, rgba(255,216,92,.18), transparent 18rem),
    linear-gradient(180deg, #baf7ff 0%, #62d8ec 45%, #0a6b8a 100%);
  transition: opacity .15s linear;
  will-change: opacity, transform;
}

.underwater-world::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, transparent 0%, rgba(4,61,93,.24) 76%),
    linear-gradient(180deg, rgba(4,61,93,.05), rgba(4,61,93,.38));
  pointer-events: none;
}

/* Luz de agua */
.water-light {
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(105deg, transparent 0 35%, rgba(255,255,255,.22) 42%, transparent 49%),
    linear-gradient(75deg, transparent 0 46%, rgba(255,255,255,.16) 52%, transparent 58%),
    linear-gradient(115deg, transparent 0 58%, rgba(255,255,255,.12) 64%, transparent 70%);
  filter: blur(2px);
  animation: lightMove 12s ease-in-out infinite alternate;
}

/* Ondas suaves */
.water-wave {
  position: absolute;
  left: -20%;
  width: 140%;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  filter: blur(16px);
  animation: waveMove 14s ease-in-out infinite alternate;
}

.wave-1 {
  top: 18%;
}

.wave-2 {
  top: 43%;
  opacity: .7;
  animation-duration: 18s;
}

.wave-3 {
  top: 67%;
  opacity: .45;
  animation-duration: 22s;
}

/* Burbujas */
.bubble {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.52);
  background: rgba(255,255,255,.14);
  box-shadow:
    inset 0 0 18px rgba(255,255,255,.4),
    0 0 16px rgba(255,255,255,.18);
  animation: bubbleRise linear infinite;
}

.bubble::after {
  content: "";
  position: absolute;
  top: 18%;
  left: 22%;
  width: 28%;
  height: 28%;
  border-radius: 50%;
  background: rgba(255,255,255,.75);
  filter: blur(1px);
}

.bubble-1 { width: 32px; height: 32px; left: 12%; bottom: -70px; animation-duration: 8s; animation-delay: 0s; }
.bubble-2 { width: 62px; height: 62px; left: 22%; bottom: -90px; animation-duration: 13s; animation-delay: -2s; }
.bubble-3 { width: 24px; height: 24px; left: 36%; bottom: -50px; animation-duration: 9s; animation-delay: -4s; }
.bubble-4 { width: 84px; height: 84px; left: 50%; bottom: -110px; animation-duration: 16s; animation-delay: -3s; }
.bubble-5 { width: 38px; height: 38px; left: 64%; bottom: -70px; animation-duration: 10s; animation-delay: -6s; }
.bubble-6 { width: 72px; height: 72px; left: 77%; bottom: -100px; animation-duration: 15s; animation-delay: -1s; }
.bubble-7 { width: 22px; height: 22px; left: 88%; bottom: -50px; animation-duration: 7s; animation-delay: -5s; }
.bubble-8 { width: 46px; height: 46px; left: 6%; bottom: -90px; animation-duration: 12s; animation-delay: -7s; }

/* Animales marinos inspirados en la pared interior */
.sea-animal {
  position: absolute;
  z-index: 3;
  line-height: 1;
  filter: drop-shadow(0 14px 22px rgba(4,61,93,.22));
  opacity: .92;
  animation: floatAnimal 5s ease-in-out infinite alternate;
  user-select: none;
}

.octopus {
  left: 8%;
  top: 20%;
  font-size: clamp(3.8rem, 8vw, 8rem);
  animation-duration: 5.8s;
}

.whale {
  right: 8%;
  top: 35%;
  font-size: clamp(5rem, 12vw, 11rem);
  animation-duration: 6.5s;
}

.turtle {
  left: 43%;
  bottom: 11%;
  font-size: clamp(3rem, 7vw, 6rem);
  animation-duration: 7s;
}

.fish-1 {
  right: 24%;
  top: 18%;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  animation-duration: 4.8s;
}

.fish-2 {
  left: 23%;
  top: 55%;
  font-size: clamp(2.2rem, 4.8vw, 4.5rem);
  animation-duration: 5.4s;
}

.fish-3 {
  right: 18%;
  bottom: 18%;
  font-size: clamp(2rem, 4.5vw, 4rem);
  animation-duration: 6s;
}

/* Puertas */
.door-panel {
  position: absolute;
  top: 0;
  width: 50.15%;
  height: 100%;
  z-index: 5;
  background-image: url("../assets/hero-puerta-bajo-el-mar.jpg");
  background-size: 200% 100%;
  background-repeat: no-repeat;
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  box-shadow: 0 22px 80px rgba(0,0,0,.32);
}

.door-panel.left {
  left: 0;
  background-position: left center;
  transform-origin: left center;
}

.door-panel.right {
  right: 0;
  background-position: right center;
  transform-origin: right center;
}

.door-shadow {
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    radial-gradient(circle at 50% 52%, rgba(0,0,0,.08), transparent 24rem),
    linear-gradient(90deg, rgba(0,0,0,.46), transparent 24%, transparent 76%, rgba(0,0,0,.46));
  opacity: .55;
  pointer-events: none;
}

/* Texto */
.hero-content {
  position: relative;
  z-index: 7;
  width: min(880px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.35rem, 4vw, 3rem);
  text-align: center;
  color: #fff;
  opacity: 0;
  transform: translateY(28px) scale(.96);
  will-change: opacity, transform;
  pointer-events: none;
  text-shadow: 0 2px 30px rgba(4,61,93,.45);
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: -1.2rem;
  z-index: -1;
  border-radius: 32px;
  background: radial-gradient(circle at center, rgba(4,61,93,.35), transparent 72%);
  opacity: .9;
}

.hero-title {
  color: #fff;
  font-family: "Fraunces", serif;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: .96;
  font-weight: 800;
  letter-spacing: -.045em;
}

.hero-title em {
  color: #A7F3D0;
  font-style: italic;
}

/* Aviso scroll */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2.2rem;
  z-index: 8;
  transform: translateX(-50%);
  color: #fff;
  font-size: .78rem;
  font-weight: 1000;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0,0,0,.45);
  will-change: opacity, transform;
}

/* Animaciones */
@keyframes lightMove {
  from { transform: translateX(-2%) rotate(-1deg); opacity: .65; }
  to { transform: translateX(2%) rotate(1deg); opacity: 1; }
}

@keyframes waveMove {
  from { transform: translateX(-4%) rotate(-2deg); }
  to { transform: translateX(4%) rotate(2deg); }
}

@keyframes bubbleRise {
  0% { transform: translateY(0) translateX(0) scale(.9); opacity: 0; }
  12% { opacity: 1; }
  85% { opacity: .85; }
  100% { transform: translateY(-120vh) translateX(24px) scale(1.12); opacity: 0; }
}

@keyframes floatAnimal {
  from { transform: translateY(0) rotate(-2deg); }
  to { transform: translateY(-16px) rotate(2deg); }
}

/* Responsive */
@media (max-width: 760px) {
  .home-gate-hero {
    height: 165vh;
    min-height: 980px;
  }

  .gate-sticky {
    min-height: 620px;
  }

  .door-panel {
    background-size: 225% 100%;
  }

  .door-panel.left {
    background-position: 4% center;
  }

  .door-panel.right {
    background-position: 96% center;
  }

  .octopus {
    left: 4%;
    top: 19%;
    font-size: 4.2rem;
  }

  .whale {
    right: 2%;
    top: 48%;
    font-size: 5.6rem;
    opacity: .75;
  }

  .turtle {
    left: 38%;
    bottom: 9%;
    font-size: 3.6rem;
  }

  .fish-1 {
    right: 14%;
    top: 20%;
  }

  .fish-2 {
    left: 12%;
    top: 58%;
  }

  .fish-3 {
    display: none;
  }

  .hero-content {
    width: min(94%, 620px);
    padding: 1.25rem;
  }

  .hero-title {
    font-size: clamp(2.35rem, 13vw, 4.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .water-light,
  .water-wave,
  .bubble,
  .sea-animal {
    animation: none;
  }
}

/* ---------- Heroes secundarios ---------- */
.page-hero{
  position:relative;
  min-height:56svh;
  display:grid;
  align-items:end;
  padding:9rem 0 4.5rem;
  color:#fff;
  background:
    linear-gradient(120deg,rgba(4,61,93,.9),rgba(4,61,93,.54),rgba(20,184,166,.16)),
    url("../assets/hero-puerta-bajo-el-mar.jpg") center/cover no-repeat;
  overflow:hidden;
}
.page-hero::after{
  content:"";
  position:absolute;
  inset:auto 0 -1px;
  height:105px;
  background:linear-gradient(transparent,var(--cream));
}
.page-hero .container{position:relative;z-index:2}
.page-hero h1{
  font-family:"Fraunces",Georgia,serif;
  font-size:clamp(2.7rem,6vw,5.7rem);
  line-height:.98;
  letter-spacing:-.04em;
  max-width:860px;
}
.page-hero p{
  max-width:680px;
  margin-top:1rem;
  color:rgba(255,255,255,.84);
  line-height:1.8;
  font-size:1.08rem;
}

/* ---------- Componentes ---------- */
.stats-bar{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--line);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.stat{
  background:#fff;
  text-align:center;
  padding:2.35rem 1rem;
}
.stat strong{
  display:block;
  font-family:"Fraunces",Georgia,serif;
  font-size:clamp(2.1rem,4vw,3.45rem);
  color:var(--deep);
  line-height:1;
}
.stat span{
  display:block;
  margin-top:.45rem;
  color:var(--muted);
  font-size:.82rem;
  font-weight:1000;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.value-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1rem;
  margin-top:2rem;
}
.value-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:1.35rem;
  box-shadow:0 10px 35px rgba(4,61,93,.06);
}
.value-icon{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  border-radius:17px;
  background:rgba(20,184,166,.12);
  font-size:1.65rem;
  margin-bottom:1rem;
}
.value-card h3{
  font-size:1.12rem;
  color:var(--deep);
  margin-bottom:.45rem;
}
.value-card p{
  color:var(--muted);
  line-height:1.65;
  font-size:.95rem;
}
.image-card{
  position:relative;
  border-radius:var(--radius-lg);
  overflow:hidden;
  min-height:420px;
  background:url("../assets/hero-puerta-bajo-el-mar.jpg") center/cover no-repeat;
  box-shadow:var(--shadow-strong);
}
.image-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(transparent,rgba(4,61,93,.58));
}
.float-badge{
  position:absolute;
  z-index:1;
  left:1.2rem;
  bottom:1.2rem;
  background:#fff;
  color:var(--deep);
  border-radius:18px;
  padding:1rem 1.15rem;
  font-weight:1000;
  box-shadow:var(--shadow);
}
.float-badge strong{
  display:block;
  font-family:"Fraunces",Georgia,serif;
  font-size:2.2rem;
  line-height:1;
}
.timeline{
  display:grid;
  gap:1rem;
  margin-top:2rem;
}
.step{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:1rem;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:1.25rem;
  box-shadow:0 10px 28px rgba(4,61,93,.05);
}
.step-number{
  width:46px;
  height:46px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--coral);
  color:#fff;
  font-weight:1000;
}
.step h3{
  color:var(--deep);
  margin-bottom:.35rem;
}
.step p{color:var(--muted);line-height:1.7}
.program-tabs{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1rem;
  margin-top:2rem;
}
.program{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:1.35rem;
}
.program .age{
  display:inline-flex;
  padding:.42rem .7rem;
  border-radius:999px;
  background:rgba(255,216,92,.28);
  color:var(--deep);
  font-weight:1000;
  margin-bottom:1rem;
}
.program h3{
  font-family:"Fraunces",Georgia,serif;
  color:var(--deep);
  font-size:1.5rem;
  margin-bottom:.65rem;
}
.program ul{
  padding-left:1.1rem;
  color:var(--muted);
  line-height:1.9;
}
.gallery{
  display:grid;
  grid-template-columns:1.15fr .85fr .85fr;
  grid-auto-rows:230px;
  gap:1rem;
}
.gallery-card{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  background-size:cover;
  background-position:center;
  min-height:220px;
}
.gallery-card:nth-child(1){grid-row:span 2}
.gallery-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(transparent,rgba(4,61,93,.78));
}
.gallery-card span{
  position:absolute;
  left:1rem;
  bottom:1rem;
  z-index:1;
  color:#fff;
  font-weight:1000;
}
.cta-strip{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,var(--mid),var(--deep));
  color:#fff;
  padding:4.2rem 0;
  text-align:center;
}
.cta-strip::before{
  content:"🐠";
  position:absolute;
  inset:50% auto auto 50%;
  transform:translate(-50%,-50%);
  font-size:14rem;
  opacity:.05;
}
.cta-strip .container{position:relative;z-index:1}
.cta-strip h2{
  font-family:"Fraunces",Georgia,serif;
  font-size:clamp(2rem,4vw,3.4rem);
  margin-bottom:.7rem;
}
.cta-strip p{
  color:rgba(255,255,255,.78);
  margin-bottom:1.6rem;
}
.blog-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1rem;
}
.post-card{
  overflow:hidden;
  padding:0;
}
.post-image{
  min-height:190px;
  background:url("../assets/hero-puerta-bajo-el-mar.jpg") center/cover no-repeat;
}
.post-body{padding:1.25rem}
.post-tag{
  display:inline-block;
  margin-bottom:.75rem;
  color:var(--mid);
  font-size:.78rem;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.post-body h3{font-size:1.28rem}
.contact-layout{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:2rem;
  align-items:start;
}
.contact-list{
  display:grid;
  gap:1rem;
}
.contact-item{
  display:flex;
  align-items:flex-start;
  gap:.9rem;
  padding:1.1rem;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
}
.contact-icon{
  width:44px;
  height:44px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:rgba(20,184,166,.12);
  font-size:1.25rem;
}
.contact-item strong{
  display:block;
  color:var(--deep);
  margin-bottom:.2rem;
}
.contact-item span,.contact-item a{
  color:var(--muted);
  line-height:1.6;
  text-decoration:none;
}
.form-card{
  background:var(--deep);
  color:#fff;
  border-radius:var(--radius-lg);
  padding:clamp(1.25rem,3vw,2rem);
  box-shadow:var(--shadow-strong);
}
.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1rem;
}
.form-field{
  display:grid;
  gap:.45rem;
  margin-bottom:1rem;
}
.form-field.full{grid-column:1/-1}
.form-field label{
  font-size:.78rem;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:rgba(255,255,255,.7);
}
input,select,textarea{
  width:100%;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.09);
  color:#fff;
  border-radius:14px;
  min-height:48px;
  padding:.85rem 1rem;
  font:inherit;
  outline:none;
}
input::placeholder,textarea::placeholder{color:rgba(255,255,255,.36)}
select option{color:var(--ink)}
textarea{min-height:130px;resize:vertical}
.map-frame{
  overflow:hidden;
  border-radius:var(--radius);
  min-height:360px;
  border:1px solid var(--line);
}
.map-frame iframe{
  width:100%;
  height:360px;
  border:0;
  display:block;
}
.notice{
  padding:1rem;
  border-radius:18px;
  background:rgba(255,216,92,.22);
  color:var(--deep);
  line-height:1.7;
  margin-top:1rem;
}
.table-wrap{
  overflow:auto;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
}
table{
  width:100%;
  border-collapse:collapse;
  min-width:720px;
}
th,td{
  padding:1rem;
  border-bottom:1px solid var(--line);
  text-align:left;
  vertical-align:top;
}
th{
  color:var(--deep);
  background:var(--sand);
  font-size:.82rem;
  text-transform:uppercase;
  letter-spacing:.06em;
}
td{color:var(--muted);line-height:1.65}
.faq{
  display:grid;
  gap:.8rem;
}
.faq details{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:1rem 1.1rem;
}
.faq summary{
  cursor:pointer;
  color:var(--deep);
  font-weight:1000;
}
.faq p{
  margin-top:.7rem;
  color:var(--muted);
  line-height:1.75;
}

/* ---------- Footer ---------- */
.site-footer{
  background:var(--ink);
  color:rgba(255,255,255,.72);
  padding:4rem 0 2rem;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr .8fr 1fr;
  gap:2rem;
}
.footer-logo{
  font-family:"Fraunces",Georgia,serif;
  color:#fff;
  font-size:1.8rem;
  margin-bottom:.8rem;
}
.footer-logo em{color:var(--teal);font-style:italic}
.site-footer p{line-height:1.75}
.footer-col h3{
  color:#fff;
  font-size:.9rem;
  text-transform:uppercase;
  letter-spacing:.1em;
  margin-bottom:.9rem;
}
.footer-col a{
  display:block;
  color:rgba(255,255,255,.68);
  text-decoration:none;
  margin:.55rem 0;
}
.footer-col a:hover{color:var(--foam)}
.newsletter{
  display:flex;
  gap:.5rem;
  margin-top:.85rem;
}
.newsletter input{
  border-color:rgba(255,255,255,.16);
  background:rgba(255,255,255,.08);
}
.footer-bottom{
  margin-top:2.5rem;
  padding-top:1.5rem;
  border-top:1px solid rgba(255,255,255,.1);
  display:flex;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
  font-size:.86rem;
}
.float-actions{
  position:fixed;
  right:1rem;
  bottom:1rem;
  z-index:900;
  display:grid;
  gap:.65rem;
}
.float-btn{
  width:52px;
  height:52px;
  border-radius:50%;
  display:grid;
  place-items:center;
  text-decoration:none;
  background:var(--coral);
  color:#fff;
  box-shadow:0 12px 32px rgba(4,61,93,.24);
  font-size:1.25rem;
}
.float-btn.whatsapp{background:#25D366}

/* ---------- Animaciones suaves ---------- */
.reveal{
  opacity:0;
  transform:translateY(30px);
  transition:opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change:transform, opacity;
}
.reveal.visible{
  opacity:1;
  transform:translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width:1050px){
  .main-nav,.header-actions{display:none}
  .menu-toggle{display:block}
  .main-nav.open{
    display:flex;
    position:fixed;
    inset:85px 1rem auto 1rem;
    flex-direction:column;
    align-items:flex-start;
    background:rgba(4,61,93,.98);
    border:1px solid rgba(255,255,255,.12);
    border-radius:22px;
    padding:1.2rem;
    box-shadow:var(--shadow-strong);
  }
  .main-nav.open a{
    font-size:.95rem;
    padding:.35rem 0;
    color: #fff;
  }
  .main-nav.open a:hover,
  .main-nav.open a.active{
    color: var(--foam);
  }
  .grid-2,.contact-layout,.footer-grid{grid-template-columns:1fr}
  .value-grid,.grid-4{grid-template-columns:repeat(2,1fr)}
  .program-tabs,.grid-3,.blog-grid{grid-template-columns:1fr 1fr}
  .gallery{grid-template-columns:1fr 1fr}
}
@media (max-width:700px){
  .section{padding:4rem 0}
  .stats-bar,.value-grid,.program-tabs,.grid-3,.grid-4,.blog-grid,.gallery{grid-template-columns:1fr}
  .gallery{grid-auto-rows:auto}
  .gallery-card:nth-child(1){grid-row:auto}
  .gallery-card{min-height:260px}
  .form-grid{grid-template-columns:1fr}
  .home-gate-hero{min-height:135vh}
  .door-panel{display:none}
  .gate-bg{filter:saturate(1.05)}
  .hero-content{text-align:left;padding-left:0;padding-right:0;opacity:1 !important;transform:none !important;pointer-events:auto !important;}
  .hero-content .eyebrow{justify-content:flex-start}
  .hero-actions,.hero-trust{justify-content:flex-start}
  .page-hero{min-height:50svh;padding-top:7.5rem}
  .stats-bar{grid-template-columns:1fr 1fr}
  .footer-bottom{display:block}
  .newsletter{flex-direction:column}
}


/* =========================================================
   Ajustes HOME: apertura anterior + peces SVG sincronizados
   ========================================================= */
.gate-sticky {
  perspective: 1400px;
}

.door-opening-glow {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: min(42vw, 620px);
  height: min(64vh, 620px);
  transform: translate(-50%, -50%) scale(.82);
  border-radius: 45% 45% 52% 52%;
  background: radial-gradient(circle, rgba(255,255,255,.45), rgba(116,230,231,.24) 42%, transparent 70%);
  opacity: 0;
  filter: blur(8px);
  pointer-events: none;
  will-change: opacity, transform;
}

.hero-intro {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: clamp(5rem, 11vh, 8rem);
  width: min(92vw, 900px);
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: .72rem;
  text-align: center;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0,35,55,.5);
  pointer-events: none;
  will-change: opacity, transform;
}

.hero-intro-logo {
  width: min(300px, 54vw);
  max-height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 15px 28px rgba(0,35,55,.28));
}

.hero-intro-kicker {
  margin: .2rem 0 0;
  font-size: .86rem;
  font-weight: 1000;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
}

.hero-intro-title {
  margin: 0;
  max-width: 780px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 5vw, 4.35rem);
  line-height: .96;
  letter-spacing: -.045em;
  font-weight: 800;
}

.door-fish-layer {
  position: absolute;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  overflow: visible;
  transform-style: preserve-3d;
}

.door-fish {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--fish-size, clamp(48px, 5vw, 92px));
  opacity: 0;
  transform: translate(-50%, -50%) scale(.86);
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  filter: drop-shadow(0 13px 18px rgba(4,61,93,.24));
}

.door-fish svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.door-fish .fish-body,
.door-fish .fish-tail,
.door-fish .fish-fin {
  stroke: rgba(4,61,93,.2);
  stroke-width: 2.5;
  stroke-linejoin: round;
}

.door-fish .fish-body { fill: var(--fish-body, #FFD85C); }
.door-fish .fish-tail,
.door-fish .fish-fin { fill: var(--fish-fin, #FFB84A); }
.door-fish .fish-eye { fill: #fff; stroke: rgba(4,61,93,.28); stroke-width: 1.5; }
.door-fish .fish-eye-dot { fill: #043D5D; }
.door-fish .fish-smile {
  fill: none;
  stroke: #043D5D;
  stroke-width: 3;
  stroke-linecap: round;
  opacity: .65;
}

.fish-yellow { --fish-body:#FFD85C; --fish-fin:#FFB84A; }
.fish-pink { --fish-body:#FF8DC7; --fish-fin:#F660A7; }
.fish-teal { --fish-body:#48D7C8; --fish-fin:#15AFA5; }
.fish-blue { --fish-body:#62B8FF; --fish-fin:#337EEB; }
.fish-orange { --fish-body:#FFAA62; --fish-fin:#FF734F; }
.fish-purple { --fish-body:#B8A0FF; --fish-fin:#7B61D9; }

.hero-copy {
  max-width: 720px;
  margin: 1.05rem auto 0;
  color: rgba(255,255,255,.86);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.5rem;
}

.hero-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.25rem;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: .5rem .78rem;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.24);
  color: rgba(255,255,255,.92);
  font-size: .83rem;
  font-weight: 1000;
  backdrop-filter: blur(10px);
}

/* Variante sin cajas tradicionales para Por que elegirnos */
.home-values-story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-value-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  padding: 1.45rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.home-value-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.home-value-item:nth-last-child(-n+2) {
  border-bottom: 0;
}

.home-value-number {
  font-family: "Fraunces", Georgia, serif;
  color: var(--teal);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  padding-top: .2rem;
}

.home-value-item h3 {
  color: var(--deep);
  font-size: 1.28rem;
  margin-bottom: .4rem;
}

.home-value-item p {
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 760px) {
  .door-fish { width: var(--fish-size-mobile, clamp(38px, 11vw, 64px)); }
  .hero-intro { bottom: clamp(4.5rem, 10vh, 6.5rem); }
  .hero-intro-title { font-size: clamp(1.85rem, 9vw, 3.2rem); }
}

@media (max-width: 700px) {
  .home-values-story { grid-template-columns: 1fr; }
  .home-value-item,
  .home-value-item:nth-child(odd) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .home-value-item:last-child { border-bottom: 0; }
  .door-panel { display: block; }
  .hero-intro { display: grid; }
  .hero-content {
    text-align: center;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .hero-actions,
  .hero-trust { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .door-fish,
  .hero-intro,
  .door-opening-glow { transition: none; }
}


/* ---------- Home hero v3 helper overrides ---------- */
.home-page .hero-content .eyebrow { justify-content: center; }
.home-page .hero-content::before { content: none; }

/* =========================================================
   HOME V4 EXPERTO: peces pintados, puerta completa y bienvenida persistente
   ========================================================= */
.home-gate-hero {
  height: 225vh;
  min-height: 1380px;
  background: #043D5D;
}

.gate-sticky {
  min-height: 700px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.12), transparent 32rem),
    #043D5D;
}

.underwater-world {
  background:
    radial-gradient(circle at 20% 16%, rgba(255,255,255,.54), transparent 22rem),
    radial-gradient(circle at 75% 27%, rgba(255,255,255,.26), transparent 28rem),
    radial-gradient(circle at 50% 78%, rgba(255,216,92,.13), transparent 20rem),
    linear-gradient(180deg, #baf4f6 0%, #42bfcb 42%, #075f84 100%);
}

.underwater-world::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0 18%, rgba(255,255,255,.16) 20%, transparent 27%),
    linear-gradient(74deg, transparent 0 54%, rgba(255,255,255,.12) 58%, transparent 65%);
  opacity: .78;
  mix-blend-mode: screen;
  pointer-events: none;
}

.door-panel {
  background-image: url("../assets/hero-puerta-bajo-el-mar.jpg");
  box-shadow: 0 26px 90px rgba(0, 25, 45, .26);
}

.door-shadow {
  z-index: 6;
  opacity: .38;
}

.door-opening-glow {
  width: min(48vw, 760px);
  height: min(70vh, 760px);
  background:
    radial-gradient(circle, rgba(255,255,255,.68) 0 12%, rgba(173,247,238,.38) 32%, rgba(20,184,166,.1) 54%, transparent 74%);
  filter: blur(10px);
}

/* Bienvenida: ya no es una caja pesada; es una placa tipo perla/olas. */
.hero-intro {
  position: absolute;
  left: 50%;
  top: 52%;
  bottom: auto;
  z-index: 14;
  width: min(92vw, 820px);
  transform: translate(-50%, -50%);
  text-shadow: none;
}

.hero-intro-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: .38rem;
  width: min(100%, 690px);
  margin-inline: auto;
  padding: clamp(1.15rem, 2.7vw, 2.05rem) clamp(1.15rem, 4vw, 3rem);
  border-radius: 42px 42px 54px 54px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.96), rgba(255,255,255,.56) 27%, transparent 49%),
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.47));
  border: 1px solid rgba(255,255,255,.64);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.78),
    0 24px 80px rgba(4,61,93,.18);
  backdrop-filter: blur(16px) saturate(1.18);
  -webkit-backdrop-filter: blur(16px) saturate(1.18);
}

.hero-intro-card::before {
  content: "";
  position: absolute;
  left: -7%;
  right: -7%;
  bottom: -26px;
  height: 86px;
  z-index: -1;
  background:
    radial-gradient(40px 30px at 10% 50%, rgba(20,184,166,.20), transparent 70%),
    radial-gradient(54px 36px at 32% 35%, rgba(4,61,93,.10), transparent 72%),
    radial-gradient(62px 40px at 58% 52%, rgba(20,184,166,.18), transparent 72%),
    radial-gradient(48px 32px at 82% 42%, rgba(4,61,93,.10), transparent 72%);
  opacity: .9;
}

.hero-intro-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 34px 34px 46px 46px;
  border: 1px solid rgba(4,61,93,.08);
  pointer-events: none;
}

.hero-intro-logo {
  position: relative;
  z-index: 1;
  width: min(255px, 50vw);
  max-height: 112px;
  filter: drop-shadow(0 9px 14px rgba(4,61,93,.12));
}

.hero-intro-kicker {
  position: relative;
  z-index: 1;
  margin: .35rem 0 .15rem;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 1000;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.hero-intro-title {
  position: relative;
  z-index: 1;
  color: var(--deep);
  font-size: clamp(2.15rem, 4.9vw, 4.6rem);
  line-height: .92;
  text-wrap: balance;
}

.hero-intro-text {
  position: relative;
  z-index: 1;
  margin: .2rem 0 0;
  color: #315266;
  font-size: clamp(.96rem, 1.28vw, 1.12rem);
  font-weight: 1000;
  letter-spacing: .01em;
}

.hero-click-hint {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  margin: .75rem 0 0;
  padding: .48rem .82rem;
  border-radius: 999px;
  background: rgba(4,61,93,.08);
  border: 1px solid rgba(4,61,93,.12);
  color: var(--deep);
  font-size: .82rem;
  font-weight: 1000;
  letter-spacing: .02em;
}

.hero-click-hint span {
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-click-hint::before {
  content: "↧";
  width: 1.45rem;
  height: 1.45rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(20,184,166,.16);
  color: var(--deep);
  animation: belmClickPulse 1.45s ease-in-out infinite;
}

/* Peces: formas inspiradas en los peces reales de la puerta, sin peces negros. */
.door-fish-layer {
  z-index: 13;
  overflow: visible;
}

.door-fish {
  filter:
    drop-shadow(0 9px 12px rgba(4,61,93,.18))
    drop-shadow(0 1px 0 rgba(255,255,255,.35));
}

.door-fish svg {
  animation: belmPaintedFishFloat 2.65s ease-in-out infinite alternate;
  animation-delay: var(--float-delay, 0s);
}

.door-fish .fish-tail,
.door-fish .fish-fin-top,
.door-fish .fish-fin-bottom,
.door-fish .fish-mouth {
  transform-box: fill-box;
  transform-origin: center;
}

.door-fish .fish-tail {
  fill: var(--fish-fin, #ff513d);
  stroke: rgba(4,61,93,.18);
  stroke-width: 1.5;
  animation: belmTailWag .42s ease-in-out infinite alternate;
}

.door-fish .fish-tail-inner {
  fill: rgba(255,255,255,.25);
  stroke: none;
  animation: none;
}

.door-fish .fish-body {
  fill: var(--fish-body, #ffd85c);
  stroke: rgba(4,61,93,.18);
  stroke-width: 1.8;
}

.door-fish .fish-back {
  fill: rgba(255,255,255,.34);
}

.door-fish .fish-stripe {
  fill: var(--fish-stripe, #ff9b2f);
  opacity: .86;
}

.door-fish .fish-fin,
.door-fish .fish-fin-top,
.door-fish .fish-fin-bottom,
.door-fish .fish-mouth {
  fill: var(--fish-fin, #ff513d);
  stroke: rgba(4,61,93,.14);
  stroke-width: 1.2;
  animation: belmFinMove .72s ease-in-out infinite alternate;
}

.door-fish .fish-eye {
  fill: #fff;
  stroke: rgba(4,61,93,.36);
  stroke-width: 1.4;
}

.door-fish .fish-eye-dot { fill: #073b5d; }

.door-fish .fish-highlight {
  fill: none;
  stroke: rgba(255,255,255,.72);
  stroke-width: 5;
  stroke-linecap: round;
  opacity: .65;
}

.fish-gold {
  --fish-body: #FFD33F;
  --fish-stripe: #FF8E1D;
  --fish-fin: #F33F32;
  --float-delay: -.1s;
}
.fish-green {
  --fish-body: #78D84B;
  --fish-stripe: #FFD84B;
  --fish-fin: #FF941F;
  --float-delay: -.55s;
}
.fish-amber {
  --fish-body: #FFB530;
  --fish-stripe: #FF7A18;
  --fish-fin: #4D6A72;
  --float-delay: -1s;
}
.fish-orange {
  --fish-body: #FF9F22;
  --fish-stripe: #FFD35B;
  --fish-fin: #FF4D2E;
  --float-delay: -1.35s;
}
.fish-red {
  --fish-body: #F13D2E;
  --fish-stripe: #FF8B2E;
  --fish-fin: #B82124;
  --float-delay: -.8s;
}
.fish-red-small { --float-delay: -1.6s; }

@keyframes belmPaintedFishFloat {
  from { transform: translateY(-2px) rotate(-.8deg); }
  to { transform: translateY(4px) rotate(1deg); }
}

/* Contenido final minimalista: aparece debajo de la bienvenida, sin caja pesada. */
.hero-content {
  position: absolute;
  left: 50%;
  top: 70%;
  z-index: 12;
  width: min(92vw, 860px);
  padding: 0;
  color: #fff;
  text-align: center;
  transform: translate(-50%, -50%) translateY(34px) scale(.965);
  text-shadow: 0 10px 30px rgba(0,45,69,.22);
}

.hero-content::before {
  content: "" !important;
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(100%, 820px);
  height: calc(100% + 2rem);
  transform: translate(-50%, -50%);
  z-index: -1;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 26px 80px rgba(4,61,93,.14);
}

.home-page .hero-content .eyebrow {
  justify-content: center;
  margin-bottom: .7rem;
  color: #dcfffb;
  text-shadow: none;
}

.home-gate-hero .hero-title {
  color: #fff;
  font-size: clamp(2.35rem, 4.7vw, 5.25rem);
  line-height: .94;
  letter-spacing: -.05em;
}

.home-gate-hero .hero-title em {
  color: #bff8eb;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255,255,255,.88);
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.7;
}

.hero-actions { margin-top: 1.25rem; }

.home-gate-hero .btn-primary {
  background: #fff;
  color: var(--deep);
  box-shadow: 0 15px 40px rgba(4,61,93,.20);
}

.home-gate-hero .btn-primary:hover {
  box-shadow: 0 22px 55px rgba(4,61,93,.28);
}

.home-gate-hero .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.56);
  background: rgba(255,255,255,.08);
}

.home-gate-hero .trust-chip {
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
}

.scroll-cue {
  z-index: 15;
  background: rgba(4,61,93,.36);
  border-color: rgba(255,255,255,.32);
}

@media (max-width: 760px) {
  .home-gate-hero {
    height: 215vh;
    min-height: 1240px;
  }

  .gate-sticky { min-height: 640px; }

  .hero-intro {
    top: 52%;
    width: min(94vw, 640px);
  }

  .hero-intro-card {
    border-radius: 30px 30px 40px 40px;
    padding: 1rem 1.05rem;
  }

  .hero-intro-logo { width: min(220px, 55vw); }
  .hero-intro-title { font-size: clamp(1.85rem, 8.7vw, 3.1rem); }
  .hero-intro-kicker { font-size: .68rem; letter-spacing: .12em; }
  .door-fish { width: var(--fish-size-mobile, clamp(34px, 10vw, 62px)); }
  .hero-content { top: 72%; width: min(92vw, 620px); }
  .hero-content::before { height: calc(100% + 1.35rem); border-radius: 26px; }
  .home-gate-hero .hero-title { font-size: clamp(2rem, 10vw, 3.8rem); }
  .hero-trust { display: none; }
}
@media (max-width: 700px) {
  .hero-content { padding: 0 !important; }
}


/* =========================================================
   Interacción extra: la placa de bienvenida abre la puerta
   ========================================================= */
.hero-intro,
.hero-welcome-panel {
  pointer-events: auto;
}

.hero-welcome-panel {
  cursor: pointer;
  user-select: none;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}

.hero-welcome-panel:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(255,255,255,.92);
  box-shadow:
    0 34px 95px rgba(4,61,93,.24),
    inset 0 1px 0 rgba(255,255,255,.88);
}

.hero-welcome-panel:focus-visible {
  outline: 3px solid rgba(20,184,166,.75);
  outline-offset: 7px;
}

.home-gate-hero.is-opening-from-card .hero-welcome-panel {
  animation: belmWelcomeLaunch .82s ease both;
}

.home-gate-hero.is-opening-from-card .door-opening-glow {
  animation: belmOpeningGlow 1.2s ease both;
}

@keyframes belmWelcomeLaunch {
  0% { transform: translateY(0) scale(1); }
  38% { transform: translateY(-8px) scale(1.018); }
  100% { transform: translateY(-2px) scale(1.004); }
}

@keyframes belmOpeningGlow {
  0% { filter: blur(12px); }
  45% { filter: blur(4px); }
  100% { filter: blur(10px); }
}

@keyframes belmClickPulse {
  0%, 100% { transform: translateY(0); opacity: .82; }
  50% { transform: translateY(3px); opacity: 1; }
}


/* belm-spacing-final-v9: header compacto y escena final optimizada */



  /* Ajustes finales de espacios: header compacto y escena final sin solapes */
  .site-header {
    top: .7rem !important;
    width: min(1320px, calc(100% - clamp(2rem, 9vw, 8rem))) !important;
  }

  .header-inner {
    padding: .38rem .95rem .38rem 1rem !important;
    gap: .65rem !important;
    border-radius: 34px !important;
  }

  .logo-img {
    height: clamp(30px, 4vh, 38px) !important;
  }

  .main-nav {
    gap: clamp(.55rem, 1vw, .92rem) !important;
  }

  .main-nav a {
    font-size: clamp(.68rem, .72vw, .78rem) !important;
    letter-spacing: .075em !important;
    white-space: nowrap !important;
  }

  .header-actions {
    gap: .45rem !important;
    flex-shrink: 0 !important;
  }

  .header-actions .portal {
    display: none !important;
  }

  .header-actions .btn {
    min-height: 42px !important;
    padding: .62rem 1.05rem !important;
    font-size: .88rem !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  .site-header.is-scrolled .header-inner,
  body:not(.home-page) .site-header .header-inner {
    padding: .32rem .9rem !important;
  }

  .home-gate-hero .hero-intro {
    top: 52.5% !important;
    width: min(90vw, 720px) !important;
  }

  .home-gate-hero .hero-welcome-panel {
    width: min(560px, calc(100vw - 2rem)) !important;
    padding: clamp(.85rem, 1.55vw, 1.18rem) clamp(1rem, 2.8vw, 1.8rem) clamp(1rem, 1.75vw, 1.3rem) !important;
    border-radius: 34px 34px 44px 44px / 28px 28px 46px 46px !important;
  }

  .home-gate-hero .hero-intro-kicker {
    font-size: clamp(.58rem, .72vw, .72rem) !important;
    letter-spacing: .13em !important;
    margin-bottom: .28rem !important;
  }

  .home-gate-hero .hero-intro-logo {
    width: min(185px, 38vw) !important;
    max-height: 78px !important;
  }

  .home-gate-hero .hero-intro-title {
    font-size: clamp(1.85rem, 3.55vw, 3.25rem) !important;
    line-height: .92 !important;
    margin-top: .08rem !important;
  }

  .home-gate-hero .hero-intro-text {
    max-width: 455px !important;
    margin-top: .34rem !important;
    font-size: clamp(.78rem, .95vw, .96rem) !important;
    line-height: 1.35 !important;
  }

  .home-gate-hero .hero-click-hint {
    margin-top: .42rem !important;
    font-size: clamp(.66rem, .82vw, .8rem) !important;
  }

  .home-gate-hero .hero-content {
    top: 77% !important;
    width: min(90vw, 820px) !important;
  }

  .home-gate-hero .hero-content::before {
    width: min(100%, 790px) !important;
    height: calc(100% + 1.55rem) !important;
    border-radius: 28px !important;
    background: linear-gradient(180deg, rgba(4,61,93,.14), rgba(4,61,93,.06)) !important;
  }

  .home-gate-hero .hero-content .eyebrow {
    display: inline-flex !important;
    margin-bottom: .7rem !important;
    padding: .46rem .82rem !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.18) !important;
    border: 1px solid rgba(255,255,255,.28) !important;
    color: #fff !important;
    letter-spacing: .105em !important;
    font-size: clamp(.63rem, .76vw, .76rem) !important;
    line-height: 1 !important;
    text-shadow: 0 6px 18px rgba(4,61,93,.28) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }

  .home-gate-hero .hero-content .eyebrow::before {
    width: 22px !important;
    opacity: .88 !important;
  }

  .home-gate-hero .hero-title {
    font-size: clamp(2.2rem, 4.15vw, 4.55rem) !important;
    line-height: .95 !important;
  }

  .home-gate-hero .hero-copy {
    max-width: 670px !important;
    margin-top: .9rem !important;
    font-size: clamp(.95rem, 1.22vw, 1.08rem) !important;
    line-height: 1.68 !important;
  }

  .home-gate-hero .hero-actions {
    margin-top: 1.05rem !important;
  }

  .home-gate-hero .hero-trust {
    margin-top: .9rem !important;
  }

  @media (max-width: 1180px) {
    .site-header { width: min(1040px, calc(100% - 1.25rem)) !important; }
    .main-nav { gap: .55rem !important; }
    .main-nav a { font-size: .66rem !important; letter-spacing: .055em !important; }
    .header-actions .btn { min-height: 40px !important; padding: .55rem .88rem !important; font-size: .8rem !important; }
  }

  @media (max-width: 1050px) {
    .site-header { width: min(680px, calc(100% - 1rem)) !important; }
    .header-inner { border-radius: 26px !important; }
  }

  @media (max-width: 760px) {
    .home-gate-hero .hero-intro { top: 49.5% !important; width: min(92vw, 560px) !important; }
    .home-gate-hero .hero-welcome-panel { width: min(92vw, 480px) !important; padding: .86rem .95rem 1rem !important; }
    .home-gate-hero .hero-intro-logo { width: min(170px, 48vw) !important; }
    .home-gate-hero .hero-content { top: 75.5% !important; }
    .home-gate-hero .hero-title { font-size: clamp(1.95rem, 9vw, 3.35rem) !important; }
    .home-gate-hero .hero-copy { font-size: .94rem !important; }
  }



/* =========================================================
   V10 - Ajuste final de espacios del hero
   Evita solapes entre bienvenida, etiqueta CAM y chips inferiores.
   ========================================================= */
@media (min-width: 761px) {
  .home-gate-hero .hero-intro {
    top: 43.5% !important;
    width: min(86vw, 640px) !important;
  }

  .home-gate-hero .hero-welcome-panel {
    width: min(500px, calc(100vw - 2.5rem)) !important;
    padding: clamp(.62rem, 1.05vw, .86rem) clamp(.95rem, 2vw, 1.35rem) clamp(.72rem, 1.1vw, .92rem) !important;
    border-radius: 30px 30px 40px 40px / 24px 24px 40px 40px !important;
  }

  .home-gate-hero .hero-intro-kicker {
    font-size: clamp(.52rem, .62vw, .66rem) !important;
    letter-spacing: .14em !important;
    margin-bottom: .16rem !important;
  }

  .home-gate-hero .hero-intro-logo {
    width: min(148px, 30vw) !important;
    max-height: 58px !important;
    margin-bottom: .05rem !important;
  }

  .home-gate-hero .hero-intro-title {
    font-size: clamp(1.45rem, 2.65vw, 2.62rem) !important;
    line-height: .93 !important;
    margin-top: 0 !important;
  }

  .home-gate-hero .hero-intro-text {
    max-width: 400px !important;
    margin-top: .24rem !important;
    font-size: clamp(.68rem, .78vw, .84rem) !important;
    line-height: 1.28 !important;
  }

  .home-gate-hero .hero-click-hint {
    margin-top: .28rem !important;
    padding: .34rem .64rem !important;
    font-size: clamp(.58rem, .68vw, .72rem) !important;
  }

  .home-gate-hero .hero-content {
    top: 73.2% !important;
    width: min(92vw, 980px) !important;
    padding-inline: .75rem !important;
  }

  .home-gate-hero .hero-content::before {
    width: min(100%, 880px) !important;
    height: calc(100% + 1rem) !important;
    border-radius: 28px !important;
    background: linear-gradient(180deg, rgba(4,61,93,.10), rgba(4,61,93,.045)) !important;
  }

  .home-gate-hero .hero-content .eyebrow {
    margin-bottom: .38rem !important;
    padding: .38rem .72rem !important;
    font-size: clamp(.56rem, .66vw, .68rem) !important;
    line-height: 1.05 !important;
    letter-spacing: .095em !important;
    background: rgba(255,255,255,.24) !important;
    border-color: rgba(255,255,255,.42) !important;
    box-shadow: 0 10px 26px rgba(4,61,93,.10) !important;
  }

  .home-gate-hero .hero-content .eyebrow::before {
    width: 18px !important;
  }

  .home-gate-hero .hero-title {
    font-size: clamp(2.25rem, 3.55vw, 4.05rem) !important;
    line-height: .94 !important;
    max-width: 940px !important;
    margin-inline: auto !important;
  }

  .home-gate-hero .hero-copy {
    max-width: 700px !important;
    margin-top: .62rem !important;
    font-size: clamp(.86rem, 1.05vw, 1rem) !important;
    line-height: 1.55 !important;
  }

  .home-gate-hero .hero-actions {
    margin-top: .78rem !important;
    gap: .58rem !important;
  }

  .home-gate-hero .hero-actions .btn {
    min-height: 40px !important;
    padding: .62rem 1.05rem !important;
    font-size: .88rem !important;
  }

  .home-gate-hero .hero-trust {
    margin-top: .68rem !important;
    gap: .46rem !important;
    padding-bottom: .6rem !important;
  }

  .home-gate-hero .trust-chip {
    min-height: 30px !important;
    padding: .34rem .62rem !important;
    font-size: clamp(.66rem, .78vw, .78rem) !important;
    line-height: 1.05 !important;
  }
}

@media (min-width: 761px) and (max-height: 820px) {
  .home-gate-hero .hero-intro { top: 41.8% !important; }
  .home-gate-hero .hero-welcome-panel { width: min(470px, calc(100vw - 2.5rem)) !important; padding: .56rem 1rem .66rem !important; }
  .home-gate-hero .hero-intro-logo { width: min(134px, 28vw) !important; max-height: 50px !important; }
  .home-gate-hero .hero-intro-title { font-size: clamp(1.32rem, 2.35vw, 2.28rem) !important; }
  .home-gate-hero .hero-intro-text { font-size: clamp(.62rem, .72vw, .78rem) !important; margin-top: .18rem !important; }
  .home-gate-hero .hero-click-hint { margin-top: .2rem !important; padding: .28rem .55rem !important; }

  .home-gate-hero .hero-content { top: 73.8% !important; }
  .home-gate-hero .hero-content .eyebrow { margin-bottom: .28rem !important; padding: .32rem .64rem !important; }
  .home-gate-hero .hero-title { font-size: clamp(2rem, 3.25vw, 3.55rem) !important; line-height: .93 !important; }
  .home-gate-hero .hero-copy { margin-top: .48rem !important; font-size: clamp(.8rem, .95vw, .92rem) !important; line-height: 1.45 !important; }
  .home-gate-hero .hero-actions { margin-top: .58rem !important; }
  .home-gate-hero .hero-actions .btn { min-height: 36px !important; padding: .52rem .88rem !important; font-size: .82rem !important; }
  .home-gate-hero .hero-trust { margin-top: .48rem !important; padding-bottom: .7rem !important; }
  .home-gate-hero .trust-chip { min-height: 27px !important; padding: .28rem .5rem !important; font-size: .68rem !important; }
}

@media (max-width: 760px) {
  .home-gate-hero .hero-intro { top: 42% !important; }
  .home-gate-hero .hero-content { top: 73% !important; }
  .home-gate-hero .hero-trust { display: flex !important; gap: .35rem !important; }
  .home-gate-hero .trust-chip { min-height: 28px !important; padding: .28rem .5rem !important; font-size: .66rem !important; }
}


/* =========================================================
   V11 - Mejora del texto de click y bloque de ubicacion
   ========================================================= */
.home-gate-hero .hero-click-hint {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .42rem !important;
  margin-top: .34rem !important;
  padding: .44rem .92rem !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, rgba(4,61,93,.94), rgba(10,107,138,.92)) !important;
  border: 1px solid rgba(255,255,255,.82) !important;
  color: #fff !important;
  font-weight: 1000 !important;
  letter-spacing: .02em !important;
  text-shadow: none !important;
  box-shadow: 0 12px 28px rgba(4,61,93,.18), inset 0 1px 0 rgba(255,255,255,.25) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.home-gate-hero .hero-click-hint::before {
  content: "➜";
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  color: #043D5D;
  background: #FFD85C;
  font-size: .72rem;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(4,61,93,.15);
}

.home-gate-hero .hero-click-hint span {
  color: #FFD85C !important;
  text-transform: uppercase !important;
  letter-spacing: .06em !important;
}

.location-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 10%, rgba(167,243,208,.28), transparent 26rem),
    radial-gradient(circle at 84% 86%, rgba(255,216,92,.18), transparent 22rem),
    linear-gradient(180deg, #fffdf9 0%, #fff8f0 100%);
}

.location-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(20,184,166,.12) 0 2px, transparent 2.5px),
    radial-gradient(circle, rgba(4,61,93,.08) 0 1.5px, transparent 2px);
  background-size: 120px 120px, 180px 180px;
  background-position: 20px 40px, 90px 20px;
  pointer-events: none;
  opacity: .75;
}

.location-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: stretch;
}

.location-copy {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(231,238,243,.9);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3vw, 2.35rem);
  box-shadow: 0 22px 60px rgba(4,61,93,.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.location-copy .lead {
  max-width: none;
}

.location-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin-top: 1.5rem;
}

.location-highlight {
  display: grid;
  gap: .25rem;
  padding: .95rem;
  border-radius: 18px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(4,61,93,.08);
}

.location-highlight strong {
  color: var(--deep);
  font-weight: 1000;
}

.location-highlight span {
  color: var(--muted);
  line-height: 1.55;
  font-size: .92rem;
}

.location-note {
  margin-top: 1.35rem;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  color: var(--deep);
  background: rgba(20,184,166,.10);
  border: 1px solid rgba(20,184,166,.18);
  line-height: 1.7;
  font-weight: 800;
}

.location-map-card {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #dff6f4;
  border: 1px solid rgba(231,238,243,.95);
  box-shadow: var(--shadow-strong);
}

.location-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  border: 0;
  filter: saturate(.92) contrast(.98);
}

.location-map-badge {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 1rem;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  color: var(--deep);
  box-shadow: 0 16px 40px rgba(4,61,93,.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.location-map-badge strong {
  display: block;
  font-size: .95rem;
  line-height: 1.2;
}

.location-map-badge span {
  display: block;
  margin-top: .18rem;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 800;
}

.location-map-badge .btn {
  min-height: 40px;
  padding: .58rem .9rem;
  font-size: .82rem;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .location-layout { grid-template-columns: 1fr; }
  .location-map-card,
  .location-map-card iframe { min-height: 390px; }
}

@media (max-width: 620px) {
  .location-highlights { grid-template-columns: 1fr; }
  .location-map-badge { align-items: flex-start; flex-direction: column; }
}


/* V15 note: the active hero logo visibility override is in index.html so it loads after all previous inline hero styles. */

/* =========================================================
   V16 - Hero inicial sin logo
   ========================================================= */
.home-gate-hero .hero-intro-logo {
  display: none !important;
}
.home-gate-hero .hero-welcome-panel {
  padding-top: clamp(1.18rem, 2.25vw, 1.55rem) !important;
}
.home-gate-hero .hero-intro-kicker {
  margin-bottom: .88rem !important;
}
.home-gate-hero .hero-intro-title {
  margin-top: .08rem !important;
}
.home-gate-hero .hero-intro-text {
  margin-top: .72rem !important;
}
@media (max-width: 760px) {
  .home-gate-hero .hero-welcome-panel {
    padding-top: 1rem !important;
  }
  .home-gate-hero .hero-intro-kicker {
    margin-bottom: .72rem !important;
  }
}


/* =========================================================
   HOME INFORMACIÓN REAL - Secciones premium desde "Por qué elegirnos"
   ========================================================= */
.home-proof-section,
.age-section,
.activity-section {
  position: relative;
  overflow: hidden;
}

.home-proof-section::before,
.activity-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 12%, rgba(20,184,166,.10), transparent 28rem),
    radial-gradient(circle at 88% 16%, rgba(255,216,92,.13), transparent 22rem);
}

.home-proof-layout,
.family-services-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.home-proof-copy {
  position: sticky;
  top: 7.5rem;
}

.proof-note {
  margin-top: 1.65rem;
  padding: 1.1rem 1.2rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(20,184,166,.12), rgba(255,216,92,.16));
  border: 1px solid rgba(4,61,93,.08);
  color: var(--deep);
  box-shadow: 0 16px 42px rgba(4,61,93,.06);
}

.proof-note strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: .42rem;
}

.proof-note span {
  display: block;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 800;
}

.home-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.proof-card {
  position: relative;
  min-height: 255px;
  padding: 1.45rem;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.76));
  border: 1px solid rgba(231,238,243,.9);
  box-shadow: 0 18px 54px rgba(4,61,93,.08);
  overflow: hidden;
  isolation: isolate;
}

.proof-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20,184,166,.16), rgba(20,184,166,0) 70%);
  z-index: -1;
}

.proof-card.featured {
  background:
    radial-gradient(circle at 15% 12%, rgba(255,255,255,.48), transparent 34%),
    linear-gradient(135deg, var(--deep), var(--mid));
  color: #fff;
}

.proof-card.featured h3,
.proof-card.featured p,
.proof-card.featured .proof-icon { color: #fff; }
.proof-card.featured p { color: rgba(255,255,255,.82); }

.proof-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 56px;
  padding: 0 .8rem;
  margin-bottom: 1.1rem;
  border-radius: 18px;
  background: rgba(20,184,166,.12);
  color: var(--deep);
  font-weight: 1000;
  font-size: 1.15rem;
}

.proof-card h3,
.space-list h3,
.age-card h3,
.activity-card h3 {
  margin: 0 0 .55rem;
  font-family: "Fraunces", Georgia, serif;
  color: var(--deep);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.proof-card h3 { font-size: clamp(1.45rem, 2vw, 1.85rem); }
.proof-card p,
.age-card p,
.activity-card p,
.space-list li {
  color: var(--muted);
  line-height: 1.72;
  font-weight: 700;
}

.section-heading-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.spaces-showcase {
  display: grid;
  grid-template-columns: .78fr .78fr 1.44fr;
  gap: 1rem;
  align-items: stretch;
}

.space-metric,
.space-list {
  border-radius: 32px;
  border: 1px solid rgba(231,238,243,.95);
  background: rgba(255,255,255,.82);
  box-shadow: 0 18px 50px rgba(4,61,93,.07);
}

.space-metric {
  min-height: 245px;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 1.3rem;
}

.space-metric strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: .9;
  color: var(--deep);
  letter-spacing: -.06em;
}

.space-metric span {
  display: block;
  margin-top: .75rem;
  color: var(--muted);
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .82rem;
}

.space-list {
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.space-list h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); }
.space-list ul {
  display: grid;
  gap: .75rem;
  padding-left: 1.1rem;
  margin-top: 1rem;
}

.age-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.age-card {
  position: relative;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: 32px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(4,61,93,.07);
  overflow: hidden;
}

.age-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 155px;
  height: 155px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,216,92,.22), rgba(255,216,92,0) 70%);
}

.age-badge {
  display: inline-grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--mid));
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -.06em;
  box-shadow: 0 16px 38px rgba(4,61,93,.16);
}

.age-card h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); }

.family-services-section {
  position: relative;
  overflow: hidden;
}

.family-services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(20,184,166,.10) 0 2px, transparent 2.5px);
  background-size: 96px 96px;
  opacity: .7;
  pointer-events: none;
}

.family-service-main {
  position: relative;
  z-index: 1;
}

.service-cta-row,
.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.45rem;
}

.service-stack {
  display: grid;
  gap: .85rem;
}

.service-pill {
  display: block;
  padding: 1.15rem 1.25rem;
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(231,238,243,.95);
  box-shadow: 0 14px 38px rgba(4,61,93,.06);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  user-select: none;
}

.service-pill[open] {
  background: #ffffff;
  border-color: rgba(20, 184, 166, 0.25);
  box-shadow: 0 16px 40px rgba(20, 184, 166, 0.08);
}

.service-pill summary {
  list-style: none;
  outline: none;
}

.service-pill summary::-webkit-details-marker {
  display: none;
}

.service-pill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.service-pill-titles {
  display: flex;
  flex-direction: column;
  gap: .18rem;
}

.service-pill span {
  color: var(--teal);
  font-size: .78rem;
  font-weight: 1000;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.service-pill strong {
  color: var(--deep);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.activity-card {
  min-height: 250px;
  padding: 1.35rem;
  border-radius: 30px;
  background:
    radial-gradient(circle at 80% 10%, rgba(20,184,166,.12), transparent 28%),
    #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(4,61,93,.07);
}

.activity-card span {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: rgba(20,184,166,.12);
  font-size: 1.55rem;
}

.activity-card h3 { font-size: clamp(1.32rem, 1.8vw, 1.65rem); }

.visit-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 40px;
  background:
    radial-gradient(circle at 88% 20%, rgba(255,216,92,.20), transparent 24rem),
    linear-gradient(135deg, #ffffff, #f4fffc);
  border: 1px solid rgba(231,238,243,.95);
  box-shadow: 0 24px 70px rgba(4,61,93,.10);
}

.visit-actions {
  justify-content: flex-end;
  min-width: min(360px, 100%);
}

@media (max-width: 980px) {
  .home-proof-layout,
  .family-services-layout,
  .section-heading-split,
  .visit-card {
    grid-template-columns: 1fr;
  }
  .home-proof-copy { position: static; }
  .spaces-showcase { grid-template-columns: 1fr; }
  .activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit-actions { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .home-proof-grid,
  .age-flow,
  .activity-grid { grid-template-columns: 1fr; }
  .proof-card,
  .age-card,
  .activity-card { min-height: auto; }
  .space-metric { min-height: 170px; }
  .proof-note { padding: 1rem; }
}

/* belm-home-proof-image-upgrade */
  /* Mejora visual de la sección "Por qué elegirnos": título más editorial y tarjetas con fotografía. */
  .home-proof-copy .home-proof-title {
    max-width: 620px;
    font-size: clamp(2.45rem, 4.35vw, 4.7rem) !important;
    line-height: .98 !important;
    letter-spacing: -.045em !important;
  }

  .home-proof-copy .home-proof-lead {
    max-width: 640px;
    font-size: clamp(1rem, 1.28vw, 1.14rem);
    line-height: 1.78;
  }

  .home-proof-grid {
    gap: clamp(1rem, 1.8vw, 1.35rem) !important;
  }

  .proof-card.proof-card-photo {
    min-height: 345px;
    padding: 0 !important;
    display: grid;
    grid-template-rows: 138px 1fr;
    border-radius: 34px;
    overflow: hidden;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(231,238,243,.96);
    box-shadow: 0 24px 70px rgba(4,61,93,.10);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  }

  .proof-card.proof-card-photo:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 90px rgba(4,61,93,.16);
    border-color: rgba(20,184,166,.26);
  }

  .proof-card.proof-card-photo::after {
    display: none;
  }

  .proof-card-image {
    position: relative;
    min-height: 138px;
    background:
      linear-gradient(180deg, rgba(4,61,93,.04), rgba(4,61,93,.18)),
      var(--proof-photo),
      radial-gradient(circle at 20% 20%, rgba(20,184,166,.20), transparent 44%),
      linear-gradient(135deg, #dff8f5, #fff8e8);
    background-size: cover;
    background-position: center;
    overflow: hidden;
  }

  .proof-card-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(255,255,255,.28), rgba(255,255,255,0) 44%);
    mix-blend-mode: screen;
    pointer-events: none;
  }

  .proof-card-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 40px;
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.96));
    pointer-events: none;
  }

  .proof-card-body {
    position: relative;
    display: grid;
    align-content: start;
    padding: 1.2rem 1.45rem 1.45rem;
  }

  .proof-card.proof-card-photo .proof-icon {
    position: absolute;
    top: -34px;
    left: 1.25rem;
    min-width: 62px;
    height: 62px;
    margin: 0;
    border-radius: 22px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(255,255,255,.72);
    box-shadow: 0 14px 34px rgba(4,61,93,.15);
    color: var(--deep);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .proof-card.proof-card-photo h3 {
    margin-top: 1.55rem;
    font-size: clamp(1.45rem, 1.9vw, 1.82rem);
  }

  .proof-card.proof-card-photo p {
    margin: 0;
    font-size: .98rem;
    line-height: 1.68;
  }

  .proof-card.featured.proof-card-photo {
    background: linear-gradient(135deg, #053d5e, #08718d);
    border-color: rgba(255,255,255,.18);
  }

  .proof-card.featured.proof-card-photo .proof-card-image {
    background:
      linear-gradient(180deg, rgba(4,61,93,.15), rgba(4,61,93,.55)),
      var(--proof-photo),
      radial-gradient(circle at 20% 20%, rgba(221,249,245,.22), transparent 44%),
      linear-gradient(135deg, #0a6b8a, #043d5d);
    background-size: cover;
    background-position: center;
  }

  .proof-card.featured.proof-card-photo .proof-card-image::after {
    background: linear-gradient(180deg, rgba(4,61,93,0), rgba(5,61,94,.96));
  }

  .proof-card.featured.proof-card-photo .proof-card-body {
    color: #fff;
  }

  .proof-card.featured.proof-card-photo .proof-icon {
    background: rgba(221,249,245,.92);
    color: #043D5D;
  }

  .proof-card.featured.proof-card-photo h3,
  .proof-card.featured.proof-card-photo p {
    color: #fff;
  }

  .proof-card.featured.proof-card-photo p {
    color: rgba(255,255,255,.84);
  }

  @media (max-width: 1020px) {
    .home-proof-copy {
      position: relative;
      top: auto;
    }
    .home-proof-layout {
      grid-template-columns: 1fr;
    }
    .home-proof-copy .home-proof-title {
      max-width: 760px;
      font-size: clamp(2.2rem, 7vw, 4rem) !important;
    }
  }

  @media (max-width: 760px) {
    .home-proof-grid {
      grid-template-columns: 1fr !important;
    }
    .proof-card.proof-card-photo {
      min-height: auto;
      grid-template-rows: 128px 1fr;
    }
    .proof-card-body {
      padding: 1.1rem 1.2rem 1.35rem;
    }
  }



/* =========================================================
   Mejora visual de la sección Instalaciones
   ========================================================= */
.home-spaces-section {
  position: relative;
  overflow: hidden;
  padding-top: clamp(3.6rem, 5.6vw, 5.8rem) !important;
  padding-bottom: clamp(3.6rem, 5.8vw, 6rem) !important;
  background:
    radial-gradient(circle at 8% 0%, rgba(20,184,166,.10), transparent 26rem),
    radial-gradient(circle at 88% 85%, rgba(255,216,92,.14), transparent 24rem),
    linear-gradient(180deg, #fffaf3 0%, #fff7ee 100%) !important;
}
.home-spaces-section .spaces-heading-premium {
  grid-template-columns: minmax(0, .95fr) minmax(320px, .78fr) !important;
  align-items: start !important;
  gap: clamp(1.2rem, 3vw, 2.4rem) !important;
  margin-bottom: clamp(1.45rem, 2.8vw, 2.15rem) !important;
}
.home-spaces-section .spaces-heading-premium .title {
  max-width: 760px;
  font-size: clamp(2.05rem, 4vw, 3.65rem) !important;
  line-height: 1.01 !important;
  letter-spacing: -.045em !important;
}
.home-spaces-section .spaces-heading-premium .lead {
  max-width: 560px;
  margin-top: clamp(1.25rem, 2.6vw, 2.4rem);
  font-size: clamp(.98rem, 1.1vw, 1.08rem) !important;
  line-height: 1.78 !important;
}
.spaces-showcase-premium {
  grid-template-columns: minmax(210px, .78fr) minmax(210px, .78fr) minmax(360px, 1.38fr) !important;
  gap: clamp(.85rem, 1.35vw, 1.15rem) !important;
}
.space-metric-photo {
  position: relative;
  min-height: clamp(230px, 23vw, 285px) !important;
  overflow: hidden;
  isolation: isolate;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left !important;
  padding: clamp(1rem, 2vw, 1.45rem) !important;
  border-radius: 32px !important;
  border: 1px solid rgba(255,255,255,.65) !important;
  background:
    linear-gradient(180deg, rgba(4,61,93,.08) 0%, rgba(4,61,93,.36) 48%, rgba(4,61,93,.86) 100%),
    var(--space-photo),
    linear-gradient(135deg, #dff9f4, #0a6b8a) !important;
  background-size: cover, cover, cover !important;
  background-position: center, center, center !important;
  box-shadow: 0 24px 70px rgba(4,61,93,.13) !important;
}
.space-metric-photo::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -1;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.24);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0));
  pointer-events: none;
}
.space-metric-photo::after {
  content: "";
  position: absolute;
  right: -44px;
  top: -44px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  filter: blur(2px);
  pointer-events: none;
}
.space-metric-kicker {
  display: inline-flex !important;
  width: auto !important;
  margin: 0 0 .7rem !important;
  padding: .38rem .68rem;
  border-radius: 999px;
  background: rgba(255,255,255,.20);
  color: rgba(255,255,255,.94) !important;
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: .74rem !important;
  line-height: 1 !important;
  font-weight: 1000 !important;
  text-transform: uppercase;
  letter-spacing: .08em !important;
}
.space-metric-photo strong {
  color: #fff !important;
  text-shadow: 0 10px 28px rgba(0,37,57,.28);
  font-size: clamp(3rem, 5.35vw, 5rem) !important;
}
.space-metric-photo > span:last-child {
  color: rgba(255,255,255,.88) !important;
  letter-spacing: .075em !important;
  font-size: clamp(.72rem, .78vw, .84rem) !important;
}
.space-list-premium {
  min-height: clamp(230px, 23vw, 285px);
  padding: clamp(1.35rem, 2.3vw, 2rem) !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 32px !important;
  background:
    radial-gradient(circle at 88% 16%, rgba(20,184,166,.13), transparent 11rem),
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.82)) !important;
}
.space-list-kicker {
  width: max-content;
  margin-bottom: .8rem;
  padding: .42rem .68rem;
  border-radius: 999px;
  background: rgba(20,184,166,.12);
  color: var(--deep);
  font-size: .76rem;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.space-list-premium h3 {
  font-size: clamp(1.55rem, 2.15vw, 2rem) !important;
  max-width: 520px;
}
.space-list-premium ul {
  margin: .65rem 0 0;
  padding-left: 1.1rem;
}
.space-list-premium li {
  margin: .35rem 0;
  line-height: 1.6 !important;
}
.space-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1rem;
}
.space-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: .38rem .62rem;
  border-radius: 999px;
  background: rgba(4,61,93,.06);
  color: var(--deep);
  font-weight: 1000;
  font-size: .78rem;
}
@media (max-width: 980px) {
  .home-spaces-section .spaces-heading-premium,
  .spaces-showcase-premium {
    grid-template-columns: 1fr !important;
  }
  .home-spaces-section .spaces-heading-premium .lead {
    margin-top: 0;
  }
  .space-metric-photo,
  .space-list-premium {
    min-height: 230px !important;
  }
}
@media (max-width: 640px) {
  .space-metric-photo,
  .space-list-premium {
    border-radius: 26px !important;
  }
  .space-metric-photo strong {
    font-size: clamp(3rem, 16vw, 4.5rem) !important;
  }
}


/* =========================================================
   REDISEÑO PREMIUM - Aulas por edad
   Sustituye las cajas simples por un recorrido visual por niveles.
   ========================================================= */
.age-section-premium {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(20,184,166,.11), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(255,216,92,.12), transparent 23rem),
    linear-gradient(180deg, #fffdf9 0%, #fff8f0 100%);
}

.age-section-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .72;
  background-image:
    radial-gradient(circle, rgba(20,184,166,.12) 0 2px, transparent 2.5px),
    radial-gradient(circle, rgba(4,61,93,.07) 0 1.5px, transparent 2px);
  background-size: 126px 126px, 190px 190px;
  background-position: 28px 42px, 118px 20px;
}

.age-section-premium .container {
  position: relative;
  z-index: 1;
}

.age-premium-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .72fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
}

.age-premium-head .title {
  max-width: 980px;
  font-size: clamp(2.6rem, 5.3vw, 5.8rem);
  line-height: .94;
  text-wrap: balance;
}

.age-premium-head .lead {
  margin: 0 0 .6rem;
  max-width: 520px;
}

.age-journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
  margin-top: clamp(2.2rem, 4vw, 3.4rem);
  padding: 2.2rem 0 .4rem;
}

.age-journey::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 6.1rem;
  height: 16px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(20,184,166,0), rgba(20,184,166,.36), rgba(255,216,92,.34), rgba(10,107,138,.30), rgba(10,107,138,0));
  filter: blur(.2px);
  box-shadow: 0 18px 42px rgba(4,61,93,.08);
  pointer-events: none;
}

.age-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 430px;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.age-stage:nth-child(2) { margin-top: 2rem; }
.age-stage:nth-child(3) { margin-top: .75rem; }

.age-stage::before {
  display: none !important;
  content: "";
  position: absolute;
  left: 50%;
  top: 5.35rem;
  width: 22px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #fff;
  border: 6px solid rgba(20,184,166,.88);
  box-shadow: 0 0 0 10px rgba(20,184,166,.11), 0 14px 32px rgba(4,61,93,.16);
  z-index: 3;
}

.age-stage-visual {
  position: relative;
  min-height: 180px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 38px 38px 22px 22px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 24px 70px rgba(4,61,93,.14);
}

.age-stage-visual::before,
.age-stage-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

.age-stage-visual::before {
  width: 220px;
  height: 220px;
  left: -56px;
  top: -78px;
  background: radial-gradient(circle, rgba(255,255,255,.56), rgba(255,255,255,0) 68%);
}

.age-stage-visual::after {
  width: 160px;
  height: 160px;
  right: -48px;
  bottom: -58px;
  background: radial-gradient(circle, rgba(255,216,92,.32), rgba(255,216,92,0) 70%);
}

.age-stage-baby .age-stage-visual {
  background: linear-gradient(135deg, #a7f3d0 0%, #14b8a6 62%, #0a6b8a 100%);
}

.age-stage-explorer .age-stage-visual {
  background: linear-gradient(135deg, #dff9f5 0%, #55d0c5 46%, #0789a8 100%);
}

.age-stage-ready .age-stage-visual {
  background: linear-gradient(135deg, #fff4bf 0%, #69d8d0 45%, #043d5d 100%);
}

.age-stage-number {
  display: block;
  position: relative;
  z-index: 1;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 800;
  font-size: clamp(4.4rem, 8vw, 7.6rem);
  line-height: .78;
  letter-spacing: -.08em;
  color: #fff;
  text-shadow: 0 16px 38px rgba(4,61,93,.25);
}

.age-stage-label {
  position: absolute;
  left: 1.25rem;
  bottom: 1.05rem;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .36rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: var(--deep);
  font-weight: 1000;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.age-stage-copy {
  position: relative;
  margin: -1.9rem 1rem 0;
  padding: 2rem clamp(1.2rem, 2vw, 1.65rem) 1.55rem;
  border-radius: 28px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(231,238,243,.98);
  box-shadow: 0 22px 58px rgba(4,61,93,.10);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
}

.age-stage-copy::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 22px;
  border: 1px solid rgba(4,61,93,.055);
  pointer-events: none;
}

.age-stage-kicker {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  margin-bottom: .75rem;
  color: var(--teal);
  font-size: .72rem;
  font-weight: 1000;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.age-stage-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.age-stage-copy h3 {
  margin: 0 0 .65rem;
  max-width: 340px;
  font-family: "Fraunces", Georgia, serif;
  color: var(--deep);
  font-size: clamp(1.42rem, 2vw, 2rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.age-stage-copy p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.65;
}

.age-milestones {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 1rem 0 0;
  padding: 0;
}

.age-milestones li {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: .35rem .62rem;
  border-radius: 999px;
  background: rgba(20,184,166,.10);
  color: var(--deep);
  font-weight: 1000;
  font-size: .74rem;
}

@media (max-width: 980px) {
  .age-premium-head {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .age-premium-head .lead {
    margin: 0;
    max-width: 720px;
  }

  .age-journey {
    grid-template-columns: 1fr;
    padding-left: clamp(1.2rem, 5vw, 2rem);
    gap: 1.3rem;
  }

  .age-journey::before {
    left: clamp(.45rem, 2vw, .85rem);
    right: auto;
    top: 1rem;
    bottom: 1rem;
    width: 14px;
    height: auto;
    background: linear-gradient(180deg, rgba(20,184,166,0), rgba(20,184,166,.36), rgba(255,216,92,.34), rgba(10,107,138,.30), rgba(10,107,138,0));
  }

  .age-stage,
  .age-stage:nth-child(2),
  .age-stage:nth-child(3) {
    margin-top: 0;
    min-height: auto;
  }

  .age-stage::before {
    left: calc(-1.2rem - 1px);
    top: 5.2rem;
    transform: translateX(-50%);
  }

  .age-stage-visual {
    min-height: 145px;
  }

  .age-stage-number {
    font-size: clamp(3.6rem, 14vw, 5.8rem);
  }
}

@media (max-width: 620px) {
  .age-premium-head .title {
    font-size: clamp(2.15rem, 11vw, 3.45rem);
  }

  .age-journey {
    padding-left: 0;
  }

  .age-journey::before,
  .age-stage::before {
    display: none;
  }

  .age-stage-visual {
    border-radius: 28px 28px 18px 18px;
  }

  .age-stage-copy {
    margin-inline: .55rem;
    border-radius: 24px;
  }
}




/* =========================================================
   Ajuste final - Aulas por edad
   Titular alineado con el resto de la home + recorrido por niveles
   con hilo visual y titulares integrados en la parte superior.
   ========================================================= */
.age-section-premium {
  padding-top: clamp(4.6rem, 7vw, 7rem) !important;
  padding-bottom: clamp(4.8rem, 7vw, 7.4rem) !important;
}

.age-premium-head {
  grid-template-columns: minmax(0, .95fr) minmax(300px, .62fr) !important;
  align-items: end !important;
  gap: clamp(1.25rem, 4vw, 3.4rem) !important;
}

.age-premium-head .title {
  max-width: 760px !important;
  font-size: clamp(2rem, 4.7vw, 4rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -.03em !important;
}

.age-premium-head .lead {
  max-width: 500px !important;
  margin-bottom: .45rem !important;
  font-size: clamp(1rem, 1.32vw, 1.14rem) !important;
  line-height: 1.78 !important;
}

.age-journey {
  gap: clamp(1rem, 2.1vw, 1.65rem) !important;
  margin-top: clamp(2rem, 3.6vw, 3rem) !important;
  padding-top: 2.5rem !important;
}

.age-journey::before {
  left: 9% !important;
  right: 9% !important;
  top: 8.9rem !important;
  height: 10px !important;
  background:
    linear-gradient(90deg,
      rgba(20,184,166,0),
      rgba(20,184,166,.34) 18%,
      rgba(255,216,92,.42) 50%,
      rgba(10,107,138,.34) 82%,
      rgba(10,107,138,0)) !important;
  box-shadow: 0 18px 46px rgba(4,61,93,.10), 0 0 0 1px rgba(255,255,255,.42) inset !important;
}

.age-stage {
  min-height: 440px !important;
}

.age-stage:nth-child(2) { margin-top: 1.4rem !important; }
.age-stage:nth-child(3) { margin-top: .45rem !important; }

.age-stage::before {
  top: 8.42rem !important;
  width: 24px !important;
  height: 24px !important;
  border: 7px solid rgba(255,255,255,.92) !important;
  background: var(--teal) !important;
  box-shadow:
    0 0 0 9px rgba(20,184,166,.14),
    0 14px 34px rgba(4,61,93,.18) !important;
}

.age-stage-visual {
  min-height: 245px !important;
  display: block !important;
  padding: 1.25rem !important;
  border-radius: 42px 42px 24px 24px !important;
  overflow: hidden !important;
}

.age-stage-visual::before {
  width: 260px !important;
  height: 260px !important;
  left: -72px !important;
  top: -92px !important;
}

.age-stage-visual::after {
  width: 190px !important;
  height: 190px !important;
  right: -64px !important;
  bottom: -72px !important;
}

.age-stage-number {
  position: absolute !important;
  right: clamp(.9rem, 2vw, 1.4rem) !important;
  top: clamp(.7rem, 1.4vw, 1rem) !important;
  font-size: clamp(5.3rem, 9.2vw, 8.35rem) !important;
  line-height: .78 !important;
  opacity: .28 !important;
  color: #fff !important;
  text-shadow: none !important;
  pointer-events: none !important;
}

.age-stage-label {
  left: 1.15rem !important;
  top: 1.1rem !important;
  bottom: auto !important;
  background: rgba(255,255,255,.82) !important;
  box-shadow: 0 10px 26px rgba(4,61,93,.10) !important;
}

.age-stage-title-top {
  position: absolute;
  z-index: 2;
  left: clamp(1.25rem, 2vw, 1.55rem);
  right: clamp(1.25rem, 2vw, 1.55rem);
  bottom: clamp(1.25rem, 2vw, 1.55rem);
  max-width: 340px;
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.55rem, 2.25vw, 2.25rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  color: #fff;
  text-shadow: 0 12px 30px rgba(4,61,93,.28);
}

.age-stage-explorer .age-stage-title-top {
  max-width: 360px;
  font-size: clamp(1.65rem, 2.35vw, 2.4rem);
}

.age-stage-copy {
  margin: -1.05rem 1rem 0 !important;
  padding: 1.45rem clamp(1.15rem, 2vw, 1.55rem) 1.45rem !important;
  border-radius: 26px !important;
}

.age-stage-copy h3 {
  display: none !important;
}

.age-stage-kicker {
  margin-bottom: .7rem !important;
}

.age-stage-copy p {
  font-size: clamp(.94rem, 1.12vw, 1.02rem) !important;
  line-height: 1.68 !important;
}

.age-milestones {
  margin-top: .95rem !important;
}

@media (max-width: 980px) {
  .age-premium-head {
    grid-template-columns: 1fr !important;
  }

  .age-premium-head .title {
    max-width: 820px !important;
  }

  .age-journey {
    padding-top: .9rem !important;
  }

  .age-journey::before {
    left: clamp(.45rem, 2vw, .85rem) !important;
    right: auto !important;
    top: 1rem !important;
    bottom: 1rem !important;
    width: 12px !important;
    height: auto !important;
    background: linear-gradient(180deg, rgba(20,184,166,0), rgba(20,184,166,.36), rgba(255,216,92,.34), rgba(10,107,138,.30), rgba(10,107,138,0)) !important;
  }

  .age-stage,
  .age-stage:nth-child(2),
  .age-stage:nth-child(3) {
    min-height: auto !important;
    margin-top: 0 !important;
  }

  .age-stage::before {
    left: calc(-1.2rem - 1px) !important;
    top: 7.05rem !important;
  }

  .age-stage-visual {
    min-height: 205px !important;
  }

  .age-stage-number {
    font-size: clamp(4.2rem, 14vw, 6.5rem) !important;
  }
}

@media (max-width: 620px) {
  .age-premium-head .title {
    font-size: clamp(2rem, 10vw, 3.25rem) !important;
  }

  .age-stage-visual {
    min-height: 198px !important;
    border-radius: 30px 30px 20px 20px !important;
  }

  .age-stage-title-top {
    font-size: clamp(1.42rem, 7vw, 2rem) !important;
  }

  .age-stage-copy {
    margin-inline: .55rem !important;
  }
}


/* =========================================================
   Ajuste final solicitado - Aulas por edad
   La caja blanca de texto queda arriba y el bloque visual azul debajo,
   manteniendo el hilo de etapas entre los tres niveles.
   ========================================================= */
.age-section-premium .age-journey {
  padding-top: clamp(1.2rem, 2.4vw, 2rem) !important;
}

.age-section-premium .age-stage {
  display: grid !important;
  grid-template-rows: auto auto !important;
  overflow: visible !important;
}

.age-section-premium .age-stage-copy {
  order: 1 !important;
  z-index: 7 !important;
  margin: 0 clamp(.7rem, 1.2vw, 1rem) -1.15rem !important;
  padding: clamp(1.15rem, 1.7vw, 1.45rem) clamp(1rem, 1.8vw, 1.45rem) clamp(1.15rem, 1.7vw, 1.35rem) !important;
  min-height: 218px !important;
  border-radius: 28px !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 24px 62px rgba(4,61,93,.13) !important;
}

.age-section-premium .age-stage-visual {
  order: 2 !important;
  z-index: 2 !important;
  min-height: 272px !important;
  padding: clamp(2rem, 3vw, 2.65rem) clamp(1.15rem, 2vw, 1.55rem) clamp(1.35rem, 2vw, 1.7rem) !important;
  border-radius: 28px 28px 46px 46px !important;
}

.age-section-premium .age-stage-title-top {
  top: auto !important;
  bottom: clamp(1.45rem, 2.3vw, 1.95rem) !important;
  left: clamp(1.2rem, 2vw, 1.55rem) !important;
  right: clamp(1.2rem, 2vw, 1.55rem) !important;
  max-width: 380px !important;
}

.age-section-premium .age-stage-label {
  top: clamp(1.05rem, 1.6vw, 1.25rem) !important;
  bottom: auto !important;
  left: clamp(1.05rem, 1.6vw, 1.25rem) !important;
}

.age-section-premium .age-stage-number {
  top: clamp(1.35rem, 2vw, 1.75rem) !important;
  right: clamp(1rem, 2vw, 1.45rem) !important;
  font-size: clamp(4.8rem, 8vw, 7.45rem) !important;
  opacity: .23 !important;
}

@media (min-width: 981px) {
  .age-section-premium .age-journey::before {
    top: 21.2rem !important;
  }

  .age-section-premium .age-stage,
  .age-section-premium .age-stage:nth-child(2),
  .age-section-premium .age-stage:nth-child(3) {
    min-height: 570px !important;
    margin-top: 0 !important;
  }

  .age-section-premium .age-stage::before {
    top: 20.72rem !important;
    z-index: 8 !important;
  }
}

@media (max-width: 980px) {
  .age-section-premium .age-stage-copy {
    margin: 0 .85rem -.9rem !important;
    min-height: auto !important;
  }

  .age-section-premium .age-stage-visual {
    min-height: 230px !important;
  }

  .age-section-premium .age-stage::before {
    top: 14.5rem !important;
    z-index: 8 !important;
  }
}

@media (max-width: 620px) {
  .age-section-premium .age-stage-copy {
    margin: 0 .5rem -.7rem !important;
    padding: 1.05rem .95rem 1.1rem !important;
    border-radius: 24px !important;
  }

  .age-section-premium .age-stage-visual {
    min-height: 218px !important;
    border-radius: 24px 24px 34px 34px !important;
  }

  .age-section-premium .age-stage::before {
    top: 13.7rem !important;
  }
}



/* Final: iconos monocromos de actividades */
.activity-card .activity-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(20,184,166,.14), rgba(221,249,245,.92));
  color: var(--teal);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 10px 24px rgba(4,61,93,.07);
}
.activity-card .activity-icon svg {
  width: 29px;
  height: 29px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.05;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.activity-card .activity-icon-text {
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 1000;
  letter-spacing: .05em;
}

/* Final: iconos monocromos de actividades */
.activity-card .activity-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(20,184,166,.14), rgba(221,249,245,.92));
  color: var(--teal);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 10px 24px rgba(4,61,93,.07);
}
.activity-card .activity-icon svg {
  width: 29px;
  height: 29px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.05;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.activity-card .activity-icon-text {
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 1000;
  letter-spacing: .05em;
}


/* ================================================================
   METODOLOGÍA — Bloques alternados imagen · texto
   (.mf-* = methodology feature)
   ================================================================ */

.mf-section {
  padding: clamp(5rem, 9vw, 9rem) 0 clamp(4rem, 7vw, 7rem);
  background: var(--cream);
  overflow: hidden;
}

/* Cabecera centrada */
.mf-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(3.5rem, 7vw, 6.5rem);
}
.mf-intro .title {
  margin-bottom: 1.1rem;
}
.mf-intro .lead {
  margin: 0 auto;
}

/* —— Bloque principal —— */
.mf-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(500px, 60vh, 660px);
  width: min(1240px, calc(100% - 3rem));
  margin: 0 auto clamp(2rem, 3.5vw, 3rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 28px 90px rgba(4,61,93,.13),
    0 4px 18px rgba(4,61,93,.07);
  transition: box-shadow .4s ease, transform .4s ease;
}
.mf-block:hover {
  box-shadow:
    0 40px 120px rgba(4,61,93,.20),
    0 6px 24px rgba(4,61,93,.10);
  transform: translateY(-4px);
}

/* Bloque invertido: texto izquierda, imagen derecha */
.mf-block--rev .mf-visual { order: 2; }
.mf-block--rev .mf-text   { order: 1; }

/* —— Panel visual —— */
.mf-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}

/* Resplandor interior */
.mf-visual-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 62% 34%, rgba(255,255,255,.20), transparent 68%);
  pointer-events: none;
  z-index: 1;
}

/* Ilustración SVG */
.mf-illo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Número de fondo gigante */
.mf-num {
  position: absolute;
  bottom: -0.12em;
  right: -0.04em;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(9rem, 16vw, 20rem);
  font-weight: 800;
  color: rgba(0,0,0,.09);
  line-height: 1;
  letter-spacing: -.04em;
  z-index: 3;
  pointer-events: none;
  user-select: none;
}

/* —— Temas de color —— */
.mf-coral  { background: linear-gradient(148deg, #FF9B7A 0%, #FF6F5E 52%, #E85847 100%); }
.mf-deep   { background: linear-gradient(148deg, #043D5D 0%, #082F49 42%, #0A6B8A 100%); }
.mf-golden { background: linear-gradient(148deg, #92400E 0%, #D97706 48%, #FFD85C 100%); }
.mf-teal   { background: linear-gradient(148deg, #0A6B8A 0%, #14B8A6 52%, #2DD4BF 100%); }
.mf-terra  { background: linear-gradient(148deg, #431407 0%, #7C2D12 38%, #C2410C 78%, #EA580C 100%); }

/* —— Panel de texto —— */
.mf-text {
  background: #fff;
  padding: clamp(2.8rem, 5.5vw, 5.2rem) clamp(2.2rem, 5vw, 4.8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
}

/* Título del bloque */
.mf-heading {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  line-height: 1.03;
  color: var(--deep);
  letter-spacing: -.04em;
  margin-top: .2rem;
}
.mf-heading em {
  color: var(--teal);
  font-style: italic;
}

/* Descripción */
.mf-desc {
  color: var(--muted);
  font-size: clamp(.99rem, 1.25vw, 1.08rem);
  line-height: 1.90;
  max-width: 490px;
}

/* Lista de características */
.mf-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .95rem;
  margin-top: .3rem;
}
.mf-feats li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: .96rem;
  line-height: 1.74;
  color: var(--ink);
}
.mf-feats strong {
  color: var(--deep);
}

/* Punto de color (usa CSS custom property inline) */
.mf-dot {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dot, var(--teal));
  margin-top: .54rem;
}

/* Chip de edad */
.mf-tag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(20,184,166,.10);
  color: var(--mid);
  border-radius: 999px;
  padding: .48rem 1rem;
  font-size: .80rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-top: .4rem;
  width: fit-content;
}
.mf-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* —— Responsive —— */

/* Tablet: columnas apiladas */
@media (max-width: 860px) {
  .mf-block {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  /* En móvil: imagen siempre arriba */
  .mf-block--rev .mf-visual { order: unset; }
  .mf-block--rev .mf-text   { order: unset; }

  .mf-visual {
    min-height: 290px;
  }
  .mf-num {
    font-size: clamp(7rem, 28vw, 14rem);
  }
  .mf-text {
    gap: .9rem;
  }
}

/* Móvil pequeño */
@media (max-width: 520px) {
  .mf-section {
    padding: clamp(3.5rem, 8vw, 5rem) 0 clamp(3rem, 6vw, 4rem);
  }
  .mf-block {
    width: calc(100% - 1.5rem);
    border-radius: 22px;
  }
  .mf-text {
    padding: 2rem 1.6rem 2.4rem;
    gap: .85rem;
  }
  .mf-heading {
    font-size: clamp(1.85rem, 9.5vw, 2.6rem);
  }
  .mf-visual {
    min-height: 258px;
  }
  .mf-num {
    font-size: clamp(6rem, 30vw, 12rem);
  }
}

/* ================================================================
   METODOLOGÍA PREMIUM — Programación completa con imagen + texto
   Rediseño de la sección "Una programación completa".
   ================================================================ */
.method-program-section {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 8vw, 8rem) 0;
  background:
    radial-gradient(circle at 10% 5%, rgba(20,184,166,.12), transparent 26rem),
    radial-gradient(circle at 88% 18%, rgba(255,216,92,.14), transparent 24rem),
    linear-gradient(180deg, #fffdf9 0%, #fff8f0 100%);
}
.method-program-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  background-image:
    radial-gradient(circle, rgba(20,184,166,.13) 0 2px, transparent 2.5px),
    radial-gradient(circle, rgba(4,61,93,.07) 0 1.5px, transparent 2px);
  background-size: 126px 126px, 190px 190px;
  background-position: 20px 34px, 100px 12px;
}
.method-program-section .container {
  position: relative;
  z-index: 1;
}
.method-program-head {
  margin-bottom: clamp(2.3rem, 5vw, 4rem);
}
.method-program-head .title {
  max-width: 760px;
  font-size: clamp(2rem, 4.7vw, 4rem);
  line-height: 1.06;
  margin-bottom: 1.2rem;
}
.method-program-head .lead {
  max-width: 760px;
}
.method-program-flow {
  position: relative;
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.3rem);
}
.method-program-flow::before {
  content: "";
  position: absolute;
  left: calc(50% - 1px);
  top: 1.5rem;
  bottom: 1.5rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(20,184,166,0), rgba(20,184,166,.28), rgba(255,216,92,.30), rgba(20,184,166,0));
  pointer-events: none;
}
.method-pillar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  gap: clamp(1rem, 2vw, 1.4rem);
  align-items: stretch;
  padding: clamp(.75rem, 1.3vw, 1rem);
  border: 1px solid rgba(231,238,243,.96);
  border-radius: 38px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 26px 80px rgba(4,61,93,.09);
  backdrop-filter: blur(16px) saturate(1.05);
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
  isolation: isolate;
  overflow: hidden;
}
.method-pillar::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 30px;
  border: 1px solid rgba(4,61,93,.045);
  pointer-events: none;
  z-index: -1;
}
.method-pillar::after {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -8rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20,184,166,.10), transparent 68%);
  pointer-events: none;
  z-index: -2;
}
.method-pillar--reverse {
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
}
.method-pillar--reverse .method-pillar-copy {
  order: 1;
}
.method-pillar--reverse .method-pillar-media {
  order: 2;
}
.method-pillar-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  gap: clamp(.9rem, 2vw, 1.25rem);
  padding: clamp(1rem, 2vw, 1.4rem) clamp(1rem, 2.2vw, 1.8rem) .25rem;
}
.method-pillar-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.06em;
}
.method-pillar-kicker {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  margin-bottom: .36rem;
  color: var(--teal);
  font-size: .76rem;
  font-weight: 1000;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.method-pillar-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
.method-pillar h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: .98;
  color: var(--deep);
  letter-spacing: -.045em;
}
.method-pillar-body {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: inherit;
  gap: clamp(1rem, 2vw, 1.35rem);
  align-items: stretch;
}
.method-pillar-media {
  position: relative;
  min-height: clamp(310px, 34vw, 440px);
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(4,61,93,.05), rgba(4,61,93,.42)),
    var(--method-img),
    radial-gradient(circle at 18% 18%, rgba(167,243,208,.55), transparent 32%),
    linear-gradient(135deg, #dff9f5 0%, #14b8a6 45%, #043d5d 100%);
  background-size: cover, cover, cover, cover;
  background-position: center;
  box-shadow: 0 24px 70px rgba(4,61,93,.14);
}
.method-pillar-media::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 2;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.26);
  background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,0) 42%);
  pointer-events: none;
}
.method-pillar-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,.28), transparent 16rem),
    linear-gradient(180deg, rgba(4,61,93,0) 35%, rgba(4,61,93,.46) 100%);
  pointer-events: none;
}
.method-pillar-media span {
  position: absolute;
  left: 1.35rem;
  bottom: 1.25rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .42rem .78rem;
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  color: var(--deep);
  font-size: .76rem;
  font-weight: 1000;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.method-pillar-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.45rem, 3vw, 2.5rem);
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 12%, rgba(20,184,166,.10), transparent 11rem),
    rgba(255,255,255,.92);
  border: 1px solid rgba(231,238,243,.96);
}
.method-pillar-copy p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.86;
  font-weight: 750;
}
.method-points {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.45rem;
}
.method-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .42rem .75rem;
  border-radius: 999px;
  background: rgba(20,184,166,.11);
  color: var(--deep);
  font-size: .82rem;
  font-weight: 1000;
}
.method-points span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: .45rem;
  border-radius: 50%;
  background: var(--teal);
}
.method-pillar:nth-child(1) .method-pillar-number { color: #FF6F5E; }
.method-pillar:nth-child(2) .method-pillar-number { color: #0A6B8A; }
.method-pillar:nth-child(3) .method-pillar-number { color: #B45309; }
.method-pillar:nth-child(4) .method-pillar-number { color: #14B8A6; }
.method-pillar:nth-child(5) .method-pillar-number { color: #EA580C; }
@media (max-width: 980px) {
  .method-program-head,
  .method-pillar,
  .method-pillar--reverse,
  .method-pillar-body {
    grid-template-columns: 1fr;
  }
  .method-program-head .lead {
    max-width: 760px;
  }
  .method-program-flow::before {
    left: .85rem;
    top: 0;
    bottom: 0;
  }
  .method-pillar--reverse .method-pillar-media,
  .method-pillar--reverse .method-pillar-copy {
    order: initial;
  }
  .method-pillar-media {
    min-height: clamp(250px, 52vw, 380px);
  }
}
@media (max-width: 620px) {
  .method-program-section {
    padding: 4rem 0;
  }
  .method-pillar {
    border-radius: 28px;
    padding: .55rem;
  }
  .method-pillar-header {
    align-items: flex-start;
    padding: 1rem .9rem .1rem;
  }
  .method-pillar-number {
    width: auto;
    height: auto;
    border-radius: 0;
    font-size: 2rem;
  }
  .method-pillar h3 {
    font-size: clamp(1.9rem, 11vw, 2.8rem);
  }
  .method-pillar-kicker {
    font-size: .66rem;
    letter-spacing: .09em;
  }
  .method-pillar-media,
  .method-pillar-copy {
    border-radius: 24px;
  }
  .method-pillar-copy {
    padding: 1.25rem;
  }
  .method-pillar-copy p {
    font-size: .98rem;
    line-height: 1.72;
  }
}


/* ================================================================
   PÁGINA NOSOTROS — Estilos completos
   ================================================================ */

/* ── Hero inmersivo ─────────────────────────────────────── */
.nos-hero {
  position: relative;
  background: linear-gradient(160deg, var(--deep-2) 0%, var(--deep) 40%, var(--mid) 100%);
  color: #fff;
  padding: clamp(7rem, 14vw, 11rem) 0 clamp(5rem, 9vw, 8rem);
  overflow: hidden;
}

.nos-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.nos-hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(20,184,166,.22), transparent 48%),
    radial-gradient(ellipse at 82% 20%, rgba(167,243,208,.14), transparent 42%),
    radial-gradient(ellipse at 50% 100%, rgba(4,30,50,.55), transparent 55%);
}

.nos-hero-bubbles {
  position: absolute;
  inset: 0;
}

.nos-bubble {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  animation: nosBubble linear infinite;
}

.nb-1 { width: 28px; height: 28px; left: 8%;  bottom: -50px; animation-duration: 9s;  animation-delay: 0s; }
.nb-2 { width: 52px; height: 52px; left: 22%; bottom: -80px; animation-duration: 14s; animation-delay: -3s; }
.nb-3 { width: 18px; height: 18px; left: 55%; bottom: -40px; animation-duration: 8s;  animation-delay: -5s; }
.nb-4 { width: 72px; height: 72px; left: 70%; bottom: -100px;animation-duration: 17s; animation-delay: -1s; }
.nb-5 { width: 36px; height: 36px; left: 90%; bottom: -60px; animation-duration: 11s; animation-delay: -7s; }

@keyframes nosBubble {
  0%   { transform: translateY(0) scale(.9);   opacity: 0; }
  10%  { opacity: .8; }
  85%  { opacity: .6; }
  100% { transform: translateY(-110vh) scale(1.1); opacity: 0; }
}

.nos-hero-animals {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.nha {
  position: absolute;
  animation: nosFloat ease-in-out infinite alternate;
  user-select: none;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.2));
}

.nha-1 { font-size: clamp(2.5rem,5vw,5rem);  right: 5%;  top: 18%; animation-duration: 5.4s; opacity: .65; }
.nha-2 { font-size: clamp(3rem,6vw,6.5rem);  left: 3%;   top: 48%; animation-duration: 6.8s; opacity: .50; }
.nha-3 { font-size: clamp(2rem,4vw,4rem);    right: 16%; bottom: 22%; animation-duration: 4.9s; opacity: .55; }
.nha-4 { font-size: clamp(3.5rem,7vw,7rem);  right: 8%;  top: 52%; animation-duration: 7.2s; opacity: .40; }

@keyframes nosFloat {
  from { transform: translateY(0) rotate(-3deg); }
  to   { transform: translateY(-18px) rotate(3deg); }
}

.nos-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.nos-hero-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.8rem, 6.5vw, 6rem);
  line-height: .96;
  letter-spacing: -.04em;
  margin: 1rem 0 1.4rem;
  color: #fff;
}

.nos-hero-title em {
  color: var(--foam);
  font-style: italic;
}

.nos-hero-sub {
  color: rgba(255,255,255,.78);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 2rem;
}

.nos-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.nos-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  width: clamp(260px, 28vw, 340px);
}

.nos-stat {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: clamp(1.1rem, 2.5vw, 1.8rem) clamp(1rem, 2vw, 1.5rem);
  text-align: center;
  transition: background .2s ease;
}

.nos-stat:hover {
  background: rgba(255,255,255,.13);
}

.nos-stat strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--foam);
  line-height: 1;
  letter-spacing: -.03em;
}

.nos-stat span {
  display: block;
  margin-top: .35rem;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.62);
  line-height: 1.4;
}

.nos-hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 3;
}

.nos-hero-wave svg {
  display: block;
  width: 100%;
  height: clamp(60px, 8vw, 100px);
}

/* ── Historia ───────────────────────────────────────────── */
.nos-story-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.nos-story-pillars {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 1.8rem;
}

.nos-story-pill {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 1.1rem;
  background: rgba(20,184,166,.07);
  border: 1px solid rgba(20,184,166,.18);
  border-radius: 14px;
  transition: background .2s ease;
}

.nos-story-pill:hover {
  background: rgba(20,184,166,.12);
}

.nos-story-pill span {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.nos-story-pill p {
  font-weight: 800;
  color: var(--deep);
  font-size: .97rem;
  line-height: 1.3;
  margin: 0;
}

.nos-story-visual {
  position: relative;
}

.nos-story-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 440px;
  background:
    linear-gradient(180deg, rgba(4,61,93,.06), rgba(4,61,93,.50)),
    linear-gradient(135deg, #dff9f5 0%, #14b8a6 40%, #043d5d 100%);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nos-story-img-placeholder {
  text-align: center;
  color: rgba(255,255,255,.7);
  padding: 2rem;
}

.nos-story-img-placeholder span {
  display: block;
  font-size: 4rem;
  margin-bottom: 1rem;
}

.nos-story-img-placeholder p {
  font-size: .9rem;
  font-weight: 700;
  max-width: 200px;
  margin: 0 auto;
  line-height: 1.5;
}

.nos-story-badge {
  position: absolute;
  bottom: -1.2rem;
  left: -1.2rem;
  background: #fff;
  border-radius: 20px;
  padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nos-story-badge strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  color: var(--deep);
  line-height: 1;
}

.nos-story-badge span {
  font-size: .78rem;
  font-weight: 900;
  color: var(--muted);
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.nos-story-tag {
  position: absolute;
  top: 1.2rem;
  right: -1rem;
  background: var(--teal);
  color: #fff;
  font-size: .78rem;
  font-weight: 1000;
  letter-spacing: .06em;
  padding: .5rem .9rem;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(20,184,166,.35);
}

/* ── Valores ────────────────────────────────────────────── */
.nos-values-head {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.nos-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.nos-value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: 0 10px 35px rgba(4,61,93,.06);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}

.nos-value-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--card-accent, var(--teal));
  border-radius: 2px 2px 0 0;
}

.nos-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(4,61,93,.12);
}

.nos-value-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 1.1rem;
}

.nos-value-card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem;
  color: var(--deep);
  margin-bottom: .55rem;
}

.nos-value-card p {
  color: var(--muted);
  line-height: 1.72;
  font-size: .97rem;
  margin: 0;
}

/* ── Equipo ─────────────────────────────────────────────── */
.nos-team-head {
  max-width: 720px;
  margin-bottom: 2rem;
}

.nos-team-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0 1.2rem;
}

.nos-team-label::before,
.nos-team-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.nos-team-label span {
  font-size: .78rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  white-space: nowrap;
  padding: .3rem .75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.nos-team-grid {
  display: grid;
  gap: 1.2rem;
}

.nos-team-founders {
  grid-template-columns: repeat(3, 1fr);
}

.nos-team-educators {
  grid-template-columns: repeat(3, 1fr);
}

.nos-team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(4,61,93,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.nos-team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(4,61,93,.12);
}

.nos-team-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(135deg, #dff9f5, #0a6b8a 80%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nos-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.nos-team-card:hover .nos-team-photo img {
  transform: scale(1.04);
}

.nos-team-photo-placeholder {
  text-align: center;
  color: rgba(255,255,255,.7);
  padding: 1.5rem;
}

.nos-team-photo-placeholder span {
  display: block;
  font-size: 3rem;
  margin-bottom: .6rem;
}

.nos-team-photo-placeholder p {
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.4;
  max-width: 180px;
  margin: 0 auto;
}

.nos-team-info {
  padding: 1.3rem 1.4rem 1.4rem;
}

.nos-team-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  color: var(--deep);
  margin-bottom: .2rem;
}

.nos-team-role {
  display: block;
  font-size: .78rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--teal);
  margin-bottom: .75rem;
}

.nos-team-bio {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.nos-team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.nos-team-tags span {
  font-size: .74rem;
  font-weight: 900;
  padding: .3rem .65rem;
  border-radius: 999px;
  background: rgba(20,184,166,.1);
  color: var(--deep);
}

/* Tarjetas compactas educadoras */
.nos-team-card--compact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
}

.nos-team-card--compact .nos-team-photo {
  aspect-ratio: auto;
  width: 90px;
  height: 90px;
  border-radius: 0;
  flex-shrink: 0;
}

.nos-team-card--compact .nos-team-photo-placeholder {
  padding: .5rem;
}

.nos-team-card--compact .nos-team-photo-placeholder span {
  font-size: 1.8rem;
  margin-bottom: 0;
}

.nos-team-card--compact .nos-team-photo-placeholder p {
  display: none;
}

.nos-team-card--compact .nos-team-info {
  padding: .9rem 1rem;
}

.nos-team-card--compact .nos-team-name {
  font-size: 1.05rem;
  margin-bottom: .15rem;
}

.nos-team-card--compact .nos-team-bio {
  display: none;
}

/* Nota de edición */
.nos-edit-note {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: rgba(255,216,92,.15);
  border: 1px solid rgba(255,216,92,.35);
  border-radius: 16px;
  margin-top: 1.5rem;
}

.nos-edit-note > span {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.nos-edit-note p {
  font-size: .9rem;
  color: var(--ink);
  line-height: 1.65;
  margin: 0;
}

.nos-edit-note code {
  background: rgba(4,61,93,.1);
  border-radius: 6px;
  padding: .1em .4em;
  font-size: .85em;
  color: var(--deep);
}

/* ── Números ─────────────────────────────────────────────── */
.nos-numbers {
  position: relative;
  overflow: hidden;
}

.nos-numbers::before {
  content: "10";
  position: absolute;
  right: -4rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(16rem, 28vw, 32rem);
  font-weight: 800;
  color: rgba(255,255,255,.03);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -.06em;
}

.nos-numbers-head {
  margin-bottom: 3rem;
  max-width: 700px;
}

.nos-numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  overflow: hidden;
}

.nos-number-item {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: clamp(1.4rem, 3vw, 2.4rem) clamp(1.2rem, 2.5vw, 2rem);
  transition: background .2s ease;
}

.nos-number-item:hover {
  background: rgba(255,255,255,.11);
}

.nos-number-item strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--foam);
  line-height: 1;
  letter-spacing: -.04em;
  margin-bottom: .65rem;
}

.nos-number-item p {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  line-height: 1.5;
  font-weight: 700;
  margin: 0;
}

/* ── Entorno / dónde estamos ────────────────────────────── */
.nos-place-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.nos-place-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  background: linear-gradient(135deg, #a7f3d0 0%, #14b8a6 45%, #043d5d 100%);
  box-shadow: var(--shadow-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nos-place-placeholder {
  text-align: center;
  color: rgba(255,255,255,.75);
  padding: 2rem;
}

.nos-place-placeholder span {
  font-size: 3.5rem;
  display: block;
  margin-bottom: .8rem;
}

.nos-place-placeholder p {
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.45;
  max-width: 200px;
  margin: 0 auto;
}

.nos-place-visual {
  position: relative;
}

.nos-place-tag {
  position: absolute;
  bottom: -1rem;
  right: 1rem;
  background: #fff;
  border-radius: 14px;
  padding: .7rem 1rem;
  box-shadow: var(--shadow);
}

.nos-place-tag span {
  font-size: .85rem;
  font-weight: 1000;
  color: var(--deep);
}

.nos-place-tag--2 {
  bottom: -1rem;
  right: auto;
  left: 1rem;
}

/* ── Testimonios ─────────────────────────────────────────── */
.nos-test-head {
  max-width: 700px;
  margin-bottom: 2.5rem;
}

.nos-test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.nos-testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: 0 10px 35px rgba(4,61,93,.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}

.nos-testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(4,61,93,.1);
}

.nos-testimonial::before {
  content: "\201C";
  position: absolute;
  top: .8rem;
  left: 1.4rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 4.5rem;
  color: var(--foam);
  line-height: 1;
  pointer-events: none;
}

.nos-testimonial p {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 600;
  padding-top: 1.8rem;
  margin: 0;
}

.nos-testimonial footer {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.nos-test-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--deep));
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.nos-testimonial footer strong {
  display: block;
  font-size: .94rem;
  color: var(--deep);
  margin-bottom: .15rem;
}

.nos-testimonial footer span {
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── CTA final ──────────────────────────────────────────── */
.nos-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--deep), #05263B);
  color: #fff;
  padding: clamp(5rem, 10vw, 9rem) 0;
  text-align: center;
}

.nos-cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.nos-cta-fish {
  position: absolute;
  font-size: clamp(10rem, 20vw, 22rem);
  opacity: .04;
  animation: nosFloat ease-in-out 7s infinite alternate;
}

.nos-cta-fish { left: 5%; top: 50%; transform: translateY(-50%); }
.nos-cta-fish--2 { left: auto; right: 5%; top: 50%; transform: translateY(-50%); animation-duration: 9s; }

.nos-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.nos-cta-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -.04em;
  color: #fff;
  margin: .8rem 0 1.2rem;
}

.nos-cta p {
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.nos-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ── Responsive nosotros ─────────────────────────────────── */
@media (max-width: 1050px) {
  .nos-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nos-hero-stats {
    width: 100%;
    max-width: 480px;
  }

  .nos-team-founders,
  .nos-team-educators {
    grid-template-columns: 1fr 1fr;
  }

  .nos-values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nos-numbers-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }

  .nos-story-grid,
  .nos-place-grid {
    grid-template-columns: 1fr;
  }

  .nos-test-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .nos-hero {
    padding-top: 8rem;
    text-align: center;
  }

  .nos-hero-sub {
    margin-inline: auto;
  }

  .nos-hero-actions {
    justify-content: center;
  }

  .nos-hero-stats {
    max-width: 100%;
  }

  .nha-2,
  .nha-4 {
    display: none;
  }

  .nos-values-grid,
  .nos-team-founders,
  .nos-team-educators,
  .nos-test-grid,
  .nos-numbers-grid {
    grid-template-columns: 1fr;
  }

  .nos-story-badge {
    left: .5rem;
    bottom: -1.4rem;
  }

  .nos-team-card--compact .nos-team-photo {
    width: 80px;
    height: 80px;
  }

  .nos-place-tag,
  .nos-place-tag--2 {
    position: static;
    display: inline-block;
    margin-top: .75rem;
  }

  .nos-place-visual {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .nos-cta-fish {
    display: none;
  }
}
