/* Super Deep Cleaning — bright theme (sky blue + gold brand) */
:root {
  --blue: #1a9fd4;
  --blue-bright: #55b4e6;
  --blue-deep: #0d7eae;
  --gold: #f0a820;
  --gold-deep: #d9920f;
  --ink: #132033;
  --muted: #4a5d73;
  --bg: #f3f9fd;
  --bg-elev: #ffffff;
  --bg-soft: #e8f4fb;
  --line: rgba(26, 159, 212, 0.22);
  --danger: #d64545;
  --radius: 14px;
  --shadow: 0 14px 40px rgba(19, 52, 80, 0.1);
  --font-display: "Nunito", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", "Trebuchet MS", sans-serif;
  --max: 1120px;
  --header-h: 64px;
  --mobile-bar-h: 4.5rem;
  --space: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 8% -8%, rgba(85, 180, 230, 0.28), transparent 55%),
    radial-gradient(900px 480px at 100% 0%, rgba(253, 185, 64, 0.18), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 28%, #eef7fc 100%);
  min-height: 100vh;
  overflow-x: clip;
  padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom));
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: rgba(85, 180, 230, 0.35);
  color: var(--ink);
}

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

a {
  color: var(--blue-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold-deep);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #111;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

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

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

/* Header — mobile first */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 9, 13, 0.96);
  border-bottom: 1px solid rgba(85, 180, 230, 0.28);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: var(--header-h);
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}

.logo-link img {
  height: 40px;
  width: auto;
  max-width: min(168px, 58vw);
  object-fit: contain;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.2rem;
}

.nav-desktop > a,
.nav-dropdown > button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(244, 247, 251, 0.88);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease;
}

.nav-desktop > a:hover,
.nav-dropdown > button:hover,
.nav-dropdown.is-open > button,
.nav-dropdown:focus-within > button {
  color: #fff;
  background: rgba(85, 180, 230, 0.14);
}

.nav-desktop > a:focus-visible,
.nav-dropdown > button:focus-visible {
  color: #fff;
  background: rgba(85, 180, 230, 0.18);
}

.nav-dropdown > button::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.75;
  transition: transform 0.16s ease;
}

