:root {
  --navy-950: #081724;
  --navy-900: #102737;
  --navy-800: #1a3c50;
  --steel-700: #33586f;
  --copper-500: #bd7a39;
  --copper-400: #d49756;
  --mint-300: #76b8b0;
  --paper-50: #f4f6f6;
  --paper-100: #ecf1f3;
  --ink-900: #122433;
  --ink-700: #355164;
  --white: #ffffff;
  --radius-lg: 22px;
  --radius-md: 15px;
  --shadow-soft: 0 16px 40px rgba(7, 26, 39, 0.11);
  --shadow-strong: 0 26px 55px rgba(6, 23, 38, 0.22);
  --max-width: 1140px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(circle at 90% 4%, rgba(113, 171, 184, 0.2), transparent 28%),
    radial-gradient(circle at 10% 22%, rgba(191, 138, 85, 0.16), transparent 26%),
    linear-gradient(180deg, #f7fafb 0%, #edf2f4 55%, #f7f8f8 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.32;
  background-image: repeating-linear-gradient(
    130deg,
    rgba(24, 58, 77, 0.045),
    rgba(24, 58, 77, 0.045) 1px,
    transparent 1px,
    transparent 18px
  );
}

img,
svg {
  display: block;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.14;
  margin: 0 0 0.9rem;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.2rem, 4.1vw, 3.6rem);
}

h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.45rem;
}

.container {
  width: min(var(--max-width), calc(100% - 2.2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(159, 188, 202, 0.16);
  background: linear-gradient(
    180deg,
    rgba(9, 28, 42, 0.94),
    rgba(9, 28, 42, 0.84)
  );
  backdrop-filter: blur(9px);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem 0;
}

.brand {
  text-decoration: none;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  font-weight: 700;
  font-size: 0.98rem;
}

.brand span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.65rem;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(145deg, var(--copper-500), var(--copper-400));
  color: #18120d;
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.95rem;
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: 1.3rem;
}

.main-nav a {
  color: rgba(241, 248, 252, 0.9);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--white);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--steel-700);
}

.button {
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  font-weight: 750;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 220ms ease, background-color 200ms ease,
    border-color 220ms ease;
}

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

.button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(125, 194, 188, 0.55);
  outline-offset: 2px;
}

.button.primary {
  color: #18130d;
  background: linear-gradient(135deg, var(--copper-400), var(--copper-500));
  box-shadow: 0 14px 30px rgba(140, 83, 23, 0.3);
}

.button.ghost {
  color: rgba(245, 251, 254, 0.94);
  border-color: rgba(179, 208, 219, 0.45);
  background: rgba(18, 44, 61, 0.25);
}

