:root {
  --navy: #052746;
  --navy-2: #07345d;
  --blue: #0b4a7a;
  --ink: #102033;
  --muted: #607085;
  --line: #dbe5ee;
  --soft: #f4f8fb;
  --soft-2: #eaf2f8;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(5, 39, 70, 0.1);
  --radius: 8px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(11, 74, 122, 0.38);
  outline-offset: 3px;
}

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

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

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

.section {
  padding: 104px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(219, 229, 238, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: clamp(178px, 18vw, 236px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #334458;
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--navy);
}

.nav-cta {
  border: 1px solid rgba(5, 39, 70, 0.14);
  border-radius: 999px;
  color: var(--navy);
  padding: 11px 17px;
  box-shadow: 0 8px 22px rgba(5, 39, 70, 0.06);
}

.nav-cta:hover {
  border-color: rgba(5, 39, 70, 0.28);
  background: var(--soft);
}

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

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding-top: 68px;
  background:
    linear-gradient(180deg, rgba(244, 248, 251, 0.75), rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 88% 18%, rgba(11, 74, 122, 0.1), transparent 34%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(420px, 1.07fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(3rem, 4.9vw, 5rem);
  line-height: 0.98;
  font-weight: 840;
}

h1 span {
  display: block;
}

h1 span + span {
  margin-top: 10px;
  color: #274761;
  font-weight: 620;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 760;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.button-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(5, 39, 70, 0.18);
}

.button-primary:hover {
  background: var(--navy-2);
}

.button-secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--navy);
}

.button-secondary:hover {
  border-color: rgba(5, 39, 70, 0.24);
  background: var(--soft);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #354a60;
  padding: 9px 12px;
  font-size: 0.9rem;
  font-weight: 700;
}

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft-2);
  box-shadow: var(--shadow);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, rgba(5, 39, 70, 0) 58%, rgba(5, 39, 70, 0.28));
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  max-width: 280px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 16px 18px;
  box-shadow: 0 16px 42px rgba(5, 39, 70, 0.16);
}

.hero-card-kicker {
  display: block;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  line-height: 1.25;
}

.intro-band {
  padding: 56px 0;
  background: var(--soft);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 48px;
  align-items: center;
}

.intro-grid h2,
.section-heading h2,
.why h2,
.contact h2 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  line-height: 1.05;
}

.intro-grid p:last-child,
.section-heading p,
.why-copy p,
.contact-copy > p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 670px;
  margin-bottom: 44px;
}

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

.service-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 30px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 74, 122, 0.28);
  box-shadow: 0 18px 42px rgba(5, 39, 70, 0.08);
}

.icon-box {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--soft);
  color: var(--blue);
}

.service-card h3,
.benefits-grid h3 {
  margin: 22px 0 10px;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.25;
}

.service-card p {
  color: var(--muted);
}

.service-card a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 780;
}

.why {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.why::before {
  content: "";
  position: absolute;
  inset: 9% -6% auto auto;
  width: 52%;
  height: 76%;
  opacity: 0.14;
  background:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 52px 52px;
  transform: rotate(-8deg);
}

.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 58px;
  align-items: start;
}

.why .eyebrow {
  color: #9ec9e8;
}

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

.why-copy p {
  opacity: 0.78;
}

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

.benefits-grid article {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 24px;
}

.benefits-grid svg {
  color: #9ec9e8;
}

.benefits-grid h3 {
  color: var(--white);
}

.benefits-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.contact {
  background: linear-gradient(180deg, var(--white), var(--soft));
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.75fr);
  gap: 68px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 38px;
}

.contact-list div {
  border-left: 3px solid var(--blue);
  padding-left: 16px;
}

.contact-list span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list a,
.contact-list p {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 760;
  overflow-wrap: anywhere;
}

.quote-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 30px;
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 17px;
}

.field label {
  color: var(--navy);
  font-size: 0.93rem;
  font-weight: 760;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #ccd9e4;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 4px rgba(11, 74, 122, 0.12);
}

.quote-form .button {
  width: 100%;
  cursor: pointer;
}

.form-note {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  background: #031f38;
  color: rgba(255, 255, 255, 0.72);
  padding: 52px 0 24px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 36px;
}

.footer-brand {
  display: inline-flex;
  border-radius: 8px;
  background: var(--white);
  padding: 10px 12px;
}

.footer-brand img {
  width: 218px;
}

.site-footer p {
  max-width: 420px;
  margin: 18px 0 0;
}

.site-footer nav {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  color: var(--white);
  font-weight: 720;
}

.footer-bottom {
  padding-top: 22px;
}

.footer-bottom p {
  margin: 0;
  max-width: none;
  font-size: 0.92rem;
}

@media (max-width: 1040px) {
  .site-nav {
    gap: 16px;
  }

  .hero-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 460px;
  }

  .hero-visual img {
    min-height: 460px;
  }

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

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

  .section {
    padding: 78px 0;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: 188px;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    align-content: start;
    gap: 0;
    background: var(--white);
    padding: 18px 16px 28px;
    transform: translateX(100%);
    transition: transform 220ms ease;
    box-shadow: 0 24px 60px rgba(5, 39, 70, 0.18);
  }

  .site-header.is-open .site-nav {
    transform: translateX(0);
  }

  .site-nav a {
    border-bottom: 1px solid var(--line);
    padding: 16px 4px;
    font-size: 1.04rem;
  }

  .site-nav .nav-cta {
    margin-top: 18px;
    border-bottom: 1px solid rgba(5, 39, 70, 0.14);
    text-align: center;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-grid {
    gap: 42px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .hero-actions,
  .hero-points {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-points li {
    justify-content: flex-start;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 360px;
  }

  .intro-grid,
  .card-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

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

  .section {
    padding: 64px 0;
  }

  .brand img {
    width: 164px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 300px;
  }

  .hero-card {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
  }

  .service-card,
  .quote-form,
  .benefits-grid article {
    padding: 24px;
  }

  .footer-brand img {
    width: 190px;
  }
}

@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;
  }
}
