/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: var(--header-shadow); }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); transition: height .2s var(--ease); }
.site-header.is-scrolled .header__row { height: var(--header-h-small); }
.logo { display: block; flex: none; }
.logo img { height: 44px; width: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--text); font-weight: 500; text-decoration: none; border-radius: var(--r-btn); position: relative; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--action); transform: scaleX(0); transition: transform .2s var(--ease); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav a[aria-current="true"] { color: var(--action); }
.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text); font-weight: 600; text-decoration: none; white-space: nowrap; }
.header__phone .icon { color: var(--action); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s, top .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-h-small) 0 0 0; z-index: 49; background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { display: grid; gap: 4px; }
.mobile-menu li a { display: block; padding: 8px 0; font: 500 2rem/1.2 var(--font-display); color: var(--text); text-decoration: none; }
.mobile-menu__foot { display: grid; gap: 6px; margin-top: 24px; }
.mobile-menu__contact { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); font-weight: 500; text-decoration: none; }
.mobile-menu__contact .icon { color: var(--action); }
.mobile-menu__foot .btn { margin-top: 10px; }
body.menu-open { overflow: hidden; }

@media (max-width: 1100px) { .header__phone span { display: none; } .header__phone { width: 44px; justify-content: center; } .nav a { padding: 0 9px; } .nav a::after { left: 9px; right: 9px; } }
@media (max-width: 900px) {
  .nav { display: none; } .burger { display: block; }
  .header__phone { display: none; } .logo img { height: 36px; }
}

/* footer */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 80px 0 40px; margin-bottom: 0; }
.site-footer :focus-visible { outline-color: var(--text-inverse); }
.site-footer a { color: var(--text-inverse); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1.2fr .9fr; gap: 40px; }
.footer__logo { display: inline-block; background: var(--c-white); border-radius: 14px; padding: 10px 14px; margin-bottom: 18px; }
.footer__logo img { height: 44px; width: auto; }
.footer__h { font: 600 0.875rem/1.4 var(--font-text); color: var(--footer-heading); margin: 0 0 12px; letter-spacing: 0; }
.footer__h--gap { margin-top: 24px; }
.site-footer li { padding: 3px 0; }
.footer__btn { background: none; border: 0; padding: 0; min-height: 44px; color: var(--text-inverse); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { margin-top: 56px; padding-top: 28px; border-top: 1px solid color-mix(in srgb, var(--text-inverse) 25%, transparent); display: grid; gap: 12px; font-size: var(--fs-small); }
.footer__disclaimer { max-width: 80ch; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } .site-footer { padding: 56px 0 120px; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; gap: 28px; } }

/* sticky CTA (mobile) */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--bg); box-shadow: 0 -8px 24px var(--shadow-color); }
.sticky-cta .btn { flex: 1 1 0; }
@media (max-width: 900px) { .sticky-cta:not([hidden]):not(.is-off) { display: flex; } }
