/* ==========================================================================
   Kaveri Dental Studio — design system
   Palette: royal blue (#1B3BD1) on warm paper (#FAF9F6), amber accents.
   Type: Poppins (300–700) for the whole front end, loaded from Google Fonts.
   ========================================================================== */

:root {
  /* Brand */
  --royal-900: #0A1B4A;
  --royal-700: #14309F;
  --royal: #1B3BD1;
  --royal-500: #3357E4;
  --royal-200: #BFCBF7;
  --royal-100: #E2E7FC;
  --royal-050: #F0F3FE;

  /* Neutrals */
  --ink: #0D1526;
  --ink-2: #1E2A44;
  --body: #4A566E;
  --muted: #6E7A93;
  --line: #E5E4DE;
  --line-2: #EAECF3;
  --paper: #FFFFFF;
  --sand: #F5F3EE;
  --sand-2: #FBFAF7;

  /* Accents */
  --amber: #C97B14;
  --amber-bg: #FDF3E2;
  --green: #17785C;
  --green-bg: #E8F5F0;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(13, 21, 38, .06), 0 1px 1px rgba(13, 21, 38, .04);
  --shadow: 0 2px 4px rgba(13, 21, 38, .05), 0 12px 28px -16px rgba(13, 21, 38, .22);
  --shadow-lg: 0 4px 8px rgba(13, 21, 38, .05), 0 28px 60px -28px rgba(13, 21, 38, .3);

  /* One family for the whole site. --serif is kept as an alias so existing
     heading rules keep working; both resolve to the Poppins stack. */
  --font: "Poppins", sans-serif;
  --sans: var(--font);
  --serif: var(--font);
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

body {
  margin: 0;
  background: var(--sand-2);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

/* Form controls and buttons must inherit Poppins rather than the browser default */
button, input, select, textarea, optgroup { font-family: "Poppins", sans-serif; }

a { color: var(--royal); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

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

h1 { font-size: clamp(2.35rem, 5.1vw, 3.7rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.22rem; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; color: var(--body); }
p:last-child { margin-bottom: 0; }

strong { color: var(--ink); font-weight: 600; }

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

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

/* ---------- Layout ---------- */

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-tight { max-width: 880px; }

.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-sand { background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-ink { background: var(--royal-900); color: #fff; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink p { color: rgba(255, 255, 255, .74); }

.section-head { max-width: 660px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.06rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--royal-700); margin-bottom: 14px; font-family: var(--font);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--royal-200); }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 1px; background: var(--royal-200); }
.section-ink .eyebrow { color: #9FB2F7; }
.section-ink .eyebrow::before, .section-ink .eyebrow::after { background: rgba(159, 178, 247, .5); }

.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.split-wide { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-family: var(--font); font-size: .95rem; font-weight: 600; line-height: 1;
  padding: 14px 22px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease, border-color .16s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--royal); color: #fff;
  box-shadow: 0 1px 2px rgba(10, 27, 74, .2), 0 10px 22px -12px rgba(27, 59, 209, .8);
}
.btn-primary:hover { background: var(--royal-700); transform: translateY(-1px); }
.btn-outline { background: var(--paper); color: var(--ink); border-color: #D3D6DE; }
.btn-outline:hover { border-color: var(--royal); color: var(--royal); }
.btn-light { background: #fff; color: var(--royal-900); }
.btn-light:hover { background: var(--royal-050); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-sm { padding: 10px 16px; font-size: .86rem; }
.btn-block { width: 100%; }

.text-link { font-weight: 600; font-size: .93rem; display: inline-flex; align-items: center; gap: 6px; }
.text-link svg { transition: transform .18s ease; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */

.topbar { background: var(--royal-900); color: rgba(255, 255, 255, .8); font-size: .82rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; }
.topbar a { color: #fff; }
.topbar-left { display: flex; gap: 18px; align-items: center; }
.topbar .pill {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14);
  padding: 3px 9px; border-radius: 999px; font-size: .74rem; color: #fff;
}
.topbar .pill .dot { background: #4ADE9B; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .93);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-stuck { box-shadow: 0 8px 24px -20px rgba(13, 21, 38, .5); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 72px; }

.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; background: var(--royal);
  display: grid; place-items: center; flex: none;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .18);
}
.brand-mark svg { width: 22px; height: 22px; fill: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name { font-family: var(--font); font-size: 1.09rem; font-weight: 600; letter-spacing: -.01em; }
.brand-sub { font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { color: var(--ink); font-size: .93rem; font-weight: 500; padding: 9px 13px; border-radius: 8px; }
.nav-links a:hover { background: var(--royal-050); color: var(--royal-700); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--royal-700); background: var(--royal-050); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-phone { font-size: .9rem; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 7px; }
.nav-phone:hover { color: var(--royal); text-decoration: none; }

.nav-toggle {
  display: none; background: var(--paper); border: 1px solid #D3D6DE; border-radius: 9px;
  width: 42px; height: 40px; cursor: pointer; padding: 0; place-items: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 17px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; padding: 72px 0 136px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(680px 380px at 88% -8%, rgba(27, 59, 209, .13), transparent 70%),
    radial-gradient(500px 320px at 6% 104%, rgba(201, 123, 20, .09), transparent 70%);
}
.hero .wrap { position: relative; }
.hero h1 { max-width: 15ch; }
.hero .lede { font-size: 1.12rem; max-width: 46ch; color: var(--body); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-meta div { font-size: .84rem; color: var(--muted); }
.hero-meta b {
  display: block; font-family: var(--font); font-size: 1.4rem; color: var(--ink);
  font-weight: 600; letter-spacing: -.01em;
}

.rating-row { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.stars { color: var(--amber); letter-spacing: 2px; font-size: .9rem; }
.avatars { display: flex; }
.avatars span {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--sand-2);
  background: var(--royal-100); color: var(--royal-700); font-size: .62rem; font-weight: 700;
  display: grid; place-items: center; margin-left: -8px;
}
.avatars span:first-child { margin-left: 0; }

/* Booking widget */
.hero-visual { position: relative; }
.widget {
  position: relative; background: var(--paper); border: 1px solid var(--line-2);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.widget-head {
  display: flex; align-items: center; gap: 9px; padding: 15px 20px;
  border-bottom: 1px solid var(--line-2); font-size: .82rem; font-weight: 600; color: var(--ink);
  background: linear-gradient(180deg, #fff, #FCFCFE);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; flex: none; }
.widget-head .widget-tag {
  margin-left: auto; font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--royal-700); background: var(--royal-050); border: 1px solid var(--royal-100);
  padding: 3px 9px; border-radius: 999px;
}
.widget-body { padding: 20px; }
.widget-label {
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 10px;
}
.widget-body .widget-label + .chips { margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit; font-family: var(--font); font-size: .85rem; font-weight: 500; color: var(--ink);
  background: var(--paper); border: 1px solid #DDE0E9; border-radius: 9px;
  padding: 9px 13px; cursor: pointer; transition: .15s ease;
}
.chip:hover { border-color: var(--royal-200); background: var(--royal-050); }
.chip[aria-pressed="true"] {
  background: var(--royal); border-color: var(--royal); color: #fff; font-weight: 600;
  box-shadow: 0 6px 14px -8px rgba(27, 59, 209, .9);
}
.chip small { display: block; font-size: .68rem; opacity: .7; font-weight: 500; }
.chip[aria-pressed="true"] small { opacity: .85; }
.widget-foot {
  display: flex; align-items: center; gap: 14px; justify-content: space-between;
  padding: 16px 20px; background: var(--sand-2); border-top: 1px solid var(--line-2);
}
.widget-foot p { font-size: .78rem; margin: 0; color: var(--muted); max-width: 24ch; }

/* Two trust chips tucked under the widget (clear of its content) */
.float-card {
  position: absolute; top: calc(100% + 18px);
  background: var(--paper); border: 1px solid var(--line-2);
  border-radius: 14px; box-shadow: var(--shadow); padding: 13px 16px; font-size: .79rem;
  display: flex; align-items: center; gap: 11px; color: var(--body); max-width: 46%;
  line-height: 1.35;
}
.float-card b { display: block; color: var(--ink); font-size: .88rem; font-weight: 600; }
.float-a { left: -14px; }
.float-b { right: -14px; }
.float-icon {
  width: 32px; height: 32px; border-radius: 9px; background: var(--royal-050); color: var(--royal);
  display: grid; place-items: center; flex: none; font-weight: 700; font-size: .78rem;
}
.float-icon.amber { background: var(--amber-bg); color: var(--amber); }

/* ---------- Trust bar ---------- */

.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.trustbar .wrap { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.trustbar p { margin: 0; font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); flex: none; }
.trustbar ul { display: flex; flex-wrap: wrap; gap: 30px; list-style: none; margin: 0; padding: 0; }
.trustbar li { font-family: var(--font); font-size: 1.02rem; color: #8A94A8; font-weight: 600; letter-spacing: -.01em; }
.trustbar li em {
  font-family: var(--font); font-style: normal; font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; display: block; color: #A7AFC0;
}

/* ---------- Stats ---------- */

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-2);
  border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden;
}
.stats div { background: var(--paper); padding: 22px; }
.stats b { display: block; font-family: var(--font); font-size: 1.75rem; letter-spacing: -.02em; }
.stats span { font-size: .82rem; color: var(--muted); }

/* ---------- Cards ---------- */

.card {
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 26px; transition: .18s ease; position: relative;
}
.card:hover { border-color: var(--royal-200); box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .93rem; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }

.icon-box {
  width: 44px; height: 44px; border-radius: 12px; background: var(--royal-050);
  border: 1px solid var(--royal-100); display: grid; place-items: center; color: var(--royal);
}
.icon-box svg {
  width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

.price-tag {
  font-size: .8rem; font-weight: 600; color: var(--royal-700); background: var(--royal-050);
  border: 1px solid var(--royal-100); border-radius: 999px; padding: 4px 11px; white-space: nowrap;
}
.card-list { list-style: none; margin: 14px 0 0; padding: 0; font-size: .88rem; color: var(--body); }
.card-list li { padding-left: 20px; position: relative; margin-bottom: 7px; }
.card-list li::before {
  content: ""; position: absolute; left: 3px; top: .55em; width: 6px; height: 6px;
  border-radius: 50%; background: var(--royal-200);
}

/* Feature rows */
.feature { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature-num {
  font-family: var(--font); font-size: 1.1rem; color: var(--royal); font-weight: 600;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--royal-050); border: 1px solid var(--royal-100);
}
.feature h3 { margin-bottom: 6px; }
.feature p { font-size: .95rem; margin-bottom: 0; }

.aside-note {
  background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; font-size: .9rem;
}
.aside-note h4 {
  font-family: var(--font); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.check-list { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.check-list li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--body); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 15px; height: 8px;
  border-left: 2px solid var(--royal); border-bottom: 2px solid var(--royal);
  transform: rotate(-45deg); border-radius: 1px;
}

/* ---------- Steps ---------- */

.steps { display: grid; border-top: 1px solid var(--line-2); }
.step {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 22px; align-items: center;
  padding: 26px 22px; border-bottom: 1px solid var(--line-2); background: var(--paper);
}
.step:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.step:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.step-num { font-family: var(--font); font-size: 1.9rem; color: var(--royal-200); }
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; font-size: .93rem; max-width: 62ch; }
.step-time {
  font-size: .78rem; color: var(--muted); white-space: nowrap; background: var(--sand);
  border-radius: 999px; padding: 5px 12px;
}

/* ---------- Pricing ---------- */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan {
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: 30px; position: relative; display: flex; flex-direction: column; height: 100%;
}
.plan-featured { border-color: var(--royal); box-shadow: var(--shadow-lg); }
.plan-badge {
  position: absolute; top: -12px; left: 30px; background: var(--royal); color: #fff;
  font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan .plan-for { font-size: .86rem; color: var(--muted); margin-bottom: 20px; }
.plan-price { font-family: var(--font); font-size: 2.3rem; letter-spacing: -.02em; line-height: 1; }
.plan-price span { font-family: var(--font); font-size: .82rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan ul { margin-top: 22px; flex: 1; }
.plan .btn { margin-top: 24px; }
.plan-note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 14px; }

/* ---------- Tables ---------- */

.table-wrap { border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
caption {
  text-align: left; padding: 18px 22px 16px; font-family: var(--font); font-size: 1.1rem;
  font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-2); background: var(--paper);
}
caption small {
  display: block; font-family: var(--font); font-size: .78rem; color: var(--muted);
  font-weight: 400; letter-spacing: 0; margin-top: 3px;
}
th, td { text-align: left; padding: 13px 22px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
thead th {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  background: var(--sand-2); font-weight: 600;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #FCFCFE; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
td strong { font-weight: 600; }
td .sub { display: block; font-size: .78rem; color: var(--muted); }
.table-note { font-size: .8rem; color: var(--muted); margin-top: 14px; }

/* ---------- Testimonials ---------- */

.quote {
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column;
}
.quote blockquote {
  margin: 0; font-family: var(--font); font-size: 1.04rem; line-height: 1.5;
  color: var(--ink); letter-spacing: -.005em;
}
.quote footer {
  margin-top: auto; padding-top: 20px; display: flex; align-items: center; gap: 12px;
  font-size: .84rem; color: var(--muted);
}
.q-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--sand); border: 1px solid var(--line);
  display: grid; place-items: center; font-size: .74rem; font-weight: 700; color: var(--ink); flex: none;
}
.quote footer b { display: block; color: var(--ink); font-weight: 600; font-size: .88rem; }
.quote .stars { margin-bottom: 14px; font-size: .82rem; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); background: var(--paper); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: none; border: 0; font: inherit; font-family: var(--font); font-size: 1.02rem; font-weight: 600; color: var(--ink);
  text-align: left; padding: 22px 24px; cursor: pointer;
}
.faq-q:hover { color: var(--royal-700); }
.faq-sign { position: relative; width: 14px; height: 14px; flex: none; }
.faq-sign::before, .faq-sign::after {
  content: ""; position: absolute; background: var(--royal); border-radius: 2px;
  transition: transform .22s ease, opacity .22s ease;
}
.faq-sign::before { top: 6px; left: 0; width: 14px; height: 2px; }
.faq-sign::after { top: 0; left: 6px; width: 2px; height: 14px; }
.faq-q[aria-expanded="true"] .faq-sign::after { transform: rotate(90deg); opacity: 0; }
.faq-a { display: none; padding: 0 24px 24px; max-width: 74ch; }
.faq-a.is-open { display: block; }
.faq-a p { font-size: .95rem; }
.faq-a ul { font-size: .95rem; color: var(--body); padding-left: 20px; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--royal-900); color: #fff; border-radius: var(--radius-lg);
  padding: 54px; overflow: hidden; position: relative;
}
.cta-band::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(51, 87, 228, .55), transparent 68%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 24ch; }
.cta-band p { color: rgba(255, 255, 255, .76); max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Forms ---------- */

.form-card {
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; font: inherit; font-family: var(--font); font-size: .94rem; color: var(--ink);
  background: var(--paper); border: 1px solid #D8DBE4; border-radius: 10px;
  padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease;
}
input::placeholder, textarea::placeholder { color: #9AA3B5; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(27, 59, 209, .14);
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236E7A93' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 38px;
}
textarea { min-height: 96px; resize: vertical; }
.field-error { font-size: .78rem; color: #B3261E; margin-top: 6px; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }
.field.has-error .field-error { display: block; }
.field.has-error .chips { outline: 1px solid #F2C6C3; outline-offset: 6px; border-radius: 10px; }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 16px; }
.form-success {
  display: none; background: var(--green-bg); border: 1px solid #BEE3D8; color: #0F5C46;
  border-radius: var(--radius); padding: 18px 20px; font-size: .93rem; margin-bottom: 20px;
}
.form-success.is-visible { display: block; }
.checkbox-row { display: flex; gap: 11px; align-items: flex-start; font-size: .86rem; color: var(--body); margin-bottom: 0; }
.checkbox-row input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--royal); }

/* ---------- Contact blocks ---------- */

.clinic-card { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 26px; }
.clinic-card h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.clinic-card .tag {
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; background: var(--sand);
  color: var(--muted); border-radius: 999px; padding: 3px 10px; font-family: var(--font); font-weight: 600;
}
.clinic-card address { font-style: normal; font-size: .93rem; color: var(--body); margin-bottom: 16px; }
.hours { list-style: none; margin: 0; padding: 0; font-size: .89rem; }
.hours li {
  display: flex; align-items: center; gap: 12px; padding: 8px 0;
  border-bottom: 1px dashed var(--line); color: var(--body);
}
.hours li > span { flex: 1; }
.hours li:last-child { border-bottom: none; }
.hours li b { color: var(--ink); font-weight: 600; }
.hours li.is-today { color: var(--royal-700); font-weight: 600; }
.hours li.is-today > span::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--royal); margin-right: 8px; vertical-align: middle;
}
.hours.is-closed-today li[data-day="0"] { color: var(--muted); }
.hours.is-closed-today li[data-day="0"] b { color: var(--muted); }
.map-strip {
  margin-top: 18px; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #EEF1FE, #FBFAF7); height: 132px; position: relative;
}
.map-strip svg { width: 100%; height: 100%; }
.map-strip a {
  position: absolute; left: 14px; bottom: 14px; background: var(--paper); border: 1px solid var(--line-2);
  border-radius: 999px; padding: 7px 14px; font-size: .8rem; font-weight: 600; box-shadow: var(--shadow-sm);
}

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.info-list li:last-child { border-bottom: none; }
.info-list span { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }

.alert-strip {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  background: var(--amber-bg); border: 1px solid #F2DDB8; border-radius: var(--radius); padding: 20px 24px;
}
.alert-strip p { margin: 0; font-size: .92rem; color: #6B4A10; }
.alert-strip b { color: #4A3208; }

/* ---------- Donations ---------- */

.chips-lg .chip { padding: 13px 17px; font-size: .95rem; }
.chips-lg .chip small { font-size: .7rem; margin-top: 2px; }
.chip[aria-pressed="true"] small { opacity: .85; }
.chips-lg { margin-bottom: 6px; }

.donor-summary {
  background: var(--royal-050); border: 1px solid var(--royal-100); border-radius: var(--radius);
  padding: 18px 20px; margin: 4px 0 22px;
}
.summary-line {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 8px 0; border-bottom: 1px dashed var(--royal-100); font-size: .9rem; color: var(--body);
}
.summary-line:first-child { padding-top: 0; }
.summary-line:last-child { border-bottom: none; padding-bottom: 0; }
.summary-line b { color: var(--ink); font-weight: 600; text-align: right; }
.summary-total { font-family: var(--font); font-size: 1.7rem; letter-spacing: -.02em; color: var(--royal-700); }

.impact-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-top: 16px; font-size: .88rem;
}
.impact-head b { font-family: var(--font); font-weight: 600; color: var(--ink); }
.impact-head span { color: var(--muted); font-variant-numeric: tabular-nums; }
.meter { height: 8px; background: #E7E4DC; border-radius: 999px; overflow: hidden; margin-top: 7px; }
.meter span { display: block; height: 100%; background: var(--royal); border-radius: 999px; }
.meter.amber span { background: var(--amber); }
.meter.green span { background: var(--green); }

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

.page-hero { padding: 56px 0 48px; border-bottom: 1px solid var(--line); background: var(--paper); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -140px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 59, 209, .1), transparent 70%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 3.8vw, 2.9rem); max-width: 22ch; }
.page-hero p { font-size: 1.06rem; max-width: 58ch; }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--royal); }
.crumbs span { margin: 0 7px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--royal-900); color: rgba(255, 255, 255, .68); padding: 64px 0 0; font-size: .9rem; }
.site-footer h4 { color: #fff; font-family: var(--font); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: rgba(255, 255, 255, .55); }
.site-footer .brand-mark { background: rgba(255, 255, 255, .12); box-shadow: none; }
.site-footer p { color: rgba(255, 255, 255, .68); font-size: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, .8); }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0 30px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: .8rem; color: rgba(255, 255, 255, .5);
}
.credential { font-size: .82rem; color: rgba(255, 255, 255, .6); margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); }

/* ---------- Reveal ---------- */

[data-reveal] { opacity: 0; transform: translateY(14px); }
[data-reveal].is-visible { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1); }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .split, .split-wide { grid-template-columns: 1fr; gap: 42px; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-2 { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .float-a, .float-b { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero { padding: 52px 0 68px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 13px 14px; font-size: 1rem; }
  .nav-phone { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .step { grid-template-columns: 52px 1fr; }
  .step-time { grid-column: 2; justify-self: start; }
  .section { padding: 64px 0; }
  .cta-band { padding: 36px 26px; }
  .form-card { padding: 24px; }
  .topbar-left span + span { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .trustbar ul { gap: 18px; }
  .widget-foot { flex-direction: column; align-items: stretch; }
  .widget-foot .btn { width: 100%; }
  caption, th, td { padding-left: 16px; padding-right: 16px; }
  .table-wrap { overflow-x: auto; }
  table { min-width: 430px; }
  .summary-line { flex-direction: column; gap: 2px; }
  .summary-line b { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