.nav-dropdown.is-open > button::after,
.nav-dropdown:focus-within > button::after {
  transform: rotate(225deg) translateY(-1px);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-panel {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 80;
  min-width: 300px;
  padding: 0.55rem 0 0; /* hover bridge — keeps pointer inside the menu */
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: opacity 0.14s ease, visibility 0.14s ease, transform 0.14s ease;
  transform: translateY(4px);
}

.nav-dropdown-panel-inner {
  display: grid;
  gap: 0.15rem;
  background: linear-gradient(180deg, #141a24 0%, #0f141c 100%);
  border: 1px solid rgba(85, 180, 230, 0.28);
  border-radius: 14px;
  padding: 0.55rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel,
.nav-dropdown.is-open .nav-dropdown-panel {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.94rem;
  color: #c5ced8 !important;
  text-decoration: none;
  transition: background 0.14s ease, color 0.14s ease;
}

.nav-dropdown-panel a::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.14s ease, transform 0.14s ease;
}

.nav-dropdown-panel a:hover,
.nav-dropdown-panel a:focus-visible {
  background: rgba(85, 180, 230, 0.14);
  color: #fff !important;
}

.nav-dropdown-panel a:hover::after,
.nav-dropdown-panel a:focus-visible::after {
  opacity: 0.9;
  color: var(--gold);
  transform: rotate(45deg) translateX(2px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.phone-link {
  display: none;
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.phone-link:hover {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  min-height: 44px;
  font-weight: 800;
  font-family: inherit;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

/* Must come after .btn — otherwise display:inline-flex wins on mobile */
.header-actions .btn-header-quote {
  display: none;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1a1408;
  box-shadow: 0 8px 22px rgba(240, 168, 32, 0.35);
}

.btn-primary:hover {
  color: #1a1408;
  filter: brightness(1.05);
}

.btn-secondary {
  background: #fff;
  border-color: var(--blue);
  color: var(--blue-deep);
}

.btn-secondary:hover {
  background: rgba(85, 180, 230, 0.14);
  color: var(--blue-deep);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  border-color: rgba(19, 52, 80, 0.12);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 44px;
  min-height: 44px;
  background: rgba(85, 180, 230, 0.12);
  border: 1px solid rgba(85, 180, 230, 0.35);
  color: #f4f7fb;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
  background: rgba(85, 180, 230, 0.22);
  border-color: rgba(85, 180, 230, 0.55);
}

.nav-mobile {
  display: none;
  border-top: 1px solid rgba(85, 180, 230, 0.2);
  padding: 0.75rem 0 1.1rem;
  max-height: min(70dvh, calc(100dvh - var(--header-h) - 1rem));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.nav-mobile.open {
  display: grid;
  gap: 0.35rem;
}

.nav-mobile > a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  color: #f4f7fb;
  text-decoration: none;
  font-weight: 700;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.14s ease, border-color 0.14s ease;
}

.nav-mobile > a:hover,
.nav-mobile > a:focus-visible {
  background: rgba(85, 180, 230, 0.14);
  border-color: rgba(85, 180, 230, 0.28);
  color: #fff;
}

.nav-mobile > a[href^="tel"],
.nav-mobile > a[href="#quote"] {
  background: rgba(240, 168, 32, 0.12);
  border-color: rgba(240, 168, 32, 0.28);
  color: var(--gold);
}

.nav-mobile > a[href^="tel"]:hover,
.nav-mobile > a[href="#quote"]:hover {
  background: rgba(240, 168, 32, 0.2);
  color: #ffe3a0;
}

.nav-mobile-services {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.15rem 0.35rem 0.35rem;
  background: rgba(255, 255, 255, 0.03);
}

.nav-mobile-services summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  color: var(--gold);
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0.55rem;
  border-radius: 10px;
}

.nav-mobile-services summary::-webkit-details-marker {
  display: none;
}

.nav-mobile-services summary::after {
  content: "+";
  width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(85, 180, 230, 0.16);
  font-size: 1.1rem;
  color: var(--blue-bright);
}

.nav-mobile-services[open] summary::after {
  content: "–";
}

.nav-mobile .sub {
  padding: 0.55rem 0.75rem 0.55rem 1rem;
  margin: 0.15rem 0.2rem;
  font-weight: 600;
  color: #b7c2cf;
  font-size: 0.94rem;
  min-height: 42px;
  border-radius: 10px;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-mobile .sub:hover,
.nav-mobile .sub:focus-visible {
  background: rgba(85, 180, 230, 0.12);
  color: #fff;
}

@media (min-width: 960px) {
  :root {
    --header-h: 76px;
  }

  body {
    font-size: 1.05rem;
    padding-bottom: 0;
  }

  .nav-desktop {
    display: flex;
  }
  .phone-link {
    display: inline;
  }
  .header-actions .btn-header-quote {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }
  .nav-mobile {
    display: none !important;
  }
  .logo-link img {
    height: 58px;
    max-width: none;
  }
}

/* Hero — full-bleed photo, mobile first */
.hero {
  position: relative;
  min-height: min(72svh, 640px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.06);
  animation: heroDrift 18s ease-out both;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      195deg,
      rgba(7, 16, 28, 0.15) 0%,
      rgba(7, 16, 28, 0.45) 38%,
      rgba(7, 16, 28, 0.88) 100%
    ),
    linear-gradient(
      90deg,
      rgba(7, 16, 28, 0.82) 0%,
      rgba(7, 16, 28, 0.55) 42%,
      rgba(7, 16, 28, 0.2) 100%
    );
}

.hero-frame {
  width: min(100% - (var(--space) * 2), var(--max));
  margin-inline: auto;
  padding: 2.5rem 0 2.25rem;
}

.hero-content {
  max-width: 34rem;
  animation: rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 7vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 0.85rem;
  font-weight: 800;
  text-wrap: balance;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.hero h1::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  margin-top: 0.9rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--blue-bright));
}

.hero .lede {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
  line-height: 1.55;
  margin: 0 0 1.35rem;
  max-width: 30rem;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.hero-ctas .btn {
  width: 100%;
}

.btn-hero-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 800;
  font-family: inherit;
  font-size: 0.95rem;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn-hero-call:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  color: #fff;
  transform: translateY(-1px);
}

@keyframes heroDrift {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1.06);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (min-width: 640px) {
  .hero {
    min-height: min(78svh, 720px);
    align-items: center;
  }

  .hero-frame {
    padding: 4rem 0;
  }

  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-ctas .btn,
  .hero-ctas .btn-hero-call {
    width: auto;
    min-width: 11.5rem;
  }

  .hero .lede {
    font-size: 1.12rem;
  }

  .hero-media img {
    object-position: center;
  }
}

@media (min-width: 960px) {
  .hero {
    min-height: min(86svh, 780px);
  }

  .hero-content {
    max-width: 38rem;
  }

  .hero h1::after {
    width: 4.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Sections — mobile first */
.section {
  padding: 2.75rem 0;
}

.section-tight {
  padding: 1.75rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 4.25rem 0;
  }

  .section-tight {
    padding: 2.5rem 0;
  }
}

.section-head {
  margin-bottom: 1.35rem;
  max-width: 40rem;
}

.section-head h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  font-weight: 800;
}

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

.proof-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

.proof-strip div strong {
  display: block;
  font-size: 1.15rem;
  color: var(--gold-deep);
  font-weight: 800;
}

.proof-strip div span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

@media (min-width: 720px) {
  .proof-strip {
    gap: 1rem;
    padding: 1.25rem;
  }

  .proof-strip div strong {
    font-size: 1.35rem;
  }

  .proof-strip div span {
    font-size: 0.92rem;
  }
}

@media (min-width: 720px) {
  .proof-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

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

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

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid rgba(19, 52, 80, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  border-color: var(--blue-bright);
  transform: translateY(-3px);
  color: inherit;
  box-shadow: 0 18px 44px rgba(26, 159, 212, 0.18);
}

.service-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.service-card .body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: grid;
  gap: 0.45rem;
  flex: 1;
}

.service-card h3 {
  margin: 0;
  font-size: 1.12rem;
  color: var(--blue-deep);
}

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

.service-card .more {
  margin-top: auto;
  padding-top: 0.55rem;
  font-weight: 800;
  color: var(--gold-deep);
  font-size: 0.92rem;
}

.feature-band {
  display: grid;
  gap: 1rem;
}

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

.feature-tile {
  position: relative;
  min-height: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: #fff;
  isolation: isolate;
}

@media (min-width: 800px) {
  .feature-tile {
    min-height: 220px;
  }
}

.feature-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.feature-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(8, 28, 48, 0.9));
}

.feature-tile .body {
  padding: 1.25rem;
}

.feature-tile h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.feature-tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.why-grid {
  display: grid;
  gap: 1rem;
}

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

.why-item {
  padding: 1.15rem 1.2rem;
  background: var(--bg-elev);
  border-radius: var(--radius);
  border: 1px solid rgba(19, 52, 80, 0.08);
  box-shadow: var(--shadow);
}

.why-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  color: var(--gold-deep);
}

