/* Casa Azul compact header. All rules are scoped to the shared header. */
html body header#header{position:sticky!important;top:0;z-index:100001!important;background:#fff!important;box-shadow:0 4px 18px rgba(0,0,0,.08);width:100%;margin:0;padding:0}
html body #header .header-background{padding:0!important;margin:0!important;background:#fff!important;height:auto!important;max-height:none!important;overflow:visible!important}
html body #header .cz-header,html body #header .cz-header *{box-sizing:border-box}
html body #header .cz-header-row{display:flex;align-items:center;gap:20px;max-width:1600px;padding:6px 32px;margin:auto;min-height:88px}
html body #header .cz-brand{display:flex;align-items:center;justify-content:center;flex:0 0 160px;width:160px;padding:4px 7px;background:#005aa0;border-radius:6px;text-decoration:none}
html body #header .cz-brand img{display:block;width:100%;height:auto;max-width:100%;max-height:70px;object-fit:contain;margin:0}
html body #header .cz-phrase{flex:0 0 185px;margin:0;padding:0;font-size:12px!important;line-height:18px!important;color:#686868!important;font-weight:400!important}
html body #header .cz-desktop-nav{flex:1;min-width:0}
html body #header .cz-navigation ul{list-style:none;margin:0!important;padding:0!important;float:none!important}
html body #header .cz-navigation li{position:relative;float:none!important;margin:0!important;padding:0!important;border:0;background:transparent!important}
html body #header .cz-navigation a{display:block;text-decoration:none;background:transparent!important;color:#272727!important;font-size:15px!important;font-weight:600!important;line-height:22px!important;text-shadow:none!important;margin:0!important;border:0!important;border-radius:0;white-space:normal}
html body #header .cz-desktop-nav>ul{display:flex;align-items:center;justify-content:flex-end;gap:18px}
html body #header .cz-desktop-nav>ul>li{display:flex;align-items:center;gap:4px;flex-shrink:0}
html body #header .cz-desktop-nav>ul>li>a{padding:18px 0!important;white-space:nowrap}
html body #header .cz-navigation ul ul{display:none;box-shadow:none;margin:0!important;border:0;min-width:0}
html body #header .cz-desktop-nav ul ul{position:absolute!important;top:100%!important;left:0!important;right:auto!important;background:#fff!important;min-width:240px!important;padding:10px!important;border-radius:10px;box-shadow:0 4px 18px rgba(0,0,0,.08);z-index:2}
html body #header .cz-desktop-nav ul ul ul{left:100%!important;top:0!important}
html body #header .cz-navigation li.cz-submenu-open>ul{display:block}
html body #header .cz-desktop-nav ul ul a{padding:10px!important}
html body #header .cz-navigation a:hover,html body #header .cz-navigation a:focus-visible{color:#005aa0!important}
html body #header .cz-submenu-toggle{display:inline-flex;align-items:center;justify-content:center;width:28px;height:36px;border:0;background:transparent;color:#272727;padding:0;cursor:pointer;font-size:14px!important;line-height:1!important;flex-shrink:0;box-shadow:none}
html body #header .cz-submenu-toggle::before{content:'';width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .3s ease}
html body #header .cz-submenu-toggle[aria-expanded=true]::before{transform:rotate(225deg)}
html body #header .cz-header-cta{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:48px;padding:12px 20px;border:0;border-radius:10px;background:#005aa0!important;color:#fff!important;font-size:14px!important;font-weight:600!important;line-height:22px!important;text-decoration:none;white-space:nowrap;transition:background-color .3s ease}
@media(hover:hover) and (pointer:fine){html body #header .cz-header-cta:hover{background:#111!important;color:#fff!important}}
html body #header .cz-menu-trigger{display:none;width:44px;height:44px;flex:0 0 44px;border:0;background:transparent;padding:10px;cursor:pointer;box-shadow:none}
html body #header .cz-menu-trigger span{display:block;height:2px;background:#005aa0;margin:5px 0;width:24px}
html body #header .cz-menu-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:1;cursor:pointer}
html body #header .cz-menu-backdrop[hidden]{display:none!important}
html body #header .cz-menu-drawer{position:fixed;top:0;left:0;width:min(320px,100vw);height:100vh;height:100dvh;padding:24px;background:#fff;overflow-y:auto;overscroll-behavior:contain;z-index:2;transform:translateX(-100%);visibility:hidden;transition:transform .5s ease,visibility 0s .5s;box-shadow:0 4px 18px rgba(0,0,0,.08);text-align:left}
html body #header .cz-menu-drawer.cz-is-open{transform:translateX(0);visibility:visible;transition:transform .5s ease,visibility 0s}
html body #header .cz-drawer-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
html body #header .cz-drawer-top .cz-brand{flex-basis:150px;width:150px}
html body #header .cz-menu-close{width:44px;height:44px;border:0;padding:0;background:transparent;box-shadow:none;font-size:32px!important;line-height:44px!important;color:#272727;cursor:pointer}
html body #header .cz-drawer-phrase{font-size:12px!important;line-height:18px!important;color:#686868!important;margin:16px 0 24px!important;padding:0}
html body #header .cz-drawer-nav li{display:flex;flex-wrap:wrap;align-items:center;border-bottom:1px solid #edf0f2}
html body #header .cz-drawer-nav li>a{flex:1;min-width:0;padding:11px 0!important}
html body #header .cz-drawer-nav ul ul{position:static!important;float:none!important;width:100%;background:transparent!important;padding-left:16px!important;border:0;box-shadow:none}
html body #header .cz-drawer-contact{display:flex;flex-direction:column;gap:8px;margin:24px 0 20px}
html body #header .cz-drawer-contact a{font-size:14px!important;line-height:22px!important;color:#272727!important;text-decoration:none;overflow-wrap:anywhere}
html body #header .cz-drawer-social #social-network{float:none!important;display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:24px 0 12px!important;padding:0!important}
html body #header .cz-drawer-social #social-network>a{position:static!important;float:none!important;display:flex!important;align-items:center;justify-content:center;width:38px!important;height:38px!important;border-radius:8px;color:#005aa0!important;background:#eef4f9!important;margin:0!important;padding:0!important}
html body #header .cz-drawer-social i{line-height:1!important;color:inherit!important}
html body #header .cz-drawer-languages ul{display:flex!important;flex-wrap:wrap;gap:12px;padding:0;margin:16px 0 0;list-style:none}
html body #header .cz-drawer-languages li{cursor:pointer}
html body #header .cz-drawer-languages img{max-width:24px;height:auto}
html body #header button:focus-visible,html body #header a:focus-visible{outline:2px solid #005aa0;outline-offset:3px}
html.cz-menu-open,html.cz-menu-open body{overflow:hidden!important}
@media(max-width:1439px){html body #header .cz-desktop-nav{display:none}html body #header .cz-menu-trigger{display:block}html body #header .cz-phrase{margin-right:auto}html body #header .cz-header-row{gap:20px}}
@media(max-width:767px){html body #header .cz-header-row{min-height:80px;padding:8px 20px;gap:12px;justify-content:space-between}html body #header .cz-brand{width:132px;flex-basis:132px}html body #header .cz-brand img{max-height:56px}html body #header .cz-phrase,html body #header .cz-row-cta{display:none}}
@media(prefers-reduced-motion:reduce){html body #header .cz-menu-drawer,html body #header .cz-header-cta,html body #header .cz-submenu-toggle::before{transition:none}}

/* Authorized corporate-blue header; white drawer and dropdowns keep their own contrast. */
html body header#header,html body #header .header-background{background:#005aa0!important}
html body #header .cz-header-row>.cz-brand{background:transparent}
html body #header .cz-header-row>.cz-phrase{color:#fff!important}
html body #header .cz-desktop-nav>ul>li>a,html body #header .cz-desktop-nav>ul>li>.cz-submenu-toggle{color:#fff!important}
html body #header .cz-desktop-nav>ul>li>a:hover,html body #header .cz-desktop-nav>ul>li>a:focus-visible{color:#fff!important;text-decoration:none!important}
html body #header .cz-desktop-nav ul ul .cz-submenu-toggle{color:#272727}
html body #header .cz-header-row>.cz-header-cta{background:#fff!important;color:#005aa0!important}
html body #header .cz-menu-trigger span{background:#fff}
html body #header .cz-header-row a:focus-visible,html body #header .cz-header-row button:focus-visible{outline-color:#fff}
html body #header .cz-desktop-nav ul ul a:focus-visible,html body #header .cz-desktop-nav ul ul button:focus-visible{outline-color:#005aa0}
@media(hover:hover) and (pointer:fine){html body #header .cz-header-row>.cz-header-cta:hover{background:#111!important;color:#fff!important}}

/* Tagline is now in the homepage hero only. */
html body #header .cz-drawer-nav{margin-top:20px}
@media(min-width:768px) and (max-width:1439px){html body #header .cz-header-row>.cz-row-cta{margin-left:auto}}
