/* Harbor Medical — site stylesheet
   Brand: navy #1F2D63, signal red #E23622, harbor teal #3E6A70.
   Motifs: the logo's red square, the tide wave, and the height ruler. */

:root {
  --navy: #1F2D63;
  --navy-d: #151F47;
  --navy-dd: #0D1532;
  --red: #E23622;
  --red-d: #C42A18;
  --teal: #3E6A70;
  --teal-d: #2C4F54;
  --teal-l: #E3EEEF;
  --ink: #1B2236;
  --mute: #5B6478;
  --line: #E1E5EE;
  --bg: #F5F7FB;
  --sky: #EAF0FA;
  --white: #fff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(21, 31, 71, .06), 0 2px 8px rgba(21, 31, 71, .05);
  --shadow: 0 10px 30px -12px rgba(21, 31, 71, .22);
  --shadow-lg: 0 30px 60px -20px rgba(21, 31, 71, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .3, 1);
  --f-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-logo: "Tinos", Georgia, serif;
  --wrap: 1220px;
  --header-h: 84px;
  /* Tide wave, used by buttons and dividers. Fill colors are baked in per variant. */
  --wave-navy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'%3E%3Cpath d='M0 4 Q10 0 20 4 T40 4 V8 H0Z' fill='%23151F47'/%3E%3C/svg%3E");
  --wave-red: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'%3E%3Cpath d='M0 4 Q10 0 20 4 T40 4 V8 H0Z' fill='%23E23622'/%3E%3C/svg%3E");
  --wave-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'%3E%3Cpath d='M0 4 Q10 0 20 4 T40 4 V8 H0Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 17px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--navy-d); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 10000; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: 60px 0; position: relative; }