.why-item p {
  margin: 0;
  color: var(--muted);
}

.area-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.area-cloud a {
  display: inline-flex;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(19, 52, 80, 0.05);
}

.area-cloud a:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  background: #fff8eb;
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

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

.step {
  padding: 1.2rem;
  background: var(--bg-elev);
  border-radius: var(--radius);
  border-top: 3px solid var(--blue-bright);
  box-shadow: var(--shadow);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(85, 180, 230, 0.2);
  color: var(--blue-deep);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

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

.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 48rem;
}

.faq-list details {
  background: var(--bg-elev);
  border: 1px solid rgba(19, 52, 80, 0.08);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  box-shadow: 0 6px 18px rgba(19, 52, 80, 0.05);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

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

.faq-list details p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.cta-band {
  background:
    linear-gradient(135deg, rgba(85, 180, 230, 0.22), rgba(253, 185, 64, 0.16)),
    #ffffff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: 1.35rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .cta-band {
    padding: 2rem 1.5rem;
  }
}

.cta-band h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-band p {
  margin: 0 auto 1.25rem;
  color: var(--muted);
  max-width: 36rem;
}

.cta-band .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Page chrome */
.page-hero {
  padding: 1.75rem 0 1.35rem;
  border-bottom: 1px solid rgba(19, 52, 80, 0.08);
}

