/* ==========================================================================
   Dallas Acupuncture Center — Dr. Meng-Sheng Lin
   Redesign concept by WebologyWORX
   ========================================================================== */

:root {
  --ink: #0f2a30;
  --ink-2: #33494f;
  --muted: #5f7277;
  --teal-900: #0b3b44;
  --teal-800: #10505b;
  --teal-700: #17636f;
  --teal-500: #2f8a95;
  --teal-100: #dcecee;
  --teal-50: #eef6f6;
  --sand: #f5efe6;
  --sand-2: #ebe2d4;
  --paper: #fbf9f5;
  --white: #ffffff;
  --accent: #c0462f;      /* vermilion */
  --accent-600: #a53a26;
  --gold: #b88a44;
  --line: rgba(15, 42, 48, 0.12);
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15,42,48,.06), 0 12px 32px -12px rgba(15,42,48,.18);
  --shadow-lg: 0 30px 60px -24px rgba(11,59,68,.35);
  --container: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}
img { max-width: 100%; display: block; }
a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.022em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -0.035em; font-weight: 750; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
::selection { background: var(--teal-100); color: var(--ink); }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.narrow { max-width: 760px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }
.section--teal { background: var(--teal-900); color: rgba(255,255,255,.82); }
.section--teal h2, .section--teal h3, .section--teal h4 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section--teal .eyebrow { color: #f2a48f; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); line-height: 1.6; }
.section--teal .lead { color: rgba(255,255,255,.75); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  font-family: inherit; line-height: 1.2; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(192,70,47,.7); }
.btn--primary:hover { background: var(--accent-600); color: #fff; transform: translateY(-2px); }
.btn--dark { background: var(--teal-900); color: #fff; }
.btn--dark:hover { background: var(--teal-700); color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--teal-700); color: var(--teal-700); }
.btn--light { background: #fff; color: var(--teal-900); }
.btn--light:hover { background: var(--sand); color: var(--teal-900); transform: translateY(-2px); }
.btn--outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar */
.topbar { background: var(--teal-900); color: rgba(255,255,255,.78); font-size: .84rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #f2a48f; }
.topbar__group { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; opacity: .8; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,249,245,.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15,42,48,.4); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 750; font-size: 1.08rem; letter-spacing: -0.02em; color: var(--ink); }
.brand__sub { font-size: .74rem; color: var(--muted); letter-spacing: .02em; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--ink-2); font-weight: 550; font-size: .94rem;
  padding: 9px 13px; border-radius: 999px; transition: background .2s, color .2s;
}
.nav a:hover { background: var(--teal-50); color: var(--teal-800); }
.nav a.is-active { color: var(--teal-800); background: var(--teal-50); }
.nav .btn { margin-left: 10px; padding: 12px 20px; color: #fff; }
.nav .btn:hover { color: #fff; background: var(--accent-600); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1080px) {
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .nav-toggle { display: inline-flex; }
  .nav { visibility: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), visibility 0s linear .35s !important; }
  body.nav-open .nav { visibility: visible; transition: transform .35s cubic-bezier(.2,.8,.2,1), visibility 0s !important; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw);
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); padding: 96px 24px 32px;
    transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
    box-shadow: -30px 0 60px -30px rgba(0,0,0,.35); z-index: 60; overflow-y: auto;
  }
  .nav a { font-size: 1.08rem; padding: 14px 16px; border-radius: 12px; }
  .nav .btn { margin: 16px 0 0; padding: 16px; }
  body.nav-open .nav { transform: none; }
  body.nav-open { overflow: hidden; }
  .nav-close { position: absolute; top: 22px; right: 18px; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(11,30,34,.45); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 55; }
  body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
}
@media (min-width: 1081px) { .nav-close, .nav-scrim { display: none; } }
@media (max-width: 720px) {
  .topbar .hide-sm { display: none; }
  .header .container { height: 68px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 1rem; }
}

