:root {
  --ink: #061f43;
  --muted: #596a78;
  --paper: #f4f8f9;
  --panel: #ffffff;
  --line: #d5e2e6;
  --green: #008b92;
  --green-dark: #052e66;
  --blue: #063468;
  --gold: #00a0a8;
  --shadow: 0 18px 48px rgba(6, 31, 67, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img,
svg {
  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);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #ffffff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(244, 248, 249, 0.96);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand span:last-child {
  max-width: min(52vw, 360px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.64);
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.9;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

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

.hero {
  position: relative;
  min-height: min(760px, 92vh);
  display: grid;
  align-items: end;
  padding: 150px clamp(18px, 4vw, 56px) 76px;
  overflow: hidden;
  color: #ffffff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 24, 55, 0.9), rgba(5, 46, 102, 0.58) 45%, rgba(0, 128, 137, 0.25)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80") center / cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  max-width: 820px;
}

.hero-logo {
  width: clamp(120px, 18vw, 190px);
  height: auto;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(3.3rem, 8.5vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.06rem, 2vw, 1.32rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.button.primary {
  background: var(--gold);
  color: #ffffff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.78);
  color: #ffffff;
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(18px, 4vw, 56px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  background: #ffffff;
}

.intro p:last-child,
.results-copy p,
.about-copy p,
.contact p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 36px;
}

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

.service-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 1px 0 rgba(23, 33, 31, 0.04);
}

.card-number {
  display: block;
  margin-bottom: 46px;
  color: var(--blue);
  font-weight: 900;
}

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

.results {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  background: var(--green-dark);
  color: #ffffff;
}

.results .section-kicker,
.results-copy p {
  color: #dbc17a;
}

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

.stats div {
  min-height: 158px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

  .stats strong {
    display: block;
    margin-bottom: 18px;
    color: #ffffff;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1;
  }

.stats span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
  background: #ffffff;
}

.about-image {
  min-height: clamp(320px, 44vw, 560px);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(23, 33, 31, 0), rgba(23, 33, 31, 0.2)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1400&q=80") center / cover;
  box-shadow: var(--shadow);
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 16px;
  height: 8px;
  border-left: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(-45deg);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.9fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(199, 143, 58, 0.28);
  border-color: var(--gold);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer a {
  color: var(--green);
  font-weight: 800;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: grid;
    gap: 14px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: 760px;
    align-items: center;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(4, 24, 55, 0.86), rgba(5, 46, 102, 0.58)),
      url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1100&q=80") center / cover;
  }

  .intro,
  .results,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .service-card,
  .stats div {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 66px;
    padding-block: 12px;
  }

  .site-nav {
    top: 66px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: 3.4rem;
  }

  .hero {
    min-height: 700px;
    padding-top: 120px;
    padding-bottom: 52px;
  }

  .button {
    width: 100%;
  }

  .about-image {
    min-height: 300px;
  }
}
