:root {
  --blue-950: #08243d;
  --blue-900: #0b3154;
  --blue-800: #0b4f8a;
  --blue-700: #126aa8;
  --blue-600: #1c86c8;
  --blue-100: #dff1ff;
  --steel: #364654;
  --slate: #596878;
  --line: #d9e3ea;
  --paper: #f7fbff;
  --white: #ffffff;
  --orange: #f28c28;
  --shadow: 0 18px 45px rgba(8, 36, 61, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--steel);
  font-family: "Montserrat", system-ui, sans-serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
.brand,
.nav-link,
.btn {
  font-family: "Roboto", system-ui, sans-serif;
}

h1,
h2,
h3 {
  color: var(--blue-950);
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2.45rem, 5.3vw, 4.55rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
}

.topbar {
  background: var(--blue-950);
  color: var(--white);
  font-size: 0.84rem;
}

.topbar-inner,
.nav-inner,
.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar a[href^="tel:"] {
  align-items: center;
  display: inline-flex;
  gap: 7px;
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 900;
}

.topbar a[href^="tel:"]::before {
  animation: phoneShake 900ms ease 520ms both;
  color: var(--orange);
  content: "\260E";
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
  transform-origin: 50% 80%;
}

.nav-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-950);
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid rgba(11, 79, 138, 0.14);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(8, 36, 61, 0.12);
  overflow: hidden;
  padding: 3px;
}

.brand-mark img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text small {
  color: var(--slate);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  color: var(--blue-950);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--blue-700);
}

.btn {
  align-items: center;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  gap: 10px;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.15rem;
  text-decoration: none;
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--orange);
  color: var(--blue-950);
  box-shadow: 0 14px 28px rgba(242, 140, 40, 0.28);
}

.btn-blue {
  background: var(--blue-800);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(11, 79, 138, 0.24);
}

.btn-outline {
  border: 2px solid var(--blue-800);
  color: var(--blue-800);
  background: transparent;
}

.hero .btn-outline,
.page-hero .btn-outline {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--white);
  color: var(--blue-950);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.hero .btn-outline:hover,
.hero .btn-outline:focus-visible,
.page-hero .btn-outline:hover,
.page-hero .btn-outline:focus-visible {
  background: var(--blue-100);
}

.hero {
  background:
    linear-gradient(90deg, rgba(8, 36, 61, 0.94), rgba(8, 36, 61, 0.64)),
    var(--hero-image, linear-gradient(135deg, var(--blue-950), var(--blue-700)));
  background-position: center;
  background-size: cover;
  color: var(--white);
  min-height: 710px;
  display: grid;
  align-items: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 110px, var(--blue-600) 110px 220px);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 28px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  padding: 62px 0 76px;
}

.hero h1,
.hero h2,
.hero h3 {
  color: var(--white);
}

.eyebrow {
  align-items: center;
  background: rgba(11, 79, 138, 0.1);
  border: 1px solid rgba(11, 79, 138, 0.18);
  border-radius: 999px;
  color: var(--blue-800);
  display: inline-flex;
  justify-self: start;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  padding: 7px 12px;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.cta-band .eyebrow {
  background: rgba(223, 241, 255, 0.16);
  border-color: rgba(223, 241, 255, 0.28);
  color: var(--blue-100);
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.quote-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--steel);
  padding: 22px;
}

.quote-card h2 {
  color: var(--blue-950);
  font-size: 1.55rem;
  margin-bottom: 10px;
  padding-bottom: 12px;
  position: relative;
}

.quote-card h2::after {
  background: var(--orange);
  border-radius: 999px;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 42%;
  bottom: 0;
}

.form-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.form-honey {
  left: -9999px;
  opacity: 0;
  position: absolute;
  top: auto;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 800;
}

input,
select,
textarea {
  border: 1px solid #c6d4df;
  border-radius: var(--radius);
  font: inherit;
  min-height: 46px;
  padding: 11px 12px;
  width: 100%;
}

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

.section {
  padding: 82px 0;
}

.section-alt {
  background: var(--white);
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 34px;
  max-width: 850px;
}

.split {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
}

.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid {
  counter-reset: process;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
}

