/* ==========================================================================
   Blue Lagoon Pools & Spas, Inc. — main stylesheet
   Static site, no build step, no external fonts or frameworks.
   ========================================================================== */

:root {
  --ink: #0b2831;
  --ink-2: #17414e;
  --muted: #56727c;
  --lagoon: #0a6f8f;
  --lagoon-dark: #075166;
  --aqua: #35b3c6;
  --sky: #e9f5f8;
  --sand: #f7f2e8;
  --paper: #ffffff;
  --line: #dfe9ec;
  --line-2: #c9d9dd;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(9, 42, 54, 0.06), 0 10px 26px -16px rgba(9, 42, 54, 0.28);
  --shadow-md: 0 2px 4px rgba(9, 42, 54, 0.06), 0 22px 45px -22px rgba(9, 42, 54, 0.35);
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --max: 1120px;
  --gutter: 1.25rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.05rem, 1.45rem + 2.6vw, 3.2rem);
}

h2 {
  font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.35rem);
}

h3 {
  font-size: clamp(1.18rem, 1.08rem + 0.45vw, 1.4rem);
}

h4 {
  font-size: 1.05rem;
}

p {
  margin: 0 0 1.1em;
}

a {
  color: var(--lagoon);
  text-decoration-color: rgba(10, 111, 143, 0.35);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--lagoon-dark);
  text-decoration-color: currentColor;
}

ul,
ol {
  padding-left: 1.15rem;
}

li {
  margin-bottom: 0.45em;
}

strong {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(53, 179, 198, 0.28);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: var(--lagoon);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

.wrap {
  width: min(var(--max), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(760px, 100% - (var(--gutter) * 2));
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

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

.btn svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}

.btn-primary {
  background: var(--lagoon);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(10, 111, 143, 0.85);
}

.btn-primary:hover {
  background: var(--lagoon-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--lagoon-dark);
  border-color: var(--line-2);
}

.btn-outline:hover {
  border-color: var(--lagoon);
  color: var(--lagoon-dark);
  background: rgba(10, 111, 143, 0.05);
}

.btn-light {
  background: #fff;
  color: var(--lagoon-dark);
}

.btn-light:hover {
  background: #f2fafc;
  color: var(--lagoon-dark);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.btn-sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.94rem;
}

.btn-lg {
  padding: 1rem 1.9rem;
  font-size: 1.06rem;
}

/* ----------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.1) blur(6px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}

.brand-logo {
  width: auto;
  height: 58px;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--lagoon-dark), var(--aqua));
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(10, 111, 143, 0.9);
}

.brand-mark svg {
  width: 26px;
  height: 26px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.015em;
}

.brand-sub {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.topbar-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: right;
}

.topbar-meta .label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.phone-link {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.phone-link:hover {
  color: var(--lagoon);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
}

.nav-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: 18px;
}

.nav-toggle-icon span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle-icon span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-open .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle-icon span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.primary-nav {
  border-top: 1px solid var(--line);
  background: #fff;
}

.primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.2rem;
  margin: 0;
  padding: 0.3rem 0;
  list-style: none;
}

.primary-nav li {
  margin: 0;
}

.primary-nav a,
.nav-dropdown > summary {
  display: inline-block;
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.primary-nav a:hover,
.nav-dropdown > summary:hover {
  background: var(--sky);
  color: var(--lagoon-dark);
}

.primary-nav a[aria-current="page"] {
  background: var(--lagoon);
  color: #fff;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown > summary::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-dropdown[open] > summary::after {
  transform: translateY(1px) rotate(225deg);
}

.nav-dropdown[open] > summary {
  background: var(--sky);
  color: var(--lagoon-dark);
}

.nav-dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 16rem;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-weight: 500;
}

@media (min-width: 981px) {
  .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    z-index: 70;
  }
}

/* ------------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  color: #eaf6f9;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(53, 179, 198, 0.35), transparent 60%),
    radial-gradient(90% 90% at 5% 100%, rgba(7, 81, 102, 0.9), transparent 65%),
    linear-gradient(155deg, #06222e 0%, #0a4f66 45%, #0a6f8f 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 90px;
  background: radial-gradient(120% 100% at 50% 100%, rgba(255, 255, 255, 0.06), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-block: clamp(2.75rem, 6vw, 4.75rem);
}

.hero h1 {
  color: #fff;
  max-width: 20ch;
}

.hero .lede {
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.15rem);
  color: #d5eaf0;
  max-width: 46ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.1rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d9f2f8;
}

.eyebrow--dark {
  border-color: var(--line-2);
  background: var(--sky);
  color: var(--lagoon-dark);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.6rem 0 1.9rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: #cfe7ee;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.hero-facts svg {
  width: 1rem;
  height: 1rem;
  color: var(--aqua);
  flex: none;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.65);
  border: 6px solid rgba(255, 255, 255, 0.9);
}

.hero-card {
  position: absolute;
  right: -0.6rem;
  bottom: -1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1.05rem;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  font-size: 0.86rem;
  line-height: 1.3;
  max-width: 15rem;
}

.hero-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
}

.hero-card svg {
  width: 1.9rem;
  height: 1.9rem;
  color: var(--lagoon);
  flex: none;
}

/* ---------------------------------------------------------------- sections */

.section {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section--sand {
  background: var(--sand);
}

.section--sky {
  background: var(--sky);
}

.section--tight {
  padding-block: clamp(2.25rem, 4vw, 3.25rem);
}

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
}

.section-head p {
  color: var(--muted);
  margin-bottom: 0;
}

.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
}

.section-head--row > div {
  max-width: 62ch;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  white-space: nowrap;
}

.text-link svg {
  width: 0.95em;
  height: 0.95em;
  transition: transform 0.18s ease;
}

.text-link:hover svg {
  transform: translateX(3px);
}

.grid {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.6rem);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-2);
}