/* Hero */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -320px; top: -360px;
  background: radial-gradient(circle, rgba(47,138,149,.14), transparent 62%); pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero h1 span { color: var(--teal-700); }
.hero .lead { max-width: 560px; margin-bottom: 32px; }
.hero__media { position: relative; }
.hero__img { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/4.4; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: -28px; bottom: 36px; background: #fff; border-radius: 18px; padding: 18px 22px;
  box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; max-width: 290px;
}
.hero__badge strong { display: block; color: var(--ink); font-size: 1.6rem; line-height: 1; letter-spacing: -0.03em; }
.hero__badge span { font-size: .85rem; color: var(--muted); line-height: 1.35; display: block; margin-top: 4px; }
.hero__badge .yy { width: 46px; height: 46px; flex: none; }
.hero__rating { position: absolute; right: -16px; top: 32px; background: var(--teal-900); color: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); font-size: .85rem; }
.hero__rating .stars { color: #f5c46b; letter-spacing: 2px; font-size: 1rem; }
.hero__rating strong { font-size: 1.15rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; color: var(--muted); font-size: .92rem; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 18px; height: 18px; color: var(--teal-500); }
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; }
  .hero__badge { left: 16px; bottom: 16px; }
  .hero__rating { right: 16px; top: 16px; }
  .hero__img { aspect-ratio: 4/3.4; }
}

/* Page hero (inner pages) */
.page-hero { position: relative; color: #fff; padding: clamp(72px, 10vw, 130px) 0 clamp(56px, 8vw, 96px); overflow: hidden; background: var(--teal-900); }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,59,68,.96) 15%, rgba(11,59,68,.55) 70%, rgba(11,59,68,.35)); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; max-width: 820px; font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.page-hero .lead { color: rgba(255,255,255,.82); max-width: 640px; margin: 0; }
.page-hero .eyebrow { color: #f2a48f; }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: 22px; }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* Trust strip */
.trust { background: var(--white); border-block: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { padding: 30px 26px; display: flex; gap: 16px; align-items: flex-start; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; flex: none; }
.trust__icon svg { width: 22px; height: 22px; }
.trust__item strong { display: block; color: var(--ink); font-size: 1rem; line-height: 1.3; }
.trust__item span { font-size: .87rem; color: var(--muted); line-height: 1.45; display: block; margin-top: 4px; }
@media (max-width: 960px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--line); }
  .trust__item { padding: 22px 4px; }
}

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split, .split--wide-left { grid-template-columns: 1fr; } }
.media-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-stack { position: relative; padding: 0 0 48px 48px; }
.media-stack .media-frame:first-child { aspect-ratio: 4/5; }
.media-stack .media-frame--small { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid var(--paper); }
.section--sand .media-stack .media-frame--small { border-color: var(--sand); }
@media (max-width: 560px) { .media-stack { padding: 0 0 36px 24px; } }

/* Letter / quote */
.letter { position: relative; background: var(--white); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); }
.letter p { font-size: 1.05rem; }
.letter__sign { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.letter__sign img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; }
.letter__sign strong { color: var(--ink); display: block; line-height: 1.3; }
.letter__sign span { font-size: .87rem; color: var(--muted); }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }
.card__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); margin-bottom: 20px; }
.card__icon svg { width: 26px; height: 26px; }
.card--accent .card__icon { background: #fbe9e4; color: var(--accent); }

.photo-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; text-decoration: none; color: inherit; }
.photo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: inherit; }
.photo-card__img { aspect-ratio: 4/3; overflow: hidden; }
.photo-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.photo-card:hover .photo-card__img img { transform: scale(1.05); }
.photo-card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.photo-card__body p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.photo-card__link { margin-top: auto; font-weight: 600; font-size: .92rem; color: var(--teal-700); display: inline-flex; align-items: center; gap: 6px; }
.photo-card__link svg { width: 16px; height: 16px; transition: transform .2s; }
.photo-card:hover .photo-card__link svg { transform: translateX(4px); }

