/* EZPHLEB · Encabezado de página al estilo de la portada (10-nov-2026). Complementa ezphleb-header.css.
   Texto a la izquierda sobre fondo claro y foto real a la derecha, con el mismo degradado que la portada.
   Se activa con <header class="page-header ezh-hero-photo"> y un <div class="ezh-hero-stage"> con la foto. */
body.ezh-light .page-header.ezh-hero-photo{position:relative;overflow:hidden;display:flex;align-items:center;min-height:clamp(500px,64vh,660px);padding-top:56px;padding-bottom:64px;text-align:left;background:#FAF9F6;border-bottom:1px solid rgba(15,28,46,0.09);}
body.ezh-light .ezh-hero-photo > .container{position:relative;z-index:2;width:100%;max-width:1184px !important;margin-left:auto !important;margin-right:auto !important;}
body.ezh-light .ezh-hero-photo > .container > *{max-width:580px;margin-left:0;margin-right:0;}
body.ezh-light .ezh-hero-photo h1{font-family:'Newsreader',Georgia,serif;font-weight:400;font-size:clamp(2.3rem,4.2vw,3.5rem);line-height:1.08;letter-spacing:-0.02em;color:#0F1C2E;margin-bottom:18px;}
body.ezh-light .ezh-hero-photo p{color:#435365;font-size:1.05rem;line-height:1.65;margin-bottom:22px;}
/* Etiqueta superior: línea en cursiva como en la portada */
body.ezh-light .ezh-hero-photo > .container > span[style]{display:flex !important;align-items:center;gap:12px;padding:0 !important;margin-bottom:14px !important;background:none !important;border-radius:0 !important;color:#0066CC !important;font-family:'Newsreader',Georgia,serif;font-style:italic;font-weight:400 !important;font-size:1.1rem !important;letter-spacing:0 !important;text-transform:none !important;}
body.ezh-light .ezh-hero-photo > .container > span[style]::before{content:"";width:28px;height:2px;background:#0066CC;flex-shrink:0;}
/* Fila de ventajas */
body.ezh-light .ezh-hero-photo > .container > div[style]{justify-content:flex-start !important;gap:8px 10px !important;margin-bottom:26px !important;color:#0F1C2E !important;}
body.ezh-light .ezh-hero-photo > .container > div[style] > span{padding:7px 14px;border-radius:999px;background:rgba(255,255,255,0.92);border:1px solid rgba(15,28,46,0.12);font-size:0.86rem;}
/* Botones */
body.ezh-light .ezh-hero-photo .hero-btns{justify-content:flex-start;gap:12px;}
body.ezh-light .ezh-hero-photo .hero-btns a{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:13px 28px;border-radius:999px;font-weight:600;}
body.ezh-light .ezh-hero-photo .hero-btns .btn-primary{background:linear-gradient(180deg,#1E4E68 0%,#133549 100%);color:#FAF9F6;box-shadow:inset 0 1px 0 rgba(255,255,255,0.22),0 8px 20px -4px rgba(19,53,73,0.3);}
body.ezh-light .ezh-hero-photo .hero-btns .btn-secondary{background:rgba(255,255,255,0.92);color:#0F1C2E;border:1px solid rgba(15,28,46,0.16);}
/* Foto */
.ezh-hero-stage{position:absolute;top:0;bottom:0;left:32%;right:0;z-index:0;}
.ezh-hero-stage picture{display:block;height:100%;}
.ezh-hero-stage img{display:block;width:100%;height:100%;object-fit:cover;object-position:62% 30%;}
.ezh-hero-stage::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#FAF9F6 0%,rgba(250,249,246,0.96) 12%,rgba(250,249,246,0.78) 24%,rgba(250,249,246,0.35) 34%,rgba(250,249,246,0) 44%),linear-gradient(0deg,rgba(250,249,246,0.5) 0%,rgba(250,249,246,0) 20%);}
@media (max-width:1100px){.ezh-hero-stage{left:40%;}.ezh-hero-stage img{object-position:70% 30%;}body.ezh-light .ezh-hero-photo > .container > *{max-width:480px;}}
/* Móvil: foto arriba con el borde difuminado y el texto debajo, como en la portada */
@media (max-width:820px){
  body.ezh-light .page-header.ezh-hero-photo{display:block;min-height:0;padding-top:236px !important;padding-bottom:36px !important;}
  .ezh-hero-stage{left:0;right:0;bottom:auto;height:230px;}
  .ezh-hero-stage img{object-position:55% 25%;}
  .ezh-hero-stage::after{background:linear-gradient(0deg,#FAF9F6 0%,rgba(250,249,246,0.6) 18%,rgba(250,249,246,0) 42%);}
  body.ezh-light .ezh-hero-photo > .container > *{max-width:none;}
  body.ezh-light .ezh-hero-photo .hero-btns{flex-direction:column;}
  body.ezh-light .ezh-hero-photo .hero-btns a{width:100%;}
}

/* Común a las páginas interiores claras: franja de confianza en una sola línea y encabezado centrado sin saltos sueltos */
body.ezh-light .trust-bar-inner{flex-wrap:nowrap;justify-content:safe center;overflow-x:auto;scrollbar-width:none;padding-top:10px;padding-bottom:10px;gap:0;}
body.ezh-light .trust-bar-inner::-webkit-scrollbar{display:none;}
body.ezh-light .trust-item{padding:4px 14px;font-size:0.77rem;}
body.ezh-light .page-header-inner,body.ezh-light .page-hero-inner{margin-left:auto;margin-right:auto;}
body.ezh-light .page-hero .page-eyebrow{background:#EBF3F8;color:#1B4965;border-color:rgba(27,73,101,0.18);}
@media (max-width:600px){body.ezh-light .trust-bar-inner{justify-content:flex-start;}}

/* Nosotros: "quién llega a su casa" con la foto a la izquierda y el texto a la derecha; las 4 ventajas en una fila debajo
   (antes la foto y el texto iban en una columna muy alta con un hueco vacío al lado) */
body.ezh-light .phase3b-visit-grid{grid-template-columns:1fr;gap:20px;}
@media (min-width:901px){
  body.ezh-light .phase3b-visit-panel{display:grid;grid-template-columns:minmax(240px,320px) minmax(0,1fr);column-gap:44px;align-items:start;}
  body.ezh-light .phase3b-visit-panel > img{grid-column:1;grid-row:1 / span 8;width:100% !important;max-width:100% !important;height:auto !important;margin:0 !important;border-radius:16px;}
  body.ezh-light .phase3b-visit-panel > *:not(img){grid-column:2;}
  body.ezh-light .phase3b-care-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
}

/* Textos del encabezado que venían en blanco o rosa para el fondo azul oscuro: ahora tinta sobre claro */
body.ezh-light .page-header p,body.ezh-light .page-hero p,body.ezh-light .page-header-inner p,body.ezh-light .page-hero-inner p{color:#435365 !important;}
body.ezh-light .page-header h1,body.ezh-light .page-hero h1{color:#0F1C2E !important;}
body.ezh-light .page-header h1 em,body.ezh-light .page-hero h1 em{color:#1B4965 !important;}
body.ezh-light .page-header .page-eyebrow,body.ezh-light .page-hero .page-eyebrow,body.ezh-light .page-header .header-eyebrow,body.ezh-light .page-header-inner > span:first-child,body.ezh-light .page-header-inner > .section-tag{background:#EBF3F8 !important;color:#1B4965 !important;border-color:rgba(27,73,101,0.18) !important;}
