:root {
  --navy: #0a1f3a;
  --navy-deep: #050e1c;
  --navy-mid: #14375f;
  --ink: #121820;
  --paper: #eef2f6;
  --panel: #ffffff;
  --line: rgba(10, 31, 58, 0.14);
  --muted: #5c6b7a;
  --ice: #1aa6e0;
  --ice-deep: #0e7fad;
  --white: #ffffff;
  --ok: #1f6b4a;
  --err: #9b1c1c;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.75rem;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f7f9fb 0%, var(--paper) 40%, #e8eef4 100%);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 0.55em;
  color: var(--navy);
}

h1 { font-size: clamp(3.25rem, 8vw, 6.4rem); }
h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }

p { margin: 0 0 1em; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ice-deep);
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.86);
}

.page-hero .lede {
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3.1rem;
  padding: 0.85rem 1.45rem;
  border: 0;
  border-radius: 0.55rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-call {
  background: #ffffff !important;
  color: #071628 !important;
  border: 2px solid #071628 !important;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.btn-call:hover {
  background: #e8f6fc !important;
  color: #071628 !important;
  border-color: #071628 !important;
}

.btn-navy {
  background: var(--navy) !important;
  color: var(--white) !important;
}

.btn-navy:hover {
  background: var(--navy-mid) !important;
  color: var(--white) !important;
}

.btn-ghost {
  background: transparent !important;
  color: var(--white) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.55) !important;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--white) !important;
}

.btn-ghost-dark {
  background: transparent !important;
  color: var(--navy) !important;
  border: 1.5px solid rgba(10, 31, 58, 0.28) !important;
}

.btn-ghost-dark:hover {
  background: rgba(10, 31, 58, 0.05) !important;
  color: var(--navy) !important;
}

.text-link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--ice);
}

.text-link:hover {
  color: var(--ice-deep);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: #ffffff;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
}

.brand img {
  width: 148px;
  height: auto;
}

.nav {
  display: none;
  justify-content: center;
  gap: 1.6rem;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
}

.nav a[aria-current="page"] {
  color: var(--ice-deep);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.call-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--navy);
  font-size: 0.92rem;
}

.menu-toggle {
  justify-self: end;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  display: grid;
  gap: 0.4rem;
  align-content: center;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-nav {
  display: grid;
  gap: 1rem;
  padding: 1rem 1.25rem 1.4rem;
  background: #f7f9fb;
  border-bottom: 1px solid var(--line);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--navy);
}

