/* ---------- Tokens ---------- */
:root {
  --green: #0E7C5A;
  --green-dark: #0A5C43;
  --accent: #2ECC8F;
  --bg: #F7FBF9;
  --bg-alt: #ECF6F1;
  --surface: #FFFFFF;
  --ink: #12211C;
  --ink-soft: #4A5F58;
  --line: #DCEAE4;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(18, 33, 28, .05), 0 12px 32px -18px rgba(18, 33, 28, .35);
  --shadow-lg: 0 2px 4px rgba(18, 33, 28, .06), 0 28px 60px -28px rgba(14, 124, 90, .45);

  --shell: 1120px;
  --pad: clamp(1.25rem, 5vw, 3rem);

  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 700; }
p { margin: 0 0 1rem; }
address { font-style: normal; }

a { color: var(--green); text-decoration-color: color-mix(in srgb, var(--green) 35%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  z-index: 200; background: var(--green); color: #fff; padding: .7rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

.shell { width: min(100% - 2 * var(--pad), var(--shell)); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(18, 33, 28, .6); }

.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; margin-right: auto; }
.brand-cross { width: 30px; height: 30px; flex: none; fill: var(--green); stroke: none; transition: transform .5s var(--ease); }
.brand:hover .brand-cross { transform: rotate(90deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: .98rem; letter-spacing: -.01em; }
.brand-text small { font-size: .75rem; color: var(--ink-soft); letter-spacing: .08em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: .3rem; }
.site-nav a {
  padding: .5rem .8rem; border-radius: 999px; font-size: .92rem;
  text-decoration: none; color: var(--ink-soft); transition: color .2s var(--ease), background-color .2s var(--ease);
}
.site-nav a:hover { color: var(--ink); background: var(--bg-alt); }
.site-nav a.is-active { color: var(--green-dark); background: var(--bg-alt); font-weight: 600; }
.site-nav .nav-cta {
  background: var(--green); color: #fff; font-weight: 600; margin-left: .4rem;
}
.site-nav .nav-cta:hover, .site-nav .nav-cta.is-active { background: var(--green-dark); color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: var(--surface); border-radius: 12px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle-bars::before { transform: translateY(-6px); }
.nav-toggle-bars::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-2px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 9vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.hero-glow {
  position: absolute; inset: -30% -10% auto -10%; height: 620px; z-index: 0;
  background:
    radial-gradient(closest-side, color-mix(in srgb, var(--accent) 30%, transparent), transparent) 20% 40% / 55% 70% no-repeat,
    radial-gradient(closest-side, color-mix(in srgb, var(--green) 22%, transparent), transparent) 80% 20% / 50% 65% no-repeat;
  filter: blur(20px); opacity: .7;
  animation: drift 18s var(--ease) infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-2%, 0, 0) scale(1); }
  to   { transform: translate3d(3%, 3%, 0) scale(1.08); }
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 { max-width: 14ch; }
.hero .accent { color: var(--green); }

.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green); margin-bottom: .8rem;
}
.lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--ink-soft); max-width: 56ch; }

.status {
  display: inline-flex; align-items: center; gap: .55rem; margin: .4rem 0 1.6rem;
  padding: .4rem .95rem .4rem .75rem; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); font-size: .9rem; font-weight: 600;
}
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-soft); flex: none; }
.status.is-open .status-dot { background: var(--accent); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent); animation: ping 2.2s var(--ease) infinite; }
.status.is-closed .status-dot { background: #C0563F; }
@keyframes ping {
  70%  { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--green-dark); box-shadow: var(--shadow-lg); }
.btn-ghost { background: var(--surface); color: var(--green-dark); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); box-shadow: var(--shadow); }