.card h3 {
  margin: 0.2rem 0 0.3rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.card .text-link {
  margin-top: auto;
  padding-top: 0.7rem;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: var(--sky);
  color: var(--lagoon);
}

.card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* -------------------------------------------------------------- gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery--3 {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.nowrap {
  white-space: nowrap;
}

.gallery > li {
  margin: 0;
}

.shot {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shot:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.shot-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--sky);
  cursor: zoom-in;
  overflow: hidden;
}

.shot-btn img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.shot:hover .shot-btn img {
  transform: scale(1.03);
}

.shot figcaption {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-2);
}

.shot figcaption strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.shot figcaption span {
  color: var(--muted);
}

/* --------------------------------------------------------------- split */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.split-media img.logo-img {
  border-radius: 0;
  box-shadow: none;
}

.split-media--stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.split-media--stack img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.split-media--stack img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}

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

.list-check li {
  position: relative;
  padding-left: 2rem;
  margin: 0;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.34em;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--lagoon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 0.72rem no-repeat;
}

.list-check strong {
  display: block;
}

.list-check span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------------------------------------------------------------- steps */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps > li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: 1.6rem 1.35rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.steps > li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--aqua);
  margin-bottom: 0.55rem;
}

.steps h3 {
  font-size: 1.12rem;
  margin-bottom: 0.35rem;
}

.steps p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ------------------------------------------------------------- credentials */

.credentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.credentials li {
  margin: 0;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.credentials .label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.credentials .value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
}

/* ----------------------------------------------------------------- chips */

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

.chips li {
  margin: 0;
}

.chips a,
.chips span {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  font-size: 0.9rem;
  color: var(--ink-2);
  text-decoration: none;
}

.chips a:hover {
  border-color: var(--lagoon);
  color: var(--lagoon-dark);
  background: var(--sky);
}

/* ------------------------------------------------------------------- faq */

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

.faq li {
  margin: 0;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--sky);
  color: var(--lagoon);
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq .faq-body {
  padding: 1rem 1.2rem 1.2rem;
}

.faq .faq-body p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------- cta band */

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(53, 179, 198, 0.32), transparent 55%),
    linear-gradient(135deg, #06222e, #0a4f66 60%, #0a6f8f);
  color: #e8f5f8;
  padding-block: clamp(2.75rem, 5vw, 4rem);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 120%, rgba(255, 255, 255, 0.09), transparent 40%),
    radial-gradient(circle at 80% -20%, rgba(255, 255, 255, 0.1), transparent 45%);
  pointer-events: none;
}