@media (min-width: 900px) {
  .nav,
  .header-actions {
    display: flex;
  }

  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(90vh, 880px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroDrift 20s var(--ease) infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(5, 14, 28, 0.88) 8%, rgba(5, 14, 28, 0.42) 52%, rgba(5, 14, 28, 0.2) 100%),
    linear-gradient(to top, rgba(5, 14, 28, 0.82), transparent 42%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 3.5rem;
  animation: riseIn 0.85s var(--ease) both;
}

.hero-brand {
  display: inline-flex;
  margin: 0 0 1.4rem;
  padding: 0.7rem 0.9rem 0.55rem;
  background: var(--white);
  border-radius: 0.35rem;
}

.hero-brand img {
  width: min(300px, 68vw);
  height: auto;
}

.hero h1 {
  color: var(--white);
  max-width: 11ch;
  margin-bottom: 0.7rem;
}

.hero-ruud {
  margin-top: 1.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.85rem 0.45rem 0.45rem;
  background: var(--white);
  color: var(--navy);
  border-radius: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-ruud img {
  width: 68px;
  height: auto;
}

@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.2%, -1%, 0); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* Marquee strip */
.strip {
  display: flex;
  gap: 2rem;
  overflow: hidden;
  padding: 1rem 0;
  background: var(--ice);
  color: #041018;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.strip-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.strip p {
  margin: 0;
  white-space: nowrap;
}

.strip p::after {
  content: "•";
  margin-left: 2rem;
  opacity: 0.45;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.area-map-band {
  position: relative;
  height: min(68vh, 560px);
  background: #071422;
}

.area-map {
  height: 100%;
  width: 100%;
  background: #071422;
}

.area-map-caption {
  position: absolute;
  z-index: 500;
  left: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: 0.45rem 0.7rem;
  background: rgba(7, 20, 34, 0.82);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.map-pin-wrap {
  background: transparent;
  border: 0;
}

.map-pin {
  display: block;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #1aa6e0;
  box-shadow: 0 0 0 6px rgba(26, 166, 224, 0.35);
  animation: pin-pulse 2.6s ease-out infinite;
}

.area-map .map-label {
  background: rgba(7, 20, 34, 0.9);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.03em;
  padding: 3px 7px;
  white-space: nowrap;
}

.area-map .map-label::before {
  display: none;
}

@keyframes pin-pulse {
  0% { box-shadow: 0 0 0 0 rgba(26, 166, 224, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(26, 166, 224, 0); }
  100% { box-shadow: 0 0 0 0 rgba(26, 166, 224, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .map-pin { animation: none; }
}

.map-pin.is-focus {
  background: #fff;
  box-shadow: 0 0 0 8px rgba(26, 166, 224, 0.45);
}

.area-map .leaflet-popup-content-wrapper,
.area-map .leaflet-popup-tip {
  border-radius: 0;
  color: #071422;
  font-family: var(--sans);
}

.area-map .leaflet-popup-content a {
  color: #0e7fad;
  font-weight: 700;
}

/* Sections */
.feature,
.split-photo,
.services-home,
.about-grid,
.detail-list,
.contact-layout,
.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.25rem;
}

.feature,
.split-photo {
  display: grid;
  gap: 2.4rem;
  align-items: center;
}

@media (min-width: 900px) {
  .feature,
  .split-photo {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.feature-media,
.split-photo-media,
.about-media,
.detail figure {
  margin: 0;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.feature-media img,
.split-photo-media img,
.about-media img,
.detail figure img {
  width: 100%;
  height: min(520px, 58vw);
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.feature-media:hover img,
.split-photo-media:hover img {
  transform: scale(1.04);
}

.faith-quote {
  margin: 1.5rem 0;
  padding: 1rem 0 1rem 1.15rem;
  border-left: 3px solid var(--ice);
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
}

.van-stage {
  position: relative;
  min-height: 68vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.van-media {
  position: absolute;
  inset: -14% 0;
}

.van-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 68%;
}

.van-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 22, 40, 0.08) 35%, rgba(7, 22, 40, 0.78) 100%);
}

.van-copy {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  padding: 4.5rem 1.5rem 4.8rem;
}

.van-copy .kicker {
  color: var(--ice);
}

.van-copy h2 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.van-copy h2,
.van-copy p {
  color: var(--white);
}

.reviews {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem 4.5rem;
}

.reviews .section-intro {
  max-width: 16rem;
}

.reviews-score {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: max-content;
  max-width: 100%;
  margin: 0.8rem 0 0;
  font-weight: 700;
  white-space: nowrap;
}

.stars {
  color: #d89b12;
  letter-spacing: 0.14em;
  font-size: 1.05rem;
  line-height: 1;
}

.review-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

@media (min-width: 900px) {
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.review-card {
  margin: 0;
  padding: 1.35rem 1.3rem 1.15rem;
  background: #f3f7fb;
  border-top: 3px solid var(--navy);
}

.review-card blockquote {
  margin: 0.75rem 0 1rem;
  font-size: 1.02rem;
  line-height: 1.5;
}

.review-card figcaption {
  font-size: 0.84rem;
  font-weight: 700;
}

.review-card figcaption span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-weight: 500;
}

.faith-quote cite {
  display: block;
  margin-top: 0.55rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.section-intro {
  margin-bottom: 2rem;
  max-width: 16ch;
}

/* Services as big list, not cards */
.service-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.service-list a {
  display: grid;
  gap: 0.35rem;
  padding: 1.5rem 0.15rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.3s var(--ease), background 0.3s var(--ease);
}

.service-list a:hover {
  padding-left: 0.75rem;
  color: inherit;
  background: linear-gradient(90deg, rgba(26, 166, 224, 0.08), transparent 55%);
}

.service-list h3 {
  margin: 0;
}

.service-list p {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
}

.service-list .go {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ice-deep);
}

.service-rail {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 800px) {
  .service-rail {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-block {
  display: block;
  padding: 1.35rem 1.2rem;
  text-decoration: none;
  color: inherit;
  background: var(--panel);
  border-left: 3px solid var(--ice);
}

.service-block:hover {
  color: inherit;
  background: #f8fbfe;
}

.service-block h3 {
  margin-bottom: 0.4rem;
}

.service-block p {
  margin: 0;
  color: var(--muted);
}

.service-rail-tight {
  margin-top: 1.25rem;
}

/* Ruud */
.ruud-band {
  background: var(--navy);
  color: var(--white);
}

.ruud-band-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .ruud-band-inner {
    grid-template-columns: auto 1fr;
    gap: 3rem;
  }
}

.ruud-band .kicker {
  color: var(--ice);
}

.ruud-band h2 {
  color: var(--white);
}

.ruud-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 36rem;
}

.ruud-large {
  width: min(200px, 48vw);
  filter: brightness(0) invert(1);
}

.area-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.area-list li {
  margin: 0;
}

.area-list a,
.area-list > li:not(:has(a)) {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  background: var(--navy);
  color: var(--white) !important;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
}

.area-list-links {
  margin-top: 0;
}

/* CTA */
.cta-final {
  background:
    radial-gradient(700px 280px at 15% 20%, rgba(26, 166, 224, 0.22), transparent 60%),
    var(--navy-deep);
  color: var(--white);
}

.cta-final-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.25rem;
}

.cta-final h2 {
  color: var(--white);
}

.cta-final p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 30rem;
}

/* Inner pages */
.page-hero {
  padding-top: 3.4rem;
  padding-bottom: 1.5rem;
}

.page-hero-compact {
  padding-bottom: 0.5rem;
}

.page-hero h1 {
  max-width: 14ch;
}

.page-hero .lede a {
  color: var(--ice-deep);
  font-weight: 700;
}

.detail-list {
  display: grid;
  gap: 3.5rem;
  padding-top: 0.5rem;
}

.detail {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .detail {
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
  }

  .detail-flip {
    direction: rtl;
  }

  .detail-flip > * {
    direction: ltr;
  }
}

.inline-ruud {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
}

.inline-ruud img {
  width: 86px;
}

.about-grid {
  display: grid;
  gap: 2.2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.facts {
  display: grid;
  gap: 1rem;
  margin: 1.8rem 0 0;
}

.facts dt {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ice-deep);
}

.facts dd {
  margin: 0.15rem 0 0;
  font-weight: 600;
}

.contact-layout {
  display: grid;
  gap: 2rem;
  padding-top: 0.5rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
  }
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  padding: 1.35rem;
  background: var(--panel);
  border: 1px solid var(--line);
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
}

.contact-form label.full,
.contact-form .btn,
.contact-form .form-success {
  grid-column: 1 / -1;
}

.contact-form span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  padding: 0.85rem 0.9rem;
  font: inherit;
  background: #f7f9fb;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--ice);
  outline-offset: 1px;
}

.form-success {
  margin: 0;
  padding: 0.85rem 1rem;
  background: color-mix(in srgb, var(--ok) 12%, white);
  color: var(--ok);
  font-weight: 600;
}

.contact-aside {
  padding: 1.4rem;
  background: var(--navy);
  color: var(--white);
}

.contact-aside h2 {
  color: var(--white);
}

.contact-aside a {
  color: var(--ice) !important;
  font-weight: 700;
}

.aside-brand-mark {
  display: inline-flex;
  margin: 0 0 1.1rem;
  padding: 0.5rem 0.65rem 0.4rem;
  background: var(--white);
}

.aside-brand-mark img {
  width: 140px;
}

.aside-ruud {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.aside-ruud img {
  width: 110px;
  margin-bottom: 0.7rem;
  filter: brightness(0) invert(1);
}

.aside-ruud p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

/* Footer */
.site-footer {
  background: #030912;
  color: rgba(255, 255, 255, 0.78);
  padding: 3.2rem 1.25rem 2rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.35fr 1fr 0.8fr 1fr;
  }
}

.footer-brand-mark {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.5rem 0.65rem 0.4rem;
  background: var(--white);
}

.footer-brand-mark img {
  width: 160px;
}

.footer-areas {
  max-width: var(--max);
  margin: 2rem auto 0;
}

.footer-areas ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.footer-areas a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.site-footer h2 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ice);
}

