:root {
  color-scheme: light;
  --ink: #12263a;
  --muted: #58677a;
  --line: #d6dfeb;
  --soft: #f4f8fc;
  --panel: #ffffff;
  --teal: #1776d2;
  --brand-deep: #10385b;
  --brand-soft: #e9f2fb;
  --red: #d1495b;
  --gold: #f3b61f;
  --gold-soft: #fff6db;
  --green: #5f8f3f;
  --focus: #1776d2;
  --shadow: 0 14px 34px rgba(16, 56, 91, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 48px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fd 100%);
  border-bottom: 1px solid var(--line);
}

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

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--muted);
  font-weight: 800;
  padding: 8px 13px;
  text-decoration: none;
}

.site-nav a:hover {
  border-color: #bdd5f3;
  background: var(--brand-soft);
  color: var(--teal);
}

.nav-toggle {
  display: none;
}

.hero {
  min-height: 590px;
  display: grid;
  align-items: center;
  padding: 84px 48px;
  background:
    linear-gradient(90deg, rgba(245, 248, 252, 0.96) 0%, rgba(245, 248, 252, 0.88) 48%, rgba(245, 248, 252, 0.36) 100%),
    url("https://images.squarespace-cdn.com/content/v1/629a3bf6cf559342674f601b/1658884671375-7O3MTPOND04COWXWNPYI/cdc-gsRi9cWCIB0-unsplash.jpg?format=2500w") center / cover;
  border-bottom: 1px solid var(--line);
}

.hero-content {
  width: min(100%, 760px);
}

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

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  color: var(--brand-deep);
}

h1 {
  margin: 0;
  font-size: 4.2rem;
  line-height: 1.02;
}

h2 {
  margin: 0;
  font-size: 2.4rem;
  line-height: 1.12;
}

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

p {
  margin: 0;
}

.hero-copy {
  max-width: 660px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.18rem;
}

.hero-actions,
.contact-links,
.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-note {
  gap: 8px;
  margin-top: 18px;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--brand-deep);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 7px 10px;
}

.primary-button,
.secondary-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  padding: 11px 16px;
  text-decoration: none;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(180deg, #2386e5 0%, var(--teal) 100%);
}

.secondary-button {
  color: var(--teal);
  background: var(--brand-soft);
  border-color: #bdd5f3;
}

.quick-strip {
  width: min(1180px, calc(100% - 36px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: -38px auto 0;
  position: relative;
  z-index: 2;
}

.quick-strip div,
.feature-list div,
.process-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.quick-strip div {
  padding: 16px;
}

.quick-strip strong,
.quick-strip span,
.feature-list strong,
.feature-list span,
.contact-links a,
.contact-links span,
.site-footer strong,
.site-footer a {
  display: block;
}

.quick-strip strong,
.feature-list strong,
.site-footer strong {
  color: var(--brand-deep);
}

.quick-strip span,
.feature-list span,
.site-footer p,
.site-footer a {
  color: var(--muted);
}

.section-grid,
.services-section,
.approach-section,
.expectations-section,
.privacy-section,
.contact-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-grid,
.privacy-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.intro-section {
  padding-top: 76px;
}

.text-stack,
.feature-list {
  display: grid;
  gap: 16px;
}

.text-stack p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

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

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  height: 190px;
  min-height: 190px;
  flex: 0 0 190px;
  object-fit: cover;
}

.service-card div {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--panel);
}

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

.service-card a {
  align-self: flex-start;
  margin-top: auto;
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.service-card a:hover {
  text-decoration: underline;
}

.approach-section {
  border-top: 1px solid var(--line);
}

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

.process-grid article {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.process-grid span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 900;
}

.process-grid p {
  color: var(--muted);
}

.family-section {
  border-top: 1px solid var(--line);
}

.feature-list div {
  padding: 16px;
}

.feature-list span {
  margin-top: 5px;
}

.contact-section {
  padding-top: 40px;
}

.expectations-section {
  border-top: 1px solid var(--line);
}

.privacy-section {
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

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

.expectation-grid article {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
}

.expectation-grid p {
  color: var(--muted);
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.contact-panel > div > p {
  margin-top: 12px;
  color: var(--muted);
}

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

.contact-links a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.privacy-copy {
  max-width: 520px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--gold-soft);
  color: #765300 !important;
  font-size: 0.9rem;
}

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

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #c9d5e2;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  padding: 10px 11px;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(36, 91, 219, 0.22);
  outline-offset: 2px;
  border-color: var(--focus);
}

textarea {
  resize: vertical;
}

.privacy-check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.privacy-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.full-field {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 22px;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  padding: 28px 48px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.site-footer img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 8px;
}

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

.site-footer a:hover {
  color: var(--teal);
}

@media (max-width: 1120px) {
  .service-grid,
  .process-grid,
  .expectation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .site-header {
    padding: 10px 16px;
  }

  .brand span {
    display: none;
  }

  .nav-toggle {
    width: 42px;
    height: 38px;
    display: grid;
    place-items: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #ffffff;
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    display: block;
    background: var(--brand-deep);
  }

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

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    justify-content: center;
  }

  .hero {
    min-height: 520px;
    padding: 58px 18px 86px;
    background:
      linear-gradient(180deg, rgba(245, 248, 252, 0.96) 0%, rgba(245, 248, 252, 0.86) 58%, rgba(245, 248, 252, 0.52) 100%),
      url("https://images.squarespace-cdn.com/content/v1/629a3bf6cf559342674f601b/1658884671375-7O3MTPOND04COWXWNPYI/cdc-gsRi9cWCIB0-unsplash.jpg?format=1500w") center / cover;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .hero-actions a,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .quick-strip,
  .section-grid,
  .services-section,
  .approach-section,
  .expectations-section,
  .privacy-section,
  .contact-section {
    width: min(100% - 24px, 1180px);
  }

  .quick-strip,
  .section-grid,
  .service-grid,
  .process-grid,
  .expectation-grid,
  .contact-panel,
  .contact-form,
  .privacy-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .quick-strip {
    margin-top: -48px;
  }

  .section-grid,
  .services-section,
  .approach-section,
  .expectations-section,
  .privacy-section,
  .contact-section {
    padding: 58px 0;
  }

  .intro-section {
    padding-top: 52px;
  }

  .service-card img {
    height: 210px;
    min-height: 210px;
    flex-basis: 210px;
  }

  .contact-panel {
    padding: 16px;
  }

  .site-footer {
    padding: 24px 18px;
  }
}
