/* =====================================================================
   Inicio con la ilustración del barrio: el titular centrado sobre el cielo
   (que continúa el azul de la imagen) y la ilustración entera debajo.
   Hereda .hero (tamaños, nichos que se tocan, orden en móvil).
   ===================================================================== */
.hero.illus { position: relative; overflow: hidden; padding: 0; border: 0; text-align: center; color: #fff;
  background: #3466A5; box-shadow: 0 40px 80px -40px rgba(20, 30, 80, .6); backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (min-width: 920px) { .hero.illus { margin: 14px 18px 0; border-radius: 40px; } }
.hero.illus::before, .hero.illus::after { display: none; }
.illus-in { position: relative; z-index: 1; padding-top: 52px; padding-bottom: 18px; background: linear-gradient(180deg, #1F4A86 0%, #3466A5 100%); max-width: none; }
.illus-in > .illus-copy { padding: 0 16px; }
.illus-copy { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero.illus h1 { color: #fff; font-size: clamp(40px, 5.4vw, 70px); letter-spacing: -.04em; text-shadow: 0 6px 30px rgba(10, 20, 60, .35); }
.hero.illus .hl { color: #C5F04A; background: none; -webkit-text-fill-color: currentColor; }
.hero.illus .lead { color: rgba(255, 255, 255, .86); max-width: 640px; margin-left: auto; margin-right: auto; }
.hero.illus .lead b { color: #fff; }
.hero.illus .eyebrow { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); color: #fff; box-shadow: none; backdrop-filter: blur(8px); }
.hero.illus .cta-row { justify-content: center; }
.hero.illus .btn-primary { background: #fff; color: #3B2FD6; box-shadow: 0 16px 34px -14px rgba(10, 20, 60, .7); }
.hero.illus .btn-outline { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .35); box-shadow: none; }
.hero.illus .trust { justify-content: center; }
.hero.illus .trust li { color: rgba(255, 255, 255, .82); }
.hero.illus .trust li::before { color: #C5F04A; }
.hero.illus .hero-segs { border-top-color: rgba(255, 255, 255, .18); width: 100%; }
.hero.illus .hero-segs-t, .hero.illus .fit-open { color: rgba(255, 255, 255, .8); }
.hero.illus .fit-open b { color: #C5F04A; }
.hero.illus .seg-list { justify-content: center; }
.hero.illus .seg-list li { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24); color: #fff; box-shadow: none; backdrop-filter: blur(6px); }
.hero.illus .seg-list li:hover { background: rgba(255, 255, 255, .2); }
.hero.illus .seg-list li .ico { background: rgba(255, 255, 255, .16) !important; }
.hero.illus .seg-list li .ico svg { stroke: #fff; }
.hero.illus .seg-list li.on { background: #fff; color: #1E1F24; border-color: #fff; }
.hero.illus .seg-list li.on .ico { background: #EEEDFF !important; }
.hero.illus .seg-list li.on .ico svg { stroke: #5B46F5; }
.hero.illus .fit { background: rgba(255, 255, 255, .96); color: #1E1F24; text-align: left; }

/* La ilustración, entera y a todo el ancho; su cielo continúa el fondo de arriba */
.illus-bg { display: block; position: relative; }
.illus-bg::before { content: ''; position: absolute; inset: 0 0 auto; height: 160px; z-index: 1; pointer-events: none; background: linear-gradient(180deg, #3466A5 0%, rgba(52, 102, 165, .6) 45%, rgba(52, 102, 165, 0) 100%); }
.illus-bg img { display: block; width: 100%; height: clamp(380px, 42vw, 600px); object-fit: cover; object-position: 50% 32%; }
@media (max-width: 919px) {
  .hero.illus { margin: 10px 10px 0; border-radius: 30px; }
  .illus-in { padding-top: 34px; }
  .illus-bg img { height: 300px; object-position: 46% 45%; }
  .illus-bg::before { height: 90px; }
}

/* Opiniones: el abanico pasa a su propia sección */
.voices-sec { overflow-x: clip; } /* el abanico de opiniones no ensancha la página en el móvil */
.voices-sec .hero-visual { display: flex; justify-content: center; }

/* Los nichos, en una barra de cristal sobre la parte baja de la ilustración */
.illus-segs { position: relative; z-index: 2; }
.illus-segs .hero-segs { border: 0; margin: 0; padding: 0; }
@media (min-width: 920px) {
  .illus-segs { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: min(980px, calc(100% - 48px)); padding: 16px 18px 14px; border-radius: 28px;
    background: rgba(18, 26, 64, .55); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
  .illus-segs .hero-segs-t { margin-top: 0; }
  .illus-segs .fit-open { margin-top: 8px; }
  .illus-segs .fit { position: absolute; left: 0; right: 0; bottom: calc(100% + 10px); }
}
@media (max-width: 919px) {
  .illus-segs { padding: 18px 16px 24px; background: #3E7A52; }
  .hero.illus .illus-segs .seg-list { justify-content: flex-start; }
}
