:root {
  --deep-ocean: #075d96;
  --clean-blue: #078dd0;
  --sky-blue: #54b4e8;
  --pale-water: #dceff9;
  --ice-white: #f7fbfd;
  --white: #ffffff;
  --navy: #082f49;
  --slate: #546772;
  --soft-line: #cfe4ef;
  --line: #d9e8ef;
  --dark-line: rgba(255, 255, 255, 0.18);
  --shadow: 0 22px 55px rgba(8, 47, 73, 0.14);
  --radius: 8px;
  --container: 1160px;
  --header-height: 82px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--navy);
  background: var(--ice-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--sky-blue);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  transform: translateY(-130%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

@media (min-width: 921px) {
  .site-header .container {
    width: min(100% - 24px, 1200px);
  }
}

.brand-symbol,
.brand-wordmark,
.footer-logo {
  display: block;
  max-width: 100%;
  object-fit: contain;
}

.brand-logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.brand-symbol {
  width: clamp(38px, 3.6vw, 46px);
  height: clamp(38px, 3.6vw, 46px);
  flex: 0 0 auto;
}

.brand-wordmark {
  width: clamp(124px, 11.5vw, 156px);
  height: auto;
  max-height: 30px;
}

.logo-fallback {
  color: var(--deep-ocean);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

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

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--clean-blue), var(--deep-ocean));
  box-shadow: 0 14px 30px rgba(7, 141, 208, 0.28);
}

.button-primary:hover {
  box-shadow: 0 16px 36px rgba(7, 93, 150, 0.32);
}

.button-outline {
  color: var(--deep-ocean);
  border: 1px solid rgba(7, 93, 150, 0.28);
  background: var(--white);
}

.button-outline:hover {
  border-color: var(--clean-blue);
  background: var(--pale-water);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--deep-ocean);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.45rem, 6vw, 5rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
}

p {
  color: var(--slate);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(207, 228, 239, 0.9);
  backdrop-filter: blur(14px);
  transition: box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: transparent;
  box-shadow: 0 12px 34px rgba(8, 47, 73, 0.13);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.site-nav {
  flex: 1 1 auto;
}

.mobile-nav-logo {
  display: none;
}

.mobile-nav-brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 1.65rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 800;
  transition: color 160ms ease;
}

.nav-list a:hover {
  color: var(--clean-blue);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.72rem;
  flex: 0 0 auto;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 0.45rem;
  color: var(--navy);
  font-weight: 900;
  white-space: nowrap;
}

.header-phone svg {
  width: 18px;
  height: 18px;
  fill: var(--clean-blue);
}

.phone-label {
  display: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

/* Shared sections */
.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.section-heading.align-left {
  margin-inline: 0;
  text-align: left;
}

.light-heading h2,
.light-copy h2 {
  color: var(--white);
}

.light-heading p,
.light-copy p {
  color: rgba(255, 255, 255, 0.78);
}

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

.video-hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
}

.hero-video,
.hero-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  z-index: 0;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-video-route {
  object-position: 34% center;
}

.video-hero.is-video-ready .hero-video {
  opacity: 1;
}

.video-hero.is-video-ready .hero-video.hero-video-standby {
  opacity: 0;
}

.video-hero.is-video-ready .hero-video.hero-video-active {
  opacity: 1;
}

.video-hero.is-video-fallback .hero-video {
  opacity: 0;
}

.hero-video-overlay {
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(5, 35, 55, 0.55),
      rgba(5, 35, 55, 0.45)
    );
  pointer-events: none;
}

.video-hero > .container {
  position: relative;
  z-index: 2;
}

.video-hero-cinematic .hero-video-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(5,35,55,.18),
      rgba(5,35,55,.28) 50%,
      rgba(5,35,55,.38)
    ),
    linear-gradient(
      180deg,
      rgba(5,35,55,.18),
      rgba(5,35,55,.22)
    );
}

.video-hero-cinematic.is-video-ready .hero-video {
  animation: hero-video-zoom 25s ease-in-out infinite alternate;
}

