/* v127: texto sin justificar en celular */
@media (max-width:700px){
  main p, .sp-section>.b-wrap>p, .sp-item p{ text-align:left !important; text-justify:auto !important; hyphens:manual !important; -webkit-hyphens:manual !important; }
}
/* v127: Inicio más corto en celular — tarjetas en carrusel horizontal */
@media (max-width:600px){
  #vida-retiro .b-organize-grid, #especialidades .sp-home-grid{
    display:flex !important; grid-template-columns:none !important; gap:14px !important;
    overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
    padding-bottom:12px; margin-inline:-4px; padding-inline:4px; scrollbar-width:thin;
  }
  #vida-retiro .b-organize-grid > *, #especialidades .sp-home-grid > *{
    flex:0 0 84%; max-width:84%; scroll-snap-align:start; min-width:0;
  }
  #vida-retiro .b-organize-card{ min-height:280px !important; }
  #vida-retiro .b-organize-head{ margin-bottom:22px !important; }
}
/* v127: portada en celular — contraste, tamaños y alineación (sin cambiar textos ni fotos) */
@media (max-width:600px){
  #portada .cine-shade{
    background:
      linear-gradient(180deg, rgba(16,25,42,.88) 0%, rgba(16,25,42,.80) 42%, rgba(16,25,42,.45) 64%, rgba(16,25,42,.30) 74%, rgba(16,25,42,.90) 100%) !important;
  }
  #portada h1, #portada .intro-copy, #portada .eyebrow, #portada .cine-message h2{ text-align:left !important; hyphens:manual !important; -webkit-hyphens:manual !important; overflow-wrap:normal; word-break:normal; text-wrap:balance; }
  #portada .eyebrow{ font-size:12px !important; letter-spacing:.12em; }
  #portada .bermeo-wholelife-link{ font-size:14px !important; }
  #portada .intro-copy{ font-size:15.5px !important; line-height:1.55 !important; max-width:34em; }
  #portada .cine-tracks{ gap:10px !important; }
  #portada .cine-track{ min-width:0 !important; flex:1 1 0; white-space:nowrap; font-size:14px !important; }
}

