/* Approved Evolution logo. Header-only layout; content and original flow heights remain. */
.site-header.branded-header{gap:18px;justify-content:flex-start}
.branded-header .brand-lockup{display:flex;align-items:center;gap:9px;flex:0 0 218px;min-width:0;color:var(--ink)}
.branded-header .brand-sign{width:31px;height:38px;object-fit:contain;flex:none;transition:height var(--hp-time,200ms) var(--hp-ease,ease)}
.branded-header .brand-type{display:flex;flex-direction:column;justify-content:center;min-width:0}
.branded-header .brand-wordmark{width:167px;height:28px;object-fit:contain;object-position:left center}
.branded-header .brand-subtitle{display:block;font-size:10px;line-height:14px;font-weight:500;letter-spacing:0;white-space:nowrap;color:var(--muted);max-height:14px;opacity:1;transition:max-height var(--hp-time,200ms) var(--hp-ease,ease),opacity var(--hp-time,200ms) var(--hp-ease,ease)}
.header-compact .branded-header .brand-subtitle{max-height:0;opacity:0;overflow:hidden}
.header-compact .branded-header .brand-sign{height:32px}
.branded-header .desktop-nav{padding-inline:22px;border-inline:0;gap:24px;min-height:30px;flex:0 1 auto;margin-left:12px;justify-content:center;white-space:nowrap}
.branded-header .header-phone{display:flex;align-items:center;margin-left:auto;gap:9px;font-size:12px;font-weight:600;white-space:nowrap;min-height:44px;flex:none}
.branded-header .header-phone>svg{width:17px;height:17px;color:var(--blue);flex:none}
.branded-header .header-contact{display:flex;align-items:center;justify-content:center;gap:18px;min-height:44px;padding:10px 16px;margin-left:0;white-space:nowrap;font-size:12px;flex:none}
.header-socials{display:flex;gap:0;align-items:center}
.header-socials a,.mobile-channels a{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;color:var(--ink)}
.header-socials a>span{display:none}
.header-socials img,.mobile-channels img,.channel-popover img{width:19px;height:19px;object-fit:contain}
.header-socials a:hover,.header-channel-menu summary:hover{background:var(--blue-light);border-radius:6px}
.header-channel-menu{display:none;position:relative;flex:none}
.header-channel-menu summary{display:flex;align-items:center;justify-content:center;list-style:none;width:44px;height:44px;cursor:pointer}
.header-channel-menu summary::-webkit-details-marker{display:none}
.header-channel-menu summary>svg{width:21px;height:21px}
.channel-popover{position:absolute;right:0;top:calc(100% + 8px);width:184px;padding:8px;background:var(--paper);border:1px solid var(--line);border-radius:6px}
.channel-popover a{display:flex;gap:13px;align-items:center;min-height:44px;padding:8px 12px;font-size:13px;border-radius:3px}
.channel-popover a:hover{background:var(--blue-light)}
.mobile-channels{display:flex;gap:8px;padding-top:10px;border-top:1px solid var(--line);margin-top:5px;flex:none}
.mobile-channels a{gap:6px;padding:5px 8px;font-size:11px;min-height:44px;flex:1}
@media(max-width:1399px){.branded-header .header-socials{display:none}.branded-header .header-channel-menu{display:block}.site-header.branded-header{gap:14px}.branded-header .brand-lockup{flex-basis:207px}.branded-header .desktop-nav{gap:20px;padding-inline:18px}}
@media(min-width:1051px) and (max-width:1150px){.site-header.branded-header{gap:10px;padding-inline:30px}.branded-header .desktop-nav{gap:14px;padding-inline:14px}.branded-header .header-contact{padding-inline:12px;gap:12px}.branded-header .brand-lockup{flex-basis:201px}}
@media(max-width:1050px){.branded-header .desktop-nav,.branded-header .header-phone,.branded-header .header-socials,.branded-header .header-channel-menu{display:none}.branded-header .brand-lockup{margin-right:auto;flex-basis:218px}.branded-header .menu-toggle{width:44px;height:44px;flex:none}}
@media(max-width:600px){.site-header.branded-header{gap:9px;padding-inline:20px}.branded-header .brand-lockup{gap:6px;flex-basis:166px}.branded-header .brand-sign{width:25px;height:33px}.branded-header .brand-wordmark{width:135px;height:23px}.branded-header .brand-subtitle{font-size:9px;line-height:12px;max-height:12px;letter-spacing:-.015em}.header-compact .branded-header .brand-subtitle{max-height:0}.header-compact .branded-header .brand-sign{height:28px}.branded-header .header-contact{font-size:11px;padding:8px 9px;gap:9px}.branded-header .header-contact>span{display:none}.branded-header .menu-toggle{width:44px;height:44px}.mobile-nav{padding-top:20px;padding-bottom:24px}.mobile-channels{gap:4px}.mobile-channels a{padding-inline:5px}}
@media(max-width:359px){.site-header.branded-header{padding-inline:14px;gap:7px}.branded-header .brand-lockup{flex-basis:149px}.branded-header .brand-wordmark{width:120px}.branded-header .brand-sign{width:23px}.branded-header .brand-subtitle{font-size:8px}.branded-header .header-contact{display:flex!important;font-size:10px;padding-inline:8px}}
@media(prefers-reduced-motion:reduce){.branded-header .brand-sign,.branded-header .brand-subtitle{transition:none}}
/* Override the earlier pilot's laptop-only display/gap rules for the new contact group. */
@media(min-width:1051px) and (max-width:1280px){.header-pilot.header-compact .branded-header .header-phone{display:flex}.header-pilot.header-compact .site-header.branded-header{gap:14px}}
@media(min-width:1051px) and (max-width:1150px){.header-pilot.header-compact .site-header.branded-header{gap:10px}}

