/* ============================================================
   ENHANCEMENTS — mobile polish + motion layer
   Se carga DESPUÉS de styles.css: puede sobreescribir sin !important
   ============================================================ */

/* --- Tipografía y suavizado global --- */
html { scroll-behavior: smooth; }
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }

/* Selección */
::selection { background: var(--green); color: #04152b; }

/* Scrollbar sutil (desktop) */
@media (min-width: 900px) {
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-thumb { background: rgba(2,208,100,.35); border-radius: 999px; }
  ::-webkit-scrollbar-thumb:hover { background: rgba(2,208,100,.55); }
  ::-webkit-scrollbar-track { background: transparent; }
}

/* --- Header siempre legible sobre cualquier banner --- */
.site-header {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  background: #090124 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: box-shadow .35s ease, border-color .35s ease;
  border-bottom: 1px solid rgba(224,252,237,.08);
  z-index: 100;
}
.site-header.is-scrolled {
  background: #090124 !important;
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -12px rgba(0,0,0,.6);
}

.main-nav a { position: relative; }
.main-nav li:not(.has-drop) > a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: right;
  transition: transform .3s ease;
  border-radius: 2px;
}
.main-nav li:not(.has-drop) > a:hover::after,
.main-nav li:not(.has-drop) > a.active::after { transform: scaleX(1); transform-origin: left; }


/* --- Botones: micro-interacciones --- */
.btn { position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s ease;
  pointer-events: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(2,208,100,.55); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn-green:focus-visible { outline: 2px solid var(--pale); outline-offset: 3px; }

/* --- Tarjetas: lift + brillo --- */
.program-card, .fit-card, .testi-card, .post-card,
.info-card, .blog-card, .article-card {
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.program-card:hover, .fit-card:hover, .testi-card:hover, .post-card:hover,
.info-card:hover, .blog-card:hover, .article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(2,208,100,.55);
  box-shadow: 0 18px 40px -20px rgba(2,208,100,.35);
}
.program-card img { transition: transform .5s ease; }
.program-card:hover img { transform: scale(1.04); }

/* --- Reveal ampliado --- */
.reveal { will-change: opacity, transform; }
.reveal-up   { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-left { opacity: 0; transform: translateX(-28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-right{ opacity: 0; transform: translateX(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-zoom { opacity: 0; transform: scale(.94); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-zoom.visible { opacity: 1; transform: none; }

/* Stagger para grids */
.stagger > * { transition-delay: 0s; }
.stagger.visible > *:nth-child(1) { transition-delay: .05s; }
.stagger.visible > *:nth-child(2) { transition-delay: .15s; }
.stagger.visible > *:nth-child(3) { transition-delay: .25s; }
.stagger.visible > *:nth-child(4) { transition-delay: .35s; }
.stagger.visible > *:nth-child(5) { transition-delay: .45s; }
.stagger.visible > *:nth-child(6) { transition-delay: .55s; }

/* --- Fade-in de página al montar --- */
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.page-enter { animation: pageIn .5s cubic-bezier(.2,.7,.2,1) both; }

/* --- Hero: glow flotante decorativo --- */
.hero { overflow: hidden; }
.hero::after {
  content: "";
  position: absolute; z-index: 1;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(2,208,100,.35), transparent 65%);
  right: -120px; top: -140px;
  filter: blur(20px);
  animation: float 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(22px) } }

/* --- Focus visible accesible en todos los links --- */
a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* ============================================================
   MOBILE POLISH (<=820px)
   ============================================================ */
@media (max-width: 820px) {
  :root { --header-h: 72px; }

  .container { padding-inline: 5%; }

  /* Header más compacto: solo el ícono, centrado y sin deformarse */
  .site-header .header-inner { position: relative; justify-content: center; }
  .brand { gap: 0; margin-inline: auto; }
  .brand img { height: 40px; width: auto; max-width: 100%; object-fit: contain; display: block; }
  .brand span { display: none; }
  .nav-toggle { position: absolute; right: 0; top: 50%; transform: translateY(-50%); margin-left: 0; }

  /* Botones táctiles */
  .btn { padding: .95rem 1.3rem; font-size: .98rem; width: 100%; justify-content: center; text-align: center; }
  .btn.btn-outline, .nav-cta { width: auto; }

  /* Heros: alto adaptado al viewport + mejor encuadre */
  .hero {
    min-height: 78svh;
    padding: calc(var(--header-h) + 2.5rem) 0 2.5rem;
    align-items: flex-start;
    background-position: 65% center;
  }
  .hero > .container { padding-bottom: 1rem; }
  .hero h1 { font-size: clamp(2rem, 8.5vw, 2.9rem); max-width: 100%; line-height: 1.1; }
  .hero .sub { font-size: 1.05rem; margin: .7rem 0 1.3rem; }
  .hero::before {
    background: linear-gradient(180deg, rgba(9,1,36,.65) 0%, rgba(9,1,36,.35) 30%, rgba(9,1,36,.85) 90%) !important;
  }
  .hero::after { width: 320px; height: 320px; right: -80px; top: -60px; }

  /* Secciones más compactas */
  .section { padding: 3.5rem 0; }
  .section-title { font-size: clamp(1.7rem, 6.5vw, 2.1rem); line-height: 1.15; }
  .section-sub { font-size: .98rem; }

  /* About card */
  .about-band { min-height: auto; padding: 3rem 0; }
  .about-card {
    margin: 0 auto 0 5%; padding: 1.8rem 1.4rem;
    background: linear-gradient(160deg, rgba(4,21,43,.82), rgba(0,147,81,.35));
  }

  /* Grids de programas / fit */
  .program-grid { grid-template-columns: 1fr !important; gap: 1.2rem; }
  .fit-track { gap: 1rem; scroll-snap-type: x mandatory; padding-inline: 5%; }
  .fit-card { scroll-snap-align: start; min-width: 82% !important; }

  /* Blog: filtros en scroll horizontal */
  .filter-bar, .filters, .cat-filter, .chip-row, .filter-row {
    display: flex !important; flex-wrap: nowrap !important; overflow-x: auto;
    gap: .6rem; padding: .25rem 5% .5rem;
    -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory;
    scrollbar-width: none;
    justify-content: flex-start !important;
  }
  .filter-bar::-webkit-scrollbar,
  .filters::-webkit-scrollbar,
  .cat-filter::-webkit-scrollbar,
  .chip-row::-webkit-scrollbar,
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-bar > *, .filters > *, .cat-filter > *, .chip-row > *, .filter-row > * {
    flex: 0 0 auto; scroll-snap-align: start; white-space: nowrap;
  }


  /* Cards responsive */
  .post-card, .blog-card, .article-card { padding: 1.3rem !important; }

  /* Formularios */
  input, select, textarea, button {
    font-size: 16px !important; /* evita zoom en iOS */
  }

  /* Testimonios card padding */
  .testi-card { padding: 1.3rem !important; }

  /* (menú móvil y CTA se manejan bajo 720px) */

  /* Footer */
  footer .container, .site-footer .container { text-align: center; }
}

/* Menú móvil real: solo <=720px */
@media (max-width: 720px) {
  .main-nav {
    transform: translateY(-8px); opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
    pointer-events: none;
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav ul { gap: 1.2rem !important; }
  .main-nav a { font-size: 1.05rem; padding: .3rem 0; }
  .nav-cta { display: none; }
}



/* Tablet ajustes */
@media (min-width: 821px) and (max-width: 1024px) {
  .program-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .section { padding: 4.5rem 0; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal-up, .reveal-left, .reveal-right, .reveal-zoom { opacity: 1; transform: none; }
}

/* ============================================================
   PHOTO GRID — full width, 3 filas, no invasivo
   ============================================================ */
.photo-grid-band {
  width: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  width: 100%;
}
.photo-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease, filter .5s ease;
  filter: saturate(.95);
}
.photo-grid img:hover {
  transform: scale(1.04);
  filter: saturate(1.05);
  z-index: 1;
}
@media (max-width: 1024px) {
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .photo-grid img { height: 190px; }
}
@media (max-width: 640px) {
  .photo-grid { grid-template-columns: repeat(3, 1fr); gap: 3px; }
  .photo-grid img { height: 120px; }
}

/* ============================================================
   PROGRAM CARD — variante con imagen de fondo difuminada
   ============================================================ */
.program-card--bg {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 0 !important;
}
.program-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: blur(10px) saturate(1.1);
  transform: scale(1.15);
  transition: transform .6s ease;
}
.program-card--bg:hover .program-card__bg {
  transform: scale(1.22);
}
.program-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4,21,43,.72) 0%,
    rgba(9,1,36,.82) 50%,
    rgba(4,21,43,.88) 100%
  );
  z-index: 1;
}
.program-card__content {
  position: relative;
  z-index: 2;
  padding: 2.4rem 1.6rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.program-card__content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 16px rgba(0,0,0,.55);
  max-width: 280px;
}
@media (max-width: 820px) {
  .program-card--bg { min-height: 380px; }
  .program-card__content h3 { font-size: 1.35rem; }
}

/* ============================================================
   FIT SECTION — dos columnas (No es para / Sí es para)
   ============================================================ */
.fit-section .container { max-width: 1100px; }
.fit-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.fit-col {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--card-line);
  background: linear-gradient(160deg, rgba(4,21,43,.55), rgba(2,208,100,.06));
}
.fit-col-no {
  background: linear-gradient(160deg, rgba(4,21,43,.55), rgba(244,70,70,.08));
  border-color: rgba(244,70,70,.35);
}
.fit-col-header {
  display: flex; align-items: center; gap: .8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.fit-col-header .icon {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--green); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 700; flex-shrink: 0;
}
.fit-col-no .fit-col-header .icon { border-color: var(--red); color: var(--red); }
.fit-col-header h3 {
  font-size: 1.35rem; font-weight: 700; margin: 0;
  color: var(--green);
}
.fit-col-no .fit-col-header h3 { color: var(--red); }

.fit-section .fit-card {
  background: rgba(9,1,36,.35);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  text-align: left;
  min-width: 0 !important;
  position: relative;
  padding-left: 2.4rem;
  display: flex;
  align-items: center;
  flex: 1;
}
.fit-section .fit-card::before {
  content: "✓";
  position: absolute; left: 1rem; top: 1rem;
  color: var(--green); font-weight: 800;
}
.fit-section .fit-col-no .fit-card::before {
  content: "✕"; color: var(--red);
}
.fit-section .fit-card p { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--pale); }