@keyframes hero-video-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: start;
  gap: 0;
  align-items: start;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--deep-ocean);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* Quote form */
.quote-section {
  padding-block: clamp(3.2rem, 5vw, 4.25rem);
  color: var(--white);
  background:
    radial-gradient(circle at 88% 15%, rgba(84, 180, 232, 0.2), transparent 22rem),
    linear-gradient(135deg, var(--navy), #031c2d);
}

.quote-video-hero {
  position: relative;
  min-height: auto;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(3, 28, 45, 0.7), rgba(3, 28, 45, 0.82));
}

.quote-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.quote-video-hero .quote-video-layer {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.05);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.quote-video-hero .quote-video-layer::-webkit-media-controls,
.quote-video-hero .quote-video-layer::-webkit-media-controls-panel,
.quote-video-hero .quote-video-layer::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
  opacity: 0;
}

.quote-video-hero .hero-video-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 28, 45, 0.64), rgba(5, 35, 55, 0.5) 48%, rgba(3, 28, 45, 0.6)),
    linear-gradient(180deg, rgba(3, 28, 45, 0.42), rgba(3, 28, 45, 0.64));
}

.quote-video-hero > .container {
  z-index: 2;
}

.quote-video-hero .quote-copy {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.quote-video-hero .quote-form {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
}

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

.quote-copy > p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
}

.quote-copy {
  min-width: 0;
}

