/* Shared site chrome. Geometry and controls use the existing public design tokens. */
.ab-site-chrome { --chrome-pad: clamp(16px, 2vw, 28px); }
body .ab-site-chrome .ab-site-header {
  top: 20px; width: calc(100% - 2 * var(--ab-gutter)); max-width: var(--ab-container) !important;
  min-height: 76px; padding: 10px 12px 10px 24px; gap: 20px;
  border: 1px solid var(--ab-border); border-radius: var(--ab-radius-surface);
  background: var(--ab-surface); box-shadow: var(--ab-shadow); opacity: 1;
}
.ab-site-header > div:first-child { flex: 0 0 auto; }
.ab-site-header figure { display: none; }
.ab-site-header figure.ab-site-header__logo { display: block; }
.ab-site-header__logo img { width: 188px; max-width: 188px; height: 48px; object-fit: contain; }
.ab-site-header__nav { flex: 1; justify-content: center; min-width: 0; }
.ab-site-header__nav-list { gap: 4px; }
.ab-nav-item { display: flex; align-items: center; padding: 0; position: static; }
body .ab-site-header__nav-link, .ab-nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 10px 9px; border: 0; border-radius: var(--ab-radius-control);
  color: var(--ab-muted); background: transparent; font: 400 13px/1.4 var(--ab-font);
  white-space: nowrap; cursor: pointer; transition: color var(--ab-motion), background var(--ab-motion);
}
body .ab-site-header__nav-link:hover, .ab-nav-item.is-open > .ab-site-header__nav-link,
.ab-nav-toggle:hover, .ab-nav-toggle[aria-expanded="true"] { background: var(--ab-brand-soft); color: var(--ab-brand); }
body .ab-site-header__nav-link[aria-current="page"] { color: var(--ab-brand); font-weight: 500; }
.ab-nav-toggle--separate { width: 28px; padding-inline: 4px; margin-left: -8px; }
.ab-nav-chevron { flex: none; width: 14px; height: 14px; fill: none; transform: rotate(0deg); transition: transform var(--ab-motion) var(--ab-ease); }
[aria-expanded="true"] > .ab-nav-chevron { transform: rotate(180deg); }
.ab-header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.ab-header-action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 15px; border: 1px solid transparent; border-radius: var(--ab-radius-control); font: 500 12px/1.5 var(--ab-font); text-decoration: none; white-space: nowrap; transition: background var(--ab-motion), border-color var(--ab-motion), color var(--ab-motion); }
.ab-header-action span { min-width: 0; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.ab-header-action svg { flex: none; }
.ab-header-action--web { color: var(--ab-brand); border-color: #e3dbe9; background: #fff; }
.ab-header-action--web:hover { background: var(--ab-brand-soft); border-color: #cbb9dd; color: var(--ab-brand); }
.ab-header-action--quote { background: var(--ab-brand); color: #fff; border-color: var(--ab-brand); }
.ab-header-action--quote:hover { background: var(--ab-brand-hover); color: #fff; }
.ab-header-action__arrow { width: 13px; height: 13px; }
.ab-header-action:focus-visible { outline: 2px solid #f7941d; outline-offset: 3px; }
.ab-header-actions--drawer { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); padding-block: 20px 8px; }
.ab-header-actions--drawer .ab-header-action { min-width: 0; min-height: 48px; }
.ab-nav-panel {
  visibility: hidden; position: absolute; left: 50%; top: 100%; translate: -50% 0; transform: translateY(6px);
  width: min(1020px, calc(100vw - 2 * var(--ab-gutter))); max-height: calc(100dvh - 130px); overflow-y: auto;
  padding: 20px; margin-top: 10px; border: 1px solid var(--ab-border); border-radius: var(--ab-radius-surface);
  background: var(--ab-surface); box-shadow: 0 12px 32px rgb(23 25 31 / 10%);
  opacity: 0; pointer-events: none; transition: opacity var(--ab-motion), transform var(--ab-motion);
}
.ab-nav-panel.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
.ab-nav-panel--mega { width: min(1100px, calc(100vw - 2 * var(--ab-gutter))); }
.ab-dropdown-heading { margin-bottom: 12px; padding: 0 8px 12px; border-bottom: 1px solid var(--ab-border); }
.ab-dropdown-heading p { color: var(--ab-brand); font: 500 13px/1.5 var(--ab-font); }
.ab-dropdown-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; align-items: center; gap: 24px; }
.ab-dropdown-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 2px 12px; }
.ab-dropdown-links > li { min-width: 0; }
.ab-dropdown-banner { display: block; align-self: center; padding-left: 20px; border-left: 1px solid var(--ab-border); }
.ab-dropdown-banner img { display: block; width: 100%; height: auto; aspect-ratio: auto 49 / 25; object-fit: contain; border-radius: var(--ab-radius-control); }
.ab-nav-panel .ab-menu-link {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 8px;
  border-radius: var(--ab-radius-control); color: var(--ab-ink); transition: background var(--ab-motion), color var(--ab-motion);
}
.ab-nav-panel .ab-menu-link:hover, .ab-nav-panel .ab-menu-link:focus-visible { background: var(--ab-brand-soft); color: var(--ab-brand); }
.ab-nav-panel .ab-dropdown-icon { flex: none; width: 21px; height: 21px; color: #2563eb; }
.ab-nav-panel li:nth-child(5n + 1) > .ab-menu-link .ab-dropdown-icon { color: #2563eb; }
.ab-nav-panel li:nth-child(5n + 2) > .ab-menu-link .ab-dropdown-icon { color: #b45309; }
.ab-nav-panel li:nth-child(5n + 3) > .ab-menu-link .ab-dropdown-icon { color: #15803d; }
.ab-nav-panel li:nth-child(5n + 4) > .ab-menu-link .ab-dropdown-icon { color: #7c3aed; }
.ab-nav-panel li:nth-child(5n + 5) > .ab-menu-link .ab-dropdown-icon { color: #be185d; }
.ab-nav-panel .ab-menu-title { flex: 1; min-width: 0; color: inherit; font: 400 13px/1.5 var(--ab-font); white-space: normal; }
.ab-menu-link__arrow { flex: none; width: 14px; height: 14px; fill: currentColor; opacity: 0; transform: translateX(-3px); transition: opacity var(--ab-motion), transform var(--ab-motion); }
.ab-menu-link:hover .ab-menu-link__arrow, .ab-menu-link:focus-visible .ab-menu-link__arrow { opacity: 1; transform: none; }
.ab-mega-layout { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ab-mega-stack { display: grid; align-content: start; gap: 20px; }
.ab-mega-stack--featured { padding-left: 20px; border-left: 1px solid var(--ab-border); }
.ab-nav-panel .ab-menu-section-title { margin: 0 8px 6px; color: var(--ab-brand); font: 600 12px/1.5 var(--ab-font); }
.ab-nav-panel--mega .ab-menu-link { gap: 8px; min-height: 40px; padding: 8px; }
.ab-nav-panel--mega .ab-dropdown-icon { display: block; width: 18px; height: 18px; }
.ab-nav-panel--mega .ab-menu-title { font-size: 13px; }
.ab-menu-open, .ab-menu-close { display: flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; border: 1px solid var(--ab-border); border-radius: var(--ab-radius-control); background: var(--ab-surface-subtle); color: var(--ab-brand); cursor: pointer; }
.ab-menu-backdrop { position: fixed; inset: 0; z-index: 9998; background: rgb(23 25 31 / 45%); }
.ab-mobile-menu { position: fixed; inset: 0 0 0 auto; z-index: 9999; width: min(100%, 460px); height: 100dvh; padding: 0 24px max(24px, env(safe-area-inset-bottom)); background: var(--ab-surface); color: var(--ab-ink); overflow-y: auto; overscroll-behavior: contain; animation: ab-menu-enter 220ms var(--ab-ease); }
.ab-mobile-menu[hidden], .ab-menu-backdrop[hidden], .ab-mobile-submenu[hidden] { display: none; }
.ab-mobile-menu__head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 96px; padding-block: 16px; background: var(--ab-surface); border-bottom: 1px solid var(--ab-border); }
.ab-mobile-menu__head img { width: 168px; height: 44px; object-fit: contain; }
.ab-mobile-menu__body { padding-block: 16px; }
.ab-mobile-item { border-bottom: 1px solid var(--ab-border); }
.ab-mobile-item__row { display: flex; align-items: center; }
.ab-mobile-item__row > a { flex: 1; min-width: 0; display: flex; align-items: center; min-height: 60px; padding-block: 12px; color: var(--ab-ink); font-size: 16px; }
.ab-mobile-toggle { display: flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; border-radius: var(--ab-radius-control); color: var(--ab-brand); cursor: pointer; }
.ab-mobile-toggle:hover { background: var(--ab-brand-soft); }
.ab-mobile-toggle--title { width: 100%; min-height: 60px; justify-content: space-between; color: var(--ab-ink); font-size: 16px; text-align: left; }
.ab-mobile-submenu { padding: 0 0 16px 16px; border-left: 2px solid var(--ab-brand-soft); }
.ab-mobile-submenu a { display: flex; align-items: center; min-height: 48px; padding: 10px 12px; border-radius: var(--ab-radius-control); color: var(--ab-muted); font-size: 14px; line-height: 1.5; }
.ab-mobile-submenu a:hover { color: var(--ab-brand); background: var(--ab-brand-soft); }
@keyframes ab-menu-enter { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }

.ab-newsletter {
  margin-top: 40px;
  overflow: visible;
  background:
    radial-gradient(circle at 18% 12%, rgba(126, 69, 183, .30), transparent 30%),
    radial-gradient(circle at 82% 110%, rgba(75, 23, 111, .22), transparent 34%),
    linear-gradient(120deg, #17131d 0%, #201726 52%, #151219 100%);
  color: #fff;
}
.ab-newsletter__layout { display: flex; align-items: center; gap: 40px; min-height: 280px; padding-block: 32px; }
.ab-newsletter__image { position: relative; flex: 0 0 320px; align-self: stretch; height: auto; margin: 0; }
.ab-newsletter__image img { position: absolute; inset: auto 0 -32px; width: 100%; height: auto; object-fit: contain; object-position: bottom; }
.ab-newsletter__content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr); align-items: center; flex: 1; min-width: 0; gap: 16px 40px; padding: 0; }
.ab-newsletter h2 { max-width: 26ch; margin: 0; font-size: clamp(24px, 2.1vw, 28px); line-height: 1.3; font-weight: 500; letter-spacing: -.025em; color: #fff; text-wrap: balance; }
.ab-newsletter__benefits { display: grid; gap: 8px; margin: 0; }
.ab-newsletter__benefits li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #e6dcf0; }
.ab-newsletter__benefits svg { flex: none; color: #fff; }
.ab-newsletter__form { display: flex; grid-column: 2; grid-row: 1 / span 2; width: 100%; gap: 12px; align-items: end; margin: 0; }
.ab-newsletter__form .ab-ui-field { flex: 1; }
.ab-newsletter__form label { color: #fff; font-size: 13px; }
.ab-newsletter__form button { flex: none; min-width: 136px; }
body .ab-newsletter__form .newsletter-strip__button { border-color: #fff !important; background: #fff !important; color: var(--ab-brand) !important; }
body .ab-newsletter__form .newsletter-strip__button:hover { border-color: var(--ab-brand-soft) !important; background: var(--ab-brand-soft) !important; }
body .ab-newsletter :is(input, button):focus-visible { outline-color: #fff !important; box-shadow: 0 0 0 4px var(--ab-brand) !important; }
.ab-newsletter__content > [data-newsletter-status] { grid-column: 2; margin: 0; }
.newsletter-strip__status { margin-top: 12px; font-size: 14px; line-height: 1.6; text-align: left !important; }
.newsletter-strip__status--success { color: var(--ab-success); }
.newsletter-strip__status--error { color: var(--ab-error); }
.ab-newsletter .newsletter-strip__status--success { color: #d7f5de; }
.ab-newsletter .newsletter-strip__status--error { color: #ffe1db; }
.ab-footer { border-top: 1px solid var(--ab-border); background: #fff; color: var(--ab-ink); }
.ab-footer__grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); padding-block: 64px 48px; }
.ab-footer__grid > * { min-width: 0; }
.ab-footer__brand img { width: 204px; height: 54px; object-fit: contain; }
.ab-footer__brand p { max-width: 34ch; margin-top: 20px; color: var(--ab-muted); font-size: 14px; line-height: 1.8; }
.ab-footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.ab-footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ab-border); border-radius: var(--ab-radius-control); background: rgb(255 255 255 / 65%); color: var(--ab-brand); transition: background var(--ab-motion), border-color var(--ab-motion); }
.ab-footer__social a:hover { background: #fff; border-color: var(--ab-brand); }
.ab-footer__social ion-icon { width: 19px; height: 19px; }
.ab-footer h2 { margin-block: 8px 20px; color: var(--ab-brand); font-size: 14px; line-height: 1.6; font-weight: 600; }
.ab-footer nav a, .ab-footer address a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; color: var(--ab-muted); font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; transition: color var(--ab-motion); }
.ab-footer a:hover { color: var(--ab-brand); }
.ab-footer address { font-style: normal; }
.ab-footer address p { color: var(--ab-muted); font-size: 13px; line-height: 1.9; margin-bottom: 12px; }
.ab-footer address div { display: grid; justify-items: start; }
.ab-footer address .ab-footer__email { color: var(--ab-brand); }
.ab-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; padding-right: 88px; border-top: 1px solid var(--ab-border); }
.ab-footer__bottom p { color: var(--ab-muted); font-size: 12px; line-height: 1.8; }
.ab-footer__top-icon { width: 14px; height: 14px; rotate: -90deg; }
.ab-footer__bottom a { flex: none; display: inline-flex; align-items: center; gap: 16px; min-height: 44px; color: var(--ab-brand); font-size: 13px; }
.quick-actions { position: fixed; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 3px; padding: 5px; border: 1px solid #e8e1ee; background: rgb(255 255 255 / 96%); border-radius: 999px; box-shadow: 0 6px 30px #2c153b14; max-width: calc(100% - 32px); }
.quick-actions__link { min-width: 44px; min-height: 44px; padding: 10px 15px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: var(--ab-brand); background: transparent; border-radius: 999px; font-size: 12px; line-height: 1.5; font-weight: 500; white-space: nowrap; transition: background .18s, color .18s; }
.quick-actions__link--quote { background: var(--ab-brand); color: #fff; }
.quick-actions__link--quote:hover { background: var(--ab-brand-hover); color: #fff; }
.quick-actions__link--phone:hover { background: #f4eff9; }
.quick-actions__arrow { width: 12px; height: 12px; }
.quick-actions__link span { min-width: 0; max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.quick-actions__link :is(svg, ion-icon) { flex-shrink: 0; }
.quick-actions__link--whatsapp { background: #eaf4ee; color: #17643a; }
.quick-actions__link:focus-visible { outline: 2px solid #ff8a16; outline-offset: 3px; }
:root[data-form-editing] .quick-actions { visibility: hidden; pointer-events: none; }
@media(max-width:700px) { .quick-actions { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); padding: 4px; } .quick-actions__link { font-size: 11px; padding-inline: 13px; gap: 8px; } }
.quick-actions__link ion-icon { width: 18px; height: 18px; }
@media (min-width: 1280px) { .ab-menu-open { display: none; } }
@media (min-width: 1280px) and (max-width: 1399px) {
  body .ab-site-chrome .ab-site-header { gap: 12px; padding-left: 20px; }
  .ab-site-header__logo img { width: 160px; }
  body .ab-site-header__nav-link { padding-inline: 6px; }
}
@media (max-width: 1279px) {
  body .ab-site-chrome .ab-site-header { min-height: 72px; padding: 10px 12px 10px 20px; }
  .ab-site-header__nav { display: none; }
  .ab-header-actions--header { margin-left: auto; }
  .ab-footer__grid { grid-template-columns: 1.2fr 1fr; gap: 40px 64px; }
}
@media (max-width: 1200px) {
  .ab-newsletter__image { display: none; }
  .ab-newsletter__layout { min-height: 0; padding-block: 40px; }
}
@media (max-width: 1100px) {
  .ab-newsletter__form { flex-direction: column; align-items: stretch; }
}
@media (max-width: 767px) {
  body .ab-site-chrome .ab-site-header { top: 12px; width: calc(100% - 24px); min-height: 68px; padding: 8px 10px 8px 16px; gap: 8px; }
  .ab-site-header__logo img { width: 128px; height: 42px; }
  .ab-header-actions--header .ab-header-action--web { display: none; }
  .ab-header-actions--header .ab-header-action { padding-inline: 12px; gap: 8px; }
  .ab-header-actions--header .ab-header-action span { max-width: 78px; }
  .ab-menu-open { margin-left: auto; flex: none; width: 44px; height: 44px; }
  .ab-header-actions--header + .ab-menu-open { margin-left: 0; }
  .ab-mobile-menu { padding-inline: 20px; }
  .ab-newsletter__layout { padding-block: 32px; }
  .ab-newsletter__content { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ab-newsletter__form { flex-direction: column; align-items: stretch; grid-column: 1; grid-row: auto; gap: 12px; }
  .ab-newsletter__content > [data-newsletter-status] { grid-column: 1; }
  .ab-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; padding-block: 40px 32px; }
  .ab-footer__brand, .ab-footer__contact { grid-column: 1 / -1; }
  .ab-footer__brand p { max-width: 44ch; }
  .ab-footer h2 { margin-top: 0; margin-bottom: 12px; }
  .ab-footer__bottom { padding-right: 0; align-items: start; padding-bottom: 84px; gap: 16px; }
  .ab-footer__bottom p { max-width: 34ch; }
}
@media (max-width: 359px) { .ab-footer__grid { grid-template-columns: 1fr; } .ab-site-header__logo img { width: 108px; } .ab-header-actions--header .ab-header-action span { max-width: 64px; } }
@media (prefers-reduced-motion: reduce) { .ab-mobile-menu { animation: none; } .ab-nav-panel, .ab-nav-chevron { transition: none; } }
