/* ===== Design tokens ===== */
:root {
  --teal-900: #1f4a4a;
  --teal-700: #2f6b6b;
  --teal-600: #3a8080;
  --teal-500: #4f9c9c;
  --sage-100: #eef5f2;
  --sage-50: #f6faf8;
  --sand: #f3efe7;
  --ink: #1d2a2a;
  --muted: #5a6b6b;
  --line: #e3ebe8;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(31, 74, 74, .06), 0 2px 8px rgba(31, 74, 74, .05);
  --shadow-md: 0 8px 30px rgba(31, 74, 74, .10);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* ===== Reset / base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.15; color: var(--teal-900); margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--teal-700); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 2px; border-radius: 4px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .98rem; padding: 13px 22px;
  border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--teal-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-900); box-shadow: var(--shadow-md); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--teal-900); border-color: var(--line); }
.btn-ghost:hover { background: #fff; }
.btn-small { padding: 9px 16px; font-size: .9rem; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600;
  color: var(--teal-600); margin: 0 0 .6em;
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--teal-900); }
.brand:hover { text-decoration: none; }
/* Header uses a dark-wordmark variant so it reads on white; the footer uses the
   original cream version, which is what the artwork was designed for. */
.brand-logo { display: block; height: 44px; width: auto; }
.brand-mark { display: inline-grid; place-items: center; color: var(--teal-600); }
.brand-text { font-family: var(--font-head); font-size: 1.3rem; font-weight: 400; }
.brand-text strong { font-weight: 600; }

.main-nav { display: flex; align-items: center; }
.nav-menu { list-style: none; display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; }
.nav-menu a:not(.btn) {
  display: inline-block; padding: 8px 12px; color: var(--ink); font-weight: 500; font-size: .96rem; border-radius: 8px;
}
.nav-menu a:not(.btn):hover { background: var(--sage-100); text-decoration: none; color: var(--teal-900); }
.nav-cta { margin-left: 8px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--teal-900); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(79,156,156,.22), transparent 60%),
    radial-gradient(700px 500px at -10% 20%, rgba(243,239,231,.9), transparent 60%),
    linear-gradient(180deg, var(--sage-50), #fff);
  z-index: -1;
}
.hero-inner { padding: 88px 24px 72px; max-width: 820px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: .35em; }
.hero-lead { font-size: 1.18rem; color: var(--muted); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 30px; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; }
.hero-badges li {
  display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--teal-900); font-weight: 500;
}
.hero-badges li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--teal-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ===== Trust strip ===== */
.trust { background: var(--teal-700); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 44px 24px; }
.trust-item h3 { color: #fff; font-size: 1.2rem; margin-bottom: .25em; }
.trust-item p { color: rgba(255,255,255,.82); margin: 0; font-size: .95rem; }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--sage-50); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.section-sub { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-note { text-align: center; margin-top: 36px; color: var(--muted); }

h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
/* Source photo is only 407x197, so match the container to its aspect ratio —
   filling a tall box cropped it hard and upscaled it into softness. */
.about-media {
  border-radius: var(--radius); aspect-ratio: 407 / 197; box-shadow: var(--shadow-md);
  background: linear-gradient(160deg, var(--teal-500), var(--teal-900));
  position: relative; overflow: hidden; align-self: center;
}
.about-media img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.checklist { list-style: none; padding: 0; margin: 1.2em 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--sage-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6b6b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ===== Cards / services ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; background: var(--sage-100); margin-bottom: 16px;
}
.card h3 { font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); }

/* ===== Providers ===== */
.providers { grid-template-columns: repeat(2, 1fr); }
.provider-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; text-align: left; box-shadow: var(--shadow-sm);
}
.provider-photo {
  width: 86px; height: 86px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center;
  font-family: var(--font-head); font-size: 1.5rem; color: #fff;
  background: linear-gradient(160deg, var(--teal-500), var(--teal-900));
}
.provider-card h3 { font-size: 1.15rem; margin-bottom: .1em; text-align: center; }
.provider-role { color: var(--teal-600); font-weight: 600; font-size: .9rem; margin: 0 0 1.1em; text-align: center; }
.provider-card p { color: var(--muted); margin: 0 0 .8em; font-size: .95rem; }
.provider-meta {
  font-size: .82rem; border-top: 1px solid var(--line);
  padding-top: .9em; margin: .2em 0 0; line-height: 1.55;
}

/* ===== Insurance ===== */
.insurance-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.insurance-logos { display: flex; flex-wrap: wrap; gap: 9px; align-content: flex-start; }
.insurance-logos span {
  display: inline-flex; align-items: center; padding: 9px 15px; background: #fff;
  border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .85rem;
  color: var(--teal-900); box-shadow: var(--shadow-sm);
}

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: var(--sage-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; position: relative;
}
.step-num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal-700); color: #fff; font-weight: 700; font-family: var(--font-head); margin-bottom: 16px;
}
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); }
.link-arrow { font-weight: 600; }

/* ===== Contact ===== */
.section-contact { background: var(--sage-50); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.5em 0 0; display: grid; gap: 18px; }
.contact-list li { display: grid; gap: 2px; }
.contact-label { text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; font-weight: 600; color: var(--teal-600); }
.contact-list a, .contact-list span:not(.contact-label) { font-size: 1.1rem; color: var(--ink); }

.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-md);
}
.contact-form h3 { font-size: 1.3rem; margin-bottom: 1em; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-weight: 600; font-size: .9rem; color: var(--teal-900); }
input, textarea {
  font-family: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: var(--sage-50); color: var(--ink); transition: border .15s, background .15s;
}
input:focus, textarea:focus { outline: none; border-color: var(--teal-500); background: #fff; }
textarea { resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); margin: 4px 0 16px; }
.form-note-demo { background: #fdf6e3; border-left: 3px solid #d9a441; border-radius: 4px; padding: 10px 12px; color: #6b5420; }
.form-note-demo a { color: inherit; font-weight: 600; }
.form-status { font-size: .95rem; margin: 12px 0 0; min-height: 1.2em; }
.form-status.ok { color: var(--teal-700); font-weight: 600; }
.form-status.err { color: #b4453a; font-weight: 600; }

/* ===== Footer ===== */
.site-footer { background: var(--teal-900); color: rgba(255,255,255,.82); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 56px 24px 40px; }
.footer-brand .brand-text { color: #fff; font-size: 1.4rem; }
/* On the dark footer the logo reads as intended — no shadow needed. */
.footer-brand .brand-logo { height: 54px; filter: none; margin-bottom: 4px; }
.footer-brand p { margin: .8em 0 0; max-width: 320px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-contact a { color: rgba(255,255,255,.82); }
.footer-nav a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact p { margin: 0 0 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; padding-bottom: 28px; }
.footer-bottom p { margin: 0; font-size: .85rem; }
.footer-disclaimer { color: rgba(255,255,255,.6); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-grid, .insurance-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards, .providers, .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .about-media { min-height: 260px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 24px 22px; box-shadow: var(--shadow-md);
    transform: translateY(-120%); transition: transform .28s ease; visibility: hidden;
  }
  .nav-menu.open { transform: none; visibility: visible; }
  .nav-menu a:not(.btn) { padding: 12px; border-radius: 8px; }
  .nav-cta { margin: 8px 0 0; justify-content: center; }
  .hero-inner { padding: 56px 24px 48px; }
}

@media (max-width: 560px) {
  .cards, .providers, .steps, .trust-grid, .insurance-logos, .footer-inner { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}