.cta-band .wrap {
  position: relative;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-inner h2 {
  color: #fff;
  margin-bottom: 0.4rem;
}

.cta-inner p {
  margin: 0;
  color: #cfe7ee;
  max-width: 55ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ------------------------------------------------------------------ footer */

.site-footer {
  background: #08222c;
  color: #b9d2da;
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.site-footer h2,
.site-footer h3 {
  font-family: var(--font-body);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7fb6c4;
  margin: 0 0 0.9rem;
}

.site-footer a {
  color: #dceef3;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

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

.site-footer li {
  margin: 0;
}

.footer-brand .brand-name {
  color: #fff;
  font-size: 1.15rem;
}

.footer-brand p {
  color: #a8c6d0;
  margin: 0.9rem 0 1.1rem;
  max-width: 34ch;
}

.footer-contact {
  display: grid;
  gap: 0.3rem;
  margin-top: 0.4rem;
}

.footer-contact .phone-link {
  color: #fff;
  font-size: 1.25rem;
}

.footer-contact .phone-link:hover {
  color: var(--aqua);
}

.footer-bottom {
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  font-size: 0.85rem;
  color: #8fb2bd;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #b7d3dc;
}

/* ------------------------------------------------------------ page header */

.page-head {
  padding-block: clamp(2.25rem, 4.5vw, 3.5rem);
  background: linear-gradient(180deg, var(--sky), #fff);
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  margin-bottom: 0.6rem;
}

.page-head p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.breadcrumb {
  margin-bottom: 1.1rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumb li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--line-2);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--lagoon);
  text-decoration: underline;
}

/* ------------------------------------------------------------------ prose */

.prose > * {
  max-width: 72ch;
}

.prose > .faq {
  max-width: none;
}

.prose h2 {
  margin-top: 2.2rem;
}

.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 1.7rem;
}

.prose ul,
.prose ol {
  color: var(--ink-2);
}

.prose li {
  margin-bottom: 0.5em;
}

.prose figure {
  margin: 1.8rem 0;
}

.prose figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.prose figcaption {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.callout {
  padding: 1.2rem 1.35rem;
  border-left: 4px solid var(--aqua);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--sky);
  color: var(--ink-2);
}

.callout p:last-child {
  margin-bottom: 0;
}

.page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.4rem;
}

/* ---------------------------------------------------------------- lightbox */

.lightbox {
  width: min(960px, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #061a22;
  color: #eaf6f9;
  box-shadow: var(--shadow-md);
  overflow: auto;
}

.lightbox::backdrop {
  background: rgba(4, 18, 24, 0.82);
  backdrop-filter: blur(3px);
}

.lightbox-inner {
  position: relative;
  padding: 0.75rem;
}

.lightbox img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 6px);
}

.lightbox p {
  margin: 0.7rem 0.4rem 0.3rem;
  font-size: 0.92rem;
  color: #c8e2e9;
}

.lightbox-close {
  position: sticky;
  top: 0.75rem;
  float: right;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin: 0.5rem 0.5rem 0 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font: inherit;
  font-size: 1.25rem;
  cursor: pointer;
}

/* -------------------------------------------------------------- utilities */

.center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-3 {
  margin-top: 1.8rem;
}

.muted {
  color: var(--muted);
}

.sitemap-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.sitemap-columns ul {
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}

.sitemap-columns li {
  margin-bottom: 0.45rem;
}

.sitemap-columns h2 {
  font-size: 1.15rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.9rem;
}

/* --------------------------------------------------------------- responsive */

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 520px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .js .primary-nav {
    display: none;
    padding-block: 0.4rem 0.8rem;
  }

  .js.nav-open .primary-nav {
    display: block;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .primary-nav a,
  .nav-dropdown > summary {
    display: flex;
    justify-content: space-between;
    padding: 0.7rem 0.9rem;
  }

  .nav-dropdown-menu {
    border: 0;
    box-shadow: none;
    padding: 0 0 0 0.9rem;
    min-width: 0;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 1rem;
  }

  .topbar-meta {
    display: none;
  }

  .topbar-actions > .btn {
    display: none;
  }

  .brand-logo {
    height: 48px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .hero-card {
    position: static;
    margin-top: 1rem;
    max-width: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head--row {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 1rem;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .gallery {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .site-header,
  .cta-band,
  .site-footer,
  .hero-media,
  .hero-actions {
    display: none !important;
  }

  body {
    color: #000;
  }

  .hero {
    background: none;
    color: #000;
  }

  .hero h1,
  .hero .lede {
    color: #000;
  }
}