.partner-label {
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
}

.ruud-mark {
  width: 110px;
  filter: brightness(0) invert(1);
}

.license {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.footer-copy {
  max-width: var(--max);
  margin: 2.2rem auto 0;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.flash-wrap {
  max-width: var(--max);
  margin: 1rem auto 0;
  padding: 0 1.25rem;
}

.flash {
  margin: 0;
  padding: 0.85rem 1rem;
  font-weight: 600;
}

.flash-success {
  background: color-mix(in srgb, var(--ok) 14%, white);
  color: var(--ok);
}

.flash-error {
  background: color-mix(in srgb, var(--err) 12%, white);
  color: var(--err);
}

.link-grid,
.related,
.counties,
.area-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem 4.5rem;
}

.link-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 800px) {
  .link-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.link-card,
.county-block {
  display: block;
  padding: 1.4rem 1.2rem;
  text-decoration: none;
  color: inherit;
  background: var(--panel);
  border-left: 3px solid var(--ice);
}

.link-card:hover,
.county-block:hover {
  color: inherit;
  background: #f8fbfe;
}

.link-card h2,
.link-card h3,
.county-block h2 {
  margin-bottom: 0.35rem;
}

.link-card p,
.county-block p {
  margin: 0;
  color: var(--muted);
}

.folder-link,
.go {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ice-deep);
}

