/* Come & See Healthcare Services — site styles
   Single stylesheet, no build step, no dependencies. */

:root {
  --ink:      #0e1b2b;
  --ink-2:    #1b3149;
  --slate:    #46586d;
  --muted:    #6c7d92;
  --line:     #dbe3ec;
  --line-2:   #eef3f8;
  --bg:       #ffffff;
  --bg-2:     #f5f9fc;
  --bg-3:     #eaf2f7;
  /* Greens sampled from the Come & See crest, adjusted for contrast on white. */
  --accent:   #4a7c2f;
  --accent-2: #5b9439;
  --accent-bg:#edf4e4;
  --warn-bg:  #fff8e6;
  --warn-line:#e8d38a;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --wrap: 1120px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(14,27,43,.05), 0 8px 24px rgba(14,27,43,.06);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;   /* clears the sticky header on anchor jumps */
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem); }
h3 { font-size: 1.2rem; font-family: var(--sans); font-weight: 650; letter-spacing: -.005em; }

p { margin: 0 0 1.1em; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-2); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(150%) blur(8px);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 74px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: none; display: block; }
.brand-name {
  font-family: var(--serif); font-size: 1.06rem; font-weight: 600;
  color: var(--ink); line-height: 1.15; letter-spacing: -.01em;
}
.brand-name span { display: block; font-family: var(--sans); font-size: .7rem;
  font-weight: 500; color: var(--muted); letter-spacing: .07em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  color: var(--ink-2); text-decoration: none; font-size: .93rem; font-weight: 500;
}
.nav a:hover { color: var(--accent); }
.nav a.current { color: var(--accent); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: 7px 10px; cursor: pointer; color: var(--ink);
  font: inherit; font-size: .85rem;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block; padding: 11px 20px; border-radius: 8px;
  font-size: .93rem; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- sections ---------- */

section { padding: 76px 0; }
.section-tint { background: var(--bg-2); border-block: 1px solid var(--line-2); }

.eyebrow {
  font-size: .76rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 14px;
}

.lede { font-size: 1.16rem; color: var(--slate); }

/* ---------- hero ---------- */

.hero {
  padding: 84px 0 76px;
  background:
    radial-gradient(900px 380px at 78% -12%, var(--bg-3), transparent 65%),
    var(--bg);
  border-bottom: 1px solid var(--line-2);
}
.hero h1 { max-width: 17ch; }
.hero .lede { max-width: 60ch; font-size: 1.22rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- photographic hero ---------- */

.hero-photo {
  position: relative; display: flex; align-items: center;
  min-height: 580px; overflow: hidden; background: #16241a;
  border-bottom: 1px solid var(--line-2);
}
.hero-photo > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%; display: block;
}
.hero-photo .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(7,17,11,.90) 0%, rgba(7,17,11,.72) 38%,
    rgba(7,17,11,.34) 68%, rgba(7,17,11,.12) 100%);
}
.hero-photo .wrap { position: relative; padding-block: 64px; }
.hero-photo h1 { color: #fff; max-width: 18ch; }
.hero-photo .lede { color: #dbe6dc; max-width: 52ch; font-size: 1.2rem; }
.hero-photo .eyebrow { color: #9ed072; }
.hero-photo .btn-ghost {
  background: transparent; border-color: rgba(255,255,255,.45); color: #fff;
}
.hero-photo .btn-ghost:hover {
  border-color: #fff; color: #fff; background: rgba(255,255,255,.12);
}

/* ---------- hero figure ---------- */

.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
}
.hero-figure { width: 100%; height: auto; display: block; }
.hero-figure text { font-family: var(--sans); }

/* ---------- pull statement ---------- */

.statement {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 1.05rem + 1.5vw, 2.05rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 30px 0 0;
  padding: 4px 0 4px 22px;
  border-left: 4px solid var(--accent);
}

@media (max-width: 680px) {
  .statement { padding-left: 16px; border-left-width: 3px; }
}

/* ---------- gear diagram ---------- */

.gearfig { margin: 36px auto 0; max-width: 580px; }
.gears { width: 100%; height: auto; display: block; }
.gears text { font-family: var(--sans); }
.gearcap {
  font-size: .95rem; color: var(--slate); line-height: 1.6;
  margin: 18px auto 0; max-width: 58ch;
}

/* ---------- grid + cards ---------- */

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card-num {
  font-family: var(--serif); font-size: .95rem; font-weight: 600;
  color: var(--accent); display: block; margin-bottom: 10px;
}

.svc { border-left: 3px solid var(--accent); }

.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.card-head .card-num { margin-bottom: 0; }
.card-icon { width: 28px; height: 28px; flex: none; display: block; color: var(--accent); }

/* ---------- dark band ---------- */

.band-dark { background: var(--ink); color: #c3d0dd; border-block: none; }
.band-dark h2, .band-dark h3, .band-dark strong { color: #fff; }
.band-dark .eyebrow { color: #8fc75f; }
.band-dark a { color: #a8d585; }
.band-dark a:hover { color: #c8e8ad; }
.band-dark .lede { color: #c3d0dd; }
.band-lead {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.5rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.015em;
  color: #fff;
  margin: 0 0 .7em;
}

/* ---------- bio ---------- */

.bio-grid {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 44px; align-items: start;
}
.bio-photo {
  width: 100%; height: auto; display: block; border-radius: 12px;
  box-shadow: var(--shadow);
}
.bio-cred {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: .88rem; color: var(--muted);
}
.bio-cred li { margin-bottom: .4em; list-style: none; }
.bio-cred ul { margin: 0; padding: 0; }

.crest {
  display: block; margin: 0 auto 34px; width: 100%; max-width: 300px;
  height: auto; border-radius: 14px;
}

/* ---------- detail list ---------- */

.deflist { display: grid; gap: 34px; }
.deflist > div { display: grid; grid-template-columns: 190px 1fr; gap: 28px; }
.deflist dt, .deflist h3 { margin: 0; }
.deflist p:last-child { margin-bottom: 0; }

ul.ticks { list-style: none; padding: 0; margin: 0 0 1.1em; }
ul.ticks li { padding-left: 26px; position: relative; margin-bottom: .5em; }
ul.ticks li::before {
  content: ""; position: absolute; left: 4px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}

/* ---------- testimonials ---------- */

.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column;
}
.quote blockquote {
  margin: 0 0 20px; font-family: var(--serif); font-size: 1.12rem;
  line-height: 1.5; color: var(--ink); flex: 1;
}
.quote blockquote::before { content: "\201C"; color: var(--accent); margin-right: 1px; }
.quote blockquote::after  { content: "\201D"; color: var(--accent); }
.quote figcaption { font-size: .88rem; color: var(--muted); line-height: 1.45; }
.quote figcaption strong { display: block; color: var(--ink-2); font-weight: 600; }

/* ---------- callout ---------- */

.callout {
  background: var(--accent-bg); border: 1px solid #bfe0dc;
  border-radius: var(--radius); padding: 26px 28px;
}
.callout :last-child { margin-bottom: 0; }

.placeholder {
  background: var(--warn-bg); border: 1px dashed var(--warn-line);
  border-radius: 8px; padding: 3px 9px; font-size: .82em;
  color: #8a6d1f; font-weight: 600; white-space: nowrap;
}

/* ---------- form ---------- */

.form { display: grid; gap: 18px; max-width: 620px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.field .hint { font-size: .82rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.field textarea { min-height: 130px; resize: vertical; }

.form-notice {
  font-size: .87rem; color: var(--muted);
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 8px; padding: 13px 15px;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink); color: #b9c6d4; padding: 54px 0 34px; font-size: .92rem;
}
.site-footer h4 {
  color: #fff; font-family: var(--sans); font-size: .78rem; font-weight: 650;
  letter-spacing: .09em; text-transform: uppercase; margin: 0 0 14px;
}
.site-footer a { color: #d5e0ea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .5em; }
.footer-bottom {
  border-top: 1px solid #24384f; margin-top: 40px; padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: .85rem; color: #8598ac;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .deflist > div { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .hero-photo { min-height: 480px; }
  .hero-photo .scrim {
    background: linear-gradient(180deg, rgba(7,17,11,.55) 0%, rgba(7,17,11,.88) 62%);
  }
  .bio-grid { grid-template-columns: 1fr; gap: 28px; }
  .bio-photo { max-width: 260px; }
  section { padding: 56px 0; }
  .hero { padding: 60px 0 54px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .nav {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; width: 100%; border-bottom: 1px solid var(--line-2); }
  .nav .btn { margin-top: 12px; border-bottom: none; }
  .nav-toggle { display: block; }
}