/* ---------- Cards & grids ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 1.8rem); box-shadow: var(--shadow);
}

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.4rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.info-grid { display: grid; gap: clamp(1rem, 2.5vw, 1.4rem); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.info-card h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.hours { margin: 0; }
.hours dt { font-weight: 600; margin-bottom: .2rem; }
.hours dd { margin: 0; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.note { font-size: .88rem; color: var(--ink-soft); margin: .8rem 0 0; }
.big-link { font-size: 1.25rem; font-weight: 700; text-decoration: none; letter-spacing: -.01em; }

.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .92rem; color: var(--green); text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
a:hover .link-arrow::after, .link-arrow:hover::after { transform: translateX(4px); }

.icon { width: 26px; height: 26px; color: var(--green); flex: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 9vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-title { max-width: 22ch; }
.section-lead { color: var(--ink-soft); max-width: 62ch; margin-bottom: clamp(1.8rem, 4vw, 2.6rem); font-size: 1.03rem; }

/* Action cards (links) */
.action-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: .1rem;
  text-decoration: none; color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.action-card .icon { margin-bottom: .9rem; }
.action-card p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.action-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--green) 30%, var(--line)); }
.action-card.featured { border-color: color-mix(in srgb, var(--green) 45%, var(--line)); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, var(--surface)), var(--surface)); }

/* Service cards */
.service-card { display: flex; flex-direction: column; }
.service-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.badge {
  margin-left: auto; font-size: .74rem; font-weight: 700; letter-spacing: .04em;
  padding: .3rem .7rem; border-radius: 999px; background: var(--bg-alt);
  color: var(--green-dark); border: 1px solid var(--line); white-space: nowrap;
}
.badge-new { margin-left: 0; background: var(--green); color: #fff; border-color: var(--green); }
.service-card p { color: var(--ink-soft); font-size: .95rem; }
.plus { border-left: 3px solid var(--accent); padding-left: .8rem; }
.service-links { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; margin-top: auto; padding-top: .6rem; }

/* Disclaimer */
.disclaimer {
  margin-top: clamp(1.5rem, 4vw, 2.2rem); font-size: .88rem; color: var(--ink-soft);
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
}

/* Highlight */
.highlight { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; padding: clamp(1.6rem, 4vw, 2.6rem); }
.highlight-body p { color: var(--ink-soft); max-width: 52ch; }
.highlight h3 { margin-top: .7rem; }
.facts { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem .9rem; font-size: .92rem; color: var(--ink-soft); }
.facts li { background: var(--bg-alt); border-radius: 999px; padding: .35rem .85rem; }
.facts strong { color: var(--ink); }
.highlight-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.highlight-visual svg { width: 100%; max-width: 240px; margin-inline: auto; display: block; }
.lesion { fill: color-mix(in srgb, var(--green) 18%, transparent); stroke: var(--green); stroke-width: 2; }
.pulse { stroke: var(--accent); stroke-width: 1.5; opacity: 0; transform-origin: center; animation: pulse 3.2s var(--ease) infinite; }
.pulse-2 { animation-delay: 1.6s; }
@keyframes pulse {
  0%   { transform: scale(.6); opacity: .9; }
  100% { transform: scale(1.5); opacity: 0; }
}
.scan { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 6; animation: scan 3s linear infinite alternate; }
@keyframes scan {
  from { transform: translateY(-42px); }
  to   { transform: translateY(42px); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C9D9D3; padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem; font-size: .93rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer-brand { font-weight: 700; color: #fff; font-size: 1.05rem; margin-bottom: .5rem; }
.footer-title { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: #8FA8A0; font-weight: 700; margin-bottom: .6rem; }
.site-footer .small { font-size: .82rem; color: #97ADA6; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem;
}
.footer-bottom .link-arrow { color: #fff; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: .8rem var(--pad) 1.2rem;
    box-shadow: var(--shadow-lg); display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .8rem 1rem; }
  .site-nav .nav-cta { margin: .4rem 0 0; text-align: center; }
  .highlight { grid-template-columns: 1fr; }
  .highlight-visual { order: -1; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
