/* EZPHLEB · Cabecera nueva para las páginas interiores (10-nov-2026).
   Misma apariencia que la cabecera de la portada (css/ezphleb-swiss.css), pero con clases propias "ezh-"
   para no chocar con los estilos en línea de cada página. Incluye el encabezado claro de página (body.ezh-light). */
.ezh-header{position:sticky;top:0;left:0;right:0;z-index:200;background:rgba(250,249,246,0.94);backdrop-filter:saturate(160%) blur(16px);-webkit-backdrop-filter:saturate(160%) blur(16px);border-bottom:1px solid rgba(15,28,46,0.09);font-family:'Plus Jakarta Sans',-apple-system,BlinkMacSystemFont,sans-serif;transition:box-shadow 240ms cubic-bezier(0.2,0,0,1);}
.ezh-header.is-scrolled{box-shadow:0 4px 18px rgba(15,28,46,0.06);}
.ezh-header *,.ezh-header *::before,.ezh-header *::after{box-sizing:border-box;}
.ezh-header a{text-decoration:none;}
.ezh-bar{max-width:1240px;margin:0 auto;padding:12px 21px;min-height:74px;height:auto;display:flex;align-items:center;justify-content:space-between;gap:16px;position:static;background:none;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;}
.ezh-brand{display:inline-flex;align-items:center;gap:11px;flex-shrink:0;min-height:44px;}
.ezh-brand img{width:40px;height:40px;border-radius:10px;object-fit:contain;flex-shrink:0;display:block;}
.ezh-wordmark{display:flex;flex-direction:column;line-height:1.15;}
.ezh-name{font-weight:700;font-size:1.15rem;letter-spacing:-0.02em;color:#0F1C2E;white-space:nowrap;}
.ezh-name span{color:#C0392B;}
.ezh-tag{font-size:0.74rem;color:#435365;font-weight:500;white-space:nowrap;}
.ezh-links{display:flex;align-items:center;gap:4px;list-style:none;margin:0;padding:0;}
.ezh-links a{display:inline-flex;align-items:center;min-height:44px;padding:8px 11px;border-radius:8px;font-size:0.87rem;font-weight:500;color:#435365;white-space:nowrap;transition:color 180ms,background-color 180ms;}
.ezh-links a:hover{color:#0F1C2E;background:rgba(15,28,46,0.05);}
.ezh-links a[aria-current="page"]{color:#0F1C2E;font-weight:600;}
.ezh-links a.ezh-lang{color:#0066CC;font-weight:600;}
.ezh-actions{display:flex;align-items:center;gap:10px;flex-shrink:0;}
.ezh-phone{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 14px;border-radius:999px;border:1px solid rgba(15,28,46,0.16);background:#FFFFFF;font-size:0.86rem;font-weight:600;color:#0F1C2E;white-space:nowrap;transition:border-color 180ms,background-color 180ms;}
.ezh-phone:hover{border-color:#0F1C2E;background:#F2F5F8;}
.ezh-book{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:9px 20px;border-radius:999px;border:1px solid rgba(255,255,255,0.14);font-size:0.85rem;font-weight:600;letter-spacing:-0.01em;white-space:nowrap;color:#FAF9F6;background:linear-gradient(180deg,#1E4E68 0%,#133549 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,0.22),0 8px 20px -4px rgba(19,53,73,0.3),0 2px 6px rgba(15,28,46,0.12);transition:background 240ms,transform 240ms,box-shadow 240ms;}
.ezh-book::after{content:"→";font-size:0.95em;opacity:0.85;}
.ezh-book:hover{background:linear-gradient(180deg,#245B78 0%,#174058 100%);transform:translateY(-1.5px);}
.ezh-short{display:none;}
.ezh-toggle{display:none;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border-radius:10px;border:1px solid rgba(15,28,46,0.16);background:#FFFFFF;color:#0F1C2E;cursor:pointer;flex-shrink:0;}
.ezh-toggle-icon{display:flex;flex-direction:column;gap:5px;width:20px;}
.ezh-toggle-icon span{display:block;width:100%;height:2px;background:#0F1C2E;border-radius:2px;transition:transform 180ms,opacity 180ms;}
.ezh-toggle[aria-expanded="true"] .ezh-toggle-icon span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.ezh-toggle[aria-expanded="true"] .ezh-toggle-icon span:nth-child(2){opacity:0;}
.ezh-toggle[aria-expanded="true"] .ezh-toggle-icon span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
.ezh-drawer{display:none;background:#FFFFFF;border-bottom:1px solid rgba(15,28,46,0.16);box-shadow:0 12px 36px rgba(15,28,46,0.09);padding:16px 24px 24px;max-height:calc(100vh - 74px);overflow-y:auto;overscroll-behavior:contain;}
.ezh-drawer.is-open{display:block;}
.ezh-drawer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;}
.ezh-drawer li a{display:flex;align-items:center;min-height:46px;padding:10px 4px;font-size:0.96rem;font-weight:600;color:#0F1C2E;border-bottom:1px solid rgba(15,28,46,0.09);}
.ezh-drawer li:last-child a{border-bottom:none;}
.ezh-drawer li a.ezh-lang{color:#0066CC;}
.ezh-drawer-cta{display:grid;grid-template-columns:1fr;gap:10px;margin-top:16px;padding-top:16px;border-top:1px solid rgba(15,28,46,0.09);}
.ezh-drawer-cta a{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:13px 28px;border-radius:999px;font-size:0.93rem;font-weight:600;text-align:center;}
.ezh-drawer-cta .ezh-book{min-height:50px;font-size:0.93rem;}
.ezh-drawer-cta .ezh-outline{background:#FFFFFF;color:#0F1C2E;border:1px solid rgba(15,28,46,0.16);box-shadow:0 4px 14px rgba(15,28,46,0.05);}
.ezh-drawer-cta .ezh-outline:hover{border-color:rgba(15,28,46,0.38);}
.ezh-header a:focus-visible,.ezh-header button:focus-visible{outline:3px solid #0066CC;outline-offset:2px;}

/* Menú completo solo cuando cabe; por debajo, botón de menú */
@media (max-width:1299px){.ezh-links{display:none;}.ezh-toggle{display:inline-flex;}}
/* Con el menú completo a la vista la barra mide lo mismo que el contenido (1240 px): sin lema y con enlaces más juntos */
@media (min-width:1300px){.ezh-tag{display:none;}.ezh-links{gap:0;}.ezh-links a{padding:8px 9px;}}
/* En español el menú es más largo: botón de menú hasta 1560 px */
@media (min-width:1300px){html[lang^="es"] .ezh-full{display:none;}html[lang^="es"] .ezh-short{display:inline;}html[lang^="es"] .ezh-links a{padding:8px 7px;font-size:0.85rem;}}
.ezh-header.ezh-simple .ezh-toggle{display:none;}
@media (max-width:1080px){.ezh-bar{padding:10px 20px;min-height:64px;}.ezh-tag{display:none;}.ezh-drawer{max-height:calc(100vh - 64px);}}
@media (max-width:640px){.ezh-bar{padding:10px 16px;gap:8px;}.ezh-full{display:none;}.ezh-short{display:inline;}.ezh-phone{padding:8px 14px;}.ezh-book{padding:9px 16px;}.ezh-book::after{content:none;}.ezh-actions{gap:8px;}}
@media (max-width:430px){.ezh-bar{padding:10px 12px;gap:6px;}.ezh-brand{gap:8px;}.ezh-brand img{width:36px;height:36px;}.ezh-name{font-size:1.05rem;}.ezh-actions{gap:6px;}.ezh-phone{padding:8px 11px;font-size:0.82rem;}.ezh-book{padding:9px 13px;font-size:0.82rem;}}
@media (max-width:359px){.ezh-wordmark{display:none;}}
@media (prefers-reduced-motion:reduce){.ezh-header,.ezh-header *{transition:none !important;}}

/* Encabezado claro de página (antes bloque azul oscuro): mismo lienzo y tinta que la portada */
body.ezh-light .page-header,body.ezh-light .page-hero{background:#FAF9F6;color:#0F1C2E;border-bottom:1px solid rgba(15,28,46,0.09);}
body.ezh-light .page-header h1,body.ezh-light .page-hero h1{color:#0F1C2E;font-weight:400;}
body.ezh-light .page-header h1 em,body.ezh-light .page-hero h1 em{color:#1B4965;}
body.ezh-light .page-header p,body.ezh-light .page-hero p{color:#435365;}
body.ezh-light .page-header-note,body.ezh-light .hero-urgency{background:#FFFFFF;border:1px solid rgba(15,28,46,0.12);color:#435365;}
body.ezh-light .page-header-note span,body.ezh-light .hero-urgency span{color:#0F6E56;}
body.ezh-light .page-header-actions .pha-book,body.ezh-light .scheduler-jump{background:linear-gradient(180deg,#1E4E68 0%,#133549 100%);color:#FAF9F6;border-radius:999px;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 .page-header-actions .pha-call{background:#FFFFFF;color:#0F1C2E;border:1px solid rgba(15,28,46,0.16);border-radius:999px;}
body.ezh-light .page-header-actions a:focus-visible,body.ezh-light .scheduler-jump:focus-visible{outline:3px solid #0066CC;outline-offset:3px;}