@media (max-width: 820px) {
  .fit-split { grid-template-columns: 1fr; gap: 1.2rem; margin-top: 1.8rem; }
  .fit-col { padding: 1.3rem 1.1rem; }
  .fit-col-header h3 { font-size: 1.15rem; }
  .fit-section .fit-card { padding: 1rem 1rem 1rem 2.2rem !important; }
}

/* neutralize legacy fit-card sizing inside the new split */
.fit-section .fit-card {
  flex: 1 !important;
  min-height: 0 !important;
  min-width: 0 !important;
  scroll-snap-align: none !important;
  background: rgba(9,1,36,.35) !important;
}

/* ============================================================
   SOBRE MÍ — intro tipo card sobre foto
   ============================================================ */
.about-band-sobre {
  background-image: url("../img/roberto-volcan.jpg");
  background-size: cover;
  background-position: center 25%;
  min-height: 640px;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 4rem;
}
.about-band-sobre::before {
  background: linear-gradient(90deg, rgba(4,21,43,.85) 0%, rgba(4,21,43,.55) 45%, rgba(9,1,36,.2) 80%);
}
.about-band-sobre .about-card {
  margin-left: 0;
  margin-right: auto;
  border-color: var(--green);
  box-shadow: 0 0 0 1px rgba(2,208,100,.35), 0 20px 60px -20px rgba(2,208,100,.35);
}
.about-card .hello {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0 0 .3rem;
  opacity: .9;
}
.about-card h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  margin: 0 0 .8rem;
  line-height: 1.1;
}

/* ============================================================
   ECOSISTEMA DE EDUCACIÓN — fondo de imagen editable
   ============================================================ */
section.eco-edu-band,
.eco-edu-band.section {
  position: relative;
  background-image: url("../img/eco-edu-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 3.5rem);
  padding-bottom: 3rem;
}
.eco-edu-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4,21,43,.92) 0%,
    rgba(4,21,43,.78) 45%,
    rgba(4,21,43,.45) 100%
  );
  z-index: 1;
}
.eco-edu-band .container {
  position: relative;
  z-index: 2;
}
.eco-edu-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.eco-edu-band .split {
  grid-template-columns: 1.1fr .9fr;
  gap: 2.5rem;
  align-items: center;
}
.eco-edu-bg {
  display: none;
}
@media (max-width: 880px) {
  .eco-edu-band::before {
    background: linear-gradient(
      180deg,
      rgba(4,21,43,.95) 0%,
      rgba(4,21,43,.82) 50%,
      rgba(4,21,43,.65) 100%
    );
  }
  .eco-edu-band .split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .eco-edu-card {
    padding: 0;
  }
}

@media (max-width: 820px) {
  .about-band-sobre {
    background-position: 70% 25%;
    min-height: auto;
    padding-top: calc(var(--header-h) + 1.5rem);
    padding-bottom: 2.5rem;
  }
  .about-band-sobre::before {
    background: linear-gradient(180deg, rgba(9,1,36,.55) 0%, rgba(9,1,36,.35) 30%, rgba(9,1,36,.85) 90%);
  }
  .about-band-sobre .about-card {
    margin: 0 auto;
  }
}

/* ============================================================
   STUDENT LISTINGS — grid de tarjetas con galería
   ============================================================ */
.student-listings .section-title { text-align: center; }
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}
.listing-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.listing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  border-color: rgba(75,214,143,.35);
}
.listing-gallery {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0b1220;
}
.listing-track {
  display: flex;
  height: 100%;
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.listing-slide {
  flex: 0 0 100%;
  height: 100%;
}
.listing-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.listing-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.92);
  color: #111;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s ease, background .2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  z-index: 2;
}
.listing-nav--prev { left: 10px; }
.listing-nav--next { right: 10px; }
.listing-gallery:hover .listing-nav { opacity: 1; }
.listing-nav:hover { background: #fff; }
.listing-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.listing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.55);
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.listing-dot.is-active { background: #fff; transform: scale(1.35); }
.listing-info {
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.listing-info h3 {
  font-size: 1.05rem;
  margin: 0;
  color: #fff;
  line-height: 1.3;
}
.listing-loc {
  font-size: .85rem;
  color: #9aa4b4;
  margin: 0;
}
.listing-cta {
  margin-top: .6rem;
  text-align: center;
  width: 100%;
}
.listing-opened {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: .35rem 0 0;
  padding: .3rem .65rem;
  font-size: .78rem;
  color: #cfe9d8;
  background: rgba(46, 189, 133, .12);
  border: 1px solid rgba(46, 189, 133, .35);
  border-radius: 999px;
  width: fit-content;
}
.listing-opened b { color: #eafff3; font-weight: 600; }
.listing-opened__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #2ebd85;
  box-shadow: 0 0 0 3px rgba(46, 189, 133, .18);
}

/* --- Panel de desempeño (stats + capturas) --- */
.listing-perf {
  margin-top: .95rem;
  padding: .85rem .85rem .95rem;
  border-radius: 14px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(46,189,133,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
  border: 1px solid rgba(46, 189, 133, .22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.listing-perf__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .6rem;
}
.listing-perf__badge {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7ee6b6;
  padding: .28rem .55rem;
  border: 1px solid rgba(46,189,133,.35);
  border-radius: 999px;
  background: rgba(46,189,133,.08);
}
.listing-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
}
.listing-stat {
  padding: .65rem .5rem;
  background: rgba(4, 12, 24, .55);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 12px;
  text-align: center;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.listing-stat:hover {
  transform: translateY(-2px);
  border-color: rgba(46,189,133,.4);
  background: rgba(4, 12, 24, .75);
}
.listing-stat__val {
  font-size: 1.02rem;
  font-weight: 700;
  color: #eafff3;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.listing-stat__lbl {
  font-size: .68rem;
  color: #9aa4b4;
  margin-top: .3rem;
  line-height: 1.25;
}
.listing-stat__hint {
  font-size: .62rem;
  color: #7c8494;
  margin-top: .2rem;
}

/* Proof strip — capturas reales del alumno */
.listing-proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
  margin-top: .75rem;
}
.listing-proof__item {
  display: flex; flex-direction: column; align-items: center;
  gap: .4rem;
  text-decoration: none;
  color: #c7d0dd;
  transition: transform .25s ease;
}
.listing-proof__item:hover { transform: translateY(-2px); }
.listing-proof__phone {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: #0b1220;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 10px 24px -12px rgba(0,0,0,.55),
    inset 0 0 0 1px rgba(255,255,255,.03);
}
.listing-proof__phone img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.listing-proof__notch {
  position: absolute; top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 34%; height: 12px;
  background: #000; border-radius: 0 0 10px 10px;
  z-index: 2;
  opacity: .85;
}
.listing-proof__cap {
  font-size: .64rem;
  color: #9aa4b4;
  text-align: center;
  line-height: 1.3;
}
.listing-stats__note {
  font-size: .7rem;
  color: #8a94a4;
  margin: .65rem 0 0;
  font-style: italic;
  text-align: center;
}

@media (max-width: 820px) {
  .listing-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 5%;
    padding-inline: 5%;
    margin-inline: -5%;
    scrollbar-width: none;
  }
  .listing-grid::-webkit-scrollbar { display: none; }
  .listing-card {
    flex: 0 0 auto;
    width: min(320px, 78vw);
    scroll-snap-align: start;
    min-width: 0;
  }
  .listing-nav { opacity: 1; }
  .listing-gallery { touch-action: pan-y; }
}
@media (max-width: 640px) {
  .listing-nav { opacity: 1; }
}

/* VSL hero */
.hero-vsl {
  padding: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem)) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(2,208,100,.18), transparent 60%),
    radial-gradient(700px 400px at 85% 110%, rgba(2,208,100,.10), transparent 60%),
    #04152b;
}
.vsl-header { max-width: 820px; margin: 0 auto clamp(1.6rem, 3vw, 2.4rem); text-align: center; }
.vsl-eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: #7dffb0; padding: .4rem .9rem; border: 1px solid rgba(2,208,100,.55);
  border-radius: 999px; background: rgba(2,208,100,.12); margin-bottom: 1rem; font-weight: 600;
}
.vsl-title {
  font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; font-weight: 800;
  color: #fff; margin: 0 auto 1.1rem; letter-spacing: -.02em;
  max-width: none; text-align: center; text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0,0,0,.5);
}
.vsl-sub { color: #e6ecf5; font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 62ch; margin: 0 auto; line-height: 1.6; font-weight: 500; }

.vsl-wrap {
  position: relative; max-width: 1120px; margin: 0 auto;
  border-radius: 20px; overflow: hidden;
  background: #000;
  box-shadow:
    0 30px 80px rgba(0,0,0,.55),
    0 0 0 1px rgba(2,208,100,.18),
    0 0 60px -20px rgba(2,208,100,.35);
}
.vsl-wrap::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}
.vsl-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }

/* Big center play */
.vsl-bigplay {
  position: absolute; inset: 0; margin: auto; width: 88px; height: 88px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--green); color: #04152b; border: 0; cursor: pointer;
  box-shadow: 0 20px 50px rgba(2,208,100,.45), 0 0 0 8px rgba(2,208,100,.15);
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}
.vsl-bigplay:hover { transform: scale(1.06); box-shadow: 0 24px 60px rgba(2,208,100,.55), 0 0 0 10px rgba(2,208,100,.2); }
.vsl-bigplay svg { margin-left: 4px; }
.vsl-wrap.is-playing .vsl-bigplay { opacity: 0; pointer-events: none; transform: scale(.6); }

/* Custom controls */
.vsl-controls {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.75));
  opacity: 0; transition: opacity .25s ease; color: #fff;
}
.vsl-wrap.is-playing:hover .vsl-controls,
.vsl-wrap.is-paused .vsl-controls,
.vsl-wrap:focus-within .vsl-controls { opacity: 1; }

.vsl-btn {
  background: transparent; color: #fff; border: 0; cursor: pointer;
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px;
  transition: background .2s ease, color .2s ease;
}
.vsl-btn:hover { background: rgba(255,255,255,.12); color: var(--green); }
.vsl-btn .ic-pause, .vsl-btn .ic-mute { display: none; }
.vsl-wrap.is-playing .vsl-btn[data-vsl-play] .ic-play { display: none; }
.vsl-wrap.is-playing .vsl-btn[data-vsl-play] .ic-pause { display: block; }
.vsl-wrap.is-muted   .vsl-btn[data-vsl-mute] .ic-vol { display: none; }
.vsl-wrap.is-muted   .vsl-btn[data-vsl-mute] .ic-mute { display: block; }

.vsl-time { font-size: .78rem; color: rgba(255,255,255,.85); font-variant-numeric: tabular-nums; min-width: 40px; text-align: center; }