@media (min-width: 768px) {
  .page-hero {
    padding: 3rem 0 2rem;
  }
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

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

.breadcrumbs a:hover {
  color: var(--blue);
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3.5vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.page-hero .lede {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.45rem;
}

.prose h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.15rem;
  color: var(--blue-deep);
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  padding-left: 1.15rem;
}

.prose li {
  margin-bottom: 0.35rem;
}

.content-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .content-grid {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: start;
  }
}

.side-panel {
  position: static;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: var(--shadow);
}

@media (min-width: 900px) {
  .side-panel {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    padding: 1.25rem;
  }
}

.side-panel h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: var(--blue-deep);
}

.side-panel ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.side-panel li {
  margin-bottom: 0.45rem;
}

.side-panel a {
  text-decoration: none;
  font-weight: 700;
}

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.25rem 0;
  border: 1px solid rgba(19, 52, 80, 0.08);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Tally embed */
.tally-embed {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
}

.tally-embed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
  min-height: 520px;
  background: transparent;
}

@media (min-width: 640px) {
  .tally-embed iframe {
    min-height: 640px;
  }
}

/* Forms */
.form {
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 640px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(19, 52, 80, 0.14);
  background: #fff;
  color: var(--ink);
  padding: 0.75rem 0.85rem;
  font: inherit;
  caret-color: var(--blue-deep);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(85, 180, 230, 0.25);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-success {
  display: none;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(85, 180, 230, 0.16);
  border: 1px solid var(--blue);
  color: var(--ink);
}

.form-success.show {
  display: block;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 2.25rem 0 1.5rem;
  background: linear-gradient(180deg, #e8f4fb 0%, #d9eef8 100%);
  border-top: 1px solid var(--line);
}

@media (min-width: 768px) {
  .site-footer {
    margin-top: 3rem;
    padding: 3rem 0 2rem;
  }
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

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

.site-footer h2 {
  font-size: 1rem;
  margin: 0 0 0.85rem;
  color: var(--gold-deep);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

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

.nap {
  color: var(--muted);
  font-size: 0.95rem;
}

.nap strong {
  color: var(--ink);
  display: block;
  margin-bottom: 0.45rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(19, 52, 80, 0.1);
  color: var(--muted);
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}

/* Mobile sticky bar */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 28px rgba(19, 52, 80, 0.08);
}

.mobile-bar .btn {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 0.65rem;
  font-size: 0.95rem;
}

@media (min-width: 960px) {
  .mobile-bar {
    display: none;
  }
  .site-footer {
    padding-bottom: 3rem;
  }
}

/* Safer mobile media / grids */
.hero-media img,
.service-card img,
.media-frame img {
  max-width: 100%;
}

.area-cloud a {
  min-height: 40px;
  align-items: center;
}

.cta-band .actions {
  flex-direction: column;
}

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

@media (min-width: 640px) {
  .cta-band .actions {
    flex-direction: row;
  }

  .cta-band .actions .btn {
    width: auto;
  }
}

.list-links {
  columns: 1;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .list-links {
    columns: 2;
  }
}

@media (min-width: 900px) {
  .list-links {
    columns: 3;
  }
}

.list-links a {
  display: block;
  break-inside: avoid;
  padding: 0.35rem 0;
  font-weight: 700;
  text-decoration: none;
}

.related-modules {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

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

.module {
  background: var(--bg-elev);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(19, 52, 80, 0.08);
  box-shadow: var(--shadow);
}

.module h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  color: var(--gold-deep);
}

.module ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.blog-grid {
  display: grid;
  gap: 1rem;
}

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

.blog-card {
  display: block;
  padding: 1.25rem;
  background: var(--bg-elev);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(19, 52, 80, 0.08);
  box-shadow: var(--shadow);
}

.blog-card:hover {
  border-color: var(--blue-bright);
  color: inherit;
}

.blog-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--blue-deep);
}

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