.direct-call {
  display: grid;
  gap: 0.28rem;
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.direct-call p {
  margin-bottom: 0.35rem;
  font-weight: 850;
}

.direct-call a {
  display: inline-flex;
  width: fit-content;
  color: var(--white);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
  transition: color 160ms ease, transform 160ms ease;
}

.direct-call a:hover {
  color: var(--sky-blue);
  transform: translateX(2px);
}

.quote-open-button {
  margin-top: clamp(1.25rem, 2vw, 1.55rem);
  min-width: min(100%, 230px);
}

.quote-form-panel {
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  transition:
    grid-template-rows 420ms cubic-bezier(0.22, 1, 0.36, 1),
    margin-top 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 420ms;
}

.quote-form-panel.is-open {
  grid-template-rows: 1fr;
  margin-top: clamp(1.35rem, 2.4vw, 1.8rem);
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition:
    grid-template-rows 420ms cubic-bezier(0.22, 1, 0.36, 1),
    margin-top 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms ease 80ms,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s;
}

.quote-form-panel-inner {
  min-height: 0;
  overflow: hidden;
}

.quote-form-shell {
  position: relative;
}

.quote-form-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--navy);
  background: var(--ice-white);
  border: 1px solid rgba(7, 93, 150, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 8px 18px rgba(8, 47, 73, 0.08);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.quote-form-close:hover {
  color: var(--white);
  background: var(--deep-ocean);
  transform: translateY(-1px);
}

.quote-form {
  padding: clamp(1.1rem, 2vw, 1.45rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.quote-form-panel .quote-form {
  padding-top: clamp(3.2rem, 4vw, 3.5rem);
}

.quote-form label {
  margin-bottom: 0.32rem;
  font-size: 0.84rem;
}

.quote-form input,
.quote-form select {
  min-height: 44px;
  padding-block: 0.62rem;
}

.quote-form textarea {
  min-height: 108px;
}

.quote-form .form-submit {
  min-height: 46px;
  margin-top: 0.92rem;
}

.quote-form .form-status {
  margin-top: 0.72rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.82rem;
}

.field {
  min-width: 0;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-wide {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 0.42rem;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  color: var(--navy);
  background: var(--ice-white);
  border: 1px solid #c7dce6;
  border-radius: var(--radius);
  padding: 0.78rem 0.9rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--clean-blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(7, 141, 208, 0.14);
}

.quote-form.was-submitted input:invalid,
.quote-form.was-submitted select:invalid,
.quote-form.was-submitted textarea:invalid {
  border-color: #b33a3a;
}

.form-submit {
  width: 100%;
  margin-top: 1.1rem;
}

.form-status {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  color: var(--slate);
  font-weight: 750;
}

.form-status.is-error {
  color: #9d2f2f;
}

.form-status.is-warning {
  color: var(--deep-ocean);
}

.form-status.is-success {
  color: var(--deep-ocean);
}

/* County Atlas */
.county-atlas {
  background: var(--ice-white);
}

.atlas-hero {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 93, 150, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(7, 93, 150, 0.08) 1px, transparent 1px),
    var(--ice-white);
  background-size: 44px 44px;
}

.atlas-hero.video-hero {
  background:
    linear-gradient(rgba(5, 35, 55, 0.22), rgba(5, 35, 55, 0.22)),
    url("assets/logo/Main.JPG") center 72% / cover no-repeat;
}

.video-hero-cinematic .atlas-hero-grid {
  grid-template-columns: minmax(0, 720px);
  justify-content: end;
  padding-block: clamp(2.5rem, 5vw, 4.4rem);
}

.video-hero-cinematic .atlas-copy h1 {
  font-size: clamp(2.6rem, 5vw, 4.3rem);
}

.video-hero-cinematic .atlas-copy p:not(.eyebrow) {
  font-size: 1.02rem;
}

.video-hero-cinematic .atlas-copy {
  text-align: center;
}

.video-hero-cinematic .atlas-copy h1 {
  margin-inline: auto;
  text-wrap: balance;
}

.video-hero-cinematic .atlas-copy p:not(.eyebrow) {
  margin-inline: auto;
  text-wrap: pretty;
}

.video-hero-cinematic .hero-actions {
  justify-content: center;
}

.atlas-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  justify-content: end;
  min-height: calc(100svh - var(--header-height));
  padding-block: clamp(4rem, 8vw, 7rem);
  align-items: center;
}

.atlas-copy h1 {
  max-width: 760px;
}

.atlas-copy p:not(.eyebrow) {
  max-width: 610px;
  font-size: 1.1rem;
}

.video-hero-cinematic .atlas-copy h1,
.video-hero-cinematic .atlas-copy p {
  color: var(--white);
}

.video-hero-cinematic .atlas-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

.video-hero-cinematic .atlas-copy .eyebrow {
  color: var(--sky-blue);
}

.video-hero-cinematic .hero-shine-text {
  position: relative;
}

.video-hero-cinematic .hero-heading-text,
.video-hero-cinematic .hero-heading-shine,
.video-hero-cinematic .hero-heading-shine-word {
  display: block;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-align: inherit;
  text-wrap: inherit;
}

.video-hero-cinematic .hero-heading-text {
  position: relative;
  z-index: 1;
}

.video-hero-cinematic .hero-heading-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  color: transparent;
  text-transform: inherit;
}

.video-hero-cinematic .hero-heading-shine-word {
  display: inline-block;
  position: relative;
  background:
    linear-gradient(
      120deg,
      transparent 45.2%,
      rgba(84, 180, 232, 0.08) 47%,
      rgba(84, 180, 232, 0.34) 48.3%,
      rgba(134, 211, 250, 0.74) 49.25%,
      rgba(255, 255, 255, 0.98) 49.85%,
      rgba(255, 255, 255, 0.96) 50.15%,
      rgba(128, 205, 248, 0.7) 50.75%,
      rgba(84, 180, 232, 0.3) 52%,
      transparent 54.6%
    ),
    linear-gradient(
      120deg,
      transparent 42%,
      rgba(84, 180, 232, 0.1) 47.5%,
      rgba(255, 255, 255, 0.26) 50%,
      rgba(84, 180, 232, 0.12) 52.5%,
      transparent 58%
    );
  background-position: 100% 0%;
  background-size: 260% 260%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 0 10px rgba(84, 180, 232, 0.42))
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.32))
    blur(0.12px);
  opacity: 0;
  text-transform: inherit;
  will-change: background-position, opacity;
  animation: hero-word-shine 11s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  animation-delay: var(--shine-delay, 0s);
}