/* Mobile navigation: open editorial links and one calm contact group. */
.mobile-nav[hidden]{display:none!important}
@media(max-width:1050px){
 html{--mobile-menu-header-height:var(--hp-full,88px)}
 html.mobile-menu-open{overflow:hidden;scrollbar-gutter:stable;overscroll-behavior:none}
 html.mobile-menu-open body{position:fixed;top:var(--mobile-menu-page-top);left:0;width:var(--mobile-menu-page-width);overflow:hidden}
 html.mobile-menu-open .site-header{position:fixed;inset:0 0 auto;height:calc(var(--mobile-menu-header-height) + env(safe-area-inset-top));padding-top:env(safe-area-inset-top);background:var(--paper);border-bottom:1px solid var(--line);transition:none;z-index:50}
 html.mobile-menu-open .site-header .header-contact{display:none!important}
 html.mobile-menu-open .site-header .menu-toggle{margin-left:auto}
 html.mobile-menu-open .brand-subtitle{max-height:14px;opacity:1}
 html.mobile-menu-open .brand-sign{height:38px}
 html.mobile-menu-open .page-position{visibility:hidden;pointer-events:none}
 html.mobile-menu-open .mobile-nav{position:fixed;inset:calc(var(--mobile-menu-header-height) + env(safe-area-inset-top)) 0 auto;height:calc(100dvh - var(--mobile-menu-header-height) - env(safe-area-inset-top));display:flex;flex-direction:column;align-items:stretch;gap:0;padding:24px max(22px,env(safe-area-inset-left)) max(22px,env(safe-area-inset-bottom));background:var(--paper);opacity:1;visibility:visible;transform:none;transition:none;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;z-index:45;-webkit-overflow-scrolling:touch}
 .mobile-menu-links,.mobile-contact-group{width:100%;max-width:560px;margin-inline:auto;flex:none}
 .mobile-menu-links>.eyebrow{display:block;margin:0 0 14px;font-size:10px;line-height:1.5;letter-spacing:.11em;color:var(--muted)}
 .mobile-primary-link{display:grid;grid-template-columns:24px minmax(0,1fr);gap:14px;align-items:start;border-top:1px solid var(--line);padding:16px 0;min-height:66px;font-size:24px;line-height:1.25;letter-spacing:-.035em;font-weight:500}
 .mobile-primary-link .mobile-nav-number{font-size:12px;line-height:1.5;letter-spacing:0;color:var(--blue);padding-top:5px;font-weight:500}
 .mobile-nav-label{text-wrap:balance}
 .mobile-menu-links .mobile-site-links{display:flex;gap:24px;border-top:1px solid var(--line);padding:10px 0 16px;font-size:16px;font-weight:500}
 .mobile-site-links>a{display:flex;align-items:center;min-height:44px}
 .mobile-nav a:is(:hover,[aria-current=page]){color:var(--blue-dark)}
 .mobile-nav a:active{color:var(--blue);background:rgba(70,94,209,.04)}
 .mobile-nav :is(a,button):focus-visible,.mobile-menu-open .menu-toggle:focus-visible{outline:2px solid var(--blue);outline-offset:4px;border-radius:3px}
 .mobile-contact-group{margin-top:auto;padding:19px 18px 17px;border-radius:14px;background:#edf1f9}
 .mobile-contact-group .mobile-phone{display:flex;align-items:center;min-height:44px;width:max-content;max-width:100%;font-size:25px;line-height:1.35;letter-spacing:-.04em;font-weight:600;border:0;padding:0;margin:0;white-space:nowrap}
 .mobile-contact-hours{font-size:11px;line-height:1.5;color:var(--muted);margin:5px 0 0}
 .mobile-contact-group .mobile-channels{display:flex;gap:4px;margin:14px 0 0;padding:10px 0 0;border-top:1px solid #d7dfed}
 .mobile-contact-group .mobile-channels a{min-width:0;flex:1;min-height:44px;gap:6px;padding:6px 4px;font-size:11px;border-radius:6px;white-space:nowrap}
 .mobile-contact-group .mobile-channels img{width:18px;height:18px;object-fit:contain;flex:none}
 .mobile-contact-group .mobile-channel-max{background:#dfe6fc;color:var(--blue-dark);font-weight:600}
 .mobile-contact-group .mobile-contact-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:54px;padding:13px 16px;margin-top:15px;border-radius:4px;font-size:15px;font-weight:500}
 .mobile-contact-cta>span{font-size:23px;line-height:1}
 .mobile-contact-group .mobile-contact-note{font-size:11px;line-height:1.5;color:var(--muted);margin-top:10px}
}
@media(max-width:800px){html{--mobile-menu-header-height:var(--hp-full,80px)}}
@media(max-width:600px){html{--mobile-menu-header-height:var(--hp-full,74px)}html.mobile-menu-open .brand-sign{height:33px}html.mobile-menu-open .brand-subtitle{max-height:12px}}
@media(max-width:359px){html.mobile-menu-open .mobile-nav{padding-inline:16px}.mobile-primary-link{font-size:23px;gap:11px}.mobile-contact-group{padding-inline:13px}.mobile-contact-group .mobile-phone{font-size:24px}.mobile-contact-group .mobile-channels a{font-size:10.5px;gap:5px;padding-inline:2px}}
@media(max-width:1050px) and (max-height:700px){html.mobile-menu-open .mobile-nav{padding-top:18px;padding-bottom:max(18px,env(safe-area-inset-bottom))}.mobile-primary-link{padding-block:13px}.mobile-menu-links .mobile-site-links{padding-bottom:10px}.mobile-contact-group{padding-block:16px}}

/* v32: lighter grouping and consistent utility interaction. */
.branded-header .header-phone{padding-inline:8px;margin-right:-8px;border-radius:8px;color:var(--ink);transition:color 160ms ease,background-color 160ms ease}
.branded-header .header-phone>svg{color:inherit;transition:color 160ms ease}
.branded-header .header-phone:is(:hover,:focus-visible:not([data-pointer-focus])){color:#4d608c;background:rgba(70,94,209,.045)}
.branded-header .header-phone:is(:hover,:focus-visible:not([data-pointer-focus]))>span{text-decoration:none}
.branded-header .header-contact{border-radius:4px;transition:color 160ms ease,background-color 160ms ease,border-color 160ms ease}
.branded-header .header-contact:is(:hover,:focus-visible:not([data-pointer-focus])){background:var(--blue-light);border-color:var(--blue);color:var(--blue)}
.header-socials a,.mobile-channels a,.channel-popover a,.header-channel-menu summary{border-radius:8px;transition:background-color 160ms ease,color 160ms ease}
.header-socials a:is(:hover,:focus-visible),.mobile-channels a:is(:hover,:focus-visible),.channel-popover a:is(:hover,:focus-visible),.header-channel-menu summary:is(:hover,:focus-visible){background:var(--blue-light);border-radius:8px;color:var(--blue)}
.header-socials img,.mobile-channels img,.channel-popover img{display:block;flex:none;width:19px;height:19px}
.branded-header .header-phone:focus-visible,.branded-header .header-contact:focus-visible,.header-socials a:focus-visible,.mobile-channels a:focus-visible,.channel-popover a:focus-visible,.header-channel-menu summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.branded-header .header-phone,.branded-header .header-phone>svg,.branded-header .header-contact,.header-socials a,.mobile-channels a,.channel-popover a,.header-channel-menu summary{transition:none}}

/* Channels live outside the main header. Keep the footer's existing text links quiet. */
.footer-socials{gap:8px}
.footer-socials a{display:inline-flex;align-items:center;justify-content:center;min-width:84px;min-height:44px;padding:6px 10px;border:0;border-radius:4px;color:var(--muted);transition:color 160ms ease,background-color 160ms ease}
.footer-socials a:is(:hover,:focus-visible){color:var(--blue);background:var(--blue-light);border:0}
.footer-socials a:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.mobile-channels img{filter:grayscale(1);opacity:.66}
.mobile-channels a[aria-label="MAX"] img{width:17px;height:17px}
.mobile-channels a[aria-label="Telegram"] img{width:18px;height:18px}
.mobile-channels a[aria-label="WhatsApp"] img{width:20px;height:20px}
.mobile-channels a{color:var(--muted)}
@media(prefers-reduced-motion:reduce){.footer-socials a{transition:none}}

/* Footer lockup and secondary contact links; column geometry is preserved. */
.footer-logo{display:inline-flex;align-items:center;gap:9px;color:var(--ink)}
.footer-logo-sign{width:31px;height:38px;flex:none}
.footer-logo-type{display:flex;flex-direction:column;gap:3px}
.footer-logo-wordmark{display:block;width:167px;height:28px;object-fit:contain;object-position:left}
.footer-logo-subtitle{font-size:10px;line-height:14px;color:var(--muted)}
.site-footer .footer-logo-sign{content:url("/assets/brand/evolution-sign-white.svg")}
.site-footer .footer-logo-wordmark{content:url("/assets/brand/wordmark-white.svg")}
.site-footer .footer-socials{display:flex;gap:6px;flex-wrap:wrap;width:100%;max-width:330px}
.site-footer .footer-socials a{display:inline-flex;flex:1 1 0;gap:6px;min-width:82px;min-height:44px;padding:6px 4px;justify-content:center;align-items:center;color:var(--muted);background:transparent;border:0;text-decoration:none;font-size:11px}
.footer-channel-icon{display:block;width:16px;height:16px;flex:none;background:currentColor;mask:var(--channel-icon) center/contain no-repeat;-webkit-mask:var(--channel-icon) center/contain no-repeat}
.site-footer .footer-socials a:is(:hover,:focus-visible){background:transparent;color:var(--blue);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.site-footer .footer-socials a:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.site-footer .footer-phone:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
/* Keep all three secondary channels aligned even in a narrow footer column. */
.site-footer .footer-socials{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.site-footer .footer-socials a{min-width:0;padding-inline:0;gap:4px}

/* The homepage footer is the shared public-site footer. */
.site-footer{background:#22374a;color:#fffefa;--ink:#fffefa;--muted:#c2ced6;--blue:#b5d6f1;--line:rgba(216,232,241,.24);border-top:0;padding-top:62px;padding-bottom:55px}
.site-footer .footer-column h2{color:#c2ced6}
.site-footer a:hover{color:#fff}
.site-footer .footer-contact-link,.site-footer .footer-meta a{color:#b5d6f1}
@media(max-width:800px){.site-footer{padding-top:44px;padding-bottom:38px}.site-footer .footer-sections{display:flex;gap:0}}
