:root {
  --font-family: "Jost", Arial, sans-serif;
  --ink: #111827;
  --muted: #5b6472;
  --line: #d8dee8;
  --paper: #f6f8fb;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-dark: #134e4a;
  --amber: #d38b22;
  --navy: #132238;
  --shadow: 0 22px 70px rgba(19, 34, 56, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(24px, calc((100vw - 1440px) / 2 + 32px));
  background: rgba(246, 248, 251, 0.88);
  border-bottom: 1px solid rgba(216, 222, 232, 0.7);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 32px rgba(19, 34, 56, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--navy));
  border-radius: 8px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.24);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.95rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.7rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #2f3a4a;
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--teal);
  transition: width 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  align-items: center;
  min-height: auto;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(34px, 4.5vh, 52px) 32px clamp(38px, 5vh, 56px);
  gap: clamp(32px, 4vw, 56px);
  background:
    linear-gradient(110deg, rgba(246, 248, 251, 0.98) 0%, rgba(246, 248, 251, 0.88) 52%, rgba(246, 248, 251, 0.55) 100%),
    radial-gradient(circle at 78% 16%, rgba(15, 118, 110, 0.16), transparent 28%);
}

.hero-content {
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 600px;
  margin: 0;
  font-family: var(--font-family);
  font-size: clamp(2.7rem, 3.9vw, 4.2rem);
  font-weight: 380;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin: 0;
  font-family: var(--font-family);
  font-size: clamp(2.25rem, 3.4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--teal-dark);
  box-shadow: 0 16px 34px rgba(19, 78, 74, 0.24);
}

.button.ghost {
  color: var(--teal-dark);
  background: var(--white);
  border-color: var(--line);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 540px;
  margin: 26px 0 0;
}

.trust-row div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trust-row dt {
  font-weight: 800;
  color: var(--navy);
}

.trust-row dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(19, 34, 56, 0.26), transparent 35%);
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: clamp(330px, 40vh, 440px);
  min-height: 0;
  object-fit: cover;
}

.section {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(46px, 5vw, 72px) 32px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: transparent;
}

.intro p:last-child {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.service-card {
  min-height: 230px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(19, 34, 56, 0.06);
}

.card-icon {
  display: inline-flex;
  width: 44px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--teal-dark);
  background: #dff5f1;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.service-card p,
.timeline p,
.panel-dark p,
.contact p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  background: #eef3f6;
}

.panel-dark {
  padding: clamp(28px, 4vw, 44px);
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
}

.panel-dark .eyebrow {
  color: #73d3c8;
}

.panel-dark p {
  color: #c9d3df;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  position: relative;
  padding: 24px 24px 24px 56px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline span {
  position: absolute;
  left: 24px;
  top: 28px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--teal);
  border-radius: 999px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: linear-gradient(135deg, var(--navy), #123f48);
  color: var(--white);
}

.contact .eyebrow {
  color: #8de2d7;
}

.contact p {
  max-width: 620px;
  color: #d9e3ec;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.form-extra {
  display: none;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #eef7f8;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(141, 226, 215, 0.28);
  border-color: #8de2d7;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: #cbd5e1;
  background: #0d1726;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #8de2d7;
  font-weight: 700;
}

.response-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: linear-gradient(135deg, var(--navy), #123f48);
}

.response-panel {
  width: min(720px, 100%);
  padding: clamp(28px, 5vw, 56px);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.response-panel .eyebrow {
  color: #8de2d7;
}

.response-panel p {
  color: #d9e3ec;
  font-size: 1.1rem;
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-media {
    order: -1;
  }

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

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

}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 13px 12px;
  }

  .site-nav a::after {
    display: none;
  }

  h1 {
    font-size: clamp(2.65rem, 12vw, 4rem);
    overflow-wrap: normal;
    text-wrap: balance;
  }

  h2 {
    overflow-wrap: anywhere;
    text-wrap: initial;
  }

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

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

  .service-card {
    min-height: auto;
  }
}