.video-hero-cinematic .hero-heading-shine-word:nth-of-type(1) {
  --shine-delay: 0s;
}

.video-hero-cinematic .hero-heading-shine-word:nth-of-type(2) {
  --shine-delay: 0.65s;
}

.video-hero-cinematic .hero-heading-shine-word:nth-of-type(3) {
  --shine-delay: 1.3s;
}

.video-hero-cinematic .hero-heading-shine-word:nth-of-type(4) {
  --shine-delay: 1.95s;
}

.video-hero-cinematic .hero-heading-shine-word:nth-of-type(5) {
  --shine-delay: 2.6s;
}

.video-hero-cinematic .hero-heading-shine-word:nth-of-type(6) {
  --shine-delay: 3.25s;
}

.video-hero-cinematic .hero-heading-shine-word:nth-of-type(7) {
  --shine-delay: 3.9s;
}

.video-hero-cinematic .hero-heading-shine-word:nth-of-type(8) {
  --shine-delay: 4.55s;
}

@keyframes hero-word-shine {
  0% {
    opacity: 0;
    background-position: 120% -20%, 120% -20%;
  }

  2% {
    opacity: 0;
  }

  4% {
    opacity: 1;
  }

  8.8% {
    opacity: 1;
  }

  11.6% {
    opacity: 0;
    background-position: -20% 120%, -20% 120%;
  }

  100% {
    opacity: 0;
    background-position: -20% 120%, -20% 120%;
  }
}

@media (min-width: 921px) {
  .video-hero-cinematic .atlas-hero-grid {
    grid-template-columns: minmax(0, 680px);
    padding-inline-end: clamp(10rem, 16vw, 14rem);
    transform: translateY(-24px);
  }

  .video-hero-cinematic .atlas-copy,
  .video-hero-cinematic .atlas-copy h1 {
    max-width: 680px;
  }

  .video-hero-cinematic .atlas-copy h1 {
    font-size: clamp(2.45rem, 4.45vw, 3.85rem);
  }

  .video-hero-cinematic .atlas-copy p:not(.eyebrow) {
    max-width: 560px;
  }
}



.atlas-image-band {
  margin: 0;
  overflow: hidden;
  max-height: 420px;
}

.atlas-image-band img {
  width: 100%;
  height: min(42vw, 420px);
  object-fit: cover;
  object-position: center;
}

.atlas-services {
  background: var(--white);
}

.atlas-services-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.atlas-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.atlas-list article {
  display: grid;
  grid-template-columns: minmax(180px, 0.5fr) 1fr;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.atlas-about {
  background: var(--pale-water);
}

.atlas-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 820px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.atlas-area {
  background: var(--ice-white);
}

.atlas-area-panel {
  max-width: 920px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

/* Footer */
.site-footer {
  padding-block: 2.4rem 1.4rem;
  color: rgba(255, 255, 255, 0.82);
  background: #041f33;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(180px, 0.6fr) minmax(220px, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.footer-logo {
  width: clamp(150px, 18vw, 220px);
  height: auto;
  filter: brightness(1.14) saturate(1.04) drop-shadow(0 8px 18px rgba(84, 180, 232, 0.18));
}

.footer-grid p {
  max-width: 340px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.75);
}

.footer-nav {
  display: grid;
  gap: 0.65rem;
}

.footer-nav a,
.footer-contact a {
  color: var(--white);
  font-weight: 800;
}

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .desktop-quote {
    display: none;
  }

  .quote-grid {
    grid-template-columns: minmax(0, 720px);
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 74px;
  }

  .brand-symbol {
    width: 42px;
    height: 42px;
  }

  .brand-wordmark {
    width: 140px;
    max-height: 28px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: max-height 220ms ease, opacity 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    visibility: visible;
    max-height: 520px;
    opacity: 1;
  }

  .mobile-nav-logo {
    display: block;
    padding: 0.8rem 0.8rem 0.2rem;
  }

  .mobile-nav-logo .brand-symbol {
    width: 48px;
    height: 48px;
  }

  .mobile-nav-logo .brand-wordmark {
    width: 164px;
    max-height: 32px;
  }

  .nav-list {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 0.55rem;
  }

  .nav-list a {
    display: block;
    min-height: 46px;
    padding: 0.8rem 0.9rem;
    color: var(--navy);
    border-radius: var(--radius);
  }

  .nav-list a:hover {
    background: var(--ice-white);
  }

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

  .atlas-hero-grid,
  .atlas-services-grid,
  .atlas-about-grid {
    grid-template-columns: 1fr;
  }

  .atlas-hero-grid {
    min-height: auto;
  }

  .video-hero-cinematic .atlas-hero-grid {
    justify-content: center;
    padding-block: 3.5rem;
  }

  .hero-video-route {
    object-position: 30% center;
  }

  .video-hero-cinematic .hero-video-overlay {
    background:
      linear-gradient(180deg, rgba(5, 35, 55, 0.76), rgba(5, 35, 55, 0.58)),
      linear-gradient(90deg, rgba(5, 35, 55, 0.54), rgba(5, 35, 55, 0.66));
  }

  .quote-grid {
    grid-template-columns: minmax(0, 700px);
  }

}

