:root {
  --ink: #24313f;
  --muted: #667386;
  --navy: #1e3656;
  --blue: #79aee3;
  --gold: #f2c766;
  --green: #69b7a4;
  --rose: #ee9ab3;
  --lavender: #a89be8;
  --peach: #ffd1b8;
  --line: #d9e8ed;
  --soft: #f2fbf7;
  --calm: #fff8e8;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(30, 54, 86, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fbfdf8;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.site-header {
  align-items: center;
  background: rgba(255, 253, 246, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}
.brand { align-items: center; display: flex; font-size: 18px; font-weight: 800; gap: 10px; white-space: nowrap; }
.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--green), var(--blue) 42%, var(--lavender));
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}
.nav { align-items: center; color: var(--muted); display: flex; font-size: 14px; gap: 22px; }
.nav a:hover { color: var(--navy); }

.header-cta,
.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
}
.header-cta,
.button.primary { background: #4f9b8d; color: var(--white); }
.header-cta:hover,
.button.primary:hover { background: #3f8277; }
.button.ghost {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  color: var(--navy);
}

.hero {
  align-items: center;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  min-height: calc(100vh - 72px);
  padding: 56px clamp(24px, 6vw, 84px) 72px;
}
.hero-copy { max-width: 720px; }
.eyebrow {
  color: #4f9b8d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 { color: var(--navy); font-size: clamp(42px, 6vw, 76px); line-height: 1.02; margin-bottom: 22px; }
h2 { color: var(--navy); font-size: clamp(30px, 4vw, 48px); line-height: 1.08; margin-bottom: 14px; }
h3 { color: var(--navy); margin-bottom: 8px; }
.hero-lede { color: var(--muted); font-size: 19px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-media {
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 520px;
  overflow: hidden;
}
.hero-media img { height: 100%; min-height: 520px; object-fit: cover; object-position: center; width: 100%; }

.band { background: linear-gradient(180deg, #fff8e8, #f2fbf7); padding: 76px clamp(18px, 5vw, 72px); }
.section-intro { margin: 0 auto 34px; max-width: 980px; }
.section-intro.narrow { max-width: 760px; text-align: center; }
.signal-grid,
.method-grid,
.service-list,
.care-grid {
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 1180px;
}
.signal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.signal-grid article,
.method-grid article,
.service-list article,
.contact-card,
.access-card,
.contact-form fieldset {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}
.signal-grid span { color: var(--rose); font-weight: 900; }
.signal-grid p,
.method-grid p,
.service-list p,
.contact-copy p,
.contact-card p,
.section-intro p { color: var(--muted); }

.human-system { padding: 76px clamp(18px, 5vw, 72px); }
.human-layout {
  align-items: center;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  margin: 0 auto;
  max-width: 1120px;
}
.human-photo { border-radius: 8px; box-shadow: var(--shadow); margin: 0; overflow: hidden; }
.human-photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.proof-gallery {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}
.proof-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
}
.proof-large { grid-column: span 2; grid-row: span 2; }
.proof-wide { grid-column: span 2; }
.proof-item img { height: 260px; object-fit: cover; width: 100%; }
.proof-large img { height: 540px; }
.proof-item figcaption { color: var(--muted); font-weight: 800; padding: 12px 14px; }

.method { padding: 76px clamp(18px, 5vw, 72px); }
.method-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.method-grid strong {
  align-items: center;
  background: var(--calm);
  border-radius: 8px;
  color: #4f9b8d;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  margin-bottom: 18px;
  width: 42px;
}
.service-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.private-access {
  background: linear-gradient(135deg, rgba(242, 199, 102, 0.22), rgba(168, 155, 232, 0.18)), #fbfdf8;
  padding: 72px clamp(18px, 5vw, 72px);
}
.access-layout {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  margin: 0 auto;
  max-width: 1120px;
}
.access-card { box-shadow: var(--shadow); display: grid; gap: 16px; }
.access-actions { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.access-message { color: var(--muted); font-size: 14px; margin: 0; }
.access-message.is-error { color: #a64040; }

.diagnostic { padding: 76px clamp(18px, 5vw, 72px); }
.contact-form { display: grid; gap: 22px; margin: 0 auto; max-width: 1040px; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { color: var(--navy); font-size: 20px; font-weight: 900; margin-bottom: 18px; }
.field-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
label { color: var(--ink); display: grid; font-size: 14px; font-weight: 800; gap: 7px; }
input, select, textarea {
  background: #fffefa;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: #6aaed6;
  box-shadow: 0 0 0 4px rgba(121, 174, 227, 0.18);
  outline: none;
}
textarea { min-height: 120px; resize: vertical; }
.wide-field { margin-top: 18px; }
.honeypot { display: none; }
.form-footer { align-items: center; display: flex; gap: 16px; justify-content: space-between; }
.form-footer p { color: var(--muted); margin: 0; }

.contact {
  align-items: center;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
}
.footer {
  align-items: center;
  background: var(--navy);
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 24px clamp(18px, 5vw, 72px);
}
.footer span:last-child { color: #cbd5e1; }

@media (max-width: 1100px) {
  .hero,
  .human-layout,
  .contact,
  .access-layout { grid-template-columns: 1fr; }
  .hero-media { min-height: 360px; }
  .method-grid,
  .service-list,
  .signal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-large,
  .proof-wide { grid-column: span 2; }
}

@media (max-width: 780px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .nav { flex-wrap: wrap; }
  .header-cta { width: 100%; }
  .hero { min-height: auto; padding-left: 24px; padding-right: 24px; }
  h1 { font-size: 36px; line-height: 1.12; }
  .hero-lede { font-size: 16px; }
  .signal-grid,
  .method-grid,
  .service-list,
  .proof-gallery,
  .field-grid { grid-template-columns: 1fr; }
  .proof-large,
  .proof-wide { grid-column: span 1; }
  .proof-large img,
  .proof-item img { height: 280px; }
  .form-footer,
  .footer { align-items: flex-start; flex-direction: column; }
  .button,
  .access-actions { width: 100%; grid-template-columns: 1fr; }
}