.vsl-progress {
  position: relative; flex: 1; height: 6px; border-radius: 999px;
  background: rgba(255,255,255,.18); cursor: pointer; overflow: hidden;
}
.vsl-progress-fill {
  position: absolute; inset: 0 auto 0 0; width: 0%;
  background: linear-gradient(90deg, var(--green), #4bd68f);
  border-radius: 999px;
}
.vsl-progress:hover { height: 8px; }

@media (max-width: 560px) {
  .vsl-bigplay { width: 72px; height: 72px; }
  .vsl-time { min-width: 34px; font-size: .72rem; }
  .vsl-btn { width: 32px; height: 32px; }
}


/* Airbnb intro hero (taller-airbnb) */
.airbnb-intro-hero {
  position: relative;
  background:
    linear-gradient(90deg, rgba(4,21,43,.85) 0%, rgba(4,21,43,.65) 45%, rgba(4,21,43,.35) 100%),
    url("/assets/img/aprender-airbnb-bg.jpg") center/cover no-repeat;
  padding-top: calc(var(--header-h) + 3.5rem);
  padding-bottom: 4rem;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.airbnb-intro-card { max-width: 640px; color: #fff; }
.airbnb-intro-title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 .6rem;
  font-weight: 800;
  color: #fff;
}
.airbnb-intro-eyebrow {
  color: var(--green);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 1.2rem;
}
.airbnb-intro-lede {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,.9);
  margin: 0 0 1rem;
}
@media (max-width: 720px) {
  .airbnb-intro-hero {
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: 2.5rem;
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(4,21,43,.75) 0%, rgba(4,21,43,.9) 100%),
      url("/assets/img/aprender-airbnb-bg.jpg") center/cover no-repeat;
  }
}

/* Aprender section background image (taller-airbnb) */
.aprender-bg {
  position: relative;
  background-image:
    linear-gradient(90deg, rgba(4,21,43,.15) 0%, rgba(4,21,43,.55) 35%, rgba(4,21,43,.92) 65%, rgba(4,21,43,.96) 100%),
    url("/assets/img/aprender-airbnb-bg.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
}
.aprender-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.aprender-copy { max-width: 60ch; }
@media (min-width: 880px) {
  .aprender-grid {
    grid-template-columns: 1fr minmax(0, 560px);
    align-items: center;
  }
  .aprender-copy {
    grid-column: 2;
    justify-self: end;
  }
  .aprender-bg {
    background-image:
      linear-gradient(90deg, rgba(4,21,43,.05) 0%, rgba(4,21,43,.35) 30%, rgba(4,21,43,.9) 60%, rgba(4,21,43,.98) 100%),
      url("/assets/img/aprender-airbnb-bg.jpg");
  }
}


/* ==================== Home redesign — Airbnb investing ==================== */
:root {
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}
body, .newsletter .lead { font-family: var(--font-body); }
h1, h2, h3, h4,
.section-title,
.hero h1,
.about-card h2,
.vsl-title,
.journey-step__num,
.journey-step__title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Hero rediseñado */
.hero-invest {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  background:
    linear-gradient(180deg, rgba(4,21,43,.72) 0%, rgba(4,21,43,.82) 60%, rgba(4,21,43,.96) 100%),
    url("/__l5e/assets-v1/2234c937-b09f-46c4-a680-4ee8b9c8b41a/evento-DSC00848.jpg") center center/cover no-repeat;
  overflow: hidden;
}
.hero-invest::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 40%;
  background: radial-gradient(1000px 400px at 20% 100%, rgba(2,208,100,.22), transparent 65%);
  pointer-events: none;
}
.hero-invest .container { position: relative; z-index: 2; max-width: 1100px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-invest .eyebrow {
  display: inline-block; font-family: var(--font-body); font-size: .72rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--green);
  padding: .4rem .9rem; border: 1px solid rgba(2,208,100,.4);
  border-radius: 999px; background: rgba(2,208,100,.06); margin-bottom: 1.4rem;
}
.hero-invest h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.05; color: #fff;
  margin: 0 0 1.2rem; font-weight: 800;
  text-shadow: 0 2px 30px rgba(0,0,0,.55);
  text-wrap: balance;
}
.hero-invest h1 em { font-style: normal; color: var(--green); font-weight: 800; }

.hero-invest .lede {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: #f0f4fa; max-width: 56ch;
  margin: 0 0 2.2rem; line-height: 1.6;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.hero-invest .lede--hero {
  position: relative;
  padding: 1.35rem 1.6rem;
  background: linear-gradient(135deg, rgba(4,21,43,.55), rgba(9,1,36,.35));
  border: 1px solid rgba(255,255,255,.12);
  border-top: 4px solid var(--green);
  border-radius: 0 0 18px 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px -18px rgba(0,0,0,.45);
  text-align: center;
}
.hero-invest .cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-bottom: 1.6rem; }
.hero-invest .btn-outline {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .8rem 1.4rem; border-radius: var(--radius-btn);
  border: 1px solid rgba(255,255,255,.25); color: #fff; text-decoration: none;
  background: transparent; font-size: 1rem; font-weight: 500;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.hero-invest .btn-outline:hover { border-color: var(--green); background: rgba(2,208,100,.08); color: var(--green); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  padding-top: 1.4rem;
  max-width: 900px;
}
.hero-stats.hero-stats--after-cta {
  display: inline-flex;
  justify-content: center;
  gap: 1.5rem;
  padding-top: .6rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stats .stat { display: flex; flex-direction: column; align-items: center; }
.hero-stats .stat .n {
  font-family: var(--font-display); font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  color: var(--green); font-weight: 700; line-height: 1;
  text-shadow: 0 2px 14px rgba(2,208,100,.25);
}
.hero-stats .stat .l {
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  color: #aab4c4; margin-top: .45rem; font-weight: 500;
}
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .hero-stats.hero-stats--after-cta { display: flex; width: 100%; justify-content: center; }
  .hero-invest .lede--hero { padding: 1.1rem 1.2rem; border-radius: 0 0 14px 14px; }
  .hero-invest { background-position: 62% center; }
}

/* Philosophy band — modern glassmorphism */
.philosophy-band {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: linear-gradient(180deg, var(--navy) 0%, #061a35 100%);
  position: relative;
  overflow: hidden;
}
.philosophy-band--outdoor {
  background-image: url("/__l5e/assets-v1/04a83d43-c984-449a-8cec-2f9cf3fe15e8/evento-DSC00592.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.philosophy-band--outdoor::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4,21,43,.88) 0%,
    rgba(4,21,43,.72) 50%,
    rgba(4,21,43,.88) 100%
  );
  z-index: 0;
}
.philosophy-band--outdoor .container { position: relative; z-index: 2; }
@media (max-width: 820px) {
  .philosophy-band--outdoor { background-attachment: scroll; background-position: 55% center; }
}
.philosophy-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(2,208,100,.10), transparent 60%),
    radial-gradient(700px 400px at 90% 100%, rgba(100,200,255,.08), transparent 55%);
  pointer-events: none;
}
.philosophy-glow {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
}
.philosophy-glow--left { top: -80px; left: -80px; background: rgba(2,208,100,.14); }
.philosophy-glow--right { bottom: -80px; right: -80px; background: rgba(100,200,255,.11); }
.philosophy-band .container { position: relative; z-index: 2; }
.philosophy-card {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(2.2rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem);
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 32px;
  backdrop-filter: blur(24px) saturate(140%);
  box-shadow: 0 32px 64px -16px rgba(0,0,0,.35);
  overflow: hidden;
}

/* Benefits band — fondo de evento */
.benefits-band--event {
  position: relative;
  background-image: url("/__l5e/assets-v1/0b419718-d6d0-4778-a784-18c7d3f99533/evento-DSC00627.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
.benefits-band--event::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4,21,43,.92) 0%,
    rgba(4,21,43,.82) 50%,
    rgba(4,21,43,.92) 100%
  );
  z-index: 0;
}
.benefits-band--event .container { position: relative; z-index: 2; }
@media (max-width: 820px) {
  .benefits-band--event { background-attachment: scroll; }
}
.philosophy-card__line {
  position: absolute; inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(2,208,100,.35), transparent);
}
.philosophy-card h2 {
  font-family: var(--font);
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 2rem;
}
.philosophy-card h2 span {
  background: linear-gradient(90deg, #fff 0%, #a8d8ff 50%, #7af0a8 100%);
  background-clip: text;
  color: transparent;
}
.philosophy-body { display: grid; gap: 1.1rem; }
.philosophy-body p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #b8c4d4;
  line-height: 1.7;
  margin: 0;
}
.philosophy-body .philosophy-close {
  color: var(--pale);
  font-weight: 600;
  margin-top: .6rem;
  padding: 1rem 1.5rem;
  background: rgba(2,208,100,.06);
  border: 1px solid rgba(2,208,100,.12);
  border-radius: 18px;
  display: inline-block;
  justify-self: center;
}
.philosophy-card__accent {
  position: absolute; bottom: 0; right: 0;
  width: 180px; height: 180px;
  background: rgba(2,208,100,.06);
  filter: blur(40px);
  border-radius: 50%;
  transform: translate(40%, 40%);
  pointer-events: none;
}
@media (max-width: 720px) {
  .philosophy-card { text-align: left; border-radius: 22px; }
  .philosophy-card h2 { text-align: left; }
  .philosophy-body .philosophy-close { display: block; justify-self: stretch; }
}