@media (max-width: 760px) {
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .quote-copy {
    max-width: 640px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, var(--container));
  }



  .quote-video-hero .hero-video-overlay {
    z-index: 1;
    background:
      linear-gradient(90deg, rgba(3, 28, 45, 0.42), rgba(5, 35, 55, 0.24) 48%, rgba(3, 28, 45, 0.4)),
      linear-gradient(180deg, rgba(3, 28, 45, 0.22), rgba(3, 28, 45, 0.48));
  }

  .quote-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #031c2d url("assets/video/free-quote-poster.png") center / cover no-repeat;
  }

  .quote-video-hero .quote-video-layer {
    z-index: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    opacity: 0;
  }

  .quote-video-hero.is-mobile-video-ready .quote-video-layer {
    opacity: 1;
  }

  .quote-video-hero:not(.is-mobile-video-ready) .quote-video-layer,
  .quote-video-hero.is-mobile-video-fallback .quote-video-layer {
    opacity: 0;
    transition: none;
  }

  .quote-video-hero .quote-video-layer.hero-video-standby {
    opacity: 0;
  }

  .quote-video-hero > .container {
    z-index: 2;
  }

  .quote-open-button {
    width: 100%;
  }

  .form-grid,
  .footer-grid,
  .atlas-list article {
    grid-template-columns: 1fr;
  }

  .form-wide {
    grid-column: auto;
  }

  .atlas-hero-grid {
    padding-block: 3.5rem;
  }

  .video-hero-cinematic .atlas-hero-grid {
    padding-block: 3rem;
  }

  .video-hero-cinematic .atlas-copy h1 {
    font-size: 2.35rem;
  }

  .section,
  .quote-section {
    padding-block: 3.5rem;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  .header-inner {
    gap: 0.5rem;
  }

  .brand-logo-lockup {
    gap: 0.45rem;
  }

  .brand-symbol {
    width: 36px;
    height: 36px;
  }

  .brand-wordmark {
    width: 118px;
    max-height: 24px;
  }

  .header-actions {
    gap: 0.45rem;
  }

  .header-phone {
    min-width: 48px;
    padding-inline: 0.7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--navy);
  }

  .phone-label {
    display: inline;
  }

  .phone-number {
    display: none;
  }

  .hero-actions .button {
    width: 100%;
  }

  .video-hero-cinematic .atlas-copy h1 {
    font-size: 2.12rem;
  }
}

@media (max-width: 380px) {
  .brand-symbol {
    width: 34px;
    height: 34px;
  }

  .brand-wordmark {
    width: 104px;
    max-height: 22px;
  }

  .header-phone {
    padding-inline: 0.58rem;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .video-hero-cinematic .atlas-copy h1 {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .video-hero-cinematic .hero-heading-shine {
    display: none;
    animation: none;
  }
}