.process-card {
  border-radius: 0;
  min-height: 270px;
  padding: 30px;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.process-card:first-child {
  border-bottom-left-radius: var(--radius);
  border-top-left-radius: var(--radius);
}

.process-card:last-child {
  border-bottom-right-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.process-card:not(:last-child)::after {
  background: var(--white);
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
  content: "";
  height: 34px;
  position: absolute;
  right: -18px;
  top: 48px;
  transform: rotate(45deg);
  width: 34px;
  z-index: 2;
}

.process-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  z-index: 3;
}

.service-flow {
  gap: 0;
  position: relative;
}

.service-flow .card {
  border-radius: 0;
  min-height: 205px;
  padding: 30px;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-flow .card:first-child {
  border-bottom-left-radius: var(--radius);
  border-top-left-radius: var(--radius);
}

.service-flow .card:last-child {
  border-bottom-right-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.service-flow .card::before {
  background: var(--orange);
  border-radius: 999px;
  content: "";
  height: 5px;
  inset: auto 30px 24px;
  opacity: 0.72;
  position: absolute;
  transform-origin: left center;
}

.service-flow .card:not(:last-child)::after {
  background: var(--white);
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
  content: "";
  height: 34px;
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 34px;
  z-index: 2;
}

.service-flow .card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  z-index: 3;
}

@media (prefers-reduced-motion: no-preference) {
  .service-flow .card {
    animation: serviceCardReveal 720ms ease both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }

  .service-flow .card::before {
    animation: serviceRuleReveal 820ms ease both;
    animation-timeline: view();
    animation-range: entry 4% cover 34%;
  }
}

.service-flow .card:nth-child(2) {
  animation-delay: 110ms;
}

.service-flow .card:nth-child(3) {
  animation-delay: 220ms;
}

.process-number {
  background: var(--blue-950);
  border-radius: 999px;
  color: var(--orange);
  display: inline-grid;
  font: 900 0.9rem "Roboto", system-ui, sans-serif;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  width: 42px;
}

@keyframes serviceCardReveal {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

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

@keyframes serviceRuleReveal {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes phoneShake {
  0%,
  100% {
    transform: rotate(0deg);
  }

  15% {
    transform: rotate(-14deg);
  }

  30% {
    transform: rotate(12deg);
  }

  45% {
    transform: rotate(-10deg);
  }

  60% {
    transform: rotate(8deg);
  }

  75% {
    transform: rotate(-4deg);
  }
}

.card,
.service-card,
.proof-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(8, 36, 61, 0.08);
  overflow: hidden;
}

.card {
  padding: 26px;
}

.card h3,
.service-card h3 {
  margin-bottom: 10px;
}

.card a {
  color: var(--blue-800);
  display: inline-flex;
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 900;
  margin-top: 16px;
}

.related-links {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(8, 36, 61, 0.08);
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding: 24px;
}

.related-links h3 {
  margin: 0;
}

.related-links nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-links a {
  background: var(--blue-100);
  border-radius: 999px;
  color: var(--blue-900);
  font: 900 0.88rem "Roboto", system-ui, sans-serif;
  padding: 8px 12px;
  text-decoration: none;
}

.article-body {
  display: grid;
  gap: 24px;
  max-width: 860px;
}

.article-body h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.article-body ul,
.article-body ol {
  margin: 0;
  padding-left: 1.3rem;
}

.service-card img,
.photo-card img,
.feature-image img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.service-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.service-grid .service-card {
  grid-column: span 2;
}

.service-grid .service-card:nth-child(4),
.service-grid .service-card:nth-child(5) {
  grid-column: span 3;
}

.service-overlay {
  color: var(--white);
  display: block;
  min-height: 340px;
  position: relative;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-overlay:hover,
.service-overlay:focus-visible {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.service-overlay img {
  aspect-ratio: auto;
  height: 100%;
  inset: 0;
  position: absolute;
}

.service-overlay::after {
  background: linear-gradient(180deg, rgba(8, 36, 61, 0.1), rgba(8, 36, 61, 0.88));
  content: "";
  inset: 0;
  position: absolute;
}

.service-overlay .service-card-body {
  bottom: 0;
  display: grid;
  gap: 10px;
  padding: 26px;
  position: absolute;
  z-index: 2;
}

.service-overlay h3 {
  color: var(--white);
  margin: 0;
}

.service-overlay p {
  color: rgba(255, 255, 255, 0.88);
}

.service-overlay span {
  color: var(--orange);
  font: 900 0.9rem "Roboto", system-ui, sans-serif;
}

.service-card-body {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.service-card a {
  color: var(--blue-800);
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 900;
}

.feature-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.stats {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  background:
    linear-gradient(145deg, rgba(28, 134, 200, 0.15), rgba(255, 255, 255, 0)),
    var(--blue-950);
  border: 1px solid rgba(143, 197, 244, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(8, 36, 61, 0.13);
  color: var(--white);
  min-height: 170px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.stats.can-reveal .stat {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 680ms ease,
    transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stats.can-reveal.stats-visible .stat {
  opacity: 1;
  transform: translateY(0);
}

.stat::after {
  background: var(--orange);
  content: "";
  height: 5px;
  inset: auto 30px 24px;
  opacity: 0.75;
  position: absolute;
  transform-origin: left center;
}

.stats.can-reveal .stat::after {
  transform: scaleX(0);
  transition: transform 760ms ease 240ms;
}

.stats.can-reveal.stats-visible .stat::after {
  transform: scaleX(1);
}

.stats.can-reveal .stat:nth-child(2) {
  transition-delay: 110ms;
}

.stats.can-reveal .stat:nth-child(2)::after {
  transition-delay: 350ms;
}

.stats.can-reveal .stat:nth-child(3) {
  transition-delay: 220ms;
}

.stats.can-reveal .stat:nth-child(3)::after {
  transition-delay: 460ms;
}

.stats.can-reveal .stat:nth-child(4) {
  transition-delay: 330ms;
}

.stats.can-reveal .stat:nth-child(4)::after {
  transition-delay: 570ms;
}

.stat strong {
  color: var(--orange);
  display: block;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .topbar a[href^="tel:"]::before,
  .stats.can-reveal .stat,
  .stats.can-reveal .stat::after {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.check-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.check-list li {
  background: var(--white);
  border-left: 5px solid var(--blue-700);
  border-radius: var(--radius);
  padding: 13px 16px;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(8, 36, 61, 0.92), rgba(8, 36, 61, 0.70)),
    var(--hero-image, linear-gradient(135deg, var(--blue-950), var(--blue-700)));
  background-position: center;
  background-size: cover;
  color: var(--white);
  padding: 88px 0;
}

.page-hero h1,
.page-hero h2 {
  color: var(--white);
}

.thank-you-hero {
  min-height: 58vh;
  align-items: center;
  display: grid;
}

.thank-you-panel {
  max-width: 760px;
}

.breadcrumb {
  color: var(--blue-100);
  font-size: 0.86rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--white);
}

.cta-band {
  background: var(--blue-900);
  color: var(--white);
  padding: 64px 0;
}

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

.cta-row {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.gallery-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photo-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(8, 36, 61, 0.08);
  overflow: hidden;
}

.photo-card figcaption {
  font-size: 0.9rem;
  font-weight: 800;
  padding: 14px 16px;
}

.site-footer {
  background: #071d32;
  color: #d9e8f4;
  padding: 54px 0 30px;
}

.footer-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
}

.footer-brand {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}

.footer-brand-mark {
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 12px 22px rgba(0, 0, 0, 0.24));
  flex: 0 0 auto;
  height: 78px;
  object-fit: contain;
  width: 78px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: uppercase;
}

.footer-brand strong {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.footer-brand span {
  color: var(--orange);
  font-size: clamp(0.98rem, 1.8vw, 1.25rem);
  letter-spacing: 0.18em;
  margin-top: 8px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #d9e8f4;
  text-decoration: none;
}

.fine-print {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 34px;
  padding-top: 20px;
  font-size: 0.84rem;
}

.mobile-toggle {
  display: none;
}

@media (max-width: 920px) {
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 8px 0;
  }

  .mobile-toggle {
    background: var(--blue-950);
    border: 0;
    border-radius: var(--radius);
    color: var(--white);
    display: inline-flex;
    font: 900 0.9rem "Roboto", system-ui, sans-serif;
    min-height: 44px;
    padding: 0 14px;
  }

  .nav-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-menu {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .hero,
  .page-hero {
    min-height: 0;
  }

  .hero-grid,
  .split,
  .cta-row {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 44px 0 62px;
  }

  .card-grid,
  .process-grid,
  .stats,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    max-width: 420px;
  }

  .process-grid {
    gap: 18px;
  }

  .service-flow {
    gap: 18px;
  }

  .process-card,
  .process-card:first-child,
  .process-card:last-child,
  .service-flow .card,
  .service-flow .card:first-child,
  .service-flow .card:last-child {
    border-radius: var(--radius);
  }

  .process-card:not(:last-child)::after,
  .service-flow .card:not(:last-child)::after {
    display: none;
  }

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

  .service-grid .service-card,
  .service-grid .service-card:nth-child(4),
  .service-grid .service-card:nth-child(5) {
    grid-column: auto;
  }

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

@media (max-width: 560px) {
  .topbar-inner,
  .nav-inner,
  .container {
    width: min(100% - 24px, 1160px);
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-text {
    max-width: 220px;
  }

  .footer-brand {
    gap: 12px;
  }

  .footer-brand-mark {
    height: 62px;
    width: 62px;
  }

  .section {
    padding: 58px 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