/* Manifiesto */
.manifesto {
  padding: clamp(4rem, 8vw, 7rem) 0;
  text-align: center;
  background: #04152b;
}
.manifesto__quote {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.25; color: #fff;
  max-width: 22ch; margin: 0 auto 3rem;
}
.manifesto__quote span { color: var(--green); font-style: normal; font-weight: 600; }
.pain-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  max-width: 960px; margin: 0 auto;
}
.pain-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 1.6rem 1.4rem; text-align: left;
}
.pain-card .ico {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 10px; background: rgba(2,208,100,.12); color: var(--green);
  margin-bottom: 1rem; font-size: 1.2rem;
}
.pain-card h4 { font-family: var(--font-body); font-size: 1rem; margin: 0 0 .4rem; color: #fff; font-weight: 700; }
.pain-card p { font-size: .9rem; color: #c7d0dd; margin: 0; line-height: 1.5; }
@media (max-width: 720px) { .pain-grid { grid-template-columns: 1fr; } }

/* Journey — proceso paso a paso */
.journey {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: linear-gradient(180deg, #04152b 0%, #061a35 100%);
  position: relative;
  overflow: hidden;
}
.journey--event {
  background-image: url("/__l5e/assets-v1/9020fb2d-a51d-46dd-a3e7-1a3d1e87d6c4/evento-DSC00862.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.journey--event::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4,21,43,.92) 0%,
    rgba(4,21,43,.85) 40%,
    rgba(4,21,43,.92) 100%
  );
  z-index: 0;
}
.journey--event .container { position: relative; z-index: 2; }
@media (max-width: 820px) {
  .journey--event { background-attachment: scroll; }
}
.journey__head { text-align: center; margin-bottom: 4rem; }
.journey__head .kicker {
  font-family: var(--font-body); letter-spacing: .2em; text-transform: uppercase;
  font-size: .75rem; color: var(--green); margin-bottom: .8rem;
}
.journey__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); color: #fff; margin: 0; }
.journey__intro {
  max-width: 64ch; margin: 1.2rem auto 0; color: #c7d0dd;
  font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.75;
}
.journey__intro p { margin: 0 0 .6rem; }
.journey__intro p:last-child { margin-bottom: 0; color: #fff; font-weight: 500; }
.journey__track {
  position: relative; max-width: 900px; margin: 0 auto;
  padding-left: 90px;
}
.journey__track::before {
  content: ""; position: absolute; left: 40px; top: 40px; bottom: 40px;
  width: 2px; background: linear-gradient(180deg, var(--green), rgba(2,208,100,.15));
}
.journey-step {
  position: relative; padding: 1.4rem 0 3rem;
}
.journey-step__num {
  position: absolute; left: -90px; top: 0;
  width: 80px; height: 80px; border-radius: 50%;
  display: grid; place-items: center;
  background: #04152b; border: 2px solid var(--green);
  color: var(--green); font-size: 1.5rem; font-weight: 600;
  box-shadow: 0 0 0 6px rgba(2,208,100,.08);
}
.journey-step__title {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem); color: #fff; margin: 0 0 .6rem;
  font-weight: 600;
}
.journey-step__desc { color: #c7d0dd; font-size: 1rem; line-height: 1.6; max-width: 55ch; }
@media (max-width: 640px) {
  .journey__track { padding-left: 60px; }
  .journey__track::before { left: 24px; }
  .journey-step__num { left: -60px; width: 52px; height: 52px; font-size: 1rem; }
}

/* Sección listings home framing */
.students-home { padding: clamp(4rem, 8vw, 7rem) 0; background: #04152b; }
.students-home .section-head { text-align: center; margin-bottom: 3rem; }
.students-home .section-head .kicker {
  font-family: var(--font-body); letter-spacing: .2em; text-transform: uppercase;
  font-size: .75rem; color: var(--green); margin-bottom: .8rem;
}
.students-home .section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); color: #fff; margin: 0 0 .8rem; }
.students-home .section-head p { color: #c7d0dd; max-width: 60ch; margin: 0 auto; }
.students-home .cta-wrap { text-align: center; margin-top: 3rem; }

/* Dos ecosistemas */
.ecosystems { padding: clamp(4rem, 8vw, 7rem) 0; }
.eco-head { text-align: center; margin-bottom: 3rem; }
.eco-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); color: #fff; margin: 0 0 .6rem; }
.eco-head p { color: #c7d0dd; }
.eco-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; max-width: 1080px; margin: 0 auto; }

/* Tarjetas tipo poster con foto de fondo */
.eco-tile {
  position: relative; display: block; overflow: hidden;
  border-radius: 22px; text-decoration: none; color: #fff;
  aspect-ratio: 4 / 5; background: #0b0620;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.7);
  transition: transform .35s ease, box-shadow .35s ease;
}
.eco-tile:hover { transform: translateY(-6px); box-shadow: 0 30px 70px -22px rgba(0,0,0,.8); }
.eco-tile__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.eco-tile:hover .eco-tile__img { transform: scale(1.05); }
.eco-tile__shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.62) 38%, rgba(0,0,0,.18) 65%, rgba(0,0,0,.35) 100%);
}
.eco-tile__content {
  position: absolute; inset: auto 0 0 0; display: block;
  padding: 0 1.6rem clamp(1.6rem, 4vw, 2.6rem);
  text-align: center;
}
.eco-tile__kicker {
  display: block; font-size: clamp(.68rem, 1.1vw, .82rem); font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.9);
  margin-bottom: .5rem;
}
.eco-tile__title {
  display: block; font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.4rem); font-weight: 800;
  line-height: 1.02; letter-spacing: -.01em; text-transform: uppercase;
  text-shadow: 0 6px 24px rgba(0,0,0,.55);
}
.eco-tile__title em { font-style: normal; display: inline-block; letter-spacing: .06em; font-size: .62em; font-weight: 700; }
.eco-tile__sub {
  display: block; margin-top: .9rem; font-size: clamp(.9rem, 1.4vw, 1.05rem);
  color: rgba(255,255,255,.82); font-weight: 400;
}
.eco-footnote {
  max-width: 1080px; margin: 2.4rem auto 0; text-align: center;
  color: #c7d0dd; font-size: 1.05rem; line-height: 1.65;
}
.eco-footnote p { margin: 0 0 .6rem; }
.eco-footnote p:last-child { margin-bottom: 0; }
@media (max-width: 720px) {
  .eco-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .eco-tile { aspect-ratio: 3 / 4; }
}


/* ============================================================
   BLOG — coloración y legibilidad mejoradas
   ============================================================ */

/* Página de artículo: fondo claro limpio */
body.article-page {
  background: #f8fafc;
  color: #1f2c3a;
}

body.article-page .site-header.solid {
  background: #0a0124;
  border-bottom: 1px solid rgba(224,252,237,.08);
}

/* Hero del artículo con transición suave al fondo claro */
.article-hero {
  height: 420px;
  background-position: center 30%;
}
.article-hero::before {
  background: linear-gradient(
    180deg,
    rgba(9,1,36,.78) 0%,
    rgba(9,1,36,.35) 55%,
    rgba(248,250,252,.98) 100%
  );
}

/* El artículo sobresale ligeramente sobre el hero */
.article-layout {
  padding-top: 0;
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
}

.article {
  background: #fff;
  border-radius: 24px;
  padding: 2.6rem 3rem;
  box-shadow: 0 4px 30px rgba(0,0,0,.06);
}

.article h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.article .meta {
  font-size: .85rem;
  color: #0a9e55;
  margin: 1rem 0 2rem;
  gap: 1.6rem;
}

.article .meta .date { color: #64748b; }

.article p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
}

.article h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: #0f172a;
  margin: 2.6rem 0 1rem;
}

.article figure { margin: 2rem 0; }
.article figure img {
  border-radius: 16px;
  width: 100%;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

/* Sidebar con tarjetas limpias */
.sidebar > div {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,.04);
}