.nav-call {
  color: #0f1e2a;
  background: linear-gradient(135deg, #f3be87, #d99751);
  box-shadow: none;
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: clip;
  padding: clamp(4rem, 8vh, 6.4rem) 0 4rem;
  background:
    radial-gradient(circle at 85% 22%, rgba(89, 168, 172, 0.19), transparent 38%),
    linear-gradient(150deg, #0a1c2a, #123449 48%, #1c465d 100%);
  color: #f3f8fb;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 84px;
  background: linear-gradient(180deg, transparent, rgba(7, 16, 24, 0.22));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: stretch;
}

.hero-copy {
  padding: 1.2rem 0;
}

.hero .eyebrow {
  color: rgba(203, 228, 236, 0.9);
}

.hero .lead {
  font-size: 1.1rem;
  color: rgba(230, 243, 249, 0.94);
  max-width: 60ch;
}

.hero-chips {
  margin-top: 1.05rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-chips span {
  font-size: 0.79rem;
  border: 1px solid rgba(194, 225, 235, 0.36);
  color: rgba(232, 244, 249, 0.95);
  border-radius: 999px;
  padding: 0.37rem 0.66rem;
  background: rgba(17, 56, 78, 0.45);
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.hero-stats div {
  border-top: 1px solid rgba(184, 214, 224, 0.32);
  padding-top: 0.7rem;
}

.hero-stats dt {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.18rem;
  color: #fff3e4;
}

.hero-stats dd {
  margin: 0;
  color: rgba(222, 238, 245, 0.9);
  font-size: 0.9rem;
}

.dispatch-card {
  align-self: center;
  background:
    linear-gradient(165deg, rgba(7, 33, 49, 0.9), rgba(17, 57, 78, 0.92)),
    linear-gradient(130deg, rgba(126, 193, 194, 0.12), transparent);
  border: 1px solid rgba(186, 216, 227, 0.34);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-strong);
}

.dispatch-label {
  text-transform: uppercase;
  font-size: 0.73rem;
  letter-spacing: 0.09em;
  color: rgba(182, 221, 227, 0.9);
  margin-bottom: 0.4rem;
}

.dispatch-card h2 {
  color: #f2ddc8;
}

.dispatch-card p,
.dispatch-card li {
  color: rgba(233, 244, 249, 0.95);
}

.phone-link {
  display: inline-flex;
  margin: 0.35rem 0 0.75rem;
  text-decoration: none;
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #f6c58d;
}

.section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.section.muted {
  background: linear-gradient(180deg, rgba(227, 236, 240, 0.56), rgba(244, 247, 248, 0.75));
}

.panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(39, 74, 95, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem 1.4rem 1.25rem;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.values-panel h3 {
  font-size: 1.2rem;
}

.check-list {
  list-style: none;
  padding-left: 0;
}

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

.check-list li::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.45rem;
  background: linear-gradient(130deg, #4ba4a0, #2c6277);
}

.feature-grid,
.service-grid,
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card,
.service-card,
.quote-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(38, 73, 93, 0.14);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.feature-card {
  padding: 1.2rem 1.1rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.feature-card:hover,
.service-card:hover,
.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(9, 30, 45, 0.16);
}

.step {
  margin: 0 0 0.5rem;
  color: var(--copper-500);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
}

.service-card {
  padding: 1.15rem;
}

.icon-badge {
  width: 2.45rem;
  height: 2.45rem;
  display: inline-grid;
  place-items: center;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(145deg, rgba(40, 109, 124, 0.18), rgba(66, 150, 153, 0.18));
  border: 1px solid rgba(51, 101, 122, 0.24);
}

.icon-badge svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: #1c4f66;
}

.service-card h3 {
  margin-bottom: 0.6rem;
}

.quote-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-card {
  margin: 0;
  padding: 1.2rem;
  font-style: italic;
  color: var(--ink-700);
  position: relative;
}

.quote-card::before {
  content: "\201C";
  position: absolute;
  top: 0.3rem;
  left: 0.8rem;
  color: rgba(187, 122, 57, 0.33);
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
}

.trust-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  align-items: start;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline li {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(40, 74, 95, 0.15);
  border-radius: var(--radius-md);
  padding: 0.95rem 1rem 0.95rem 2.4rem;
  box-shadow: var(--shadow-soft);
}

.timeline li + li {
  margin-top: 0.72rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: linear-gradient(130deg, var(--copper-400), var(--copper-500));
}

.cta-section {
  padding-top: 1.25rem;
}

.cta-panel {
  background:
    radial-gradient(circle at 85% 22%, rgba(85, 167, 168, 0.2), transparent 35%),
    linear-gradient(145deg, #0c2435, #13384d);
  color: #f5f9fc;
  border-radius: 24px;
  padding: clamp(1.4rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.2rem;
  border: 1px solid rgba(182, 211, 223, 0.28);
  box-shadow: var(--shadow-strong);
}

.cta-panel .eyebrow {
  color: rgba(196, 223, 232, 0.92);
}

.cta-details {
  display: grid;
  align-content: center;
  gap: 0.55rem;
}

.cta-details p {
  margin-bottom: 0;
  color: rgba(230, 243, 248, 0.95);
}

.button.large {
  width: fit-content;
  font-size: 1.05rem;
  padding-inline: 1.25rem;
}

.site-footer {
  padding: 2.4rem 0 2.8rem;
}

.footer-wrap {
  border-top: 1px solid rgba(55, 89, 108, 0.22);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-title {
  font-weight: 800;
  margin: 0;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

.js .stagger-grid > * {
  opacity: 0;
  transform: translateY(12px);
}

.js .stagger-grid.is-visible > * {
  animation: rise 520ms ease forwards;
}

.js .stagger-grid.is-visible > *:nth-child(1) {
  animation-delay: 80ms;
}

.js .stagger-grid.is-visible > *:nth-child(2) {
  animation-delay: 140ms;
}

.js .stagger-grid.is-visible > *:nth-child(3) {
  animation-delay: 200ms;
}

.js .stagger-grid.is-visible > *:nth-child(4) {
  animation-delay: 260ms;
}

.js .stagger-grid.is-visible > *:nth-child(5) {
  animation-delay: 320ms;
}

.js .stagger-grid.is-visible > *:nth-child(6) {
  animation-delay: 380ms;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .hero-grid,
  .split,
  .feature-grid,
  .service-grid,
  .quote-grid,
  .trust-wrap,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .dispatch-card {
    max-width: 680px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .hero-stats div {
    padding-top: 0.5rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max-width), calc(100% - 1.4rem));
  }

  .brand {
    font-size: 0.84rem;
  }

  .brand-mark {
    width: 1.95rem;
    height: 1.95rem;
    font-size: 0.82rem;
  }

  .nav-call {
    padding-inline: 0.75rem;
    font-size: 0.87rem;
  }

  .hero {
    padding-top: 4rem;
  }

  .button.large {
    width: 100%;
  }
}

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

  .reveal,
  .stagger-grid > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