.counties {
  display: grid;
  gap: 0.75rem;
  padding-top: 0;
}

@media (min-width: 800px) {
  .counties {
    grid-template-columns: 1fr 1fr;
  }
}

.area-body {
  display: grid;
  gap: 1.75rem;
  padding-top: 0;
}

@media (min-width: 900px) {
  .area-body {
    grid-template-columns: 1.35fr 0.75fr;
    align-items: start;
  }
}

.area-aside {
  padding: 1.25rem;
  background: var(--panel);
  border: 1px solid var(--line);
}

.area-aside > img:first-child {
  width: 140px;
  margin-bottom: 1rem;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  padding-left: 1rem;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--ice);
}

.page-hero .actions {
  margin-top: 1.2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Premium hero */
.hero-premium {
  min-height: calc(100svh - var(--header-h));
  isolation: isolate;
  background: var(--navy-deep);
}

.hero-premium::before {
  content: none;
}

.hero-premium .hero-media {
  inset: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  overflow: hidden;
  will-change: transform;
}

.hero-premium .hero-media img {
  width: min(798px, 68vw);
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: none;
  margin-top: -26rem;
  transform: none;
  animation: none;
}

.hero-premium .hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 10, 20, 0.78) 0%, rgba(3, 10, 20, 0.62) 38%, rgba(3, 10, 20, 0.5) 100%);
}

.hero-ruud-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.15rem;
  padding: 0.4rem 0.7rem 0.35rem;
  background: #ffffff;
}

.hero-ruud-mark img {
  width: 78px;
  height: auto;
}

.hero-ruud-mark span {
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-grid {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--max);
  min-height: calc(100svh - var(--header-h));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 1.25rem 3.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
}

.hero-premium .hero-copy {
  max-width: 780px;
  width: auto;
  margin: 0;
  padding: 0;
  will-change: transform;
}

.hero-overline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-overline span {
  display: block;
  width: 2.75rem;
  height: 2px;
  background: var(--ice);
}

.hero-premium .hero-brand {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding: 0.65rem 0.85rem 0.5rem;
  border-radius: 0;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.34);
}

.hero-premium .hero-brand img {
  width: min(300px, 70vw);
}

.hero-premium h1 {
  max-width: none;
  margin: 0;
  color: var(--white);
  font-size: clamp(4.2rem, 12vw, 9.5rem);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.035em;
}

.hero-premium h1 em {
  color: var(--ice);
  font-style: normal;
}

.hero-premium .lede {
  max-width: 38rem;
  margin: 1.7rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-premium .actions {
  margin-top: 1.7rem;
}

.hero-rail {
  display: none;
  position: absolute;
  right: 1.25rem;
  bottom: 3.25rem;
  width: 280px;
  border-top: 2px solid var(--ice);
  background: rgba(5, 14, 28, 0.78);
  backdrop-filter: blur(14px);
  will-change: transform;
}

.rail-item {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.rail-item strong {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  color: var(--white);
  text-transform: uppercase;
  white-space: nowrap;
}

.rail-item span,
.rail-ruud span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rail-ruud {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  background: var(--white);
}

.rail-ruud img {
  width: 92px;
  height: auto;
}

.rail-ruud span {
  color: var(--navy);
}

.hero-scroll {
  position: absolute;
  right: 1.25rem;
  top: 3rem;
  display: none;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-scroll i {
  display: block;
  width: 1px;
  height: 4rem;
  background: linear-gradient(var(--ice), transparent);
}

@media (min-width: 900px) {
  .hero-grid {
    padding-right: 18rem;
  }

  .hero-rail {
    display: block;
  }

  .hero-ruud-mark {
    display: none;
  }

  .hero-scroll {
    display: flex;
  }
}

/* Give inner SEO pages a designed opening instead of plain white space */
.page-hero {
  max-width: none;
  padding: clamp(4rem, 8vw, 7rem) max(1.25rem, calc((100vw - var(--max)) / 2 + 1.25rem));
  background:
    linear-gradient(110deg, var(--navy-deep), var(--navy) 65%, #114e78);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -10vw;
  top: -50%;
  width: 52vw;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotate(36deg);
}

.page-hero .page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  max-width: 13ch;
}

.page-hero .lede {
  color: rgba(255, 255, 255, 0.76);
}

.page-hero .kicker {
  color: var(--ice);
}

.page-hero .btn-ghost-dark {
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
}

/* Comfort Assistant */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.comfort-assistant {
  position: fixed;
  z-index: 90;
  right: clamp(0.9rem, 2vw, 1.5rem);
  bottom: clamp(0.9rem, 2vw, 1.5rem);
  font-family: var(--sans);
}

.assistant-launcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.6rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 18px 45px rgba(3, 9, 18, 0.3);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.assistant-launcher svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.assistant-pulse {
  position: absolute;
  top: 0.5rem;
  left: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: #58d68d;
  box-shadow: 0 0 0 0 rgba(88, 214, 141, 0.45);
  animation: assistantPulse 2s infinite;
}

@keyframes assistantPulse {
  70% { box-shadow: 0 0 0 8px rgba(88, 214, 141, 0); }
  100% { box-shadow: 0 0 0 0 rgba(88, 214, 141, 0); }
}

.assistant-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 1.8rem));
  max-height: min(640px, calc(100vh - 7rem));
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(10, 31, 58, 0.18);
  box-shadow: 0 24px 70px rgba(3, 9, 18, 0.32);
  transform-origin: bottom right;
  animation: assistantIn 0.32s var(--ease) both;
}