/* v127: botón Escríbeme (WhatsApp, sin logo) en la portada */
#portada .actions{flex-wrap:wrap;align-items:center}
#portada .b-write{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border:1px solid rgba(255,255,255,.75);color:#fff;text-decoration:none;font:500 15px var(--bf,system-ui,sans-serif);background:rgba(16,25,42,.25)}
#portada .b-write:hover{background:rgba(255,255,255,.12)}
#portada .b-write:focus-visible{outline:3px solid #C9AF6B;outline-offset:3px}
@media (max-width:600px){ #portada .actions{gap:12px 16px} #portada .actions .cine-process{flex-basis:100%} }

/* v127: texto alineado a la izquierda en todas las pantallas (sin huecos entre palabras) */
main p, .sp-section>.b-wrap>p, .sp-item p, #vida-retiro .b-organize-copy p, #portada .intro-copy{ text-align:left !important; text-justify:auto !important; hyphens:manual !important; -webkit-hyphens:manual !important; }
/* v127: no partir palabras en los pasos del proceso */
.bm-steps h3{overflow-wrap:normal !important;word-break:normal !important;hyphens:manual !important;font-size:clamp(17px,1.55vw,22px) !important}

/* v127: categorías de Productos como enlaces directos */
.products-menu .b-menu-direct{display:flex;align-items:center;min-height:44px;padding:12px 8px;border-bottom:1px solid #DDE5EC;font-size:16px;line-height:1.5;color:#10192A;text-decoration:none;white-space:normal}
.products-menu .b-menu-direct:hover{background:#F0F6FC;text-decoration:underline}
.products-menu .b-menu-direct:focus-visible{outline:2px solid #B39C5C;outline-offset:4px}
/* footer v127: 5 grupos */
.b-footer-navigation{grid-template-columns:repeat(5,minmax(0,1fr))!important}
@media (max-width:1024px){.b-footer-navigation{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (max-width:640px){.b-footer-navigation{grid-template-columns:1fr 1fr!important;gap:26px 18px!important}.b-footer-navigation>div:first-child{grid-row:span 2}.b-footer-navigation a{font-size:13px!important;margin-bottom:10px!important}}
/* footer acordeón (móvil) */
.b-footer-navigation .bf-toggle{all:unset;font:inherit;color:inherit;display:block;cursor:default}
.b-footer-navigation h3 .bf-toggle:focus-visible{outline:2px solid #C9AF6B;outline-offset:3px}
@media (max-width:640px){
 .b-footer-navigation{grid-template-columns:1fr!important;gap:0!important}
 .b-footer-navigation>div:first-child{grid-row:auto!important}
 .b-footer-navigation .bf-group{border-top:1px solid rgba(221,229,236,.22)}
 .b-footer-navigation .bf-group:last-child{border-bottom:1px solid rgba(221,229,236,.22)}
 .b-footer-navigation h3{margin:0!important}
 .b-footer-navigation .bf-toggle{cursor:pointer;width:100%;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;padding:16px 0;min-height:24px;font-size:16px}
 .b-footer-navigation .bf-toggle::after{content:'+';color:#C9AF6B;font-size:22px;line-height:1;font-weight:400}
 .b-footer-navigation .bf-group.is-open .bf-toggle::after{content:'−'}
 .b-footer-navigation.bf-acc-ready .bf-group:not(.is-open) .bf-links{display:none}
 .b-footer-navigation .bf-links{padding:0 0 14px}
}
/* contacto y redes en pie */
.bf-contact{margin-top:22px;display:flex;flex-direction:column;gap:6px}
.bf-contact .bf-contact-title{font:600 14px/1.4 var(--bf);color:#F0F6FC;margin:0 0 4px}
.bf-contact a{color:#DDE5EC;text-decoration:none;font-size:14px;line-height:1.7}
.bf-contact a:hover{color:#C9AF6B;text-decoration:underline}
.bf-social{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.bf-social a{border:1px solid rgba(201,175,107,.45);border-radius:999px;padding:6px 14px;font-size:13px;color:#F0F6FC}
.bf-social a:hover{border-color:#C9AF6B;text-decoration:none}
.bf-social{gap:12px!important}
.bf-social a{width:44px;height:44px;padding:0!important;display:inline-flex!important;align-items:center;justify-content:center;border-radius:50%!important;color:#C9AF6B!important}
.bf-social a:hover{background:rgba(201,175,107,.12);color:#F0F6FC!important}
.b-footer-navigation{grid-template-columns:repeat(6,minmax(0,1fr))!important}
@media (max-width:1180px){.b-footer-navigation{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (max-width:640px){.b-footer-navigation{grid-template-columns:1fr!important}}
/* newsletter pie */
.bf-news{margin-top:26px;max-width:420px}
.bf-news-title{font:600 14px/1.4 var(--bf);color:#F0F6FC;margin:0 0 6px}
.bf-news-text{font-size:13px;line-height:1.6;color:#DDE5EC;margin:0 0 12px}
.bf-news-form{display:grid;gap:10px}
.bf-news-form input[type=text],.bf-news-form input[type=email]{width:100%;box-sizing:border-box;min-height:44px;padding:10px 12px;border:1px solid rgba(221,229,236,.35);background:rgba(255,255,255,.06);color:#F0F6FC;font:14px var(--bf);border-radius:4px}
.bf-news-form input::placeholder{color:#DDE5EC}
.bf-news-form input:focus{outline:2px solid #C9AF6B;outline-offset:1px}
.bf-news-consent{display:flex;gap:8px;align-items:flex-start;font-size:12.5px;line-height:1.5;color:#DDE5EC}
.bf-news-consent input{margin-top:3px;accent-color:#C9AF6B}
.bf-news-consent a{color:#C9AF6B}
.bf-news-form button{min-height:44px;border:0;border-radius:4px;background:#C9AF6B;color:#10192A;font:600 14px var(--bf);cursor:pointer}
.bf-news-form button:disabled{opacity:.6;cursor:default}
.bf-news-msg{margin:0;font-size:13px;line-height:1.5;min-height:0}
.bf-news-msg.is-ok{color:#C9AF6B}.bf-news-msg.is-error{color:#DDE5EC}
.bf-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.bf-news-consent{display:block!important;padding-left:24px;position:relative}
.bf-news-consent input{position:absolute;left:0;top:1px;margin:0!important}
.bf-news-consent a{display:inline!important;margin:0!important;font-size:inherit!important}
.bf-compliance{border-top:1px solid rgba(221,229,236,.22);margin-top:26px;padding-top:18px}
.bf-compliance p{font-size:12.5px!important;line-height:1.6!important;color:#DDE5EC!important;margin:0 0 10px!important;max-width:960px;text-align:left!important}
.bf-compliance .bf-license{color:#F0F6FC!important}
.bf-compliance a{color:#C9AF6B!important;display:inline!important;font-size:inherit!important;margin:0!important}
/* tipografía unificada y tamaños mínimos */
#bm-medicare{font-family:var(--bf)!important}
#bm-medicare h1,#bm-medicare h2,#bm-medicare h3{font-family:var(--bs)!important}
.b-copy{font-size:12px!important}
.b-journey-note{font-size:13px!important;line-height:1.55!important}
.travel-category-label{font-size:12px!important}
@media (min-width:900px){
 .b-footer-tools{display:grid!important;grid-template-columns:1fr 1fr 1.2fr!important;gap:40px!important;align-items:start!important}
 .b-footer-tools .bf-contact,.b-footer-tools .bf-news{margin-top:0!important}
}
/* v127b: tarjetas del inicio en celular — foto completa arriba, texto abajo, una tarjeta a la vez */
@media (max-width:600px){
  #vida-retiro .b-organize-grid > *, #especialidades .sp-home-grid > *{flex:0 0 100% !important;max-width:100% !important;scroll-snap-align:center !important}
  #vida-retiro .b-organize-grid, #especialidades .sp-home-grid{margin-inline:0 !important;padding-inline:0 !important;scrollbar-width:none}
  #vida-retiro .b-organize-grid::-webkit-scrollbar, #especialidades .sp-home-grid::-webkit-scrollbar{display:none}
  #vida-retiro .b-organize-card{flex-direction:column !important;align-items:stretch !important;min-height:0 !important;background:#10192A !important}
  #vida-retiro .b-organize-card img{position:relative !important;inset:auto !important;width:100% !important;height:auto !important;aspect-ratio:3/2;object-fit:cover;z-index:0 !important;display:block}
  #vida-retiro .b-organize-card:after{display:none !important}
  #vida-retiro .b-organize-copy{padding:20px 22px 22px !important}
  .bf-dots{display:flex;justify-content:center;gap:8px;margin-top:14px}
  .bf-dots button{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:#DDE5EC;cursor:pointer}
  .bf-dots button[aria-current="true"]{background:#B39C5C;width:22px;border-radius:5px}
  .bf-dots button::before{content:'';display:block;margin:-17px;width:44px;height:44px}
}
@media (min-width:601px){.bf-dots{display:none}}
/* proceso interactivo (inicio) */
.ps{margin:28px 0 22px}
.ps-track{position:relative;display:grid;grid-template-columns:repeat(5,1fr);gap:4px;margin-bottom:22px}
.ps-line{position:absolute;left:10%;right:10%;top:22px;height:2px;background:#DDE5EC;z-index:0}
.ps-line i{display:block;height:100%;width:0;background:#B39C5C;transition:width .45s ease}
.ps-dot{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:8px;background:none;border:0;padding:0;cursor:pointer;color:#10192A;font:inherit;min-height:44px}
.ps-num{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#FFFFFF;border:1.5px solid #DDE5EC;font:600 14px var(--bf);color:#B39C5C;transition:all .25s}
.ps-dot.is-done .ps-num{background:#EEF6F1;border-color:#B39C5C}
.ps-dot[aria-selected="true"] .ps-num{background:#10192A;border-color:#10192A;color:#F0F6FC;transform:scale(1.1);box-shadow:0 6px 18px rgba(16,25,42,.22)}
.ps-lbl{font:500 13px/1.3 var(--bf);text-align:center;color:#59616E}
.ps-dot[aria-selected="true"] .ps-lbl{color:#10192A;font-weight:700}
.ps-dot:focus-visible .ps-num{outline:2px solid #B39C5C;outline-offset:3px}
.ps-panel{background:#FFFFFF;border:1px solid #DDE5EC;border-left:4px solid #B39C5C;border-radius:14px;padding:26px 28px 20px;min-height:190px;box-shadow:0 10px 30px rgba(16,25,42,.06)}
.ps-panel.ps-in{animation:psIn .35s ease}
@keyframes psIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.ps-count{font:600 12px var(--bf)!important;letter-spacing:.12em;text-transform:uppercase;color:#B39C5C!important;margin:0 0 8px!important}
.ps-title{font:400 clamp(26px,3vw,34px)/1.15 var(--bs)!important;color:#10192A;margin:0 0 10px!important}
.ps-text{font:17px/1.6 var(--bf)!important;color:#16213D!important;margin:0 0 18px!important}
.ps-nav{display:flex;align-items:center;gap:14px}
.ps-nav button{width:44px;height:44px;border-radius:50%;border:1px solid #DDE5EC;background:transparent;color:#10192A;font-size:18px;cursor:pointer}
.ps-nav button:hover{background:#10192A;color:#F0F6FC}
.ps-prog{flex:1;height:4px;background:#EEF6F1;border-radius:3px;overflow:hidden}
.ps-prog i{display:block;height:100%;width:20%;background:#B39C5C;transition:width .45s ease}
@media (max-width:600px){
 .ps-lbl{font-size:11.5px}
 .ps-num{width:40px;height:40px}
 .ps-line{top:20px}
 .ps-panel{padding:22px 20px 18px}
}
@media (max-width:360px){.ps-lbl{display:none}}
@media (prefers-reduced-motion:reduce){.ps-panel.ps-in{animation:none}.ps-line i,.ps-prog i,.ps-num{transition:none}}
/* espacio para puntos del carrusel */
@media (max-width:600px){#vida-retiro{padding-bottom:48px!important;overflow:visible!important}}
.b-booking-footer .bf-compliance p{color:#59616E!important}
.b-booking-footer .bf-compliance .bf-license{color:#10192A!important}
.b-booking-footer .bf-compliance a{color:#B39C5C!important}
/* páginas legales */
.b-legal{max-width:780px}
.b-legal h1{margin-bottom:14px}
.b-legal .b-legal-lead{font-size:18px;line-height:1.6;color:#16213D;margin:0 0 30px}
.b-legal h2{font:400 clamp(22px,2.4vw,28px)/1.2 var(--bs);color:#10192A;margin:34px 0 10px}
.b-legal p,.b-legal li{font:16px/1.7 var(--bf);color:#16213D}
.b-legal ul{padding-left:20px;margin:8px 0 14px}.b-legal li{margin-bottom:8px}
.b-legal a{color:#B39C5C;text-decoration:underline;text-underline-offset:3px}
.b-legal .b-legal-date{margin-top:36px;font-size:14px;color:#59616E;border-top:1px solid #DDE5EC;padding-top:16px}
.bf-compliance .bf-disclaimer{color:#EEF6F1!important;border-left:3px solid #C9AF6B;padding-left:12px}
.b-booking-footer .bf-compliance .bf-disclaimer{color:#16213D!important}
/* enlaces legibles en cierres oscuros y secciones de salud */
.lp-closing a:not(.b-button):not([class*=button]){color:#C9AF6B!important;text-decoration:underline;text-underline-offset:3px}
#inscripcion-salud a,#cambios-salud a,#comenzar-salud a{color:#B39C5C}
/* portada: en pantallas bajas (iPad en ventana, celular horizontal) sin espacio vacío */
@media (max-height:650px){
  #portada.cine,section.cine{height:auto!important}
  .cine .cine-stage{position:relative!important;top:0!important}
}
/* footer 128: brand row · nav · newsletter band · legal · bottom bar */
.b-footer-organized .b-footer-main{display:block!important;padding-bottom:8px!important}
.b-footer-organized .bf-top{display:flex;align-items:center;justify-content:space-between;gap:20px 32px;flex-wrap:wrap;padding-bottom:28px;margin-bottom:32px;border-bottom:1px solid rgba(221,229,236,.18)}
.b-footer-organized .bf-top .b-footer-logo{margin:0!important;padding:0!important}
.b-footer-organized .bf-top .b-footer-logo img{width:170px!important;height:auto!important;max-width:none!important}
.b-footer-organized .bf-top .bf-contact{margin:0!important;flex-direction:row!important;align-items:center;flex-wrap:wrap;gap:10px 24px}
.b-footer-organized .bf-top .bf-contact-title{display:none}
.b-footer-organized .bf-top .bf-social{margin:0!important}
.b-footer-organized .b-footer-navigation{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:24px!important;margin:0!important}
.b-footer-organized .b-footer-navigation>div:first-child{grid-row:auto!important}
.b-footer-organized .b-footer-navigation h3{white-space:normal;font-size:14px!important;line-height:1.35!important;min-height:2.7em}
.b-footer-organized .b-footer-tools{display:block!important;margin-top:36px!important;padding:28px 0!important;border-top:1px solid rgba(221,229,236,.18)}
.b-footer-organized .bf-news{max-width:none!important;margin:0!important;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:12px 40px;align-items:start}
.b-footer-organized .bf-news-title{font-size:16px!important}
.b-footer-organized .bf-news-text{margin:0!important}
.b-footer-organized .bf-news-form{grid-column:2;grid-row:1/3;grid-template-columns:1fr 1fr auto;align-items:start}
.b-footer-organized .bf-news-form .bf-news-consent,.b-footer-organized .bf-news-form .bf-news-msg{grid-column:1/-1}
.b-footer-organized .bf-news-form button{min-height:44px;padding:0 22px;white-space:nowrap}
.b-footer-organized .bf-compliance{border-top:1px solid rgba(221,229,236,.18);padding-top:24px;margin-top:0!important}
.b-footer-organized .bf-bottom{display:flex;flex-wrap:wrap;align-items:center;gap:10px 28px;margin-top:18px;padding-top:16px;border-top:1px solid rgba(221,229,236,.18)}
.b-footer-organized .bf-bottom .b-footer-legal-links{order:1;margin:0!important;padding:0!important;border:0!important}
.b-footer-organized .bf-bottom .b-footer-notices{order:2;margin:0!important;padding:0!important;border:0!important}
.b-footer-organized .bf-bottom .b-footer-notices>summary{font-size:13px!important}
.b-footer-organized .bf-bottom .b-copy{order:3;margin:0 0 0 auto!important}
.b-footer-organized .bf-bottom .b-footer-notices[open]{order:4;flex-basis:100%}
@media (max-width:1024px){.b-footer-organized .b-footer-navigation{grid-template-columns:repeat(3,minmax(0,1fr))!important}.b-footer-organized .bf-news{grid-template-columns:1fr}.b-footer-organized .bf-news-form{grid-column:1;grid-row:auto}}
@media (max-width:640px){
 .b-footer-organized .bf-top{flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:8px}
 .b-footer-organized .bf-top .bf-contact{flex-direction:column!important;align-items:flex-start;gap:4px}
 .b-footer-organized .b-footer-navigation{grid-template-columns:1fr!important;gap:0!important}
 .b-footer-organized .b-footer-navigation h3{min-height:0}
 .b-footer-organized .bf-news-form{grid-template-columns:1fr}
 .b-footer-organized .bf-bottom{flex-direction:column;align-items:flex-start}
 .b-footer-organized .bf-bottom .b-copy{margin:0!important}
}
.b-footer-organized .bf-news{grid-template-rows:auto 1fr}
.b-footer-organized .bf-news-form{grid-template-areas:"n e b" "c c c" "m m m"}
.b-footer-organized .bf-news-form input[name=name]{grid-area:n}
.b-footer-organized .bf-news-form input[name=email]{grid-area:e}
.b-footer-organized .bf-news-form button{grid-area:b}
.b-footer-organized .bf-news-form .bf-news-consent{grid-area:c}
.b-footer-organized .bf-news-form .bf-news-msg{grid-area:m}
@media (max-width:1024px){.b-footer-organized .bf-news{grid-template-rows:auto}}
@media (max-width:640px){.b-footer-organized .bf-news-form{grid-template-areas:"n" "e" "c" "b" "m"}.b-footer-organized .bf-top{border-bottom:0;padding-bottom:12px}}
/* espacios moderados entre secciones (v128) */
main section.b-section:not(.fx-note-sec),main section.sp-section:not(.sp-hero),main section.lp-section:not(.lp-hero),body>section.b-section:not(.fx-note-sec){padding-top:clamp(28px,3.5vw,44px)!important;padding-bottom:clamp(28px,3.5vw,44px)!important}
main section.fx-note-sec{padding-top:0!important;padding-bottom:clamp(32px,4vw,48px)!important}
main section > .b-wrap > :last-child,main section > .lp-container > :last-child,main section > .b-wrap > .lt:last-child{margin-bottom:0!important}
main section .lt{margin-bottom:0!important}
main section > .b-wrap > .fx-acc:last-child,main section > .b-wrap > details:last-child{margin-bottom:0!important}
section.pad:not(.cine){padding-top:clamp(28px,3.5vw,44px)!important;padding-bottom:clamp(28px,3.5vw,44px)!important}
#conoce-diana,#legado{padding-top:clamp(28px,3.5vw,44px)!important;padding-bottom:clamp(28px,3.5vw,44px)!important}
/* footer columnas v128b */
@media (min-width:1181px){.b-footer-organized .b-footer-navigation{grid-template-columns:repeat(6,max-content)!important;justify-content:space-between;gap:24px 32px!important}}
.b-footer-organized .b-footer-navigation h3{min-height:0!important;margin:0 0 14px!important;padding-bottom:10px;border-bottom:1px solid rgba(201,175,107,.35);font-size:15px!important}
.b-footer-organized .b-footer-navigation .bf-links a{font-size:13.5px!important;line-height:1.45!important;margin:0 0 9px!important;white-space:nowrap}
@media (max-width:640px){.b-footer-organized .b-footer-navigation h3{border-bottom:0;padding-bottom:0;margin:0!important}.b-footer-organized .b-footer-navigation .bf-links a{white-space:normal}}
/* footer: Para ti + Para empresarios en la misma columna */
@media (min-width:1025px){.b-footer-organized .b-footer-navigation{grid-template-columns:repeat(5,max-content)!important;justify-content:space-between;gap:20px 40px!important}}
.bf-stack{display:flex;flex-direction:column;gap:22px}
@media (max-width:1024px) and (min-width:641px){.b-footer-organized .b-footer-navigation{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (max-width:640px){.bf-stack{gap:0}.b-footer-navigation .bf-stack .bf-group:last-child{border-bottom:0}}
.bf-stack{gap:6px!important}.bf-stack .bf-group:first-child .bf-links a:last-child{margin-bottom:0!important}