/* Conditions */
.cond-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .cond-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cond-grid { grid-template-columns: 1fr; } }
.cond { background: var(--white); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.cond__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cond__head .card__icon { margin: 0; width: 44px; height: 44px; }
.cond__head h3 { margin: 0; font-size: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { font-size: .84rem; padding: 6px 12px; border-radius: 999px; background: var(--teal-50); color: var(--teal-800); line-height: 1.3; }
.section--sand .chips li { background: var(--sand); }
.cond .chips li { background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317636f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat;
}
.checklist--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .checklist--2 { grid-template-columns: 1fr; } }
.section--teal .checklist li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2a48f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0; }
.stat { background: var(--white); border-radius: 14px; padding: 18px; border: 1px solid var(--line); }
.stat strong { display: block; font-size: 1.9rem; color: var(--teal-800); letter-spacing: -0.04em; line-height: 1.1; }
.stat span { font-size: .84rem; color: var(--muted); line-height: 1.35; display: block; margin-top: 4px; }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: .85rem; font-weight: 700; letter-spacing: .1em; color: #f2a48f; margin-bottom: 18px; }
.step h3 { color: #fff; font-size: 1.15rem; }
.step p { color: rgba(255,255,255,.72); font-size: .95rem; margin: 0; }
.steps--light .step { background: var(--white); border-color: var(--line); }
.steps--light .step h3 { color: var(--ink); }
.steps--light .step p { color: var(--muted); }
.steps--light .step::before { color: var(--accent); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; max-width: 640px; } }
.quote { margin: 0; background: var(--white); border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.quote .stars { color: #e0a43c; letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 14px; }
.quote blockquote { margin: 0 0 24px; font-size: 1.04rem; color: var(--ink); line-height: 1.6; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); }
.quote .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--teal-100); color: var(--teal-800); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.quote figcaption strong { color: var(--ink); display: block; font-size: .95rem; }
.rating-summary { display: inline-flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px 10px 12px; margin-top: 8px; font-size: .92rem; }
.rating-summary .g { width: 30px; height: 30px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-weight: 800; color: #4285f4; }
.rating-summary .stars { color: #e0a43c; letter-spacing: 2px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; color: #fff; border-radius: 28px; padding: clamp(40px, 6vw, 72px); background: var(--teal-900); }
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,59,68,.95), rgba(11,59,68,.6)); }
.cta-band > *:not(.cta-band__bg) { position: relative; }
.cta-band h2 { color: #fff; max-width: 640px; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 560px; font-size: 1.08rem; }
.cta-band__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }

/* Info blocks / hours */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; }
.info-list .card__icon { margin: 0; width: 46px; height: 46px; flex: none; }
.info-list strong { display: block; color: var(--ink); }
.info-list span, .info-list a { color: var(--muted); }
.hours { width: 100%; border-collapse: collapse; font-size: .96rem; }
.hours td { padding: 11px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; color: var(--ink); font-weight: 550; }
.hours tr.closed td:last-child { color: var(--muted); font-weight: 400; }
.hours tr.today td { color: var(--teal-700); font-weight: 650; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: var(--teal-50); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(.85); }

/* Forms (demo only) */
.form { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); background: #fff; box-shadow: 0 0 0 4px rgba(47,138,149,.15); }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 14px; }
.form-success { display: none; padding: 16px 18px; border-radius: 12px; background: var(--teal-50); color: var(--teal-800); font-weight: 550; margin-top: 16px; }
.form.is-sent .form-success { display: block; }

/* FAQ accordion */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; position: relative; font-weight: 650; color: var(--ink); font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317636f' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 24px 22px; color: var(--ink-2); }
.faq__body p:last-child { margin-bottom: 0; }