.sidebar h4 {
  color: #0f172a;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.search-box input {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #1f2c3a;
}
.search-box input::placeholder { color: #94a3b8; }

.recent .r-d { color: #0a9e55; }
.recent .r-t { color: #1e293b; }
.recent .r-t:hover { color: #0a9e55; }

.tags a {
  background: #f1f5f9;
  color: #475569;
  transition: background .2s ease, color .2s ease;
}
.tags a:hover {
  background: #0a9e55;
  color: #fff;
}

.share-row a {
  border-color: #0a9e55;
  color: #0a9e55;
}
.share-row a:hover {
  background: #0a9e55;
  color: #fff;
}

/* Formulario de comentarios */
.comment-form label { color: #0f172a; }
.comment-form input,
.comment-form textarea {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #1f2c3a;
}
.comment-form input::placeholder,
.comment-form textarea::placeholder { color: #94a3b8; }
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: #0a9e55;
  outline: none;
  box-shadow: 0 0 0 3px rgba(10,158,85,.12);
}

.prevnext {
  border-color: #e2e8f0;
  color: #334155;
}
.prevnext a { color: #334155; }
.prevnext a:hover { color: #0a9e55; }

.comments h3 {
  border-color: #e2e8f0;
  color: #0f172a;
}
.comment .c-name { color: #0f172a; }
.comment p { color: #475569; }
.comment .ago { color: #94a3b8; }

/* Página de listado de blog: tarjetas con más aire y contraste */
.blog-hero { padding-top: calc(var(--header-h) + 3rem); }
.post-card {
  background: linear-gradient(180deg, rgba(4,21,43,.95), rgba(9,1,36,.98));
  border-color: rgba(212,242,217,.35);
}
.post-body { gap: .7rem; }
.post-title {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.35;
}
.post-title:hover { color: var(--green); }
.post-exc { color: #c7d0dd; }
.post-author .a-n { color: #fff; }
.post-author .a-r { color: #9aa4b4; }

.chip {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: #e6ecf5;
}
.chip.active {
  background: rgba(2,208,100,.12);
  border-color: var(--green);
  color: var(--green);
}
.chip:hover {
  background: rgba(2,208,100,.12);
  color: var(--green);
}

.pop-card {
  background: rgba(4,21,43,.75);
  border-color: rgba(212,242,217,.25);
}
.pop-card .post-title { font-size: 1.1rem; }

@media (max-width: 960px) {
  .article-layout {
    margin-top: 0;
    padding-top: 2.5rem;
  }
  .article {
    padding: 1.8rem 1.6rem;
    border-radius: 20px;
  }
}

@media (max-width: 560px) {
  .article-hero { height: 260px; }
  .article h1 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .article h2 { font-size: 1.3rem; }
  .article p { font-size: 1rem; }
}

/* ============================================================
   Trim ~20% de espacios verticales globales (sutil)
   ============================================================ */
.section { padding: 4.4rem 0; }
.about-band {
  padding: 3.2rem 0;
  background-image: url("../img/roberto-volcan-brazos.jpg") !important;
  background-size: cover !important;
  background-position: 20% 18% !important;
  background-repeat: no-repeat !important;
}
.about-band::before {
  background: linear-gradient(90deg, rgba(9,1,36,.92) 0%, rgba(4,21,43,.7) 45%, rgba(4,21,43,.15) 80%) !important;
}
@media (max-width: 820px) {
  .about-band { background-position: 68% 12% !important; }
  .about-band::before {
    background: linear-gradient(180deg, rgba(9,1,36,.55) 0%, rgba(9,1,36,.6) 35%, rgba(9,1,36,.92) 90%) !important;
  }
}
.media-band { padding: 3.2rem 0; }
.gallery-band { padding: 3.2rem 0 4rem; }
.newsletter-band { padding: 4rem 0; }
.site-footer { padding: 3.6rem 0 1.8rem; }
.program-grid { margin-top: 2.4rem; }
.story-row { padding: 2.7rem 0; }
.hero { padding: calc(var(--header-h) + 2.4rem) 0 3.2rem; }

@media (max-width: 820px) {
  .section { padding: 2.8rem 0; }
  .hero { padding: calc(var(--header-h) + 2rem) 0 2rem; }
  .about-band { padding: 2.4rem 0; }
  .newsletter-band { padding: 3rem 0; }
  .site-footer { padding: 2.6rem 0 1.4rem; }
  .story-row { padding: 2rem 0; }
  .media-band { padding: 2.4rem 0; }
  .gallery-band { padding: 2.4rem 0 3rem; }
}

@media (min-width: 821px) and (max-width: 1024px) {
  .section { padding: 3.6rem 0; }
}

/* ============================================================
   Blog: post destacado (hero card)
   ============================================================ */
.featured-post {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  align-items: stretch;
  margin: 2rem 0 1rem;
  background: linear-gradient(180deg, rgba(2,208,100,.08), rgba(4,21,43,.6));
  border: 1px solid rgba(224,252,237,.10);
  border-radius: 22px;
  overflow: hidden;
}
.featured-post__media {
  display: block;
  overflow: hidden;
  min-height: 320px;
}
.featured-post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.featured-post:hover .featured-post__media img { transform: scale(1.03); }
.featured-post__body {
  padding: 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  justify-content: center;
}
.featured-post__badge {
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: #04152b;
  background: #7dffb0;
  padding: .3rem .7rem;
  border-radius: 999px;
}
.featured-post__title {
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  text-decoration: none;
  margin: 0;
}
.featured-post__title:hover { color: var(--green, #02d064); }
.featured-post__exc {
  color: #d7e0ee;
  font-size: 1.02rem;
  line-height: 1.55;
  margin: 0;
}
.featured-post__cta { align-self: flex-start; margin-top: .6rem; }

@media (max-width: 820px) {
  .featured-post {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 1.4rem 0 .6rem;
  }
  .featured-post__media { min-height: 200px; max-height: 240px; }
  .featured-post__body { padding: 1.4rem 1.3rem 1.6rem; }
  .featured-post__title { font-size: 1.4rem; }
  .featured-post__exc { font-size: .95rem; }
}

/* ============================================================
   Newsletter — embellished
   ============================================================ */
.newsletter-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 90% at 15% 0%, rgba(46,189,133,.18), transparent 60%),
    radial-gradient(50% 80% at 90% 100%, rgba(46,189,133,.14), transparent 60%),
    linear-gradient(180deg, transparent, rgba(2,208,100,.08) 120%);
}
.newsletter-band::before,
.newsletter-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  pointer-events: none;
}
.newsletter-band::before {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(46,189,133,.35), transparent 70%);
  top: -120px; left: -80px;
  animation: nl-float 14s ease-in-out infinite;
}
.newsletter-band::after {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(80,220,180,.28), transparent 70%);
  bottom: -140px; right: -60px;
  animation: nl-float 18s ease-in-out infinite reverse;
}
@keyframes nl-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(20px, -25px) scale(1.08); }
}

.newsletter {
  position: relative;
  padding: 3rem 3rem;
  border-radius: 24px;
  background:
    linear-gradient(140deg, rgba(6,44,38,.85), rgba(4,21,43,.9)),
    radial-gradient(120% 140% at 0% 0%, rgba(46,189,133,.22), transparent 55%);
  border: 1px solid rgba(120, 230, 180, .18);
  box-shadow:
    0 30px 80px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.newsletter form { display: flex; flex-direction: column; gap: .9rem; width: 100%; }
/* animated gradient border sheen */
.newsletter::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from 120deg,
    rgba(46,189,133,.0),
    rgba(46,189,133,.55),
    rgba(120,230,180,.0),
    rgba(46,189,133,.4),
    rgba(46,189,133,.0)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: .8;
  animation: nl-spin 10s linear infinite;
  pointer-events: none;
  z-index: 0;
}
/* subtle grid texture */
.newsletter::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(80% 80% at 50% 50%, #000 40%, transparent 100%);
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
@keyframes nl-spin {
  to { transform: rotate(360deg); }
}
.newsletter > * { position: relative; z-index: 1; }

.newsletter p.lead {
  font-size: 1.25rem;
  line-height: 1.35;
  letter-spacing: -.01em;
  max-width: none;
  margin: 0;
}

.nl-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .35rem;
  border-radius: 14px;
  background: rgba(4,12,24,.55);
  border: 1px solid rgba(126,230,182,.18);
  backdrop-filter: blur(6px);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.nl-row:focus-within {
  border-color: rgba(126,230,182,.6);
  box-shadow: 0 0 0 4px rgba(46,189,133,.15);
}
.nl-row input[type=email] {
  background: transparent;
  border: none;
  padding: .85rem 1rem;
  font-size: .98rem;
  flex: 1;
  min-width: 0;
  color: #fff;
}
.nl-row input[type=email]:focus { outline: none; }

.nl-row button {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(140deg, #34d99a, #0fb377);
  box-shadow:
    0 10px 24px rgba(15,179,119,.4),
    inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  cursor: pointer;
}
.nl-row button:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.08);
  box-shadow:
    0 16px 32px rgba(15,179,119,.5),
    inset 0 1px 0 rgba(255,255,255,.3);
}
.nl-row button:active { transform: translateY(0) scale(.98); }
.nl-row button svg { transition: transform .25s ease; }
.nl-row button:hover svg { transform: translate(2px, -2px); }

.nl-check {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .78rem;
  color: rgba(224,252,237,.75);
  line-height: 1.5;
}
.nl-check input {
  width: 16px; height: 16px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 820px) {
  .newsletter {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    padding: 2.4rem 1.4rem;
    border-radius: 20px;
  }
  .newsletter p.lead { font-size: 1.05rem; }
  .nl-row button { width: 48px; height: 48px; }
}




/* ============================================================
   SOBRE MÍ — rediseño (podcast hero + timeline + valores)
   ============================================================ */
.about-podcast {
  position: relative;
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(2.4rem, 5vw, 3.8rem);
  background:
    radial-gradient(90% 60% at 12% 0%, rgba(30,215,96,.10), transparent 60%),
    radial-gradient(70% 50% at 100% 100%, rgba(46,189,133,.08), transparent 60%),
    linear-gradient(180deg, #04152b 0%, #071c37 100%);
  overflow: hidden;
}
.about-podcast::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .35;
  pointer-events: none;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 40%, transparent 100%);
}
.about-podcast__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.about-podcast__eyebrow {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #1ed760;
  padding: .35rem .7rem;
  border: 1px solid rgba(30,215,96,.35);
  border-radius: 999px;
  background: rgba(30,215,96,.08);
  margin-bottom: 1.2rem;
}
.about-podcast__intro h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  margin: 0 0 1.1rem;
  letter-spacing: -.015em;
  color: #eafff3;
}
.about-podcast__lede {
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  color: #b9c4d4;
  max-width: 48ch;
  line-height: 1.55;
  margin: 0 0 1.4rem;
}
.about-podcast__meta {
  display: flex; flex-wrap: wrap; gap: .55rem;
}
.about-podcast__pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .38rem .75rem;
  font-size: .78rem;
  color: #d7e6ee;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
}
.about-podcast__pill--muted { color: #9aa4b4; }
.about-podcast__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #1ed760;
  box-shadow: 0 0 0 3px rgba(30,215,96,.20);
  animation: aboutPulse 2.2s ease-in-out infinite;
}
@keyframes aboutPulse {
  50% { box-shadow: 0 0 0 7px rgba(30,215,96,0); }
}
.about-podcast__frame {
  position: relative;
  border-radius: 18px;
  padding: 6px;
  background: linear-gradient(135deg, rgba(30,215,96,.55), rgba(46,189,133,.10) 40%, rgba(255,255,255,.05) 100%);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
}
.about-podcast__frame iframe {
  display: block;
  width: 100%;
  border-radius: 12px;
  background: #121212;
}
.about-podcast__frame--video {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.about-podcast__frame--video iframe {
  width: 100%;
  height: 100%;
}

/* Hero portrait + copy */
.about-hero-band {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: linear-gradient(180deg, #071c37 0%, #04152b 100%);
}
.about-hero__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.about-hero__portrait {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  border: 1px solid rgba(255,255,255,.08);
}
.about-hero__portrait img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .8s ease;
}
.about-hero__portrait:hover img { transform: scale(1.04); }
.about-hero__portrait-tag {
  position: absolute; left: 14px; bottom: 14px;
  padding: .4rem .75rem;
  font-size: .78rem;
  color: #eafff3;
  background: rgba(4,12,24,.65);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.about-hero__hello {
  font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  color: #7ee6b6; margin: 0 0 .5rem;
}
.about-hero__copy h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin: 0 0 .5rem;
  letter-spacing: -.01em;
  color: #eafff3;
}
.about-hero__role {
  color: #a9d9c1; margin: 0 0 1.2rem; font-weight: 500;
}
.about-hero__copy p {
  color: #b9c4d4; line-height: 1.6; margin: 0 0 1rem;
  max-width: 58ch;
}
.about-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 1.6rem;
  max-width: 480px;
}
.about-hero__stats > div {
  padding: .85rem .8rem;
  border: 1px solid rgba(46,189,133,.22);
  border-radius: 12px;
  background: rgba(46,189,133,.05);
  text-align: center;
}
.about-hero__stats .num {
  font-size: 1.4rem; font-weight: 700; color: #eafff3; line-height: 1;
}
.about-hero__stats .lbl {
  font-size: .72rem; color: #9aa4b4; margin-top: .35rem;
  text-transform: uppercase; letter-spacing: .1em;
}

/* Timeline capítulos */
.about-timeline {
  position: relative;
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: #04152b;
}
.about-timeline__header { text-align: center; margin-bottom: 3rem; }
.about-timeline__eyebrow,
.about-values__eyebrow,
.about-gallery__eyebrow {
  display: inline-block;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: #7ee6b6;
  padding: .35rem .7rem;
  border: 1px solid rgba(46,189,133,.35);
  border-radius: 999px;
  background: rgba(46,189,133,.08);
  margin-bottom: 1rem;
}
.about-timeline__header h2,
.about-values__header h2,
.about-gallery__header h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: #eafff3;
  margin: 0;
  letter-spacing: -.01em;
}
.about-chapter {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: clamp(1.2rem, 2.5vw, 2.4rem);
  align-items: center;
  padding: clamp(1.8rem, 3vw, 2.8rem) 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.about-chapter:last-of-type { border-bottom: none; }
.about-chapter__num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: rgba(46,189,133,.35);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.02em;
}
.about-chapter__media {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.5);
}
.about-chapter__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .7s ease;
}
.about-chapter:hover .about-chapter__media img { transform: scale(1.05); }
.about-chapter__txt h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  color: #eafff3;
  margin: 0 0 .7rem;
  letter-spacing: -.005em;
}
.about-chapter__txt p {
  color: #b9c4d4; line-height: 1.6; margin: 0 0 .7rem;
}
.about-chapter__txt b { color: #eafff3; }
.about-chapter--flip .about-chapter__media { order: 3; }
.about-chapter--flip .about-chapter__txt   { order: 2; }
.about-chapter--flip .about-chapter__num   { order: 1; }

/* Valores */
.about-values {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  background: linear-gradient(180deg, #04152b 0%, #071c37 100%);
}
.about-values__header { text-align: center; margin-bottom: 2.5rem; }
.about-values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.about-value {
  padding: 1.6rem 1.4rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.about-value:hover {
  transform: translateY(-4px);
  border-color: rgba(46,189,133,.4);
  background: rgba(46,189,133,.05);
}
.about-value__ico {
  font-size: 1.6rem; margin-bottom: .8rem;
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(46,189,133,.12);
  border: 1px solid rgba(46,189,133,.28);
}
.about-value h3 {
  font-size: 1.05rem; color: #eafff3;
  margin: 0 0 .5rem;
}
.about-value p { color: #b9c4d4; line-height: 1.55; margin: 0; }

/* Gallery header */
.about-gallery {
  padding: clamp(3.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  background: #04152b;
}
.about-gallery__header { text-align: center; margin-bottom: 2rem; }

/* CTA final */
.about-cta-band {
  padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(4rem, 7vw, 6rem);
  background: linear-gradient(180deg, #04152b 0%, #071c37 100%);
}
.about-cta {
  text-align: center;
  padding: clamp(2.4rem, 5vw, 4rem) 1.5rem;
  border-radius: 22px;
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(46,189,133,.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(46,189,133,.25);
}
.about-cta h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: #eafff3;
  margin: 0 0 .7rem;
  letter-spacing: -.01em;
}
.about-cta p { color: #b9c4d4; margin: 0 0 1.6rem; }
.about-cta__row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem;
}

/* Responsive */
@media (max-width: 900px) {
  .about-podcast__grid,
  .about-hero__grid { grid-template-columns: 1fr; }
  .about-hero__portrait { max-width: 380px; margin: 0 auto; }
  .about-chapter,
  .about-chapter--flip {
    grid-template-columns: 60px 1fr;
    grid-template-areas:
      "num media"
      "txt txt";
    gap: 1rem;
  }
  .about-chapter__num   { grid-area: num; font-size: 2.4rem; }
  .about-chapter__media { grid-area: media; order: initial; }
  .about-chapter__txt   { grid-area: txt; order: initial; }
  .about-values__grid { grid-template-columns: 1fr; }
  .about-hero__stats { grid-template-columns: repeat(3, 1fr); max-width: none; }
}
@media (max-width: 560px) {
  .about-podcast__intro h1 { font-size: 1.8rem; }
  .about-hero__stats .num { font-size: 1.15rem; }
}

/* Remove legacy about-band spacing conflicts on this page */
.about-band-sobre { display: none; }

/* ============================================================
   HOME FAQ — two columns, one per ecosystem
   ============================================================ */
.home-faq {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  background: linear-gradient(180deg, #071c37 0%, #04152b 100%);
}
.home-faq > .container > h2 {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 2.5rem;
  color: var(--white);
}
.home-faq__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}
.home-faq__col {
  background: linear-gradient(160deg, rgba(4,21,43,.85), rgba(2,208,100,.06));
  border: 1px solid var(--card-line);
  border-radius: var(--radius-card);
  padding: 1.6rem 1.4rem;
}
.home-faq__col h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  margin: 0 0 1.2rem;
  color: var(--green);
  line-height: 1.25;
}
.home-faq__col .faq-wrap {
  max-width: 100%;
}
.home-faq__col .faq-q {
  padding: 1rem 0;
  font-size: .96rem;
}
.home-faq__col .faq-a {
  padding-left: 2.5rem;
}
.home-faq__col .faq-a p {
  font-size: .9rem;
  font-weight: 500;
  color: var(--pale);
  padding: 0 0 1rem;
}
.home-faq__col .faq-a p + p {
  padding-top: .6rem;
}
.home-faq__col .faq-item:last-child {
  border-bottom: none;
}

@media (max-width: 1024px) {
  .home-faq__grid {
    gap: 1.25rem;
  }
  .home-faq__col {
    padding: 1.3rem 1.1rem;
  }
}

@media (max-width: 820px) {
  .home-faq__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .home-faq__col h3 {
    margin-bottom: 1rem;
  }
}

/* ============================================================
   TESTIMONIOS — grid de videos
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.testimonial-video {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 50px -16px rgba(0,0,0,.45);
  background: rgba(9,1,36,.45);
}
.testimonial-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.testimonial-name {
  text-align: center;
  margin: 0;
  font-weight: 700;
  color: var(--green);
  font-size: 1rem;
}
@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (max-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.8rem;
  }
  .testimonial-video {
    max-width: 320px;
    margin: 0 auto;
  }
}


/* ===== Calculadora de interés compuesto ===== */
.calc-wrap{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:1.75rem;align-items:start}
.calc-form__title{font-size:1.15rem;margin:0 0 1.25rem;font-weight:700}
.calc-results{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.10);border-radius:18px;padding:1.75rem}
.calc-total{text-align:center;padding-bottom:1.25rem;border-bottom:1px solid rgba(255,255,255,.10)}
.calc-total__label{display:block;font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;opacity:.7}
.calc-total__value{display:block;margin-top:.4rem;font-size:clamp(1.9rem,4vw,2.8rem);font-weight:800;color:var(--green,#2ecc71)}
.calc-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin-top:1.25rem}
.calc-kpi{background:rgba(255,255,255,.05);border-radius:12px;padding:.85rem;text-align:center}
.calc-kpi span{display:block;font-size:.75rem;opacity:.7;margin-bottom:.3rem}
.calc-kpi strong{font-size:1rem;font-weight:700}
.calc-chart{display:flex;align-items:flex-end;gap:.4rem;height:170px;margin-top:1.5rem}
.calc-bar{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%}
.calc-bar__stack{width:100%;max-width:34px;border-radius:6px 6px 0 0;background:var(--green,#2ecc71);position:relative;display:block;min-height:3px}
.calc-bar__cap{position:absolute;left:0;bottom:0;width:100%;border-radius:0 0 6px 6px;background:rgba(255,255,255,.22);display:block}
.calc-bar em{font-style:normal;font-size:.7rem;opacity:.6;margin-top:.35rem}
.calc-note{margin-top:1.25rem;font-size:.78rem;opacity:.65;line-height:1.5}
@media (max-width:900px){.calc-wrap{grid-template-columns:1fr}.calc-kpis{grid-template-columns:1fr}}

/* Calculadora: campos y contenedores con borde legible */
.calc-form input,
.calc-form select{
  width:100%;
  background:#fff;
  border:1px solid #b7c7d7;
  border-radius:12px;
  padding:.9rem 1rem;
  font:inherit;
  color:#33475b;
}
.calc-form input::placeholder{color:#8fa3b6}
.calc-form input:focus,
.calc-form select:focus{border-color:var(--green,#2ecc71);outline:none}
.calc-total{border:1px solid rgba(255,255,255,.16);border-radius:14px;padding:1.1rem;margin-bottom:1rem}
.calc-kpi{border:1px solid rgba(255,255,255,.16)}
.calc-chart{border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:.9rem}
.calc-note{border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:.85rem;opacity:.85}


/* Calculadoras: layout más estético */
.calc-wrap{align-items:stretch}
.calc-form.form-card{margin:0;max-width:none;padding:2rem clamp(1.25rem,3vw,2.25rem);border-radius:18px;height:fit-content}
.calc-form label{margin:1.1rem 0 .4rem;font-size:.9rem}
.calc-results{display:flex;flex-direction:column}
.calc-chart:empty{display:none}
.calc-chart:not(:empty){background:rgba(255,255,255,.03)}
.calc-kpis + .calc-kpis{margin-top:.75rem}
.calc-passive{
  margin-top:1.25rem;padding:1.1rem 1.25rem;border-radius:14px;
  border:1px solid rgba(2,208,100,.35);
  background:linear-gradient(180deg,rgba(2,208,100,.12),rgba(2,208,100,.04));
}
.calc-passive__label{display:block;font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;opacity:.85}
.calc-passive__row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:.65rem}
.calc-passive__row em{display:block;font-style:normal;font-size:.78rem;opacity:.7;margin-bottom:.2rem}
.calc-passive__row strong{font-size:1.35rem;font-weight:800;color:var(--green,#2ecc71)}
.calc-passive__hint{margin:.75rem 0 0;font-size:.75rem;opacity:.7;line-height:1.5}
.calc-note{margin-top:auto}
@media (max-width:560px){.calc-passive__row{grid-template-columns:1fr}}

/* Breadcrumbs + tools hub */
.crumbs{font-size:.85rem;opacity:.75;margin-bottom:.75rem}
.crumbs a{color:inherit;text-decoration:underline}
.crumbs span{margin:0 .15rem}
.tools-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.25rem;max-width:980px;margin:0 auto}
.tool-card{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid rgba(9,1,36,.08);border-radius:20px;padding:0;text-align:left;overflow:hidden;box-shadow:0 10px 30px rgba(9,1,36,.10);transition:transform .3s ease,box-shadow .3s ease}
.tool-card:hover{transform:translateY(-6px);box-shadow:0 20px 44px rgba(9,1,36,.18)}
.tool-card-img{display:block;width:100%;max-width:none;margin:0;height:200px;object-fit:cover;object-position:center;transition:transform .5s ease}
.tool-card:hover .tool-card-img{transform:scale(1.06)}
.tool-card-body{display:flex;flex-direction:column;flex:1;padding:1.4rem 1.5rem 1.6rem}
@media (max-width:640px){.tool-card-img{height:170px}}
.tool-card h2{font-size:1.2rem;line-height:1.3;margin:0 0 .55rem}
.tool-card h2 a{color:#090124;text-decoration:none}
.tool-card h2 a:hover{color:var(--green,#2ecc71)}
.tool-card p{color:#4a5a70;font-size:.95rem;line-height:1.6;margin:0 0 1.3rem}
.tool-card .btn{margin-top:auto;align-self:flex-start;border-radius:12px}

/* ============================================================
   Calculadora de inversiones inmobiliarias / Airbnb (merge)
   ============================================================ */
.rei{
  --rei-panel:#0E0A26;
  --rei-panel-2:#161040;
  --rei-line:rgba(155,145,225,.14);
  --rei-line-strong:rgba(155,145,225,.28);
  --rei-verde:#4ADE80;
  --rei-verde-ink:#0B4429;
  --rei-ambar:#F5B84E;
  --rei-mist:#9C95C4;
  --rei-paper:#F4F2FF;
  --rei-mono:'IBM Plex Mono',ui-monospace,'SF Mono',Menlo,monospace;
  --rei-ease:cubic-bezier(.22,.68,0,1);
  position:relative;
  color:var(--rei-paper);
  overflow:hidden;
}
.rei *{box-sizing:border-box}
.rei-glow{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.rei-glow::before,.rei-glow::after{content:'';position:absolute;border-radius:50%;filter:blur(90px)}
.rei-glow::before{width:820px;height:820px;top:-380px;left:50%;transform:translateX(-42%);
  background:radial-gradient(circle,rgba(74,222,128,.16),transparent 62%)}
.rei-glow::after{width:620px;height:620px;top:280px;right:-220px;
  background:radial-gradient(circle,rgba(120,86,255,.20),transparent 65%)}
.rei-page{position:relative;z-index:1;max-width:1180px;margin:0 auto;
  padding:calc(var(--header-h) + 2.2rem) 22px 70px}

.rei-crumbs{font-family:var(--rei-mono);font-size:11.5px;letter-spacing:.09em;text-transform:uppercase;color:var(--rei-mist);margin-bottom:46px}
.rei-crumbs a{color:var(--rei-mist);text-decoration:none;border-bottom:1px solid var(--rei-line-strong);padding-bottom:2px}
.rei-crumbs a:hover{color:var(--rei-verde);border-color:var(--rei-verde)}
.rei-crumbs span{opacity:.45;margin:0 8px}

.rei-eyebrow{display:inline-flex;align-items:center;gap:9px;font-family:var(--rei-mono);font-size:11px;
  letter-spacing:.15em;text-transform:uppercase;color:var(--rei-verde);
  border:1px solid rgba(74,222,128,.28);border-radius:100px;padding:6px 13px;background:rgba(74,222,128,.06)}
.rei-eyebrow i{width:5px;height:5px;border-radius:50%;background:var(--rei-verde);box-shadow:0 0 10px var(--rei-verde)}

.rei h1{font-weight:800;letter-spacing:-.035em;line-height:.98;
  font-size:clamp(2.1rem,5.6vw,4.15rem);margin:22px 0 0;max-width:16ch;color:var(--rei-paper)}
.rei h1 em{font-style:normal;color:var(--rei-verde)}
.rei-lede{color:var(--rei-mist);font-size:clamp(1rem,1.35vw,1.1rem);line-height:1.62;max-width:56ch;margin:20px 0 0}
.rei-head{display:flex;justify-content:space-between;align-items:flex-end;gap:34px;flex-wrap:wrap}

.rei-modes-wrap{display:flex;flex-direction:column;align-items:flex-end;gap:10px;flex-shrink:0}
.rei-modes-label{font-family:var(--rei-mono);font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--rei-mist)}
.rei-modes{display:inline-flex;background:var(--rei-panel-2);border:1px solid var(--rei-line-strong);
  border-radius:100px;padding:5px;gap:4px;flex-shrink:0;box-shadow:0 10px 30px rgba(0,0,0,.32)}
.rei-modes button{appearance:none;background:none;border:0;cursor:pointer;color:var(--rei-paper);
  font-family:var(--rei-mono);font-size:13px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;
  padding:13px 26px;border-radius:100px;transition:color .25s,background .25s,box-shadow .25s;white-space:nowrap}
.rei-modes button[aria-pressed="true"]{background:var(--rei-verde);color:var(--rei-verde-ink);font-weight:700;
  box-shadow:0 0 0 1px rgba(74,222,128,.5),0 6px 22px rgba(74,222,128,.32)}
.rei-modes button:hover:not([aria-pressed="true"]){background:rgba(255,255,255,.06)}
.rei-modes button:focus-visible{outline:2px solid var(--rei-verde);outline-offset:3px}
@media (max-width:940px){
  .rei-modes-wrap{align-items:stretch;width:100%;margin-top:6px}
  .rei-modes{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .rei-modes button{padding:15px 10px;font-size:13px;text-align:center}
}
.rei-grid{display:grid;grid-template-columns:minmax(0,380px) minmax(0,1fr);gap:20px;margin-top:48px;align-items:start}
@media (max-width:940px){.rei-grid{grid-template-columns:1fr}}
.rei-card{background:var(--rei-panel);border:1px solid var(--rei-line);border-radius:22px}
.rei-controls{padding:26px 24px 28px}
.rei-panel-title{font-family:var(--rei-mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--rei-mist);margin:0 0 24px;font-weight:500}

.rei-field{margin-bottom:23px}
.rei-field-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:11px}
.rei-field-top label{font-size:14.5px;font-weight:600;letter-spacing:-.01em;color:var(--rei-paper);margin:0}
.rei-hint{font-family:var(--rei-mono);font-size:10.5px;color:var(--rei-mist);opacity:.72;letter-spacing:.04em}

.rei-numwrap{display:flex;align-items:center;background:var(--rei-panel-2);border:1px solid var(--rei-line);
  border-radius:9px;transition:border-color .2s,box-shadow .2s}
.rei-numwrap:focus-within{border-color:var(--rei-verde);box-shadow:0 0 0 3px rgba(74,222,128,.13)}
.rei-numwrap .pre{font-family:var(--rei-mono);font-size:12px;color:var(--rei-mist);padding:0 2px 0 12px}
.rei-numwrap .post{font-family:var(--rei-mono);font-size:12px;color:var(--rei-mist);padding:0 12px 0 0}
.rei .rei-numwrap input{flex:1;min-width:0;appearance:none;-moz-appearance:textfield;background:none;border:0;outline:none;
  color:var(--rei-paper);font-family:var(--rei-mono);font-weight:600;font-size:16px;padding:11px 12px;letter-spacing:-.01em;
  box-shadow:none;margin:0;width:100%}
.rei .rei-numwrap input::-webkit-outer-spin-button,
.rei .rei-numwrap input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

.rei input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:22px;background:none;margin:9px 0 0;cursor:grab;display:block;border:0;padding:0}
.rei input[type=range]:active{cursor:grabbing}
.rei input[type=range]::-webkit-slider-runnable-track{height:3px;border-radius:2px;
  background:linear-gradient(to right,var(--rei-verde) var(--fill,0%),rgba(155,145,225,.20) var(--fill,0%))}
.rei input[type=range]::-moz-range-track{height:3px;border-radius:2px;background:rgba(155,145,225,.20)}
.rei input[type=range]::-moz-range-progress{height:3px;border-radius:2px;background:var(--rei-verde)}
.rei input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;
  background:var(--rei-paper);margin-top:-6px;border:3px solid var(--rei-verde);transition:box-shadow .2s,transform .2s}
.rei input[type=range]::-moz-range-thumb{width:15px;height:15px;border-radius:50%;background:var(--rei-paper);border:3px solid var(--rei-verde)}
.rei input[type=range]:hover::-webkit-slider-thumb{transform:scale(1.12)}
.rei input[type=range]:focus{outline:none}
.rei input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 6px rgba(74,222,128,.22)}

.rei-adv{border-top:1px solid var(--rei-line);margin-top:28px;padding-top:20px}
.rei-adv summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:9px;
  font-family:var(--rei-mono);font-size:11px;letter-spacing:.13em;text-transform:uppercase;color:var(--rei-mist)}
.rei-adv summary::-webkit-details-marker{display:none}
.rei-adv summary:hover{color:var(--rei-paper)}
.rei-adv summary .chev{transition:transform .3s var(--rei-ease);font-size:9px;color:var(--rei-verde)}
.rei-adv[open] summary .chev{transform:rotate(90deg)}
.rei-adv .inner{padding-top:22px}
.rei-reset{margin-top:6px;background:none;border:0;padding:0;cursor:pointer;color:var(--rei-mist);
  font-family:var(--rei-mono);font-size:11px;letter-spacing:.06em;text-decoration:underline;text-underline-offset:3px}
.rei-reset:hover{color:var(--rei-verde)}

.rei-results{padding:28px 28px 30px;display:flex;flex-direction:column;gap:22px;
  background:linear-gradient(168deg,var(--rei-panel) 0%,#0B0820 100%)}
.rei-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:26px;flex-wrap:wrap}
.rei-hero-main{min-width:0}
.rei-hero .kicker{font-family:var(--rei-mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--rei-mist)}
.rei-hero .pct{font-weight:800;letter-spacing:-.05em;line-height:.82;
  font-size:clamp(3.4rem,9.5vw,6.6rem);margin-top:12px;color:var(--rei-verde);
  font-variant-numeric:tabular-nums;text-shadow:0 0 68px rgba(74,222,128,.32)}
.rei-hero .pct small{font-size:.34em;font-weight:600;letter-spacing:-.01em;margin-left:6px}
.rei-hero.neg .pct{color:var(--rei-ambar);text-shadow:0 0 68px rgba(245,184,78,.28)}
.rei-hero-side{text-align:right;font-family:var(--rei-mono)}
.rei-hero-side .lbl{font-size:10.5px;letter-spacing:.13em;text-transform:uppercase;color:var(--rei-mist)}
.rei-hero-side .val{font-size:26px;font-weight:600;margin-top:7px;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
@media (max-width:520px){.rei-hero-side{text-align:left}}

.rei-verdict{display:flex;gap:11px;align-items:flex-start;font-size:14px;line-height:1.5;color:var(--rei-mist);
  border-left:2px solid var(--rei-verde);padding-left:14px;margin:0}
.rei-verdict b{color:var(--rei-paper);font-weight:600}

.rei-runway{border:1px solid var(--rei-line);border-radius:14px;background:rgba(255,255,255,.014);padding:20px 20px 12px}
.rei-runway-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:6px;flex-wrap:wrap}
.rei-legend{display:flex;gap:16px;font-family:var(--rei-mono);font-size:10.5px;letter-spacing:.05em;color:var(--rei-mist)}
.rei-legend i{display:inline-block;width:9px;height:9px;border-radius:2px;margin-right:6px;vertical-align:-1px}
.rei-legend i.a{background:rgba(155,145,225,.42)}
.rei-legend i.b{background:var(--rei-verde)}
svg.rei-chart{display:block;width:100%;height:auto;overflow:visible}
svg.rei-chart text{font-family:var(--rei-mono);font-size:10.5px;fill:var(--rei-mist);letter-spacing:.04em}
svg.rei-chart .axis{stroke:var(--rei-line-strong);stroke-width:1}
svg.rei-chart .goal{stroke:rgba(244,242,255,.4);stroke-width:1;stroke-dasharray:2 5}
svg.rei-chart .cross{stroke:var(--rei-verde);stroke-width:1.5;stroke-dasharray:3 4}
.rei-sweep{animation:rei-sweep 1.05s var(--rei-ease) both}
@keyframes rei-sweep{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}

.rei-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media (min-width:900px){.rei-stats{grid-template-columns:repeat(4,1fr)}}
@media (max-width:560px){.rei-stats{grid-template-columns:1fr}}

.rei-stat{border:1px solid var(--rei-line);border-radius:14px;padding:15px 16px;background:rgba(255,255,255,.014);
  transition:border-color .25s,transform .25s var(--rei-ease)}
.rei-stat:hover{border-color:var(--rei-line-strong);transform:translateY(-2px)}
.rei-stat .lbl{font-family:var(--rei-mono);font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--rei-mist)}
.rei-stat .val{font-family:var(--rei-mono);font-size:21px;font-weight:600;margin-top:9px;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.rei-stat .val.amber{color:var(--rei-ambar)}

.rei-flow{border:1px solid var(--rei-line);border-radius:14px;padding:18px 18px 16px;background:rgba(255,255,255,.014)}
.rei-bar{display:flex;height:11px;border-radius:100px;overflow:hidden;background:rgba(155,145,225,.14);margin:14px 0 12px}
.rei-bar>span{transition:width .5s var(--rei-ease)}
.rei .s-gasto{background:var(--rei-ambar)}
.rei .s-com{background:rgba(245,184,78,.42)}
.rei .s-neto{background:var(--rei-verde)}
.rei-flow-keys{display:flex;flex-wrap:wrap;gap:8px 22px;font-family:var(--rei-mono);font-size:11px;color:var(--rei-mist)}
.rei-flow-keys div{display:flex;align-items:center;gap:7px}
.rei-flow-keys i{width:8px;height:8px;border-radius:2px}
.rei-flow-keys b{color:var(--rei-paper);font-weight:600;font-variant-numeric:tabular-nums}

.rei-note{font-size:12.5px;line-height:1.6;color:var(--rei-mist);opacity:.8}
.rei-cta{display:flex;align-items:center;justify-content:center;gap:10px;background:var(--rei-verde);color:var(--rei-verde-ink);
  font-weight:800;font-size:16px;letter-spacing:-.015em;text-decoration:none;
  padding:17px 26px;border-radius:100px;transition:transform .22s var(--rei-ease),box-shadow .22s}
.rei-cta:hover{transform:translateY(-2px);box-shadow:0 12px 34px rgba(74,222,128,.26);color:var(--rei-verde-ink)}
.rei-cta svg{transition:transform .22s var(--rei-ease)}
.rei-cta:hover svg{transform:translateX(4px)}
@media (prefers-reduced-motion:reduce){.rei *{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* ---- Calculadora de interés compuesto con el estilo REI ---- */
.rei-ci .rei-head{margin-bottom:4px}
.rei-ci .rei h1,.rei-ci h1{max-width:20ch}
.rei-ci .rei-controls .rei-field:last-of-type{margin-bottom:0}
.rei-ci .rei-hero .pct.amount{font-size:clamp(2.3rem,6vw,4.1rem);line-height:1;letter-spacing:-.04em;
  font-variant-numeric:tabular-nums}
.rei-ci .calc-chart{display:flex;align-items:flex-end;gap:.45rem;height:190px;margin:14px 0 4px;
  border:0;border-radius:0;padding:0;background:none}
.rei-ci .calc-chart:empty{display:none}
.rei-ci .calc-bar{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%}
.rei-ci .calc-bar__stack{width:100%;max-width:30px;border-radius:6px 6px 0 0;background:var(--rei-verde);
  position:relative;display:block;min-height:3px;box-shadow:0 0 22px rgba(74,222,128,.22)}
.rei-ci .calc-bar__cap{position:absolute;left:0;bottom:0;width:100%;border-radius:0 0 6px 6px;
  background:rgba(155,145,225,.42);display:block}
.rei-ci .calc-bar em{font-style:normal;font-family:var(--rei-mono);font-size:10px;color:var(--rei-mist);margin-top:.4rem}
.rei-passive .rei-passive-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0 12px}
.rei-passive .rei-passive-row .lbl{display:block;font-family:var(--rei-mono);font-size:10px;letter-spacing:.12em;
  text-transform:uppercase;color:var(--rei-mist)}
.rei-passive .rei-passive-row .val{display:block;margin-top:7px;font-family:var(--rei-mono);font-size:24px;
  font-weight:700;color:var(--rei-verde);letter-spacing:-.02em;font-variant-numeric:tabular-nums}
@media (max-width:560px){.rei-passive .rei-passive-row{grid-template-columns:1fr}}

/* Calculadora inmobiliaria: campos según modo */
.rei .only-airbnb { display: none; }
.rei.is-airbnb .only-airbnb { display: block; }
.rei.is-airbnb .only-largo { display: none; }
.rei .rei-controls .rei-reset { margin-top: 4px; }

/* ===== Calculadora de interés compuesto: grupos + ledger ===== */
.rei-ci .ci-group + .ci-group {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--rei-line, rgba(155,145,225,.14));
}
.rei-ci .ci-hero-sub {
  font-size: 14px;
  color: var(--rei-mist, #9C95C4);
  margin: 14px 0 0;
  line-height: 1.55;
  max-width: 46ch;
}
.rei-ci .ci-hero-sub b {
  color: #F4F2FF;
  font-weight: 600;
  font-family: var(--rei-mono, 'IBM Plex Mono', ui-monospace, monospace);
  font-size: 13.5px;
}
.rei-ci .ci-ledger {
  border: 1px solid var(--rei-line, rgba(155,145,225,.14));
  border-radius: 14px;
  background: rgba(255,255,255,.014);
  padding: 6px 18px;
}
.rei-ci .ci-lrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--rei-line, rgba(155,145,225,.14));
}
.rei-ci .ci-lrow:first-child { border-top: 0; }
.rei-ci .ci-lrow .k {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -.012em;
  color: #F4F2FF;
}
.rei-ci .ci-lrow .k span {
  display: block;
  font-family: var(--rei-mono, 'IBM Plex Mono', ui-monospace, monospace);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--rei-mist, #9C95C4);
  opacity: .78;
  margin-top: 4px;
}
.rei-ci .ci-lrow .v {
  font-family: var(--rei-mono, 'IBM Plex Mono', ui-monospace, monospace);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
  color: #F4F2FF;
}
.rei-ci .ci-lrow.hi {
  margin: 0 -18px;
  padding: 16px 18px;
  background: linear-gradient(90deg, rgba(74,222,128,.10), rgba(74,222,128,.02));
  border-left: 2px solid #4ADE80;
}
.rei-ci .ci-lrow.hi .v { color: #4ADE80; font-size: 22px; }
.rei-ci .ci-lrow.infl .v { color: #F5B84E; }
@media (max-width: 560px) {
  .rei-ci .ci-lrow { flex-direction: column; align-items: flex-start; gap: 6px; }
  .rei-ci .ci-lrow .v { text-align: left; }
}

/* ---------- Páginas legales ---------- */
.legal-doc { color: #d9dbe6; line-height: 1.75; }
.legal-doc h2 {
  margin: 2.2rem 0 .6rem;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: -.01em;
}
.legal-doc p { margin: 0 0 1rem; }
.legal-doc ul { margin: 0 0 1.2rem 1.2rem; padding: 0; }
.legal-doc li { margin: .35rem 0; }
.legal-doc a { color: var(--mint, #6ee7b7); text-decoration: underline; }
.site-footer .copyright a { color: inherit; text-decoration: underline; opacity: .85; }
.site-footer .copyright a:hover { opacity: 1; }

/* ===== Muro de testimonios (Testimonial.to) ===== */
.tw-section { padding-top: 1rem; }
.tw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  gap: 1.4rem;
  margin-top: 2rem;
  justify-content: center;
}
.tw-card {
  background: #fff;
  border: 1px solid rgba(9,1,36,.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(9,1,36,.08);
  display: flex;
  flex-direction: column;
}
.tw-media { position: relative; aspect-ratio: 9 / 16; background: #090124; }
.tw-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tw-poster {
  width: 100%; height: 100%;
  border: 0; padding: 0; cursor: pointer;
  background-color: #090124;
  background-size: cover;
  background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.tw-play {
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: #090124;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; padding-left: 4px;
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
  transition: transform .2s ease;
}
.tw-poster:hover .tw-play { transform: scale(1.08); }
.tw-body { padding: 1rem 1.1rem 1.2rem; }
.tw-stars { color: #f5b301; letter-spacing: 2px; margin: 0 0 .4rem; font-size: 1rem; }
.tw-stars-off { color: rgba(9,1,36,.15); }
.tw-quote { color: #2a2545; font-size: .98rem; line-height: 1.55; margin: 0 0 .8rem; }
.tw-name { font-weight: 700; color: #090124; margin: 0; }
.tw-role { color: rgba(9,1,36,.55); font-size: .85rem; margin: .15rem 0 0; }
.tw-card-text .tw-body { padding: 1.4rem; }
.tw-skeleton { min-height: 320px; background: rgba(9,1,36,.06); border: 0; box-shadow: none; }

/* ===== Carrusel de testimonios ===== */
.tw-carousel { position: relative; margin-top: 2rem; }
.tw-track {
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: .4rem .2rem 1.4rem;
  scrollbar-width: none;
}
.tw-track::-webkit-scrollbar { display: none; }
.tw-track > .tw-card {
  flex: 0 0 clamp(230px, 26vw, 290px);
  scroll-snap-align: center;
}
.tw-arrow {
  position: absolute; top: 42%; transform: translateY(-50%);
  z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(9,1,36,.1);
  background: #fff; color: #090124;
  font-size: 1.7rem; line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(9,1,36,.16);
  transition: transform .2s ease;
}
.tw-arrow:hover { transform: translateY(-50%) scale(1.07); }
.tw-arrow-prev { left: -14px; }
.tw-arrow-next { right: -14px; }
@media (max-width: 720px) {
  .tw-track > .tw-card { flex: 0 0 78%; }
  .tw-arrow { display: none; }
}

/* Testimonios en video (YouTube) */
.tw-media:has(iframe) { aspect-ratio: 9 / 16; }

/* (Galería de eventos eliminada: las fotos se usan solo como fondos decorativos) */