.assistant-panel[hidden] {
  display: none;
}

@keyframes assistantIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.assistant-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.05rem;
  background: var(--navy);
  color: var(--white);
}

.assistant-header div {
  display: grid;
}

.assistant-header strong {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.assistant-header span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
}

.assistant-header i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #58d68d;
}

.assistant-header button {
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.assistant-messages {
  flex: 1 1 auto;
  min-height: 190px;
  max-height: 280px;
  overflow-y: auto;
  padding: 1rem;
  background: #f2f6fa;
}

.assistant-message {
  width: fit-content;
  max-width: 88%;
  margin-bottom: 0.7rem;
  padding: 0.75rem 0.85rem;
  font-size: 0.87rem;
  line-height: 1.45;
}

.assistant-message.is-bot {
  background: var(--white);
  color: var(--ink);
  border-left: 3px solid var(--ice);
}

.assistant-message.is-user {
  margin-left: auto;
  background: var(--navy);
  color: var(--white);
}

.assistant-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  padding: 0 1rem 0.9rem;
  background: #f2f6fa;
}

.assistant-quick button,
.assistant-quick a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.5rem 0.6rem;
  border: 1px solid rgba(10, 31, 58, 0.18);
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.assistant-quick button:hover,
.assistant-quick a:hover {
  border-color: var(--ice);
  color: var(--ice-deep);
}

.assistant-input {
  display: grid;
  grid-template-columns: 1fr auto;
  border-top: 1px solid rgba(10, 31, 58, 0.12);
}

.assistant-input input {
  min-width: 0;
  padding: 0.9rem 1rem;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 0.82rem;
}

.assistant-input button {
  width: 3.25rem;
  border: 0;
  background: var(--ice);
  color: var(--navy-deep);
  cursor: pointer;
}

.assistant-input svg {
  width: 1.3rem;
  fill: currentColor;
}

.assistant-booking {
  max-height: 520px;
  overflow-y: auto;
  padding: 1rem;
}

.assistant-booking[hidden] {
  display: none;
}

.assistant-booking > p {
  margin: 0 0 0.8rem;
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
}

.assistant-form-error {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.7rem;
  background: #fff0f0;
  color: var(--err);
  font-size: 0.78rem;
  font-weight: 600;
}

.assistant-booking label {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.65rem;
}

.assistant-booking label span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.assistant-booking input,
.assistant-booking select,
.assistant-booking textarea {
  width: 100%;
  padding: 0.65rem 0.7rem;
  border: 1px solid rgba(10, 31, 58, 0.18);
  background: #f7f9fb;
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
}

.assistant-submit,
.assistant-back {
  width: 100%;
  min-height: 2.75rem;
  border: 0;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.assistant-submit {
  background: var(--navy);
  color: var(--white);
}

.assistant-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.assistant-back {
  margin-top: 0.35rem;
  background: transparent;
  color: var(--muted);
}

@media (max-width: 520px) {
  .assistant-launcher span:last-child {
    display: none;
  }

  .assistant-launcher {
    width: 3.6rem;
    padding: 0;
    justify-content: center;
  }

  .assistant-panel {
    position: fixed;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 5.3rem;
    width: auto;
    max-height: calc(100svh - 7rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img,
  .strip-track,
  .assistant-pulse,
  .assistant-panel,
  .reveal,
  .hero-copy,
  .btn {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