/* Products */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .products { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.product { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product__img { background: #fff; height: 200px; display: grid; place-items: center; padding: 18px; border-bottom: 1px solid var(--line); }
.product__img img { height: 164px; width: 100%; object-fit: contain; }
.product__img--text { background: linear-gradient(135deg, var(--teal-50), var(--sand)); color: var(--teal-800); }
.product__img--text svg { width: 54px; height: 54px; opacity: .8; }
.product__body { padding: 18px 18px 20px; }
.product__tag { font-size: .72rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.product h3 { font-size: 1rem; margin: 6px 0 6px; }
.product p { font-size: .87rem; color: var(--muted); margin: 0; line-height: 1.5; }
@media (max-width: 720px) { .product__img { height: 150px; } .product__img img { height: 114px; } .product__body { padding: 14px; } }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter-bar button { font: inherit; font-size: .9rem; font-weight: 550; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink-2); cursor: pointer; transition: all .2s; }
.filter-bar button:hover { border-color: var(--teal-500); }
.filter-bar button.is-active { background: var(--teal-900); color: #fff; border-color: var(--teal-900); }

/* Prose (resource articles) */
.prose { font-size: 1.06rem; }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0 0 1.4em; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--teal-50); color: var(--teal-800); font-weight: 650; font-size: .85rem; letter-spacing: .02em; }
.callout { border-left: 4px solid var(--accent); background: var(--white); padding: 20px 24px; border-radius: 0 14px 14px 0; margin: 28px 0; box-shadow: var(--shadow); }
.callout p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 1.4em; }
.table-wrap table { margin: 0; }
.sidebar-card { position: sticky; top: 110px; background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
@media (max-width: 960px) { .layout-aside { grid-template-columns: 1fr; } .sidebar-card { position: static; } }

/* Resource list */
.resource { display: flex; gap: 18px; align-items: flex-start; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.resource:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.resource .card__icon { margin: 0; flex: none; width: 46px; height: 46px; }
.resource h3 { font-size: 1.04rem; margin: 0 0 4px; }
.resource p { margin: 0; color: var(--muted); font-size: .92rem; }
.resource .tag { display: inline-block; font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 4px; }

/* Insurance logos (text chips) */
.ins-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .ins-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .ins-grid { grid-template-columns: 1fr 1fr; } }
.ins { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 14px; font-weight: 600; font-size: .92rem; color: var(--ink); text-align: center; display: grid; place-items: center; min-height: 64px; line-height: 1.3; }

/* Timeline */
.timeline { position: relative; list-style: none; padding: 0; margin: 0; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--teal-100); }
.timeline li { position: relative; padding: 0 0 28px 40px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--teal-500); }
.timeline .year { font-size: .82rem; font-weight: 700; letter-spacing: .08em; color: var(--accent); }
.timeline h4 { margin: 4px 0 4px; font-size: 1.06rem; }
.timeline p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Footer */
.footer { background: #08262c; color: rgba(255,255,255,.66); padding: 80px 0 28px; font-size: .94rem; }
.footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; font-weight: 650; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer .brand__name { color: #fff; }
.footer .brand__sub { color: rgba(255,255,255,.55); }
.footer__about { margin-top: 18px; max-width: 340px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: .84rem; color: rgba(255,255,255,.45); }
.footer__hours li { display: flex; justify-content: space-between; gap: 12px; }

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(251,249,245,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .callbar .btn { padding: 13px 10px; font-size: .92rem; }
  body { padding-bottom: 76px; }
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.pill { display: inline-block; font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--teal-50); color: var(--teal-800); }
.divider { height: 1px; background: var(--line); margin: 40px 0; border: 0; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }
.show-xs { display: none; }
@media (max-width: 560px) { .hide-xs { display: none; } .show-xs { display: inline; } .brand { min-width: 0; } .brand__text { min-width: 0; } }
.demo-note { background: var(--sand-2); color: var(--ink-2); font-size: .8rem; text-align: center; padding: 8px 16px; }
