@font-face {
  font-family: Heebo;
  src: url('/assets/heebo.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F;
}
@font-face {
  font-family: Heebo;
  src: url('/assets/heebo-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  --night: #101b2a;
  --ink: #18232e;
  --muted: #475869;
  --paper: #f4f7fb;
  --line: #d6dfe7;
  --blue: #145be8;
  --ice: #6c99ff;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 78px);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Heebo, Arial, sans-serif; background: var(--paper); color: var(--ink); line-height: 1.55; }
::selection { color: #0c2035; background: #a7d8ff; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #3e94ee; outline-offset: 4px; }
img { display: block; max-inline-size: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.16; letter-spacing: -.028em; text-wrap: balance; }
bdi, .number { font-variant-numeric: tabular-nums; }
.shell { max-inline-size: var(--wrap); margin-inline: auto; width: calc(100% - var(--gutter) * 2); }
.icon { width: 19px; height: 19px; flex: none; }
.skip { position: fixed; inset: 10px 10px auto auto; padding: 10px 18px; background: #fff; color: var(--ink); z-index: 15; transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { position: sticky; inset-block-start: 0; z-index: 5; color: #fff; background: rgba(13, 23, 35, .94); backdrop-filter: blur(16px); }
.head-row { display: flex; align-items: center; gap: 24px; justify-content: space-between; min-block-size: 76px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 6px; object-fit: cover; }
.brand strong { display: block; font-size: 1.3125rem; line-height: 1.25; }
.brand small { display: block; font-size: 0.75rem; color: #c6d4e2; }
nav { display: flex; align-items: center; gap: clamp(8px, 1.65vw, 25px); }
nav > a, nav summary { padding-block: 14px; text-decoration: none; white-space: nowrap; font-size: 0.875rem; font-weight: 600; }
nav [aria-current="page"] { color: var(--ice); }
nav > a[aria-current="page"] { text-decoration: underline; text-underline-offset: 7px; }
nav summary { cursor: pointer; display: flex; align-items: center; gap: 4px; list-style: none; }
nav summary::-webkit-details-marker { display: none; }
nav summary .icon { width: 15px; height: 15px; color: var(--ice); }
nav details[open] summary .icon { transform: rotate(180deg); }
.dropdown { position: absolute; inset-block-start: 100%; width: min(460px, 78vw); display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 8px; max-height: min(65dvh, 470px); overflow: auto; background: #1b2b3d; border: 1px solid #41546b; padding: 12px; border-radius: 0 0 12px 12px; box-shadow: 0 18px 36px #050c1460; }
.dropdown.wide { inset-inline-end: 0; width: min(720px, 86vw); grid-template-columns: repeat(3, 1fr); }
.dropdown a { padding: 9px 10px; border-radius: 5px; text-decoration: none; font-size: 0.875rem; }
.dropdown a:hover { background: #2c4561; }
.head-call, .button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; border-radius: 7px; text-decoration: none; min-block-size: 46px; padding: 10px 18px; font-weight: 700; background: var(--blue); color: #fff; }
.head-call { flex: none; background: #f4f7fb; color: #182b42; }
.head-call:hover { background: #e3ecfa; text-decoration: none; }
.button:hover { background: #0f3e8b; text-decoration: none; }
.location { border-top: 1px solid #d4e8ff26; }
.location a { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8125rem; min-height: 31px; color: #d4e1ee; text-decoration: none; }
.location .icon { width: 14px; height: 14px; color: var(--ice); }
.menu-toggle { display: none; }
.offer-band { color: #f4f9ff; background: linear-gradient(90deg, #101b2bc9, #111b27e8), url('/assets/offer.jpg') center / 480px auto; border-bottom: 1px solid #7ba2c850; }
.offers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding-block: 15px; }
.offers > :is(a, .offer-notice) { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 73px; padding: 10px 16px; background: #c5dcf413; border: 1px solid #e7f4ff2e; border-radius: 10px; text-decoration: none; backdrop-filter: blur(9px); }
.offers a:hover { background: #c5dcf425; }
.offers span { font-size: 0.875rem; }
.offers strong { font-size: clamp(1.1875rem, 2vw, 1.5rem); line-height: 1.23; color: var(--ice); font-weight: 800; }
.offers small { color: #c7d6e6; }
.hero { isolation: isolate; position: relative; overflow: hidden; color: #fff; background: var(--night); }
.hero-photo { position: absolute; z-index: -2; width: 76%; height: 100%; inset: 0 auto 0 0; object-fit: cover; object-position: 85% 49%; }
.hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(270deg, #0c1725 18%, #101d2bec 33%, #111b2660 68%, #101b2825), linear-gradient(0deg,#10192289,transparent 42%); }
.hero-inner { min-height: clamp(355px, 34vw, 530px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 40px; }
.hero h1 { font-size: clamp(2.7rem, 6vw, 5rem); line-height: 1.02; font-weight: 900; }
.hero h1 span { color: var(--ice); }
.hero-line { margin-top: 26px; height: 4px; width: 72px; background: var(--blue); }
.intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(14px, 2vw, 24px); justify-items: start; padding-block: clamp(42px, 6vw, 88px) clamp(32px, 4vw, 54px); }
.intro h2, .warranty h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 850; }
.intro h2 span { display: block; color: var(--blue); }
.intro p { max-width: 62ch; color: var(--muted); font-size: clamp(1.0625rem, 2vw, 1.3125rem); line-height: 1.85; }
.services { padding-block-end: clamp(42px, 6vw, 80px); }
.services ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block-start: 1px solid var(--line); }
.services li { border-block-end: 1px solid var(--line); }
.services li:not(:nth-child(3n)) { border-inline-end: 1px solid var(--line); }
.services li a { display: grid; align-content: center; gap: 8px; min-block-size: 132px; padding: 18px clamp(13px, 2vw, 26px); text-decoration: none; transition: background .18s ease; }
.services li a:hover { background: #e6effa; }
.number { font-size: 0.875rem; font-weight: 700; color: #315a85; }
.services h3 { font-size: clamp(1.125rem, 2vw, 1.5625rem); }
.more { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue); font-size: 0.875rem; }
.more .icon { width: 16px; height: 16px; }
.warranty { margin-block-end: clamp(42px, 6vw, 80px); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(24px, 5vw, 56px); border-radius: 14px; background: #e1edf9; }
.warranty p { margin-block-start: 8px; font-size: 1.125rem; color: #314961; }
.outline { background: transparent; border: 1px solid #426b96; color: #173d69; flex-shrink: 0; }
.outline:hover { background: #cddff3; }
.site-footer { background: #111d2b; color: #e7eff8; padding-block: 42px 24px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .7fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 55px); }
.site-footer h2 { font-size: 1.375rem; margin-bottom: 16px; color: #fff; }
.site-footer p { margin-bottom: 12px; }
.foot-services { padding: 0; margin: 0; list-style: none; columns: 2; }
.foot-services li { break-inside: avoid; margin-block-end: 5px; }
.foot-services a { text-decoration: none; }
.foot-services a:hover { text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 15px 25px; border-block-start: 1px solid #3e5064; margin-block-start: 28px; padding-block-start: 21px; color: #c6d6e7; font-size: 0.875rem; }
.foot-bottom > a { text-decoration: none; }
.policies { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.page-heading { padding-block: clamp(40px, 7vw, 95px); color: #fff; background: linear-gradient(100deg, #182c43, #101a28); }
.page-heading h1 { font-size: clamp(2.25rem, 6vw, 4.65rem); font-weight: 850; }
.article { padding-block: clamp(32px, 6vw, 80px); }
.article > * { max-inline-size: 72ch; }
.article .copy-block { font-size: 1.0625rem; line-height: 1.85; overflow-wrap: anywhere; }
.copy-block + .copy-block { margin-top: 20px; }
.copy-block p, .copy-block ul, .copy-block ol { margin: 0 0 14px; }
.copy-block h2, .copy-block h3, .copy-block h4 { margin-block: 1.3em .5em; }
.copy-block a { color: var(--blue); }
.article figure { margin: 26px 0; }
.article figure img { max-height: 440px; object-fit: contain; border-radius: 10px; }
.article video, .article iframe { width: min(100%, 680px); aspect-ratio: 16 / 9; }
.article .button { margin-top: 16px; }
.price-gallery { max-inline-size: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0 0 28px; }
.price-gallery li { display: grid; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.price-gallery a {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 4px;
  padding: 12px 8px;
  text-align: center;
  color: inherit;
  border-radius: inherit;
  text-decoration: none;
}
.price-gallery a:hover .price-brand { text-decoration: underline; }
.price-gallery img { width: min(100%, 95px); aspect-ratio: 1; object-fit: contain; }
.price-brand { color: var(--blue); font-size: 1.125rem; font-weight: 800; }
.maintenance-page { padding-block: clamp(28px, 5vw, 60px); }
.maintenance-back { display: inline-block; margin-block-end: 20px; }
.maintenance-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}
.maintenance-copy h2 { margin-block: 0 8px; font-size: clamp(1.375rem, 3vw, 1.875rem); }
.maintenance-copy p { margin-block: 8px 16px; }
.maintenance-copy .maintenance-price { margin-block: 0 3px; font-size: 1.375rem; }
.maintenance-copy .maintenance-tax { margin-block-start: 0; }
.maintenance-copy section + section { border-block-start: 1px solid var(--line); margin-block-start: 24px; padding-block-start: 24px; }
.maintenance-conditions { font-size: 0.9375rem; }
.maintenance-actions { margin-block-start: 24px; }
.maintenance-visual { margin: 0; min-inline-size: 0; }
.maintenance-visual img { display: block; width: 100%; height: auto; border-radius: 12px; }
.maintenance-visual p { margin-block: 0 8px; font-weight: 700; }
.high-contrast .price-brand { color: inherit; }
@media (max-width: 700px) {
  .maintenance-layout { grid-template-columns: minmax(0, 1fr); }
}
.contact { padding-block: clamp(36px, 6vw, 80px); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.contact-grid section, .contact-message { background: #e6eff8; padding: 22px; border-radius: 12px; }
.contact h2 { margin-bottom: 12px; }
.contact-grid a { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); }

@media (max-width: 1170px) {
  .head-row { min-block-size: 65px; gap: 12px; }
  .head-row > .head-actions { order: 1; }
  .head-row > .brand { order: 2; flex-direction: row-reverse; }
  .menu-toggle { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid #55718c; border-radius: 7px; color: #e6f2ff; background: transparent; cursor: pointer; }
  #nav { display: none; position: absolute; inset: 100% 0 auto; background: #17283a; border: 1px solid #41546b; border-radius: 0 0 12px 12px; padding: 8px 12px; max-height: 76dvh; overflow: auto; box-shadow: 0 16px 30px #050c1460; }
  #nav.is-open { display: grid; gap: 1px; }
  #nav > a, #nav summary { padding: 11px; }
  .dropdown, .dropdown.wide { position: static; width: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); box-shadow: none; max-height: none; border: 0; }
}
@media (max-width: 660px) {
  .brand img { width: 44px; height: 39px; }
  .brand strong { font-size: 1.125rem; }
  .brand small { display: none; }
  .head-call { padding-inline: 8px; gap: 6px; font-size: 0.8125rem; }
  .head-call .icon { width: 15px; height: 15px; }
  .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; padding-block: 10px; }
  .offers > :is(a, .offer-notice) { padding: 9px 11px; min-height: 76px; }
  .offers span { font-size: 0.75rem; }
  .hero-photo { width: 100%; object-position: 72% 52%; }
  .hero::after { background: linear-gradient(270deg, #0c1725db, #0c172569), linear-gradient(0deg,#101922a5,transparent 58%); }
  .hero-inner { min-height: 335px; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 4rem); }
  .hero h1 span { font-size: min(1em, 8vw); }
  .foot-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .services ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services li:not(:nth-child(3n)) { border-inline-end: 0; }
  .services li:nth-child(odd) { border-inline-end: 1px solid var(--line); }
  .services li a { min-block-size: 111px; }
  .warranty { align-items: flex-start; flex-direction: column; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.enable-motion) *, html:not(.enable-motion) *::before, html:not(.enable-motion) *::after { scroll-behavior: auto !important; transition: none !important; }
}



/* Directions and footer map */
.head-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.directions { position: relative; }
.directions summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-block-size: 46px;
  padding: 8px 12px;
  border: 1px solid #7896b5;
  border-radius: 7px;
  background: #1b2b3d;
  color: #f4f9ff;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.directions summary::-webkit-details-marker, .accessibility-tools summary::-webkit-details-marker { display: none; }
.directions summary:hover, .directions[open] summary { background: #2c4561; }
.directions-panel {
  position: absolute;
  inset-block-start: calc(100% + 8px);
  inset-inline-end: 0;
  width: min(290px, calc(100vw - 2 * var(--gutter)));
  padding: 14px;
  border: 1px solid #7896b5;
  border-radius: 12px;
  background: #17283a;
  color: #f4f9ff;
  box-shadow: 0 12px 30px #050c1460;
}
.directions-panel p { margin-block-end: 8px; font-size: .875rem; }
.route-links { display: flex; flex-wrap: wrap; gap: 6px; }
.route-links a {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  padding: 5px 10px;
  border: 1px solid #7896b5;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 700;
  direction: ltr;
}
.route-links a:hover { background: #2c4561; }
.footer-map { margin: 0 0 16px; min-inline-size: 0; }
.footer-map iframe {
  display: block;
  width: 100%;
  min-height: 200px;
  aspect-ratio: 4 / 3;
  border: 1px solid #7896b5;
  border-radius: 10px;
  background: #e6eff8;
}
.footer-map figcaption { display: grid; gap: 8px; padding-block-start: 10px; }

/* Accessibility controls */
html { scroll-padding-block: 125px 90px; }
main:focus { outline-offset: -4px; }
:focus-visible { outline-color: #1767c4; }
.site-header :focus-visible, .site-footer :focus-visible, .accessibility-tools > summary:focus-visible { outline-color: var(--ice); }
.accessibility-tools {
  position: fixed;
  z-index: 10;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  left: calc(12px + env(safe-area-inset-left, 0px));
  max-width: calc(100vw - 24px);
}
.accessibility-tools > summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ice);
  border-radius: 50%;
  background: #124caa;
  color: #fff;
  box-shadow: 0 4px 16px #111a2440;
  cursor: pointer;
  list-style: none;
}
.accessibility-tools > summary .icon { width: 24px; height: 24px; }
.accessibility-tools > summary:hover, .accessibility-tools[open] > summary { background: #0f3e8b; }
.accessibility-panel {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  width: min(320px, calc(100vw - 26px - env(safe-area-inset-left, 0px)));
  max-height: calc(100dvh - 82px - env(safe-area-inset-bottom, 0px));
  overflow: auto;
  padding: 12px 16px;
  border: 1px solid #58708b;
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 12px 30px #111a2440;
  overflow-wrap: anywhere;
}
.accessibility-panel-heading, .accessibility-panel-footer, .accessibility-options label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.accessibility-panel-heading { padding-block-end: 6px; }
.accessibility-panel-heading strong { font-size: 1.125rem; }
.accessibility-options label {
  min-height: 48px;
  padding: 6px 2px;
  border-block-start: 1px solid var(--line);
  font-weight: 600;
  cursor: pointer;
}
.accessibility-options .text-size-label { flex-wrap: wrap; }
.accessibility-options input {
  inline-size: 1.2em;
  block-size: 1.2em;
  margin: 0 4px;
  flex: none;
  accent-color: #124caa;
}
.high-contrast .accessibility-options input { accent-color: var(--blue); }
.accessibility-panel button, .accessibility-panel select {
  min-height: 44px;
  padding: 5px 10px;
  border: 1px solid #58708b;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.accessibility-panel button:hover, .accessibility-panel select:hover { border-color: currentColor; }
.accessibility-panel .accessibility-close { flex: none; min-width: 44px; border-radius: 50%; font-size: 1.25rem; }
.accessibility-panel-footer {
  flex-wrap: wrap;
  border-block-start: 1px solid var(--line);
  padding-block-start: 10px;
}
.accessibility-panel-footer a { display: inline-flex; align-items: center; min-height: 44px; }

.site-footer { padding-block-end: 84px; }
html[data-text-size="125"] { font-size: 125%; }
html[data-text-size="150"] { font-size: 150%; }
html[data-text-size="200"] { font-size: 200%; }
html:is([data-text-size="150"], [data-text-size="200"]) .site-header { position: relative; }
html:is([data-text-size="125"], [data-text-size="150"], [data-text-size="200"]) .head-row { flex-wrap: wrap; }
html:is([data-text-size="125"], [data-text-size="150"], [data-text-size="200"]) nav { flex-wrap: wrap; }
html[data-text-size="200"] .services ol { grid-template-columns: minmax(0, 1fr); }
.highlight-links a { text-decoration: underline; text-decoration-thickness: .12em; }
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
.high-contrast {
  --paper: #000;
  --ink: #fff;
  --muted: #fff;
  --line: #fff;
  --blue: #ffea80;
  --ice: #ffea80;
}
.high-contrast :is(.site-header, .site-footer, .page-heading, .hero, .offer-band, .offers > :is(a, .offer-notice), .warranty, .contact-grid section, .contact-message, .price-gallery li, .directions-panel, .directions summary, .dropdown, nav.is-open, .accessibility-tools > summary, .services li a:hover) {
  color: #fff;
  background: #000;
  border-color: #fff;
}
.high-contrast .hero-photo, .high-contrast .hero::after { visibility: hidden; }
.high-contrast :is(a, .hero h1 span, .brand small, .location a, .offers small, .offers strong, .number, .warranty p, .foot-bottom, .menu-toggle) { color: #ffea80; }
.high-contrast :is(.head-call, .button) { background: #ffea80; color: #000; border-color: #ffea80; }
.high-contrast :focus-visible { outline-color: #3ecfff; }
@media (min-width: 661px) and (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :last-child { grid-column: 1 / -1; max-width: 520px; }
}
@media (max-width: 660px) {
  .head-actions { gap: 6px; }
  .directions summary { padding-inline: 8px; }
  .directions-panel { inset-inline-end: auto; inset-inline-start: 0; width: min(238px, calc(100vw - 2 * var(--gutter))); }
  .footer-map iframe { aspect-ratio: 16 / 10; max-height: 310px; }
}
@media (max-width: 460px) {
  html[data-text-size="200"] .foot-services { columns: 1; }
  html[data-text-size="200"] .head-actions > * { flex-basis: auto; }
  .head-row { flex-wrap: wrap; padding-block: 8px; gap: 7px; }
  .head-row > .head-actions { order: 3; flex: 1 0 100%; }
  .head-actions > * { flex: 1 1 0; min-width: 0; }
  .head-call { white-space: nowrap; }
  .directions-panel { width: min(290px, calc(100vw - 2 * var(--gutter))); }
  .brand { max-width: calc(100% - 52px); }
  html { scroll-padding-block-start: 160px; }
}
@media (max-width: 350px) {
  .head-call .icon { display: none; }
}


/* WhatsApp contact */
.whatsapp-link {
  position: fixed;
  z-index: 9;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  right: calc(12px + env(safe-area-inset-right, 0px));
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #b5eed0;
  border-radius: 50%;
  background: #147447;
  box-shadow: 0 4px 16px #111a2440;
}
.whatsapp-link:hover { background: #0c5835; }
.high-contrast .whatsapp-link { border-color: #ffea80; background: #000; }



/* Electric blue palette */
html:not(.high-contrast) .site-header { background: rgb(16 27 42 / 96%); }
html:not(.high-contrast) :is(.site-footer, .offer-band, .hero) { background: var(--night); }
html:not(.high-contrast) .page-heading { background: linear-gradient(100deg, #1c3150, var(--night)); }
html:not(.high-contrast) .hero::after {
  background: linear-gradient(270deg, var(--night) 22%, rgb(16 27 42 / 97%) 40%, rgb(16 27 42 / 12%) 76%);
}
html:not(.high-contrast) :is(.warranty, .contact-grid section, .contact-message, .services li a:hover) { background: #e3ecfa; }
html:not(.high-contrast) .directions summary { color: #fff; background: var(--blue); border-color: transparent; }
html:not(.high-contrast) :is(.directions summary:hover, .directions[open] summary, .button:hover) { background: #1048b8; }
html:not(.high-contrast) .outline:hover { color: #fff; border-color: #1048b8; }

/* Main navigation */
#nav {
  gap: 3px;
  padding: 4px;
  border: 1px solid #526f99;
  border-radius: 13px;
  background: rgb(226 238 255 / 5%);
}
#nav > a, #nav summary {
  min-height: 44px;
  padding: 8px clamp(8px, 1vw, 14px);
  border-radius: 8px;
  transition: background-color 150ms ease, transform 150ms ease;
}
#nav > a { display: flex; align-items: center; }
#nav > a[aria-current="page"], #nav .dropdown a[aria-current="page"] {
  color: #fff;
  background: var(--blue);
  text-decoration: none;
}
#nav :is(a:hover, summary:hover), #nav details[open] > summary { background: #263f65; color: #fff; }
#nav :is(a,summary):active, .menu-toggle:active, .directions > summary:active, .head-call:active { transform: scale(.96); }
#nav summary .icon { transition: transform 180ms ease; }
#nav .dropdown {
  border-color: #526f99;
  border-radius: 12px;
  background: #182b45;
}
#nav details[open] > .dropdown, .directions[open] > .directions-panel { animation: navigation-open 180ms ease-out both; }
.directions > summary, .head-call, .menu-toggle { transition: background-color 150ms ease, transform 150ms ease; }
.menu-toggle .icon path { transform-box: fill-box; transform-origin: center; transition: transform 180ms ease, opacity 120ms ease; }
.menu-toggle[aria-expanded="true"] .icon path:first-child { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .icon path:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .icon path:last-child { transform: translateY(-6px) rotate(-45deg); }
@keyframes navigation-open {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1170px) {
  #nav { inset-block-start: calc(100% + 6px); padding: 8px; background: #15263d; }
  #nav.is-open { animation: navigation-open 180ms ease-out both; }
  #nav .dropdown { margin-block: 3px 6px; }
  .menu-toggle { border-radius: 10px; border-color: #7898c4; background: #1b3151; }
  .menu-toggle[aria-expanded="true"] { background: var(--blue); color: #fff; }
}
@media (max-width: 660px) {
  html:not(.high-contrast) .hero::after {
    background: linear-gradient(270deg, rgb(16 27 42 / 96%), rgb(16 27 42 / 55%)), linear-gradient(0deg, var(--night), transparent 86%);
  }
}
.high-contrast #nav, .high-contrast #nav .dropdown, .high-contrast .menu-toggle { border-color: #fff; background: #000; }
.high-contrast #nav :is(a[aria-current="page"], a:hover, summary:hover), .high-contrast #nav details[open] > summary {
  color: #000; background: var(--ice);
}
@media (prefers-reduced-motion: reduce) {
  html:not(.enable-motion) :is(#nav, #nav .dropdown, .directions-panel) { animation: none !important; }
  html:not(.enable-motion) :is(#nav a, #nav summary, .menu-toggle, .directions > summary, .head-call):active { transform: none; }
}
.reduce-motion :is(#nav, .dropdown, .directions-panel) { animation: none !important; }
.reduce-motion :is(#nav a, #nav summary, .menu-toggle, .directions > summary, .head-call):active { transform: none; }


/* Sliding highlight for the current or expanded navigation item */
#nav {
  isolation: isolate;
  border-color: #617da8;
  background: linear-gradient(180deg, rgb(176 202 242 / 11%), rgb(84 116 164 / 6%));
  box-shadow: inset 0 1px 0 rgb(220 233 255 / 12%), 0 5px 18px #040b1838;
}
@media (min-width: 1171px) {
  #nav { position: relative; }
  #nav .dropdown { inset-block-start: calc(100% + 8px); }
}
#nav > a, #nav > details > summary { position: relative; }
#nav .dropdown { z-index: 2; }
.nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--indicator-width, 0px);
  height: var(--indicator-height, 0px);
  transform: translate(var(--indicator-x, 0px), var(--indicator-y, 0px));
  border: 1px solid #709aff;
  border-radius: 8px;
  background: var(--blue);
  box-shadow: 0 3px 10px #041d663b;
  pointer-events: none;
  visibility: hidden;
}
#nav.has-indicator .nav-indicator {
  visibility: visible;
  transition: transform 220ms cubic-bezier(.22,.7,.27,1), width 220ms ease-out, height 220ms ease-out;
}
#nav.has-indicator > a[aria-current="page"],
#nav.has-indicator > details[open] > summary { background: transparent; }
#nav.has-indicator > details[open] > summary .icon { color: #fff; }
#nav.has-indicator > a:hover,
#nav.has-indicator > details > summary:hover { background: rgb(231 240 255 / 11%); }
.high-contrast #nav { background: #000; border-color: #fff; }
.high-contrast #nav.has-indicator .nav-indicator { background: #000; border: 2px solid var(--ice); }
.high-contrast #nav.has-indicator > a[aria-current="page"],
.high-contrast #nav.has-indicator > details[open] > summary { color: var(--ice); }
@media (max-width: 1170px) {
  #nav { background: #15263d; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.enable-motion) #nav.has-indicator .nav-indicator { transition: none; }
}
.reduce-motion #nav.has-indicator .nav-indicator { transition: none; }


/* Page entrance and one-time reveals */
@keyframes page-enter-down {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes page-enter-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes page-enter-line {
  from { opacity: 0; transform: scaleX(.2); }
  to { opacity: 1; transform: scaleX(1); }
}

.site-header :is(.brand, .menu-toggle, .head-actions), .offers > :is(a, .offer-notice) {
  animation: page-enter-down 1240ms cubic-bezier(.2,.75,.28,1) backwards;
}
.site-header .head-actions { animation-delay: 65ms; }
.offers > :is(a, .offer-notice) { animation-delay: 95ms; }
.offers > :is(a, .offer-notice):nth-child(2) { animation-delay: 130ms; }
.offers > :is(a, .offer-notice):nth-child(3) { animation-delay: 165ms; }
.offers > :is(a, .offer-notice):nth-child(4) { animation-delay: 200ms; }
.offers > .offer-notice:nth-child(5) { animation-delay: 235ms; }
@media (min-width: 1171px) {
  #nav { animation: page-enter-down 1240ms cubic-bezier(.2,.75,.28,1) 35ms backwards; }
}
:is(.hero, .page-heading) h1 {
  animation: page-enter-up 1100ms cubic-bezier(.18,.75,.26,1) 45ms backwards;
}
.hero-line {
  transform-origin: right center;
  animation: page-enter-line 970ms cubic-bezier(.18,.75,.26,1) 210ms backwards;
}
.site-header:focus-within :is(.brand, .menu-toggle, .head-actions),
.offers > a:focus-visible { animation: none; }
@media (min-width: 1171px) {
  .site-header:focus-within #nav { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.enable-motion) :is(.site-header .brand, .site-header .menu-toggle, .site-header .head-actions, #nav, .offers > :is(a, .offer-notice), .hero h1, .page-heading h1, .hero-line) { animation: none; }
}


.contact-message {
  max-inline-size: 720px;
  margin-block: 0 20px;
  margin-inline: auto;
  padding: clamp(20px, 4vw, 36px);
}
.contact-form:not([hidden]), .contact-fields { display: grid; gap: 16px; }
.contact-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-form label { display: grid; min-width: 0; gap: 6px; font-weight: 700; }
.contact-form :is(input, textarea) {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #667b98;
  border-radius: 8px;
  font: inherit;
  font-weight: 400;
}
.contact-form textarea { resize: vertical; }
.contact-form-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.contact-form-actions p { color: var(--muted); margin: 0; }
.contact-form button { font: inherit; font-weight: 700; border: 0; cursor: pointer; }
.high-contrast .contact-form :is(input, textarea) { border-color: #fff; }
.high-contrast .contact-form button img { filter: brightness(0); }
@media (max-width: 660px) {
  .contact-fields { grid-template-columns: minmax(0, 1fr); }
  .contact-form-actions .button { width: 100%; }
}


.high-contrast .skip { background: var(--paper); color: var(--ice); }
.contact-message [hidden] { display: none; }

@media (max-width: 1170px) {
  #nav.is-open { max-height: min(76dvh, max(44px, calc(100dvh - var(--nav-top, 155px) - 8px))); }
  html:not(.nav-ready) .site-header { position: relative; }
  html:not(.nav-ready) .head-row { flex-wrap: wrap; }
  html:not(.nav-ready) .menu-toggle { display: none; }
  html:not(.nav-ready) #nav {
    display: grid;
    position: static;
    flex-basis: 100%;
    order: 4;
    max-height: none;
  }
}

