.h420pro-header{
  --h420-bg:#fff;
  --h420-text:#111827;
  --h420-muted:#6b7280;
  --h420-border:#e5e7eb;
  --h420-accent:#111827;
  --h420-accent-2:#f3f4f6;
  --h420-shadow:0 18px 50px rgba(15,23,42,.10);
  --h420-drawer-width:360px;
  position:relative;
  z-index:999;
  background:var(--h420-bg);
  color:var(--h420-text);
  border-color:var(--h420-border);
  transition:background-color .22s ease,box-shadow .22s ease,transform .24s ease,backdrop-filter .22s ease;
}
.h420pro-header *{box-sizing:border-box}
.h420pro-header a{text-decoration:none}
.h420pro-full{width:100%}
.h420pro-sticky{position:relative}
.h420pro-sticky:not(.h420pro-fixed){top:auto!important}
.h420pro-sticky-placeholder{display:none;height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important}
.h420pro-sticky-placeholder.h420pro-active{display:block}
.h420pro-sticky.h420pro-fixed{position:fixed!important;left:var(--h420-fixed-left,0px);top:var(--h420-fixed-top,var(--h420-sticky-offset,0px))!important;width:var(--h420-fixed-width,100%)!important;z-index:99990;box-shadow:var(--h420-shadow)}
body.admin-bar .h420pro-sticky.h420pro-fixed{top:calc(var(--h420-fixed-top,var(--h420-sticky-offset,0px)) + 32px)!important}
@media (max-width:782px){body.admin-bar .h420pro-sticky.h420pro-fixed{top:calc(var(--h420-fixed-top,var(--h420-sticky-offset,0px)) + 46px)!important}}
.h420pro-transparent{background:transparent}
.h420pro-solid-on-scroll.h420pro-transparent.h420pro-scrolled{background:var(--h420-bg);box-shadow:var(--h420-shadow)}
.h420pro-hide-on-scroll.h420pro-hidden{transform:translateY(-110%)}
.h420pro-inner{width:100%;max-width:1240px;margin:0 auto;padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.h420pro-main{min-height:72px}
.h420pro-shrink-on-scroll.h420pro-scrolled .h420pro-main{min-height:58px}
.h420pro-shrink-on-scroll.h420pro-scrolled .h420pro-inner{padding-top:8px;padding-bottom:8px}
.h420pro-shrink-on-scroll.h420pro-scrolled .h420pro-logo img{transform:scale(.92)}
.h420pro-brand{display:flex;align-items:center;flex:0 0 auto;min-width:0}
.h420pro-logo{display:inline-flex;align-items:center;text-decoration:none;color:inherit;font-weight:800;font-size:22px;line-height:1;transition:color .18s ease}
.h420pro-logo img{display:block;max-width:100%;height:auto;width:150px;transition:transform .2s ease}
.h420pro-nav{display:flex;align-items:center;min-width:0}
.h420pro-menu{display:flex;align-items:center;gap:24px;list-style:none;padding:0;margin:0}
.h420pro-menu li{position:relative;margin:0}
.h420pro-nav a{display:inline-flex;align-items:center;text-decoration:none;color:inherit;font-weight:650;font-size:15px;line-height:1.15;transition:color .18s ease,opacity .18s ease}
.h420pro-nav a:hover,.h420pro-nav .current-menu-item>a{opacity:.78;color:var(--h420-accent)}
.h420pro-menu .sub-menu{position:absolute;top:100%;left:0;min-width:220px;background:#fff;border:1px solid rgba(17,24,39,.08);border-radius:16px;padding:10px;box-shadow:var(--h420-shadow);list-style:none;margin:14px 0 0;opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s ease;z-index:80}
.h420pro-menu li:hover>.sub-menu,.h420pro-menu li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:translateY(0)}
.h420pro-menu .sub-menu a{display:flex;padding:10px 12px;color:#111827;border-radius:10px}
.h420pro-menu .sub-menu a:hover{background:#f8fafc}
.h420pro-actions,.h420pro-topbar-actions,.h420pro-mobile-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.h420pro-contact{display:inline-flex;align-items:center;gap:6px;text-decoration:none;color:inherit;font-weight:700;font-size:14px;white-space:nowrap}
.h420pro-contact-icon{display:inline-flex;align-items:center;justify-content:center}
.h420pro-whatsapp{padding:10px 14px;border-radius:999px;background:#25d366;color:#071b0d!important}
.h420pro-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:11px 18px;text-decoration:none;font-weight:800;font-size:14px;line-height:1;border-radius:999px;white-space:nowrap;transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease,background-color .18s ease,color .18s ease,border-color .18s ease}
.h420pro-btn svg,.h420pro-btn i{width:1em;height:1em;display:inline-flex;align-items:center}
.h420pro-btn:hover{transform:translateY(-1px);opacity:.92}
.h420pro-btn-primary{background:#111827;color:#fff}
.h420pro-btn-secondary{background:#f3f4f6;color:#111827}
.h420pro-btn-ghost{background:transparent;color:#111827;border:1px solid currentColor}
.h420pro-btn-link{background:transparent;color:#111827;border:0;padding-left:0;padding-right:0;min-height:auto}
.h420pro-socials{display:flex;align-items:center;gap:7px}
.h420pro-social{width:32px;height:32px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#f3f4f6;color:#111827;text-decoration:none;font-size:11px;font-weight:900}
.h420pro-search-toggle{width:38px;height:38px;border:0;border-radius:999px;background:var(--h420-accent-2);color:var(--h420-text);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-weight:900;font-size:22px;line-height:1}
.h420pro-search-form{display:flex;align-items:center;gap:10px;width:100%}
.h420pro-search-form input{width:100%;min-height:46px;border:1px solid rgba(17,24,39,.12);border-radius:999px;padding:0 16px;background:#fff;color:#111827;font:inherit;outline:none}
.h420pro-search-form button{min-height:46px;border:0;border-radius:999px;padding:0 18px;background:var(--h420-accent);color:#fff;font-weight:800;cursor:pointer}
.h420pro-search-overlay{display:none;position:fixed;inset:0;background:rgba(15,23,42,.55);z-index:99999;align-items:flex-start;justify-content:center;padding:12vh 20px 20px}
.h420pro-search-open .h420pro-search-overlay{display:flex}
.h420pro-search-box{width:min(760px,100%);background:#fff;border-radius:24px;padding:30px;box-shadow:0 25px 80px rgba(0,0,0,.2);position:relative}
.h420pro-search-close,.h420pro-drawer-close{border:0;background:transparent;color:inherit;cursor:pointer;font-size:30px;line-height:1}
.h420pro-search-close{position:absolute;top:10px;right:14px}
.h420pro-mobile-toggle{display:none;align-items:center;gap:9px;border:0;background:transparent;color:inherit;font-weight:800;padding:8px;cursor:pointer;position:relative;z-index:100}
.h420pro-mobile-toggle span{display:block;width:22px;height:2px;background:currentColor;border-radius:2px;transition:.2s ease}
.h420pro-mobile-toggle em{font-style:normal;font-size:13px}
.h420pro-hamburger-dots .h420pro-mobile-toggle span{width:5px;height:5px;border-radius:50%}
.h420pro-hamburger-dots .h420pro-mobile-toggle{gap:5px}
.h420pro-hamburger-minimal .h420pro-mobile-toggle span:nth-child(2){display:none}
.h420pro-open .h420pro-mobile-toggle span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.h420pro-open .h420pro-mobile-toggle span:nth-child(2){opacity:0}
.h420pro-open .h420pro-mobile-toggle span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.h420pro-mobile-drawer{display:none}
.h420pro-mobile-overlay{display:none}
.h420pro-drawer-close{display:none;position:absolute;top:18px;right:20px;z-index:3}
.h420pro-topbar{border-bottom:1px solid rgba(17,24,39,.08);font-size:13px}
.h420pro-topbar .h420pro-inner{min-height:42px;padding-top:8px;padding-bottom:8px}
.h420pro-announcement{background:#111827;color:#fff;font-size:14px;font-weight:700;text-align:center}
.h420pro-announcement a,.h420pro-announcement span{color:inherit;text-decoration:none;display:inline-flex;padding:0}
.h420pro-announcement .h420pro-inner{justify-content:center;min-height:38px;padding-top:8px;padding-bottom:8px}
.h420pro-layout-centered .h420pro-main{justify-content:center}
.h420pro-layout-centered .h420pro-brand{order:2}
.h420pro-layout-centered .h420pro-nav-primary{order:1}
.h420pro-layout-centered .h420pro-actions{order:3}
.h420pro-layout-split .h420pro-nav-secondary,.h420pro-layout-split .h420pro-nav-primary{flex:1}
.h420pro-layout-split .h420pro-nav-secondary .h420pro-menu{justify-content:flex-end;width:100%}
.h420pro-layout-split .h420pro-nav-primary .h420pro-menu{justify-content:flex-start;width:100%}
.h420pro-layout-stacked .h420pro-main{justify-content:center;flex-direction:column}
.h420pro-layout-stacked .h420pro-main>.h420pro-nav-primary{display:none}
.h420pro-stacked-menu{justify-content:center;padding-top:0}
.h420pro-layout-minimal .h420pro-main>.h420pro-nav{display:none!important}
.h420pro-layout-minimal .h420pro-mobile-toggle{display:inline-flex}
.h420pro-custom-html{max-width:1240px;margin:0 auto;padding:0 24px 12px}

/* Presets */
.h420pro-preset-irene{--h420-bg:#fff9ef;--h420-text:#243f3b;--h420-muted:#6d665d;--h420-border:#eee7e1;--h420-accent:#7c9663;--h420-accent-2:#f4efe4;--h420-shadow:0 14px 38px rgba(42,35,31,.08)}
.h420pro-preset-irene .h420pro-btn-primary{background:#7c9663;color:#fff}
.h420pro-preset-irene .h420pro-btn-secondary{background:#fff;color:#c9877e;border:1px solid rgba(201,123,118,.45)}
.h420pro-preset-irene .h420pro-btn-ghost{color:#c9877e;border-color:#c9877e}
.h420pro-preset-irene .h420pro-whatsapp{background:#e8f1e2;color:#4f6b45!important}
.h420pro-preset-medical{--h420-bg:#ffffff;--h420-text:#0f2f3d;--h420-muted:#5b7080;--h420-border:#e2edf2;--h420-accent:#1f7a8c;--h420-accent-2:#eef7f9}
.h420pro-preset-medical .h420pro-btn-primary{background:#1f7a8c;color:#fff}
.h420pro-preset-dark{--h420-bg:#111827;--h420-text:#f9fafb;--h420-muted:#cbd5e1;--h420-border:rgba(255,255,255,.12);--h420-accent:#ffffff;--h420-accent-2:rgba(255,255,255,.10)}
.h420pro-preset-dark .h420pro-menu .sub-menu,.h420pro-preset-dark .h420pro-mobile-drawer{background:#111827;color:#fff;border-color:rgba(255,255,255,.15)}
.h420pro-preset-dark .h420pro-btn-primary{background:#fff;color:#111827}
.h420pro-preset-dark .h420pro-btn-secondary{background:rgba(255,255,255,.10);color:#fff}
.h420pro-preset-dark .h420pro-search-toggle,.h420pro-preset-dark .h420pro-social{background:rgba(255,255,255,.10);color:#fff}
.h420pro-preset-glass{--h420-bg:rgba(255,255,255,.72);--h420-text:#111827;--h420-border:rgba(255,255,255,.45);--h420-accent:#111827;--h420-accent-2:rgba(255,255,255,.70);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}

/* Mobile engine */
.h420pro-is-mobile .h420pro-main>.h420pro-nav,
.h420pro-is-mobile .h420pro-actions,
.h420pro-is-mobile .h420pro-stacked-menu,
.h420pro-is-mobile .h420pro-topbar{display:none!important}
.h420pro-is-mobile .h420pro-mobile-toggle{display:inline-flex}
.h420pro-is-mobile .h420pro-main{justify-content:space-between}
.h420pro-is-mobile .h420pro-mobile-drawer{display:none;z-index:9999}
.h420pro-is-mobile.h420pro-open .h420pro-mobile-drawer{display:block}
.h420pro-is-mobile.h420pro-open.h420pro-has-overlay .h420pro-mobile-overlay{display:block;position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:9998}
.h420pro-is-mobile .h420pro-mobile-drawer{background:#fff;color:#111827;border:1px solid rgba(17,24,39,.08);box-shadow:0 22px 70px rgba(15,23,42,.16);padding:18px}
.h420pro-is-mobile .h420pro-mobile-drawer-inner{display:flex;flex-direction:column;gap:16px}
.h420pro-is-mobile .h420pro-mobile-drawer .h420pro-nav{display:block}
.h420pro-is-mobile .h420pro-mobile-drawer .h420pro-menu{display:flex;flex-direction:column;align-items:stretch;gap:4px}
.h420pro-is-mobile .h420pro-mobile-drawer .h420pro-menu a{padding:12px 10px;border-radius:12px}
.h420pro-is-mobile .h420pro-mobile-drawer .sub-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;margin:4px 0 4px 12px;padding:0;background:transparent}
.h420pro-is-mobile .h420pro-mobile-actions{margin-top:0;align-items:stretch;flex-direction:column}
.h420pro-is-mobile .h420pro-mobile-actions .h420pro-socials{justify-content:flex-start}
.h420pro-is-mobile .h420pro-btn,.h420pro-is-mobile .h420pro-contact{width:100%;justify-content:center}
.h420pro-is-mobile .h420pro-search-form-mobile{display:flex}
.h420pro-is-mobile.h420pro-drawer-dropdown .h420pro-mobile-drawer{position:absolute;left:16px;right:16px;top:calc(100% + 8px);border-radius:22px}
.h420pro-is-mobile.h420pro-drawer-offcanvas-right .h420pro-mobile-drawer,
.h420pro-is-mobile.h420pro-drawer-offcanvas-left .h420pro-mobile-drawer,
.h420pro-is-mobile.h420pro-drawer-fullscreen .h420pro-mobile-drawer{display:block;position:fixed;top:0;bottom:0;width:var(--h420-drawer-width);max-width:calc(100vw - 24px);border-radius:0;transition:transform .25s ease;overflow:auto;padding:70px 22px 24px}
.h420pro-is-mobile.h420pro-drawer-offcanvas-right .h420pro-mobile-drawer{right:0;transform:translateX(105%)}
.h420pro-is-mobile.h420pro-drawer-offcanvas-left .h420pro-mobile-drawer{left:0;transform:translateX(-105%)}
.h420pro-is-mobile.h420pro-drawer-offcanvas-right.h420pro-open .h420pro-mobile-drawer,
.h420pro-is-mobile.h420pro-drawer-offcanvas-left.h420pro-open .h420pro-mobile-drawer{transform:translateX(0)}
.h420pro-is-mobile.h420pro-drawer-fullscreen .h420pro-mobile-drawer{inset:0;width:100%;max-width:100%;transform:translateY(-105%)}
.h420pro-is-mobile.h420pro-drawer-fullscreen.h420pro-open .h420pro-mobile-drawer{transform:translateY(0)}
.h420pro-is-mobile.h420pro-drawer-offcanvas-right .h420pro-drawer-close,
.h420pro-is-mobile.h420pro-drawer-offcanvas-left .h420pro-drawer-close,
.h420pro-is-mobile.h420pro-drawer-fullscreen .h420pro-drawer-close{display:block}

@media (max-width:767px){
  .h420pro-inner{padding-left:18px;padding-right:18px}
  .h420pro-logo img{max-width:180px}
  .h420pro-mobile-toggle em{display:none}
  .h420pro-search-box{padding:26px 18px;border-radius:18px}
  .h420pro-search-form{flex-direction:column;align-items:stretch}
}