.section:not(.section--tint):not(.section--navy):not(.section--teal) + .section:not(.section--tint):not(.section--navy):not(.section--teal),
.section--tint + .section--tint, .section--navy + .section--navy { padding-top: 0; }
.section--tint { background: var(--bg); }
.section--navy { background: var(--navy-d); color: #C9D2EA; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--teal { background: var(--teal-d); color: #D7E6E8; }
.section--teal h2, .section--teal h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 .78rem/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: var(--red);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--red); border-radius: 2px; }
.section--navy .eyebrow, .section--teal .eyebrow, .hero .eyebrow { color: #FF8A78; }
.section--navy .eyebrow::before, .section--teal .eyebrow::before, .hero .eyebrow::before { background: #FF6B55; }
.lead { font-size: 1.16rem; color: var(--mute); max-width: 680px; }
.section--navy .lead, .section--teal .lead { color: #B8C3DE; }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .lead { margin-inline: auto; }
.sec-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.sec-head--split > div { max-width: 820px; }
.sec-head--wide { max-width: none; }

/* ---------- Icons ---------- */
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   LINK + BUTTON HOVER SYSTEM
   Every interactive element gets a branded hover.
   ========================================================= */

/* 1. Primary button: "tide fill" — a navy wave rises through the red. */
.btn {
  --bfill: var(--wave-navy); --bfill-c: var(--navy-d);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 12px;
  font: 700 .98rem/1 var(--f-head); letter-spacing: .01em; white-space: nowrap;
  background: var(--red); color: #fff;
  box-shadow: 0 8px 20px -8px rgba(226, 54, 34, .55);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .3s;
}
.btn::before {
  content: ""; position: absolute; z-index: -1; left: -2px; right: -2px; top: 0; height: calc(100% + 12px);
  background: var(--bfill) repeat-x 0 0 / 40px 10px, linear-gradient(var(--bfill-c), var(--bfill-c)) no-repeat 0 9px / 100% 100%;
  transform: translateY(101%); transition: transform .55s var(--ease);
  animation: tide 1.2s linear infinite paused;
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(-12px); animation-play-state: running; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(21, 31, 71, .55); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ic { transition: transform .4s var(--ease); }
.btn:hover .ic--arrow { transform: translateX(4px); }
.btn:hover .ic--phone { animation: ring .6s ease; }
@keyframes tide { to { background-position: 40px 0, 0 9px; } }

/* Navy variant: red tide rises */
.btn--navy { background: var(--navy); --bfill: var(--wave-red); --bfill-c: var(--red); box-shadow: 0 8px 20px -8px rgba(31, 45, 99, .5); }
/* White variant on dark sections: navy text, red tide, text turns white */
.btn--white { background: #fff; color: var(--navy-d); --bfill: var(--wave-red); --bfill-c: var(--red); box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .4); }
.btn--white:hover { color: #fff; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9rem; border-radius: 10px; }
.btn--block { width: 100%; }

/* 2. Ghost button: the border traces itself, corner to corner. */
.btn-ghost {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 12px;
  font: 700 .98rem/1 var(--f-head); color: var(--navy); background: transparent;
  border: 0; box-shadow: inset 0 0 0 2px var(--line); white-space: nowrap;
  transition: color .3s, background-color .3s, transform .35s var(--ease);
}
.btn-ghost::before, .btn-ghost::after {
  content: ""; position: absolute; width: 0; height: 0; border: 2px solid transparent; border-radius: 12px; pointer-events: none;
}
.btn-ghost::before { top: 0; left: 0; }
.btn-ghost::after { bottom: 0; right: 0; }
.btn-ghost:hover::before, .btn-ghost:focus-visible::before {
  width: 100%; height: 100%; border-top-color: var(--red); border-right-color: var(--red);
  transition: width .22s ease-out, height .22s ease-out .22s;
}
.btn-ghost:hover::after, .btn-ghost:focus-visible::after {
  width: 100%; height: 100%; border-bottom-color: var(--red); border-left-color: var(--red);
  transition: border-color 0s ease-out .44s, width .22s ease-out .44s, height .22s ease-out .66s;
}
.btn-ghost:hover { color: var(--red); transform: translateY(-2px); }
.btn-ghost .ic { transition: transform .4s var(--ease); }
.btn-ghost:hover .ic--arrow { transform: translateX(4px); }
.btn-ghost:hover .ic--phone { animation: ring .6s ease; }
.btn-ghost--light { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .28); }
.btn-ghost--light:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost--light:hover::before, .btn-ghost--light:hover::after { border-color: #FF6B55; }
.btn-ghost--light:hover::before { border-bottom-color: transparent; border-left-color: transparent; }
.btn-ghost--light:hover::after { border-top-color: transparent; border-right-color: transparent; }

/* 3. Arrow link: underline draws in, arrow slides out and a twin follows. */
.link-arrow {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font: 700 .95rem/1.2 var(--f-head); color: var(--red); padding-bottom: 3px;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.link-arrow:hover::after, .link-arrow:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.link-arrow .arw { position: relative; width: 18px; height: 14px; overflow: hidden; display: inline-block; }
.link-arrow .arw svg { position: absolute; inset: 0; width: 18px; height: 14px; transition: transform .45s var(--ease); }
.link-arrow .arw svg + svg { transform: translateX(-120%); }
.link-arrow:hover .arw svg:first-child { transform: translateX(120%); }
.link-arrow:hover .arw svg + svg { transform: translateX(0); }
.section--navy .link-arrow, .section--teal .link-arrow { color: #FF8A78; }

/* 4. Inline body links: a red highlighter sweeps up behind the text. */
.prose a, .text-link, .faq .ans a {
  color: var(--navy); font-weight: 600;
  background: linear-gradient(var(--red), var(--red)) no-repeat 0 100% / 100% 2px;
  transition: background-size .35s var(--ease), color .35s;
  padding: 0 2px; border-radius: 2px;
}
.prose a:hover, .text-link:hover, .faq .ans a:hover { background-size: 100% 100%; color: #fff; }
.section--navy .text-link { color: #fff; }

/* 5. Phone link: the handset rings. */
@keyframes ring { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-16deg); } 40% { transform: rotate(14deg); } 60% { transform: rotate(-10deg); } 80% { transform: rotate(6deg); } }

/* ---------- Utility bar ---------- */
.utility { background: var(--navy-dd); color: #AEB9D8; font-size: .84rem; }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.utility__msg { display: flex; gap: 22px; align-items: center; }
.utility__msg span { display: inline-flex; align-items: center; gap: 8px; }
.utility__msg .ic { color: #FF6B55; width: 1em; height: 1em; }
.utility__links { display: flex; gap: 22px; align-items: center; }
.u-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; transition: color .25s; position: relative; }
.u-link .ic { width: 1em; height: 1em; color: #FF6B55; }
.u-link:hover { color: #FF8A78; }
.u-link:hover .ic--phone { animation: ring .6s ease; }
.u-link--quiet { color: #AEB9D8; font-weight: 500; }
.u-link--quiet::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .35s var(--ease); }
.u-link--quiet:hover::after { transform: scaleX(1); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .35s, border-color .35s;
}
.header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(21, 31, 71, .45); border-color: var(--line); }
.header .wrap { display: flex; align-items: center; gap: 20px; height: var(--header-h); transition: height .35s var(--ease); }
.header.is-scrolled .wrap { height: 70px; }

/* Logo: the red square lifts, like a table rising on its column. */
.logo { display: inline-flex; align-items: center; flex: none; }
.logo svg { height: 56px; width: auto; overflow: visible; }
.logo .logo__sq { transition: transform .5s var(--ease); transform-box: fill-box; transform-origin: center; }
.logo .logo__word { transition: transform .5s var(--ease); }
.logo:hover .logo__sq { transform: translateY(-5px) rotate(90deg); }
.logo:hover .logo__word--b { transform: translateX(3px); }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav__item { position: relative; }
/* Primary nav: "rising level" — a red square climbs and a level line spreads under the label. */
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 11px; border-radius: 10px; font: 600 .92rem/1 var(--f-head); color: var(--ink); white-space: nowrap;
  transition: color .3s, background-color .3s;
}
.nav__link .lbl { display: inline-block; transition: transform .4s var(--ease); }
.nav__link::before {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--red);
  transform: scaleX(0); transition: transform .4s var(--ease); border-radius: 2px;
}
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 6px; height: 6px; margin-left: -3px; background: var(--red); border-radius: 1px;
  opacity: 0; transform: translateY(6px) rotate(45deg); transition: opacity .3s, transform .45s var(--ease);
}
.nav__link:hover, .nav__item:focus-within > .nav__link, .nav__link[aria-current="page"] { color: var(--navy); }
.nav__link:hover .lbl, .nav__item:focus-within > .nav__link .lbl { transform: translateY(-3px); }
.nav__link:hover::before, .nav__item:focus-within > .nav__link::before, .nav__link[aria-current="page"]::before { transform: scaleX(1); }
.nav__link:hover::after { opacity: 1; transform: translateY(-26px) rotate(45deg); }
.nav__link .chev { width: 12px; height: 12px; transition: transform .35s var(--ease); }
.nav__item:hover .chev, .nav__item:focus-within .chev { transform: rotate(180deg); }

/* Dropdowns */
.dd {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 300px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: opacity .25s, transform .35s var(--ease), visibility .25s;
}
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item:hover > .dd, .nav__item:focus-within > .dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd--mega { width: 700px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dd__foot { grid-column: 1 / -1; display: flex; gap: 10px; padding: 10px 6px 4px; border-top: 1px solid var(--line); margin-top: 6px; }
/* Dropdown item: a navy wash slides in behind, red edge marks the row, thumbnail zooms. */
.dd__link {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px;
  padding: 9px 12px; border-radius: 12px; color: var(--ink); isolation: isolate;
}
.dd__link::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sky);
  transform: translateX(-101%); transition: transform .4s var(--ease);
}
.dd__link::after { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--red); transform: scaleY(0); transition: transform .35s var(--ease) .05s; }
.dd__link:hover::before, .dd__link:focus-visible::before { transform: translateX(0); }
.dd__link:hover::after, .dd__link:focus-visible::after { transform: scaleY(1); }
.dd__thumb { width: 52px; height: 40px; border-radius: 8px; overflow: hidden; background: var(--bg); flex: none; }
.dd__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.dd__link:hover .dd__thumb img { transform: scale(1.15); }
.dd__ic { width: 40px; height: 40px; border-radius: 10px; background: var(--sky); color: var(--navy); display: grid; place-items: center; flex: none; transition: background .3s, color .3s; }
.dd__link:hover .dd__ic { background: var(--red); color: #fff; }
.dd__t { display: block; font: 700 .93rem/1.25 var(--f-head); color: var(--navy-d); }
.dd__s { display: block; font-size: .8rem; color: var(--mute); line-height: 1.35; }
.dd__link:hover .dd__t { color: var(--red); }

.header__cta { display: flex; align-items: center; gap: 14px; margin-left: 8px; }
.h-phone { display: inline-flex; align-items: center; gap: 8px; font: 700 .92rem/1 var(--f-head); color: var(--navy); padding: 10px 4px; transition: color .25s; white-space: nowrap; }
.h-phone .ic { color: var(--red); }
.h-phone:hover { color: var(--red); }
.h-phone:hover .ic { animation: ring .6s ease; }

.burger { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 12px; border: 0; background: var(--navy); position: relative; transition: background .3s; }
.burger:hover { background: var(--red); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .25s, top .35s var(--ease); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 29px; right: 20px; }
.burger:hover span:nth-child(3) { right: 13px; }
.nav-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { top: 23px; right: 13px; transform: rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 899; background: var(--navy-d); color: #fff; padding: calc(var(--header-h) + 60px) 20px 40px;
  overflow-y: auto; clip-path: circle(0 at calc(100% - 44px) 60px); transition: clip-path .6s var(--ease-io); visibility: hidden;
}
.nav-open .drawer { clip-path: circle(150% at calc(100% - 44px) 60px); visibility: visible; }
.drawer__list { list-style: none; padding: 0; margin: 0; }
.drawer__list > li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.drawer__link, .drawer__toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 4px; background: none; border: 0; color: #fff;
  font: 700 1.25rem/1.2 var(--f-head); text-align: left; transition: color .25s, padding-left .35s var(--ease);
}
.drawer__link:hover, .drawer__toggle:hover { color: #FF8A78; padding-left: 12px; }
.drawer__toggle .chev { transition: transform .35s; }
.drawer__toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.drawer__sub { list-style: none; padding: 0 0 14px 6px; margin: 0; display: none; }
.drawer__toggle[aria-expanded="true"] + .drawer__sub { display: block; }
.drawer__sub a { display: flex; align-items: center; gap: 10px; padding: 9px 0; color: #C9D2EA; font-weight: 500; transition: color .25s, transform .35s var(--ease); }
.drawer__sub a::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: #FF6B55; transform: scale(0); transition: transform .3s var(--ease); }
.drawer__sub a:hover { color: #fff; transform: translateX(6px); }
.drawer__sub a:hover::before { transform: scale(1); }
.drawer__cta { display: grid; gap: 12px; margin-top: 28px; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .86rem; color: var(--mute); margin-bottom: 22px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { position: relative; color: inherit; transition: color .25s; }
.crumbs a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.crumbs a:hover { color: var(--red); }
.crumbs a:hover::after { transform: scaleX(1); }
.page-hero--dark .crumbs { color: #9FB0D6; }
.page-hero--dark .crumbs a:hover { color: #FF8A78; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #C9D2EA;
  background: radial-gradient(1100px 600px at 85% 20%, #2B3E83 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-d) 55%, var(--navy-dd) 100%);
  padding: clamp(56px, 8vw, 110px) 0 clamp(120px, 14vw, 180px);
}
.hero__grid { position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(90deg, #FF8A78, #FF5A43); -webkit-background-clip: text; background-clip: text; }
.hero .lead { color: #B8C3DE; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: #AEB9D8; }
.hero__proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof .ic { color: #6FD3B8; }
.hero__visual { position: relative; }
.hero__frame { position: relative; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); aspect-ratio: 16 / 11; background: var(--teal); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 14s ease-in-out infinite alternate; }
@keyframes heroZoom { to { transform: scale(1.0) translateX(-1.5%); } }
.hero__dims { position: absolute; inset: 0; pointer-events: none; }
.hero__dims .dim-line { stroke: #fff; stroke-width: 2; fill: none; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.6s var(--ease) .6s forwards; }
.hero__dims .dim-tick { stroke: #fff; stroke-width: 2; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chip-float {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; color: var(--navy-d);
  border-radius: 14px; box-shadow: var(--shadow-lg); font: 700 .88rem/1.2 var(--f-head); animation: bob 6s ease-in-out infinite;
}
.chip-float small { display: block; font: 500 .74rem/1.2 var(--f-body); color: var(--mute); }
.chip-float .ci { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--sky); color: var(--navy); }
.chip-float--a { left: -26px; bottom: 34px; }
.chip-float--b { right: -18px; top: 26px; animation-delay: -3s; }
.chip-float--b .ci { background: #FDE7E3; color: var(--red); }
.chip-float--c { right: 28px; bottom: -22px; animation-delay: -1.5s; background: var(--red); color: #fff; }
.chip-float--c small { color: #FFD9D2; }
.chip-float--c .ci { background: rgba(255,255,255,.18); color: #fff; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 120px; pointer-events: none; }
.hero__wave svg { position: absolute; bottom: 0; width: 200%; height: 100%; }
.hero__wave .w1 { animation: waveX 18s linear infinite; opacity: .35; }
.hero__wave .w2 { animation: waveX 12s linear infinite reverse; opacity: .6; }
.hero__wave .w3 { animation: waveX 26s linear infinite; }
@keyframes waveX { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Stats band overlapping hero */
.stats { position: relative; z-index: 2; margin-top: -84px; }
.stats__card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.stat { padding: 30px 28px; border-right: 1px solid var(--line); position: relative; }
.stat:last-child { border-right: 0; }
.stat__n { font: 800 clamp(1.8rem, 3vw, 2.5rem)/1 var(--f-head); color: var(--navy-d); letter-spacing: -.03em; display: flex; align-items: baseline; gap: 2px; }
.stat__n .u { font-size: .55em; color: var(--red); margin-left: 3px; }
.stat__l { margin-top: 10px; font-size: .9rem; color: var(--mute); line-height: 1.4; }
.stat::before { content: ""; position: absolute; left: 28px; top: 0; width: 28px; height: 4px; background: var(--red); border-radius: 0 0 4px 4px; }

/* ---------- Marquee ---------- */
.marquee { padding: 46px 0 6px; }
.marquee__label { text-align: center; font: 700 .78rem/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 22px; }
.marquee__track { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__row { display: flex; gap: 14px; padding-right: 14px; flex: none; animation: marquee 48s linear infinite; }
.marquee__track:hover .marquee__row { animation-play-state: paused; }
.mq { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; font: 600 .92rem/1 var(--f-head); color: var(--navy); background: #fff; transition: border-color .3s, transform .3s var(--ease); }
.mq .ic { color: var(--teal); }
.mq:hover { border-color: var(--red); transform: translateY(-3px); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Room selector ---------- */
.rooms { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 28px; align-items: stretch; }
.rooms__panels { display: grid; }
.rooms__tabs { display: grid; gap: 10px; align-content: start; }
.room-tab {
  position: relative; display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
  padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  transition: border-color .3s, box-shadow .3s, transform .35s var(--ease), background .3s; overflow: hidden;
}
.room-tab__ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--sky); color: var(--navy); flex: none; transition: background .35s, color .35s, transform .45s var(--ease); }
.room-tab__ic .ic { width: 26px; height: 26px; }
.room-tab strong { display: block; font: 700 1rem/1.25 var(--f-head); color: var(--navy-d); }
.room-tab small { display: block; font-size: .83rem; color: var(--mute); line-height: 1.35; }
.room-tab::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-top: 2px solid var(--red); border-right: 2px solid var(--red); transform: translate(-8px, -50%) rotate(45deg); opacity: 0; transition: transform .35s var(--ease), opacity .3s; }
.room-tab:hover { border-color: #C9D2EA; box-shadow: var(--shadow-sm); }
.room-tab:hover .room-tab__ic { transform: translateY(-3px) rotate(-6deg); }
.room-tab:hover::after, .room-tab[aria-selected="true"]::after { opacity: 1; transform: translate(0, -50%) rotate(45deg); }
.room-tab[aria-selected="true"] { border-color: var(--navy); box-shadow: var(--shadow); background: #fff; }
.room-tab[aria-selected="true"] .room-tab__ic { background: var(--red); color: #fff; }
.room-panel { display: none; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.room-panel.is-active { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); animation: panelIn .55s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.room-panel__img { position: relative; background: var(--bg); min-height: 360px; }
.room-panel__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.room-panel__img img.contain, .alt__img img.contain, .result__img img.contain { object-fit: contain; padding: 24px; }
.room-panel__body { padding: 34px; display: flex; flex-direction: column; }
.room-panel__body h3 { font-size: 1.6rem; margin-bottom: 6px; }
.room-panel__pick { font: 700 .76rem/1 var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.room-panel__why { color: var(--mute); }
.room-panel__specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 24px; }
.room-panel__acts { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font: 600 .8rem/1 var(--f-head); color: var(--navy); }
.pill .ic { width: 14px; height: 14px; color: var(--red); }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 7px 11px; border-radius: 8px; background: var(--red); color: #fff; font: 700 .72rem/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; }
.badge--teal { background: var(--teal); }
.badge--navy { background: var(--navy); }

/* ---------- Filter chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy);
  font: 600 .88rem/1 var(--f-head); transition: color .3s, border-color .3s, transform .3s var(--ease);
}
.chip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); border-radius: inherit; transform: scale(0); transition: transform .4s var(--ease); }
.chip:hover { border-color: var(--navy); transform: translateY(-2px); }
.chip[aria-pressed="true"] { color: #fff; border-color: var(--navy); }
.chip[aria-pressed="true"]::before { transform: scale(1.05); }
.chip .n { font-size: .74rem; padding: 3px 7px; border-radius: 999px; background: var(--bg); color: var(--mute); transition: background .3s, color .3s; }
.chip[aria-pressed="true"] .n { background: rgba(255,255,255,.18); color: #fff; }

/* ---------- Product cards ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
  overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s, opacity .4s;
}
.pcard::before { /* cursor spotlight */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(31, 45, 99, .07), transparent 45%);
}
.pcard::after { /* the logo's red square slides into the corner */
  content: ""; position: absolute; right: 0; top: 0; z-index: 2; width: 18px; height: 18px; background: var(--red);
  border-radius: 0 0 0 6px; transform: translate(100%, -100%); transition: transform .45s var(--ease);
}
.pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: #CDD5E6; }
.pcard:hover::before { opacity: 1; }
.pcard:hover::after { transform: none; }
.pcard.is-hidden { display: none; }
.pcard__media { position: relative; display: block; aspect-ratio: 3 / 2; background: linear-gradient(180deg, #F2F5FA, #E6EBF3); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard__media img.contain { object-fit: contain; padding: 14px; }
.pcard:hover .pcard__media img { transform: scale(1.07); }
.pcard__body { position: relative; z-index: 2; padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.pcard__type { font: 700 .74rem/1 var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.pcard h3 { font-size: 1.32rem; margin-bottom: 8px; }
.pcard h3 a { background: linear-gradient(var(--navy-d), var(--navy-d)) no-repeat 0 100% / 0 2px; transition: background-size .45s var(--ease), color .3s; }
.pcard h3 a:hover { color: var(--red); background-image: linear-gradient(var(--red), var(--red)); background-size: 100% 2px; }
.pcard p { color: var(--mute); font-size: .95rem; margin-bottom: 16px; }
.pcard__specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: auto 0 18px; padding: 14px 0 0; border-top: 1px dashed var(--line); }
.pcard__specs div { font-size: .76rem; color: var(--mute); line-height: 1.3; }
.pcard__specs b { display: block; font: 800 .98rem/1.2 var(--f-head); color: var(--navy-d); }
.pcard__acts { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.quote-mini {
  position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--sky); color: var(--navy);
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.quote-mini:hover { background: var(--red); color: #fff; transform: rotate(-8deg) scale(1.06); }
.quote-mini .tip { position: absolute; bottom: calc(100% + 8px); right: 0; padding: 6px 10px; border-radius: 8px; background: var(--navy-d); color: #fff; font: 600 .74rem/1 var(--f-head); white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .3s var(--ease); pointer-events: none; }
.quote-mini:hover .tip { opacity: 1; transform: none; }

/* ---------- Height range visualizer ---------- */
.hviz { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 30px 20px; box-shadow: var(--shadow-sm); }
.section--navy .hviz { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.1); }
.hviz__plot { position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 10px; }
.hviz__axis { position: relative; height: 340px; }
.hviz__axis span { position: absolute; right: 8px; transform: translateY(50%); font: 600 .74rem/1 var(--f-head); color: var(--mute); }
.hviz__axis span::after { content: ""; position: absolute; right: -8px; top: 50%; width: 6px; height: 1px; background: currentColor; }
.hviz__cols { position: relative; height: 340px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; border-left: 1px solid var(--line); border-bottom: 2px solid var(--navy-d); }
.hviz__grid { position: absolute; inset: 0; pointer-events: none; }
.hviz__grid i { position: absolute; left: 0; right: 0; height: 1px; background: var(--line); }
.hviz__zone { position: absolute; left: 0; right: 0; bottom: 0; background: repeating-linear-gradient(-45deg, rgba(62,106,112,.10) 0 6px, transparent 6px 12px); border-top: 1px dashed var(--teal); pointer-events: none; }
.hviz__zone span { position: absolute; right: 8px; top: 6px; font: 700 .7rem/1 var(--f-head); color: var(--teal); letter-spacing: .06em; text-transform: uppercase; }
.hcol { position: relative; display: block; height: 100%; }
.hcol__bar {
  position: absolute; left: 18%; right: 18%; border-radius: 10px; background: linear-gradient(180deg, var(--navy) 0%, #34489A 100%);
  transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease), background .3s, left .35s var(--ease), right .35s var(--ease), box-shadow .3s;
}
.hviz.is-in .hcol__bar { transform: scaleY(1); }
.hcol__bar::before, .hcol__bar::after { content: attr(data-v); position: absolute; left: 50%; transform: translateX(-50%); font: 700 .72rem/1 var(--f-head); color: var(--navy-d); white-space: nowrap; opacity: 0; transition: opacity .3s; }
.hcol__bar::before { content: attr(data-max); top: -18px; }
.hcol__bar::after { content: attr(data-min); bottom: -18px; display: none; }
.hcol__bar--fixed { background: repeating-linear-gradient(180deg, #8C96B0 0 4px, transparent 4px 8px); border-radius: 4px; }
.hcol__lbl { position: absolute; left: 0; right: 0; top: calc(100% + 12px); text-align: center; font: 700 .78rem/1.2 var(--f-head); color: var(--navy-d); transition: color .3s; }
.hcol:hover .hcol__bar, .hcol:focus-visible .hcol__bar { background: linear-gradient(180deg, var(--red), #FF6B55); left: 10%; right: 10%; box-shadow: 0 10px 20px -8px rgba(226,54,34,.6); }
.hcol:hover .hcol__bar::before, .hcol:focus-visible .hcol__bar::before { opacity: 1; }
.hcol:hover .hcol__lbl { color: var(--red); }
.hviz__legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 64px; font-size: .84rem; color: var(--mute); }
.hviz__legend span { display: inline-flex; align-items: center; gap: 8px; }
.hviz__legend i { width: 16px; height: 10px; border-radius: 3px; background: var(--navy); display: inline-block; }
.hviz__legend i.z { background: repeating-linear-gradient(-45deg, rgba(62,106,112,.3) 0 3px, transparent 3px 6px); border: 1px dashed var(--teal); }
.hviz__readout { margin-left: auto; font: 700 .9rem/1.3 var(--f-head); color: var(--navy-d); min-height: 1.3em; }

/* ---------- Compare table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.ctable { width: 100%; border-collapse: collapse; min-width: 880px; font-size: .94rem; }
.ctable th, .ctable td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.ctable thead th { background: var(--navy-d); color: #fff; font: 700 .8rem/1.2 var(--f-head); letter-spacing: .06em; text-transform: uppercase; position: sticky; top: 0; }
.ctable thead th button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: color .25s; }
.ctable thead th button:hover { color: #FF8A78; }
.ctable thead th button:focus-visible { outline: 2px solid #FF8A78; outline-offset: 3px; border-radius: 4px; }
.ctable thead th button .ic { width: 12px; height: 12px; transition: transform .3s; }
.ctable thead th button[data-dir="desc"] .ic { transform: rotate(180deg); }
.ctable tbody tr { position: relative; transition: background .25s; }
.ctable tbody tr:hover { background: var(--sky); }
.ctable tbody tr td:first-child { box-shadow: inset 0 0 0 0 var(--red); transition: box-shadow .3s var(--ease); }
.ctable tbody tr:hover td:first-child { box-shadow: inset 4px 0 0 0 var(--red); }
.ctable tbody tr:last-child td { border-bottom: 0; }
.ctable td:first-child a { font: 700 1rem/1.2 var(--f-head); color: var(--navy-d); transition: color .25s; }
.ctable td:first-child a:hover { color: var(--red); }
.ctable .tag { display: inline-block; padding: 4px 9px; border-radius: 6px; font: 700 .72rem/1 var(--f-head); background: var(--sky); color: var(--navy); }
.ctable .tag--m { background: #FFF3E0; color: #9A5B00; }
.ctable .tag--f { background: #EEF0F4; color: var(--mute); }

/* ---------- Split / feature sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
.media-stack { position: relative; }
.media-stack img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.media-stack .m2 { position: absolute; width: 46%; right: -16px; bottom: -36px; border: 6px solid #fff; }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ic { color: var(--red); margin-top: 3px; }
.section--teal .checks .ic, .section--navy .checks .ic { color: #FF8A78; }

.tub-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0 28px; }
.tub-card { display: block; padding: 18px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); transition: background .3s, transform .4s var(--ease), border-color .3s; }
.tub-card strong { display: block; color: #fff; font: 700 1.06rem/1.2 var(--f-head); margin-bottom: 4px; }
.tub-card span { font-size: .87rem; color: #BBD3D6; line-height: 1.45; display: block; }
.tub-card em { font-style: normal; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font: 700 .84rem/1 var(--f-head); color: #FF9F8F; }
.tub-card em .ic { width: 14px; transition: transform .35s var(--ease); }
.tub-card:hover { background: rgba(255,255,255,.13); transform: translateY(-4px); border-color: rgba(255,255,255,.35); }
.tub-card:hover em .ic { transform: translateX(5px); }

/* ---------- US map ---------- */
.map-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: center; }
.usmap { width: 100%; height: auto; overflow: visible; }
.usmap .d { fill: rgba(255, 255, 255, .16); }
.usmap .pin { cursor: pointer; outline: none; }
.usmap .pin .pulse { fill: #FF6B55; opacity: .5; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
.usmap .pin .core { fill: #FF6B55; stroke: #fff; stroke-width: 2; transition: r .3s; }
.usmap .pin:hover .core, .usmap .pin:focus .core, .usmap .pin.is-on .core { r: 9; fill: #fff; stroke: var(--red); }
@keyframes pulse { 0% { transform: scale(.6); opacity: .6; } 100% { transform: scale(2.6); opacity: 0; } }
.map-tip { position: absolute; pointer-events: none; padding: 9px 12px; border-radius: 10px; background: #fff; color: var(--navy-d); font: 700 .84rem/1.25 var(--f-head); box-shadow: var(--shadow-lg); transform: translate(-50%, calc(-100% - 16px)); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.map-tip small { display: block; font: 500 .74rem/1.2 var(--f-body); color: var(--mute); }
.map-tip.is-on { opacity: 1; }
.map-holder { position: relative; }
.places { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.places button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 10px; color: #DDE3F3; font-weight: 500; transition: background .25s, color .25s, padding-left .35s var(--ease); }
.places button small { color: #8FA0CB; font-size: .78rem; }
.places button:hover, .places button:focus-visible, .places button.is-on { background: rgba(255,255,255,.08); color: #fff; padding-left: 20px; }

/* ---------- Who we serve ---------- */
.serve { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.serve__i { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font: 600 .92rem/1.25 var(--f-head); color: var(--navy-d); transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.serve__i .ic { color: var(--teal); width: 22px; height: 22px; transition: transform .45s var(--ease), color .3s; }
.serve__i:hover { transform: translateY(-3px); border-color: #C9D2EA; box-shadow: var(--shadow-sm); }
.serve__i:hover .ic { transform: scale(1.15) rotate(-8deg); color: var(--red); }

/* ---------- Guide cards ---------- */
.gcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gcard {
  position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  overflow: hidden; isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s, color .35s;
}
.gcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, var(--navy), var(--navy-d)); clip-path: circle(0 at 0 0); transition: clip-path .7s var(--ease); }
.gcard:hover::before, .gcard:focus-visible::before { clip-path: circle(150% at 0 0); }
.gcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: #C9D2EA; }
.gcard__n { font: 800 2.4rem/1 var(--f-head); color: transparent; -webkit-text-stroke: 1.5px var(--red); margin-bottom: 18px; transition: -webkit-text-stroke-color .35s, color .35s; }
.gcard:hover .gcard__n { color: var(--red); }
.gcard h3 { font-size: 1.12rem; transition: color .35s; }
.gcard:hover h3 { color: #fff; }
.gcard p { font-size: .92rem; color: var(--mute); transition: color .35s; flex: 1; }
.gcard:hover p { color: #B8C3DE; }
.gcard .more { display: inline-flex; align-items: center; gap: 8px; font: 700 .9rem/1 var(--f-head); color: var(--red); transition: color .35s, gap .35s var(--ease); }
.gcard:hover .more { color: #FF8A78; gap: 14px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: #C9D2EA; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 24px; font: 700 1.04rem/1.35 var(--f-head); color: var(--navy-d); position: relative; transition: background .3s, color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--bg); color: var(--red); }
.faq .pm { position: relative; width: 32px; height: 32px; border-radius: 10px; background: var(--sky); flex: none; transition: background .3s, transform .45s var(--ease); }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--navy); border-radius: 2px; transition: transform .45s var(--ease), background .3s; }
.faq .pm::after { transform: rotate(90deg); }
.faq summary:hover .pm { background: var(--red); }
.faq summary:hover .pm::before, .faq summary:hover .pm::after { background: #fff; }
.faq details[open] .pm { background: var(--red); }
.faq details[open] .pm::before { transform: rotate(45deg); }
.faq details[open] .pm::after { transform: rotate(135deg); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: #fff; }
.faq .ans { padding: 0 24px 22px; color: var(--mute); }
.faq .ans p:last-child { margin: 0; }
.faq-tools { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; }
.search { position: relative; flex: 1; min-width: 240px; }
.search input { width: 100%; height: 52px; padding: 0 18px 0 48px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: inherit; transition: border-color .3s, box-shadow .3s; }
.search input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(31,45,99,.12); }
.search .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--mute); }
.faq-group { margin-bottom: 40px; }
.faq-group h2 { font-size: 1.4rem; display: flex; align-items: center; gap: 12px; }
.faq-group h2 .ic { color: var(--red); }
.faq-empty { display: none; padding: 30px; text-align: center; color: var(--mute); border: 1px dashed var(--line); border-radius: 16px; }

/* ---------- Quote CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; background: linear-gradient(135deg, var(--red) 0%, #C42A18 100%); color: #FFE3DE; padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band .bg-waves { position: absolute; left: 0; right: 0; bottom: -14px; width: 100%; height: 64px; opacity: .16; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
.cta-band > * { position: relative; }
.cta-band .eyebrow::before { background: #fff; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { display: flex; gap: 14px; align-items: flex-start; counter-increment: s; }
.steps li::before { content: counter(s); flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.18); color: #fff; display: grid; place-items: center; font: 800 .95rem/1 var(--f-head); }
.cta-band__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-ghost--onred { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.btn-ghost--onred:hover { color: #fff; }
.btn-ghost--onred:hover::before { border-top-color: #fff; border-right-color: #fff; }
.btn-ghost--onred:hover::after { border-bottom-color: #fff; border-left-color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 90px); background: var(--bg); overflow: hidden; }
.page-hero--dark { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-d) 70%); color: #C9D2EA; }
.page-hero--dark h1 { color: #fff; }
.page-hero--dark .lead { color: #B8C3DE; }
.page-hero__deco { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: min(520px, 46vw); opacity: .9; pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero__inner { max-width: 760px; }
.page-hero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.divider-wave { display: block; width: 100%; height: 60px; margin-top: -59px; position: relative; z-index: 1; }

/* ---------- Product page ---------- */
.prod { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.gallery__main { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(180deg, #F2F5FA, #E3E9F2); aspect-ratio: 4 / 3; cursor: zoom-in; border: 0; padding: 0; width: 100%; display: block; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .3s; }
.gallery__main img.contain { object-fit: contain; padding: 20px; }
.gallery__main:hover img { transform: scale(1.04); }
.gallery__zoom { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--navy); transition: transform .35s var(--ease), background .3s, color .3s; }
.gallery__main:hover .gallery__zoom { transform: scale(1.1); background: var(--red); color: #fff; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery__thumbs button { width: 96px; aspect-ratio: 4 / 3; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--bg); transition: border-color .3s, transform .35s var(--ease), opacity .3s; opacity: .7; }
.gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs button:hover { transform: translateY(-3px); opacity: 1; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--red); opacity: 1; }
.prod__brand { font: 700 .8rem/1 var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.prod h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.keyspecs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 26px 0; }
.keyspec { padding: 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s, background .3s; }
.keyspec:hover { transform: translateY(-3px); border-color: var(--red); background: #fff; }
.keyspec b { display: block; font: 800 1.08rem/1.15 var(--f-head); color: var(--navy-d); }
.keyspec span { font-size: .78rem; color: var(--mute); }
.prod__acts { display: flex; flex-wrap: wrap; gap: 12px; }
.assure { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: .9rem; color: var(--mute); }
.assure li { display: flex; gap: 10px; align-items: center; }
.assure .ic { color: var(--teal); width: 18px; height: 18px; }
.docs { display: grid; gap: 10px; margin-top: 24px; }
/* PDF links: the page corner folds and the download arrow drops. */
.doc {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff;
  transition: border-color .3s, box-shadow .3s, transform .35s var(--ease);
}
.doc__ic { position: relative; width: 40px; height: 48px; flex: none; }
.doc__ic svg { width: 100%; height: 100%; }
.doc__ic .fold { transition: transform .4s var(--ease); transform-origin: 100% 0; transform-box: fill-box; }
.doc__ic .dl { transition: transform .4s var(--ease); }
.doc strong { display: block; font: 700 .95rem/1.25 var(--f-head); color: var(--navy-d); transition: color .25s; }
.doc small { color: var(--mute); font-size: .8rem; }
.doc:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateX(4px); }
.doc:hover strong { color: var(--red); }
.doc:hover .fold { transform: scale(1.35); }
.doc:hover .dl { transform: translateY(3px); }
.subnav { position: sticky; top: 70px; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; display: flex; gap: 4px; padding: 0; margin: 0; overflow-x: auto; scrollbar-width: none; }
.subnav a { position: relative; display: block; padding: 18px 16px; font: 700 .9rem/1 var(--f-head); color: var(--mute); white-space: nowrap; transition: color .25s; }
.subnav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--red); transform: scaleY(0); transform-origin: bottom; transition: transform .3s var(--ease); }
.subnav a:hover, .subnav a.is-on { color: var(--navy-d); }
.subnav a:hover::after, .subnav a.is-on::after { transform: scaleY(1); }
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat { padding: 26px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.feat__ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--sky); color: var(--navy); margin-bottom: 16px; transition: background .35s, color .35s, transform .5s var(--ease); }
.feat__ic .ic { width: 26px; height: 26px; }
.feat h3 { font-size: 1.04rem; }
.feat p { font-size: .9rem; color: var(--mute); margin: 0; }
.feat:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #C9D2EA; }
.feat:hover .feat__ic { background: var(--red); color: #fff; transform: rotate(-8deg) scale(1.05); }
.spec-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.spec-table th, .spec-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .95rem; }
.spec-table th { width: 38%; font: 700 .9rem/1.4 var(--f-head); color: var(--navy-d); background: var(--bg); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table tr { transition: background .25s; }
.spec-table tr:hover td { background: var(--sky); }
.plan-card { padding: 28px; border-radius: var(--radius-lg); background: var(--navy-d); color: #C9D2EA; position: sticky; top: 150px; }
.plan-card h3 { color: #fff; }
.alts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.alt { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s; }
.alt:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.alt__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); }
.alt__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.alt:hover .alt__img img { transform: scale(1.07); }
.alt__b { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.alt__q { font: 700 .8rem/1.3 var(--f-head); color: var(--teal); margin-bottom: 6px; }
.alt h3 { font-size: 1.15rem; margin-bottom: 6px; }
.alt p { font-size: .9rem; color: var(--mute); flex: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(13, 21, 50, .92); display: none; place-items: center; padding: 40px; }
.lightbox.is-open { display: grid; animation: fadeIn .3s; }
.lightbox img { max-height: 86vh; width: auto; border-radius: 16px; background: #fff; }
.lightbox__x { position: absolute; top: 20px; right: 20px; width: 50px; height: 50px; border-radius: 14px; border: 0; background: #fff; color: var(--navy); display: grid; place-items: center; transition: transform .35s var(--ease), background .3s, color .3s; }
.lightbox__x:hover { transform: rotate(90deg); background: var(--red); color: #fff; }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.form-card { background: #fff; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 40px); position: relative; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font: 700 .86rem/1.2 var(--f-head); color: var(--navy-d); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg);
  font: inherit; font-size: .98rem; color: var(--ink); transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #C9D2EA; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(31,45,99,.12); }
.field.is-err input, .field.is-err select { border-color: var(--red); background: #FFF6F4; }
.field .err { display: none; font-size: .8rem; color: var(--red-d); }
.field.is-err .err { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.field legend { padding: 0; margin-bottom: 10px; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); font: 600 .9rem/1 var(--f-head); color: var(--navy); transition: all .25s; }
.seg label:hover span { border-color: var(--navy); }
.seg input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.seg input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.form-note { font-size: .82rem; color: var(--mute); margin-top: 14px; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.is-on { display: block; animation: panelIn .5s var(--ease); }
.form-success .tick { width: 84px; height: 84px; margin: 0 auto 18px; }
.form-success .tick circle { fill: none; stroke: #2E9C7E; stroke-width: 3; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw .8s var(--ease) forwards; }
.form-success .tick path { fill: none; stroke: #2E9C7E; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .5s var(--ease) .6s forwards; }
.contact-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.cside { padding: 22px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.cside h2 { font-size: 1.05rem; font-weight: 700; display: flex; gap: 10px; align-items: center; }
.cside h2 .ic { color: var(--red); }
.cside p { margin: 0; font-size: .94rem; color: var(--mute); }
.big-phone { display: inline-flex; align-items: center; gap: 12px; font: 800 1.5rem/1 var(--f-head); color: var(--navy-d); margin-top: 6px; transition: color .25s; }
.big-phone .ic { color: var(--red); }
.big-phone:hover { color: var(--red); }
.big-phone:hover .ic { animation: ring .6s ease; }
.paylogos { display: flex; gap: 8px; flex-wrap: nowrap; margin-top: 10px; }
.paylogos span { display: inline-flex; align-items: center; height: 32px; padding: 0 10px; border-radius: 7px; background: #fff; border: 1px solid var(--line); font: 800 .76rem/1 var(--f-head); color: var(--navy); letter-spacing: .03em; }

/* ---------- Finder quiz ---------- */
.finder { max-width: 960px; margin: 0 auto; }
.finder__bar { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; margin-bottom: 14px; }
.finder__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), #FF6B55); border-radius: 8px; transition: width .6s var(--ease); }
.finder__meta { display: flex; justify-content: space-between; font: 700 .8rem/1 var(--f-head); color: var(--mute); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 28px; }
.qstep { display: none; }
.qstep.is-on { display: block; animation: panelIn .5s var(--ease); }
.qstep h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.qopts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 24px; }
.qopt {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px; text-align: left;
  border-radius: 18px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; overflow: hidden;
}
.qopt__ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--sky); color: var(--navy); transition: background .3s, color .3s, transform .45s var(--ease); }
.qopt__ic .ic { width: 28px; height: 28px; }
.qopt strong { font: 700 1.04rem/1.25 var(--f-head); color: var(--navy-d); }
.qopt small { color: var(--mute); font-size: .86rem; line-height: 1.4; }
.qopt::after { content: ""; position: absolute; right: 16px; top: 16px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); transition: all .3s; }
.qopt:hover { transform: translateY(-4px); border-color: var(--navy); box-shadow: var(--shadow); }
.qopt:hover .qopt__ic { transform: translateY(-3px) rotate(-6deg); background: var(--navy); color: #fff; }
.qopt.is-sel { border-color: var(--red); box-shadow: 0 0 0 4px rgba(226,54,34,.12); }
.qopt.is-sel::after { background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; border-color: var(--red); }
.qopt.is-sel .qopt__ic { background: var(--red); color: #fff; }
.finder__nav { display: flex; justify-content: space-between; margin-top: 30px; gap: 12px; }
.result { display: none; }
.result.is-on { display: block; animation: panelIn .6s var(--ease); }
.result__top { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.result__img { background: linear-gradient(180deg, #F2F5FA, #E3E9F2); min-height: 340px; position: relative; }
.result__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.result__b { padding: 34px; }
.result__match { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: #E3F5EF; color: #1F7A60; font: 700 .8rem/1 var(--f-head); margin-bottom: 14px; }
.result__alts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.ralt { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.ralt img { width: 84px; height: 64px; object-fit: cover; border-radius: 10px; background: var(--bg); }
.ralt img.contain { object-fit: contain; padding: 4px; }
.ralt strong { display: block; font: 700 1rem/1.2 var(--f-head); color: var(--navy-d); transition: color .25s; }
.ralt small { color: var(--mute); font-size: .84rem; line-height: 1.35; display: block; }
.ralt:hover { transform: translateY(-3px); border-color: var(--navy); box-shadow: var(--shadow); }
.ralt:hover strong { color: var(--red); }

/* ---------- Guides (article) ---------- */
.article { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: 110px; padding: 22px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.toc h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 8px 12px; border-radius: 10px; font-size: .9rem; color: var(--mute); border-left: 3px solid transparent; transition: background .25s, color .25s, border-color .25s, padding-left .35s var(--ease); }
.toc a:hover { background: #fff; color: var(--navy-d); padding-left: 16px; }
.toc a.is-on { background: #fff; color: var(--navy-d); font-weight: 600; border-left-color: var(--red); }
.prose { max-width: 740px; font-size: 1.06rem; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul li, .prose ol li { margin-bottom: .45em; }
.prose .callout { padding: 20px 22px; border-radius: 16px; background: var(--teal-l); border-left: 4px solid var(--teal); margin: 1.6em 0; color: var(--teal-d); }
.prose .callout strong { color: var(--teal-d); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--bg); font-family: var(--f-head); color: var(--navy-d); }
.progress { position: fixed; left: 0; top: 0; height: 4px; width: 100%; z-index: 1000; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--red), #FF6B55); }
.byline { display: flex; flex-wrap: wrap; gap: 18px; font-size: .88rem; color: #9FB0D6; margin-top: 18px; }
.byline span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding: 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value .feat__ic { margin-bottom: 18px; }
.value:hover .feat__ic { background: var(--red); color: #fff; }
.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.brand { padding: 26px; border-radius: 18px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); transition: background .3s, transform .4s var(--ease); }
.brand:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.brand strong { display: block; font: 800 1.2rem/1.2 var(--f-head); color: #fff; margin-bottom: 6px; }
.brand span { font-size: .9rem; color: #B8C3DE; }
.timeline { position: relative; display: grid; gap: 22px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--red), var(--line)); }
.timeline li { list-style: none; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -30px; top: 6px; width: 14px; height: 14px; border-radius: 3px; background: var(--red); box-shadow: 0 0 0 5px #FDE7E3; }
.timeline strong { font-family: var(--f-head); color: var(--navy-d); }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--navy-dd); color: #9FAED3; margin-top: 80px; }
.footer__wave { position: absolute; left: 0; right: 0; top: -58px; height: 60px; overflow: hidden; }
.footer__wave svg { width: 200%; height: 100%; animation: waveX 22s linear infinite; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: 70px 0 50px; }
.footer .logo svg { height: 52px; }
.footer__about p { margin: 18px 0 22px; font-size: .95rem; max-width: 360px; }
.footer h2 { font: 700 .8rem/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
/* Footer links: the red square slides in as a bullet, the label shifts over. */
.f-link { position: relative; display: inline-flex; align-items: center; padding: 6px 0; color: #9FAED3; font-size: .95rem; transition: color .3s, transform .4s var(--ease); }
.f-link::before { content: ""; position: absolute; left: -14px; width: 7px; height: 7px; border-radius: 2px; background: #FF6B55; opacity: 0; transform: translateX(-6px) rotate(45deg); transition: opacity .3s, transform .4s var(--ease); }
.f-link:hover { color: #fff; transform: translateX(14px); }
.f-link:hover::before { opacity: 1; transform: translateX(0) rotate(0); }
.f-phone { display: inline-flex; align-items: center; gap: 10px; font: 800 1.3rem/1 var(--f-head); color: #fff; transition: color .3s; }
.f-phone .ic { color: #FF6B55; }
.f-phone:hover { color: #FF8A78; }
.f-phone:hover .ic { animation: ring .6s ease; }
.footer__pay { display: flex; gap: 6px; flex-wrap: nowrap; margin-top: 18px; }
.footer__pay span { display: inline-flex; align-items: center; height: 28px; padding: 0 8px; border-radius: 6px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); font: 800 .68rem/1 var(--f-head); color: #DDE3F3; letter-spacing: .03em; white-space: nowrap; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0 30px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .86rem; }
.footer__bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__bottom a { position: relative; transition: color .3s; }
.footer__bottom a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: #FF6B55; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.footer__bottom a:hover { color: #fff; }
.footer__bottom a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Back to top: a red tide fills the button. */
.totop {
  position: fixed; right: 22px; bottom: 22px; z-index: 800; width: 54px; height: 54px; border-radius: 16px; border: 0; overflow: hidden; isolation: isolate;
  background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .35s, transform .45s var(--ease);
}
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: calc(100% + 10px); background: var(--wave-red) repeat-x 0 0 / 30px 8px, linear-gradient(var(--red), var(--red)) no-repeat 0 7px / 100% 100%; transform: translateY(100%); transition: transform .5s var(--ease); animation: tide 1.2s linear infinite; }
.totop:hover::before { transform: translateY(-10px); }
.totop .ic { transition: transform .4s var(--ease); }
.totop:hover .ic { transform: translateY(-3px); }
.totop svg.ring { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); transform: rotate(-90deg); pointer-events: none; }
.totop svg.ring circle { fill: none; stroke: rgba(255,255,255,.85); stroke-width: 2; stroke-dasharray: 145; stroke-dashoffset: 145; }

/* =========================================================
   PAGE TRANSITION — "the tide and the lift"
   A navy tide rises over the page while a changing-table
   platform climbs a height ruler, then the tide drains away.
   ========================================================= */
.pt { position: fixed; inset: 0; z-index: 5000; pointer-events: none; visibility: hidden; }
.pt__layer { position: absolute; left: 0; right: 0; top: -14vh; height: 128vh; transform: translateY(100%); will-change: transform; }
.pt__layer::before, .pt__layer::after { content: ""; position: absolute; left: 0; right: 0; height: 14vh; background-repeat: repeat-x; animation: ptWave 1.4s linear infinite; }
.pt__layer::before { top: 0; }
.pt__layer::after { bottom: 0; transform: scaleY(-1); }
.pt__layer--red { background: linear-gradient(var(--red), var(--red)) no-repeat 0 13.9vh / 100% calc(100% - 27.8vh); }
.pt__layer--red::before, .pt__layer--red::after { background-image: var(--wave-red); background-size: 240px 14vh; }
.pt__layer--navy { background: linear-gradient(var(--navy-d), var(--navy-d)) no-repeat 0 13.9vh / 100% calc(100% - 27.8vh); }
.pt__layer--navy::before, .pt__layer--navy::after { background-image: var(--wave-navy); background-size: 320px 14vh; animation-duration: 2s; }
@keyframes ptWave { to { background-position-x: 320px; } }
.pt__center { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .25s; }
.pt__stack { display: flex; align-items: center; gap: 26px; }
.pt__ruler { width: 46px; height: 150px; overflow: visible; }
.pt__ruler line { stroke: rgba(255,255,255,.4); stroke-width: 2; }
.pt__ruler .plat { fill: #FF6B55; transform: translateY(0); }
.pt__ruler .col { fill: rgba(255,255,255,.18); }
.pt__label { color: #fff; }
.pt__label .logo svg { height: 54px; }
.pt__label small { display: block; margin-top: 12px; font: 600 .82rem/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: #9FB0D6; min-height: 1em; }
html.pt-leave .pt, html.pt-cover .pt, html.pt-reveal .pt { visibility: visible; pointer-events: auto; }
html.pt-leave .pt__layer--red { transform: translateY(0); transition: transform .6s var(--ease-io); }
html.pt-leave .pt__layer--navy { transform: translateY(0); transition: transform .6s var(--ease-io) .08s; }
html.pt-leave .pt__center { opacity: 1; transition: opacity .3s .4s; }
html.pt-leave .pt__ruler .plat { animation: lift .9s var(--ease) .3s forwards; }
html.pt-cover .pt__layer { transform: translateY(0); transition: none; }
html.pt-cover .pt__center { opacity: 1; }
html.pt-cover .pt__ruler .plat { transform: translateY(-104px); }
html.pt-reveal .pt__layer--navy { transform: translateY(-100%); transition: transform .75s var(--ease-io); }
html.pt-reveal .pt__layer--red { transform: translateY(-100%); transition: transform .75s var(--ease-io) .07s; }
html.pt-reveal .pt__center { opacity: 0; transition: opacity .2s; }
html.pt-reveal .pt__ruler .plat { transform: translateY(-104px); }
@keyframes lift { to { transform: translateY(-104px); } }
/* Content settles in after the tide passes */
html.pt-reveal main { animation: settle .8s var(--ease) .15s both; }
@keyframes settle { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="scale"] { transform: scale(.94); }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1360px) { .header__cta .h-phone { display: none; } }
@media (max-width: 1180px) {
  .nav, .header__cta .h-phone { display: none; }
  .header__cta { margin-left: auto; }
  .burger { display: block; margin-left: 0; }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .gcards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .hero .wrap, .split, .rooms, .room-panel.is-active, .prod, .spec-grid, .form-layout, .cta-band, .map-wrap, .result__top, .article { grid-template-columns: minmax(0, 1fr); }
  .split--rev > :first-child { order: 0; }
  .hero__visual { margin-top: 20px; max-width: 640px; }
  .stats__card { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid-cards, .alts, .values, .brands { grid-template-columns: repeat(2, 1fr); }
  .serve { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rooms__tabs { grid-template-columns: repeat(2, 1fr); }
  .room-panel__img { min-height: 260px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
  .toc { position: static; }
  .plan-card { position: static; }
  .page-hero__deco { opacity: .18; }
  .media-stack .m2 { right: 0; }
  .keyspecs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .utility__msg { display: none; }
  .utility .wrap { justify-content: center; min-height: 36px; }
  .utility__links .u-link--quiet { display: none; }
  .header__cta .btn { display: none; }
  .logo svg { height: 46px; }
  .grid-cards, .alts, .values, .brands, .gcards, .feats, .tub-cards, .result__alts, .form-grid { grid-template-columns: 1fr; }
  .rooms__tabs { grid-template-columns: 1fr; }
  .stat { padding: 22px 18px; }
  .stat::before { left: 18px; }
  .chip-float--a { left: 8px; bottom: 16px; }
  .chip-float--b { right: 8px; top: 12px; }
  .chip-float--c { display: none; }
  .hero__ctas .btn, .hero__ctas .btn-ghost { flex: 1 1 100%; }
  .hviz { padding: 20px 14px 14px; }
  .hviz__plot { grid-template-columns: 34px 1fr; gap: 6px; }
  .hviz__cols { gap: 4px; }
  .hcol__lbl { font-size: .62rem; writing-mode: vertical-rl; transform: rotate(180deg); top: calc(100% + 8px); height: 80px; text-align: right; left: 50%; margin-left: -.5em; right: auto; }
  .hviz__legend { margin-top: 100px; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { border-radius: 20px; }
  .ctable { font-size: .88rem; }
  .gallery__thumbs button { width: 72px; }
  .result__b, .room-panel__body { padding: 24px; }
  .totop { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .pt { display: none; }
}

/* ---------- Hero illustrations ---------- */
.ic.flip { transform: rotate(180deg); }
.btn-ghost:hover .ic.flip { transform: rotate(180deg) translateX(4px); }
.page-hero { --plan-bg: var(--bg); }
.page-hero--dark { --plan-bg: #18245a; }
.page-hero__deco { color: var(--navy); opacity: .85; }
.page-hero--dark .page-hero__deco { color: rgba(201, 210, 234, .6); opacity: 1; }
.lift-loop { animation: liftLoop 5s ease-in-out infinite alternate; }
.dim-scale { transform-box: view-box; transform-origin: 0 344px; animation: dimScale 5s ease-in-out infinite alternate; }
@keyframes liftLoop { from { transform: translateY(0); } to { transform: translateY(70px); } }
@keyframes dimScale { from { transform: scaleY(1); } to { transform: scaleY(.4615); } }
.tilt { transform-box: view-box; transform-origin: 260px 300px; animation: tiltTub 7s ease-in-out infinite alternate; }
@keyframes tiltTub { from { transform: rotate(-2deg); } to { transform: rotate(3deg) translateY(-10px); } }
.wave-anim { animation: waveSlide 6s linear infinite; }
@keyframes waveSlide { to { transform: translateX(-88px); } }
.bubble { fill: currentColor; stroke: none; opacity: 0; animation: bubble 3.2s ease-in infinite; }
@keyframes bubble { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: .7; } 100% { transform: translateY(-80px); opacity: 0; } }
.beam { transform-box: view-box; transform-origin: 260px 92px; animation: beam 8s ease-in-out infinite alternate; }
@keyframes beam { from { transform: rotate(-12deg); } to { transform: rotate(14deg); } }
.needle { transform-box: view-box; transform-origin: 200px 200px; animation: needle 7s cubic-bezier(.5, 0, .2, 1) infinite; }
@keyframes needle { 0% { transform: rotate(-30deg); } 25% { transform: rotate(80deg); } 50% { transform: rotate(170deg); } 75% { transform: rotate(265deg); } 100% { transform: rotate(330deg); } }
.bob-a { animation: bob 6s ease-in-out infinite; }
.bob-b { animation: bob 6s ease-in-out -3s infinite; }
.spin-slow { transform-box: fill-box; transform-origin: center; animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.slide-in { animation: slideIn 4s ease-in-out infinite alternate; }
@keyframes slideIn { from { transform: translateY(0); } to { transform: translateY(8px); } }
.draw { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .7s var(--ease) forwards; stroke: #E23622; stroke-width: 3.4; }
.page-hero:not(.page-hero--dark) .page-hero__deco.compass, .page-hero:not(.page-hero--dark) .page-hero__deco.qa { width: min(440px, 38vw); right: 3vw; }

/* Height visualizer on dark sections */
.section--navy .hviz__axis span { color: #8FA0CB; }
.section--navy .hviz__cols { border-left-color: rgba(255,255,255,.12); border-bottom-color: rgba(255,255,255,.5); }
.section--navy .hviz__grid i { background: rgba(255,255,255,.08); }
.section--navy .hcol__bar { background: linear-gradient(180deg, #7D93EA 0%, #3E56B8 100%); }
.section--navy .hcol__bar::before { color: #fff; }
.section--navy .hcol__lbl { color: #DDE3F3; }
.section--navy .hcol:hover .hcol__lbl { color: #FF8A78; }
.section--navy .hviz__legend { color: #9FB0D6; }
.section--navy .hviz__legend i { background: #6F86E0; }
.section--navy .hviz__readout { color: #fff; }
.section--navy .hviz__zone { border-top-color: #6FD3B8; background: repeating-linear-gradient(-45deg, rgba(111,211,184,.12) 0 6px, transparent 6px 12px); }
.section--navy .hviz__zone span { color: #6FD3B8; }
.section--navy .hviz__legend i.z { border-color: #6FD3B8; background: repeating-linear-gradient(-45deg, rgba(111,211,184,.35) 0 3px, transparent 3px 6px); }

/* Finder prompt card that completes the product grid */
.pcard--cta { background: linear-gradient(160deg, var(--navy), var(--navy-d)); border-color: transparent; color: #C9D2EA; justify-content: space-between; padding: 30px; }
.pcard--cta h3 { color: #fff; font-size: 1.5rem; }
.pcard--cta p { color: #B8C3DE; }
.pcard--cta .cta-ic { width: 92px; height: 92px; color: #FF8A78; margin-bottom: 18px; }
.pcard--cta .cta-ic .needle-sm { transform-box: view-box; transform-origin: 50px 50px; transition: transform 1s var(--ease); }
.pcard--cta:hover .cta-ic .needle-sm { transform: rotate(200deg); }
.pcard--cta::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.08), transparent 45%); }
.pcard--cta { grid-column: span 2; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 28px; }
.pcard--cta .cta-ic { margin: 0; width: 132px; height: 132px; }
.pcard--cta h3 { margin-bottom: 8px; }
.pcard--cta p { margin: 0 0 20px; }
@media (max-width: 980px) { .pcard--cta { grid-column: auto; grid-template-columns: 1fr; align-items: start; } }

.form-card h2, .form-card h3 { color: var(--navy-d); }
.form-card { color: var(--ink); }
.divider-wave { margin-top: -58px; }

@media (max-width: 980px) {
  .rooms__tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding: 4px 2px 12px; margin: 0 -2px; scrollbar-width: none; }
  .rooms__tabs::-webkit-scrollbar { display: none; }
  .room-tab { flex: 0 0 auto; width: auto; min-width: 230px; max-width: calc(100vw - 56px); scroll-snap-align: start; }
  .room-tab > span:last-child { min-width: 0; }
  .room-tab::after { display: none; }
  .room-tab:hover { transform: translateY(-2px); }
}
@media (max-width: 640px) {
  .paylogos { flex-wrap: wrap; }
  .hviz__zone span { display: none; }
  .places { grid-template-columns: 1fr 1fr; gap: 2px; }
  .places button { padding: 8px 10px; font-size: .84rem; }
  .places button small { display: none; }
}

.nav__item:first-child > .dd--mega { left: -12px; transform: translate(0, 10px); }
.nav__item:first-child:hover > .dd--mega, .nav__item:first-child:focus-within > .dd--mega { transform: translate(0, 0); }

/* On dark backgrounds the tide rises white and the label turns navy */
.hero .btn:not(.btn--white), .page-hero--dark .btn:not(.btn--white), .section--navy .btn:not(.btn--white), .drawer .btn, .pcard--cta .btn:not(.btn--white) { --bfill: var(--wave-white); --bfill-c: #fff; }
.hero .btn:not(.btn--white):hover, .page-hero--dark .btn:not(.btn--white):hover, .section--navy .btn:not(.btn--white):hover, .drawer .btn:hover { color: var(--navy-d); box-shadow: 0 14px 28px -10px rgba(0, 0, 0, .45); }
.section--navy .form-card .btn { --bfill: var(--wave-navy); --bfill-c: var(--navy-d); }
.section--navy .form-card .btn:hover { color: #fff; }

/* ---------- Model details on category pages (models without their own page) ---------- */
.model-detail { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 56px); align-items: start; padding: 44px 0; border-top: 1px solid var(--line); scroll-margin-top: 140px; }
.model-detail:first-of-type { border-top: 0; padding-top: 10px; }
.model-detail--rev .model-detail__media { order: 2; }
.model-detail__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(180deg, #F2F5FA, #E3E9F2); aspect-ratio: 4 / 3; position: sticky; top: 140px; }
.model-detail__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.model-detail__media img.contain { object-fit: contain; padding: 18px; }
.model-detail:hover .model-detail__media img { transform: scale(1.04); }
.model-detail__body h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 10px; }
.model-detail__body > p { color: var(--mute); }
.model-detail__body .keyspecs { margin: 20px 0 6px; }
.model-detail__body .checks { margin: 18px 0 22px; }
.model-detail__body .checks li span { color: var(--mute); font-size: .95rem; }
.model-detail__body .checks b { color: var(--navy-d); }
.model-detail__specs { margin: 0 0 24px; border-radius: 16px; border: 1px solid var(--line); background: #fff; overflow: hidden; }
.model-detail__specs summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font: 700 1rem/1.3 var(--f-head); color: var(--navy-d); transition: background .3s, color .3s; }
.model-detail__specs summary::-webkit-details-marker { display: none; }
.model-detail__specs summary:hover { background: var(--bg); color: var(--red); }
.model-detail__specs .pm { position: relative; width: 32px; height: 32px; border-radius: 10px; background: var(--sky); flex: none; transition: background .3s; }
.model-detail__specs .pm::before, .model-detail__specs .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--navy); border-radius: 2px; transition: transform .45s var(--ease), background .3s; }
.model-detail__specs .pm::after { transform: rotate(90deg); }
.model-detail__specs summary:hover .pm, .model-detail__specs[open] .pm { background: var(--red); }
.model-detail__specs summary:hover .pm::before, .model-detail__specs summary:hover .pm::after, .model-detail__specs[open] .pm::before, .model-detail__specs[open] .pm::after { background: #fff; }
.model-detail__specs[open] .pm::before { transform: rotate(45deg); }
.model-detail__specs[open] .pm::after { transform: rotate(135deg); }
.model-detail__specs .spec-table { border-radius: 0; border-left: 0; border-right: 0; }
.model-detail__specs .docs { padding: 16px 20px 20px; margin: 0; }
section[id] { scroll-margin-top: 90px; }
@media (max-width: 980px) {
  .model-detail { grid-template-columns: 1fr; }
  .model-detail--rev .model-detail__media { order: 0; }
  .model-detail__media { position: relative; top: 0; }
}

/* Building codes and state laws */
.law-states { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px 0 16px; padding: 0; }
.law-states .pill { justify-content: flex-start; }
.law-note { font-size: .88rem; color: var(--mute); margin-bottom: 22px; }
.law-cards { display: grid; gap: 16px; }
.law-card { display: flex; gap: 16px; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.law-card:hover { transform: translateY(-3px); border-color: var(--navy); box-shadow: var(--shadow); }
.law-card__ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--bg); color: var(--red); }
.law-card__ic .ic { width: 22px; height: 22px; }
.law-card h3 { font: 700 1.08rem/1.25 var(--f-head); color: var(--navy-d); margin: 0 0 6px; }
.law-card p { margin: 0; font-size: .95rem; line-height: 1.55; }

/* Plus Jakarta Sans sets wide space before periods and commas in headings */
.punct { margin-left: -.12em; }

/* Product shots on white backgrounds sit on white, not a gray box */
.pcard__media:has(img.contain), .room-panel__img:has(img.contain), .alt__img:has(img.contain), .result__img:has(img.contain),
.gallery__main:has(img.contain), .model-detail__media:has(img.contain) { background: #fff; }
.pcard__media:has(img.contain) { border-bottom: 1px solid var(--line); }
@media (max-width: 640px) {
  .spec-table { table-layout: fixed; width: 100%; }
  .spec-table th, .spec-table td { overflow-wrap: anywhere; }
}
@media (max-width: 640px) {
  .law-states .pill { padding: 7px 10px; font-size: .76rem; white-space: nowrap; }
  .law-states .pill .ic { display: none; }
}
.cta-band .bg-waves path { vector-effect: non-scaling-stroke; }

/* Installation map: map on top, every location listed below in even columns */
.map-wrap--stacked { grid-template-columns: 1fr; gap: 32px; }
.map-wrap--stacked .map-holder { max-width: 900px; width: 100%; margin: 0 auto; }
.map-wrap--stacked .places { display: block; columns: 4; column-gap: 12px; }
.map-wrap--stacked .places li { break-inside: avoid; margin-bottom: 4px; }
.map-wrap--stacked .places button { flex-direction: column; justify-content: flex-start; gap: 2px; }
@media (max-width: 980px) { .map-wrap--stacked .places { columns: 2; } }
@media (max-width: 640px) { .map-wrap--stacked .places { column-gap: 8px; } .map-wrap--stacked .places li { margin-bottom: 2px; } .map-wrap--stacked .places button { padding: 7px 8px; } }

/* Quote form: spam trap kept off screen, and the message shown if sending fails */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #FFF6F4; border: 1px solid var(--red); color: var(--red-d); font-size: .92rem; }
.form-error[hidden] { display: none; }

/* ---------- Quote form (Gravity Forms, "gravity-theme" markup) in the design's style ---------- */
.hm-gform .gform_wrapper.gravity-theme { margin: 0; }
.hm-gform .gform_wrapper.gravity-theme .gform_fields { grid-column-gap: 18px; grid-row-gap: 16px; }
.hm-gform .gform_wrapper.gravity-theme .gfield_label,
.hm-gform .gform_wrapper.gravity-theme legend.gfield_label { font: 700 .86rem/1.2 var(--f-head); color: var(--navy-d); margin: 0 0 7px; padding: 0; }
.hm-gform .gform_wrapper.gravity-theme .gfield_required { color: var(--red); }
.hm-gform .gform_wrapper.gravity-theme .gfield_required_text { display: none; }
.hm-gform .gform_wrapper.gravity-theme .gform_required_legend { display: none; } /* the card's own line says it */
.hm-gform .gform_wrapper.gravity-theme input[type=text],
.hm-gform .gform_wrapper.gravity-theme input[type=email],
.hm-gform .gform_wrapper.gravity-theme input[type=tel],
.hm-gform .gform_wrapper.gravity-theme select,
.hm-gform .gform_wrapper.gravity-theme textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg);
  font: inherit; font-size: .98rem; color: var(--ink); line-height: 1.4; transition: border-color .25s, box-shadow .25s, background .25s;
}
.hm-gform .gform_wrapper.gravity-theme textarea { min-height: 120px; height: auto; resize: vertical; }
.hm-gform .gform_wrapper.gravity-theme input:hover,
.hm-gform .gform_wrapper.gravity-theme select:hover,
.hm-gform .gform_wrapper.gravity-theme textarea:hover { border-color: #C9D2EA; }
.hm-gform .gform_wrapper.gravity-theme input:focus,
.hm-gform .gform_wrapper.gravity-theme select:focus,
.hm-gform .gform_wrapper.gravity-theme textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(31,45,99,.12); }
.hm-gform .gform_wrapper.gravity-theme .gfield_error input,
.hm-gform .gform_wrapper.gravity-theme .gfield_error select,
.hm-gform .gform_wrapper.gravity-theme .gfield_error textarea { border-color: var(--red); background: #FFF6F4; }
.hm-gform .gform_wrapper.gravity-theme .gfield_validation_message,
.hm-gform .gform_wrapper.gravity-theme .validation_message { background: none; border: 0; padding: 0; margin-top: 6px; font-size: .8rem; color: var(--red-d); }
.hm-gform .gform_wrapper.gravity-theme .gform_validation_errors { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: #FFF6F4; border: 1px solid var(--red); box-shadow: none; }
.hm-gform .gform_wrapper.gravity-theme .gform_validation_errors > h2 { font: 600 .92rem/1.4 var(--f-body, inherit); color: var(--red-d); margin: 0; }
.hm-gform .gform_wrapper.gravity-theme .gform_validation_errors > h2 .gform-icon { display: none; }
.hm-gform .gform_wrapper.gravity-theme .gfield_error { background: none; border: 0; padding: 0; }
/* Radio choices as the design's segmented buttons */
.hm-gform .gform_wrapper.gravity-theme .hm-seg .gfield_radio { display: flex; gap: 8px; flex-wrap: wrap; }
.hm-gform .gform_wrapper.gravity-theme .hm-seg .gchoice { position: relative; margin: 0; }
.hm-gform .gform_wrapper.gravity-theme .hm-seg .gchoice input { position: absolute; opacity: 0; pointer-events: none; }
.hm-gform .gform_wrapper.gravity-theme .hm-seg .gchoice label { display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); font: 600 .9rem/1 var(--f-head); color: var(--navy); cursor: pointer; transition: all .25s; max-width: none; }
.hm-gform .gform_wrapper.gravity-theme .hm-seg .gchoice label:hover { border-color: var(--navy); }
.hm-gform .gform_wrapper.gravity-theme .hm-seg .gchoice input:checked + label { background: var(--navy); color: #fff; border-color: var(--navy); }
.hm-gform .gform_wrapper.gravity-theme .hm-seg .gchoice input:focus-visible + label { outline: 3px solid var(--red); outline-offset: 2px; }
.hm-gform .gform_wrapper.gravity-theme .gform_footer { margin: 22px 0 0; padding: 0; }
.hm-gform .gform_wrapper.gravity-theme .gform_footer .btn { margin: 0; }
.hm-gform .gform_wrapper.gravity-theme .gform_ajax_spinner { margin-left: 12px; }
.hm-gform .gform_confirmation_message { text-align: center; padding: 30px 10px; color: var(--ink); }
.hm-thanks .tick { width: 84px; height: 84px; margin: 0 auto 18px; display: block; }
.hm-thanks .tick circle { fill: none; stroke: #2E9C7E; stroke-width: 3; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw .8s var(--ease) forwards; }
.hm-thanks .tick path { fill: none; stroke: #2E9C7E; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .5s var(--ease) .6s forwards; }
.hm-thanks h2 { font-size: 1.6rem; }
.hm-thanks p { color: var(--mute); }
@media (max-width: 640px) {
  .hm-gform .gform_wrapper.gravity-theme .gfield--width-half { grid-column: span 12; }
}
