:root {
  --bg: #f7fbfb;
  --surface: #ffffff;
  --ink: #16212f;
  --dark: #21384f;
  --teal: #147c7f;
  --soft-teal: #dcefed;
  --gold: #8a5a1f;
  --gold-on-dark: #d3a05d;
  --border: #d6e2e0;
  --muted: #5b6876;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  background: rgba(247, 251, 251, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #ffffff;
  background: var(--dark);
  border-radius: 8px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--teal);
}

.hero {
  position: relative;
  min-height: 590px;
  padding: 76px 32px 62px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(33, 56, 79, 0.94), rgba(33, 56, 79, 0.82)),
    var(--dark);
  color: #ffffff;
}

.hero::after {
  position: absolute;
  right: -160px;
  bottom: -160px;
  width: 520px;
  height: 520px;
  content: "";
  border: 1px solid rgba(220, 239, 237, 0.28);
  border-radius: 50%;
}

.hero-visual {
  position: absolute;
  right: max(-60px, calc((100vw - var(--max-width)) / 2 - 120px));
  bottom: 34px;
  width: min(52vw, 650px);
  max-width: 650px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.2);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.hero-copy {
  max-width: 600px;
}

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

.hero .eyebrow,
.cta-section .eyebrow {
  color: var(--gold-on-dark);
}

.hero h1 {
  margin: 0;
  font-size: 4.25rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 620px;
  margin: 26px 0 18px;
  font-size: 1.35rem;
  line-height: 1.45;
}

.hero p:not(.eyebrow):not(.hero-lede) {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.03rem;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: #0f676a;
  border-color: #0f676a;
}

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

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #ffffff;
}

.section {
  padding: 84px 32px;
  background: var(--bg);
}

.page-hero {
  padding: 86px 32px 76px;
  color: #ffffff;
  background: var(--dark);
}

.page-hero-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.page-hero .eyebrow {
  color: var(--gold-on-dark);
}

.page-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: 3.5rem;
  line-height: 1.06;
  letter-spacing: 0;
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
}

.problem-section,
.approach-section {
  background: var(--soft-teal);
}

.section-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: 64px;
}

.section h2,
.cta-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2.35rem;
  line-height: 1.14;
  letter-spacing: 0;
}

.section-copy p,
.cta-section p {
  margin: 0 0 18px;
  color: var(--muted);
}

.section-copy p:last-child,
.cta-section p:last-child {
  margin-bottom: 0;
}

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

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

.service-card {
  min-height: 318px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.service-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--teal);
  background: var(--soft-teal);
  border-radius: 8px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.service-card h3,
.approach-item h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.service-card p,
.approach-item p {
  margin: 0;
  color: var(--muted);
}

.approach-list {
  display: grid;
  gap: 16px;
}

.approach-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.approach-item span {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #ffffff;
  background: var(--dark);
  border-radius: 8px;
  font-weight: 800;
}

.contact-section {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.contact-aside h2 {
  margin: 0;
  font-size: 2.1rem;
  line-height: 1.16;
  letter-spacing: 0;
}

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

.contact-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.contact-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--teal);
  border-radius: 2px;
  transform: translateY(-50%) rotate(45deg);
}

.privacy-note {
  margin: 0;
  padding: 18px;
  color: var(--dark);
  background: var(--soft-teal);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 700;
}

.contact-card {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.contact-form {
  display: grid;
  gap: 20px;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-weight: 500;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(20, 124, 127, 0.16);
}

.contact-form ::placeholder {
  color: #7b8793;
}

.screen-reader-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 6px;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.form-status {
  min-height: 1.5em;
  color: var(--dark);
  font-weight: 800;
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.cta-section {
  padding: 86px 32px;
  color: #ffffff;
  background: var(--dark);
}

.cta-inner {
  width: min(100%, 780px);
  margin: 0 auto;
  text-align: center;
}

.cta-section h2 {
  color: #ffffff;
}

.cta-section p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.cta-section .button {
  margin-top: 18px;
}

.site-footer {
  padding: 30px 32px;
  color: rgba(255, 255, 255, 0.78);
  background: #16212f;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.footer-inner p {
  margin: 0;
}

.footer-inner p:first-child {
  color: #ffffff;
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero {
    padding-top: 66px;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    right: -180px;
    bottom: 42px;
    width: 620px;
    opacity: 0.36;
  }

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

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

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .section,
  .cta-section,
  .page-hero {
    padding-right: 20px;
    padding-left: 20px;
  }

  .page-hero {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .page-hero h1 {
    font-size: 2.65rem;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 46px;
  }

  .hero-visual {
    right: -140px;
    bottom: 22px;
    width: 430px;
    opacity: 0.22;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-lede {
    font-size: 1.18rem;
  }

  .section h2,
  .cta-section h2 {
    font-size: 2rem;
  }

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

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

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

  .contact-card {
    padding: 22px;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .approach-item {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 2.35rem;
  }

  .page-hero h1 {
    font-size: 2.25rem;
  }

  .button {
    width: 100%;
  }
}
