/* ==========================================================================
   AMRIT CLINIC PREMIUM — Components
   Buttons, cards, badges, accordions, sliders, forms, timelines, media.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BUTTONS
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--brand);
  --btn-fg: var(--secondary-deep);
  --btn-border: transparent;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.625rem 1.375rem;
  border: 1.5px solid var(--btn-border);
  border-radius: var(--r-full);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform var(--t-base) var(--ease-spring),
    box-shadow var(--t-base) var(--ease),
    background-color var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    color var(--t-base) var(--ease);
}

/*
   The brand lime measures 7.1:1 against the deep navy ink, so the primary
   button is fully AAA — unusual for a colour this bright, and the reason the
   palette works as a CTA rather than only as decoration.
*/
.btn--primary {
  box-shadow: var(--sh-brand);
}

.btn--primary:hover {
  --btn-bg: var(--brand-dark);
  --btn-fg: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(110, 166, 0, 0.34);
}

.btn--secondary {
  --btn-bg: var(--secondary);
  --btn-fg: var(--white);
  box-shadow: var(--sh-md);
}

.btn--secondary:hover {
  --btn-bg: var(--secondary-deep);
  --btn-fg: var(--white);
  transform: translateY(-2px);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--secondary);
  --btn-border: var(--border);
}

.btn--outline:hover {
  --btn-bg: var(--brand-tint);
  --btn-fg: var(--brand-ink);
  --btn-border: var(--brand);
  transform: translateY(-2px);
}

.btn--ghost {
  --btn-bg: var(--white);
  --btn-fg: var(--secondary);
  --btn-border: var(--border);
  box-shadow: var(--sh-xs);
}

.btn--ghost:hover {
  --btn-border: var(--brand);
  --btn-fg: var(--brand-ink);
}

.btn--light {
  --btn-bg: rgba(255, 255, 255, 0.12);
  --btn-fg: var(--white);
  --btn-border: rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn--light:hover {
  --btn-bg: var(--white);
  --btn-fg: var(--secondary);
  --btn-border: var(--white);
}

.btn--whatsapp {
  --btn-bg: #25D366;
  --btn-fg: #fff;
}

.btn--whatsapp:hover { --btn-bg: #1DA851; --btn-fg: #fff; transform: translateY(-2px); }

.btn--sm  { padding: 0.5rem 1.125rem; font-size: 0.8125rem; }
.btn--lg  { padding: 0.75rem 1.75rem; font-size: 0.9375rem; }
.btn--block { width: 100%; }

.btn:active { transform: translateY(0) scale(0.985); }

.btn[disabled],
.btn.is-loading {
  opacity: 0.62;
  pointer-events: none;
}

.btn.is-loading::after {
  content: '';
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: var(--r-full);
  animation: amrit-spin 0.7s linear infinite;
}

@keyframes amrit-spin { to { transform: rotate(360deg); } }

.btn__icon { flex: none; transition: transform var(--t-base) var(--ease); }
.btn:hover .btn__icon { transform: translateX(3px); }

/* Text link with a moving arrow. */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--brand-ink);
  text-decoration: none;
}

.link-arrow::after {
  content: '';
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--t-base) var(--ease);
}

.link-arrow:hover { color: var(--secondary); }
.link-arrow:hover::after { transform: rotate(45deg) translate(3px, -3px); }

/* --------------------------------------------------------------------------
   2. SECTION HEADINGS
   -------------------------------------------------------------------------- */

.section-head {
  max-width: 720px;
  margin-bottom: var(--sp-12);
}

.section-head--center { margin-inline: auto; text-align: center; }
.section-head--left   { margin-inline: 0; }

.section-head__title { margin-bottom: var(--sp-4); }

.section-head__intro {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--muted);
  margin: 0;
}

.section--dark .section-head__intro { color: rgba(255, 255, 255, 0.7); }
.section--dark .eyebrow { color: var(--brand); }

/* --------------------------------------------------------------------------
   3. CARDS
   -------------------------------------------------------------------------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition:
    transform var(--t-slow) var(--ease-out),
    box-shadow var(--t-slow) var(--ease-out),
    border-color var(--t-base) var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--brand-tint);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slower) var(--ease-out);
}

.card:hover .card__media img { transform: scale(1.055); }

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--sp-2);
  padding: var(--sp-4);
}

.card__title {
  font-size: var(--fs-md);
  margin: 0;
}

.card__title a {
  color: inherit;
  text-decoration: none;
}

/* Stretched link: the whole card is clickable, but only the title is in the
   tab order — no duplicate links for screen readers. */
.card__title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card:hover .card__title { color: var(--brand-ink); }

.card__text {
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  color: var(--muted);
  margin: 0;
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  margin-top: auto;
  padding-top: var(--sp-3);
  font-size: var(--fs-xs);
  color: var(--muted);
}

.card__meta > * { display: inline-flex; align-items: center; gap: 5px; }

.card__foot {
  margin-top: auto;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}

.card__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--brand-tint);
  color: var(--brand-ink);
  margin-bottom: var(--sp-2);
  transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

.card:hover .card__icon { background: var(--brand); color: var(--secondary-deep); }

.card__badge {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  z-index: 2;
  padding: 5px var(--sp-3);
  border-radius: var(--r-full);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--secondary);
  box-shadow: var(--sh-xs);
}

/* Glass card — used over imagery and on dark sections. */
.card--glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-color: var(--glass-border);
  box-shadow: var(--sh-md);
}

.card--flat { border-radius: var(--r-md); box-shadow: none; }
.card--flat:hover { transform: none; box-shadow: var(--sh-md); }

.card--dark {
  background: var(--secondary);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
}

.card--dark .card__title { color: var(--white); }
.card--dark .card__text  { color: rgba(255, 255, 255, 0.68); }

/* --------------------------------------------------------------------------
   4. FEATURE / ICON BLOCKS
   -------------------------------------------------------------------------- */

.feature {
  display: grid;
  gap: var(--sp-4);
  padding: var(--sp-7, 1.75rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform var(--t-slow) var(--ease-out), box-shadow var(--t-slow) var(--ease-out);
}

.feature:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }

.feature__icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(145deg, var(--brand-tint) 0%, var(--brand-tint-2) 100%);
  color: var(--brand-ink);
}

.feature__title { font-size: var(--fs-md); margin: 0; }

.feature__text {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   5. BADGES / PILLS / CHIPS
   -------------------------------------------------------------------------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px var(--sp-3);
  border-radius: var(--r-full);
  background: var(--brand-tint);
  color: var(--brand-ink);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.3;
}

.pill--outline { background: transparent; border: 1px solid var(--border); color: var(--secondary); }
.pill--accent  { background: var(--accent-tint); color: var(--accent-ink); }
.pill--warning { background: var(--warning-tint); color: var(--warning); }
.pill--danger  { background: var(--danger-tint); color: var(--danger); }
.pill--success { background: var(--success-tint); color: #15803D; }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  list-style: none;
  margin: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--secondary);
}

.chip .icon { color: var(--brand-ink); flex: none; }

/* --------------------------------------------------------------------------
   6. STARS
   -------------------------------------------------------------------------- */

.stars { display: inline-flex; gap: 1px; vertical-align: middle; }

.stars__star .icon { fill: none; stroke: #D8DEE6; }
.stars__star.is-full .icon { fill: #FBBF24; stroke: #FBBF24; }
.stars__star.is-half .icon { fill: url(#half); stroke: #FBBF24; }

.stars__value {
  margin-left: var(--sp-2);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--heading);
}

/* --------------------------------------------------------------------------
   7. ANSWER BLOCK
   --------------------------------------------------------------------------
   The direct-answer paragraph. Visually a highlighted lede; structurally the
   passage marked as speakable and quoted by AI answer engines. */

.answer-block {
  position: relative;
  padding: var(--sp-6) var(--sp-7, 1.75rem);
  margin-bottom: var(--sp-8);
  background: linear-gradient(135deg, var(--brand-tint) 0%, rgba(255, 255, 255, 0.4) 100%);
  border: 1px solid var(--brand-tint-2);
  border-radius: var(--r-lg);
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--secondary);
}

.answer-block::before {
  content: '';
  position: absolute;
  left: 0;
  top: var(--sp-6);
  bottom: var(--sp-6);
  width: 3px;
  border-radius: var(--r-full);
  background: var(--brand);
}

.answer-block p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   8. CALLOUTS
   -------------------------------------------------------------------------- */

.callout {
  display: grid;
  gap: var(--sp-2);
  padding: var(--sp-5) var(--sp-6);
  margin-block: var(--sp-6);
  border-radius: var(--r-md);
  border-left: 3px solid var(--accent);
  background: var(--accent-tint);
  color: var(--secondary);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
}

.callout--note    { border-left-color: var(--brand); background: var(--brand-tint); }
.callout--warning { border-left-color: var(--warning); background: var(--warning-tint); }
.callout--danger  { border-left-color: var(--danger); background: var(--danger-tint); }
.callout p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   9. ACCORDION / FAQ
   -------------------------------------------------------------------------- */

.faq { display: grid; gap: var(--sp-3); }

.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.faq__item.is-open {
  border-color: var(--brand);
  box-shadow: var(--sh-md);
}

.faq__question {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  padding: var(--sp-5) var(--sp-6);
  text-align: left;
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--heading);
  transition: color var(--t-fast) var(--ease);
}

.faq__question:hover { color: var(--brand-ink); }

.faq__icon {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: var(--r-full);
  background: var(--brand-tint);
  margin-top: 1px;
  transition: background-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  inset: 50% 6px auto 6px;
  height: 2px;
  background: var(--brand-ink);
  border-radius: var(--r-full);
  transform: translateY(-50%);
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease);
}

.faq__icon::after { transform: translateY(-50%) rotate(90deg); }

.faq__item.is-open .faq__icon { background: var(--brand); transform: rotate(180deg); }
.faq__item.is-open .faq__icon::after { opacity: 0; }

/* grid-template-rows animates to intrinsic height without measuring in JS. */
.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-slow) var(--ease-out);
}

.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }

.faq__panel > div { overflow: hidden; }

.faq__answer {
  padding: 0 var(--sp-6) var(--sp-6);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--body);
}

.faq__answer > :last-child { margin-bottom: 0; }
.faq__answer p + p { margin-top: var(--sp-3); }

/* --------------------------------------------------------------------------
   10. BEFORE / AFTER SLIDER
   -------------------------------------------------------------------------- */

.ba {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--brand-tint);
  box-shadow: var(--sh-md);
  aspect-ratio: 4 / 5;
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}

.ba__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba__after { z-index: 1; }

/* The "before" layer is clipped to the handle position. */
.ba__before-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 50%;
  overflow: hidden;
  will-change: width;
}

.ba__before-wrap .ba__img {
  width: var(--ba-width, 100%);
  max-width: none;
}

.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 3;
  width: 3px;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(31, 41, 55, 0.12);
  transform: translateX(-50%);
  will-change: left;
}

.ba__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: var(--r-full);
  background: var(--white);
  box-shadow: var(--sh-lg);
  display: grid;
  place-items: center;
  cursor: ew-resize;
}

.ba__grip::before,
.ba__grip::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--secondary);
  border-left: 2px solid var(--secondary);
}

.ba__grip::before { transform: rotate(-45deg) translate(2px, 2px); left: 12px; }
.ba__grip::after  { transform: rotate(135deg) translate(2px, 2px); right: 12px; }

.ba__label {
  position: absolute;
  top: var(--sp-4);
  z-index: 4;
  padding: 4px var(--sp-3);
  border-radius: var(--r-full);
  background: rgba(22, 33, 46, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  pointer-events: none;
}

.ba__label--before { left: var(--sp-4); }
.ba__label--after  { right: var(--sp-4); }

/* Native range input laid over the top: full keyboard and screen-reader
   support for free, visually hidden but focusable. */
.ba__range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}

.ba__range:focus-visible ~ .ba__handle .ba__grip {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.ba-case__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--muted);
}

.ba-disclaimer {
  margin-top: var(--sp-6);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px dashed var(--border);
  font-size: var(--fs-xs);
  color: var(--muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   11. CAROUSEL
   --------------------------------------------------------------------------
   CSS scroll-snap rather than a slider library: no JS dependency, native
   momentum on touch, and it degrades to a plain scroller everywhere. */

.carousel { position: relative; }

.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(88vw, 380px);
  gap: var(--sp-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-block: var(--sp-2) var(--sp-4);
  padding-inline: var(--sp-1);
  margin-inline: calc(var(--sp-1) * -1);
  overscroll-behavior-x: contain;
}

.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }

.carousel__nav {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  margin-top: var(--sp-6);
}

.carousel__btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--secondary);
  transition: all var(--t-base) var(--ease);
}

.carousel__btn:hover:not([disabled]) {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--secondary-deep);
}

.carousel__btn[disabled] { opacity: 0.35; cursor: not-allowed; }

.carousel__btn::before {
  content: '';
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.carousel__btn--prev::before { transform: rotate(-135deg) translate(-2px, -2px); }
.carousel__btn--next::before { transform: rotate(45deg) translate(-2px, 2px); }

@media (min-width: 900px) {
  .carousel__track { grid-auto-columns: minmax(0, 1fr); grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .carousel--always-scroll .carousel__track { grid-auto-flow: column; grid-auto-columns: 380px; overflow-x: auto; grid-template-columns: none; }
  .carousel:not(.carousel--always-scroll) .carousel__nav { display: none; }
}

/* --------------------------------------------------------------------------
   12. TIMELINE / PROCESS
   -------------------------------------------------------------------------- */

.timeline {
  position: relative;
  display: grid;
  gap: var(--sp-8);
  list-style: none;
  margin: 0;
  padding-left: var(--sp-10);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-tint-2) 100%);
  border-radius: var(--r-full);
}

.timeline__item { position: relative; }

.timeline__marker {
  position: absolute;
  left: calc(var(--sp-10) * -1);
  top: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background: var(--white);
  border: 2px solid var(--brand);
  color: var(--brand-ink);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  box-shadow: 0 0 0 5px var(--bg);
}

.timeline__period {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  color: var(--brand-ink);
  margin-bottom: var(--sp-1);
}

.timeline__title { font-size: var(--fs-md); margin-bottom: var(--sp-2); }

.timeline__text {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--muted);
  margin: 0;
}

/* Horizontal variant for the homepage patient-journey module. */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: var(--sp-6);
  list-style: none;
  margin: 0;
  counter-reset: step;
}

.steps__item {
  position: relative;
  counter-increment: step;
  text-align: center;
  padding: var(--sp-6) var(--sp-4);
}

/* Connector between steps, hidden on the last and on small screens. */
.steps__item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: calc(var(--sp-6) + 32px);
  left: calc(50% + 46px);
  right: calc(-50% + 46px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand-tint-2) 0 8px, transparent 8px 16px);
}

@media (max-width: 720px) { .steps__item::after { display: none !important; } }

.steps__num {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: var(--sp-4);
  border-radius: var(--r-full);
  background: var(--white);
  border: 2px solid var(--brand-tint-2);
  color: var(--brand-ink);
  box-shadow: var(--sh-sm);
  position: relative;
  z-index: 1;
  transition: all var(--t-base) var(--ease);
}

.steps__item:hover .steps__num {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--secondary-deep);
  transform: translateY(-3px);
}

.steps__num::before {
  content: counter(step);
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: var(--r-full);
  background: var(--secondary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
}

.steps__title { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.steps__text  { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   13. STATS
   -------------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: var(--sp-6);
  list-style: none;
  margin: 0;
}

.stat { text-align: center; }

.stat__value {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1;
  color: var(--secondary);
  letter-spacing: var(--ls-tight);
}

.stat__label {
  display: block;
  margin-top: var(--sp-2);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--muted);
}

.stat__icon { color: var(--brand-ink); margin-bottom: var(--sp-2); display: inline-block; }

.section--dark .stat__value { color: var(--white); }
.section--dark .stat__label { color: rgba(255, 255, 255, 0.6); }

/* Glass strip variant, used under the hero. */
.stats--glass {
  padding: var(--sp-6) var(--sp-8);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
}

/* --------------------------------------------------------------------------
   14. QUICK FACTS CARD
   -------------------------------------------------------------------------- */

.facts {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  overflow: hidden;
}

.facts__head {
  padding: var(--sp-5) var(--sp-6);
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-deep) 100%);
  color: var(--white);
}

.facts__title { color: var(--white); font-size: var(--fs-md); margin: 0; }

.facts__list { list-style: none; margin: 0; }

.facts__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-6);
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-sm);
}

.facts__row:last-child { border-bottom: 0; }

.facts__label { color: var(--muted); flex: none; }

.facts__value {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--secondary);
  text-align: right;
}

.facts__foot {
  padding: var(--sp-5) var(--sp-6);
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  display: grid;
  gap: var(--sp-3);
}

/* --------------------------------------------------------------------------
   15. FORMS
   -------------------------------------------------------------------------- */

.form { display: grid; gap: var(--sp-5); }

.form__row {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.field { display: grid; gap: var(--sp-2); }

.field__label {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--secondary);
}

.field__label .req { color: var(--danger); margin-left: 2px; }

.field__hint { font-size: var(--fs-xs); color: var(--muted); }

.input,
.textarea,
.select {
  width: 100%;
  padding: 0.8125rem var(--sp-4);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
  font-size: var(--fs-base);
  color: var(--heading);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.input::placeholder,
.textarea::placeholder { color: var(--muted-light); }

.input:hover,
.textarea:hover,
.select:hover { border-color: var(--muted-light); }

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(148, 213, 7, 0.16);
}

.textarea { min-height: 130px; resize: vertical; line-height: var(--lh-normal); }

.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-4) center;
  background-size: 18px;
  padding-right: var(--sp-10);
  cursor: pointer;
}

.field.has-error .input,
.field.has-error .textarea,
.field.has-error .select {
  border-color: var(--danger);
  background: var(--danger-tint);
}

.field__error {
  font-size: var(--fs-xs);
  color: var(--danger);
  font-weight: 500;
}

/* Checkbox / radio */
.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-3);
  align-items: start;
  font-size: var(--fs-sm);
  color: var(--body);
  cursor: pointer;
  line-height: var(--lh-normal);
}

.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 21px;
  height: 21px;
  margin: 1px 0 0;
  border: 1.5px solid var(--border);
  border-radius: var(--r-xs);
  background: var(--white);
  cursor: pointer;
  flex: none;
  transition: all var(--t-fast) var(--ease);
}

.check input[type="radio"] { border-radius: var(--r-full); }

.check input:checked {
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316212E' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 13px no-repeat;
  border-color: var(--brand);
}

.check input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Honeypot — off-screen, never focusable, invisible to assistive tech. */
.hp-field {
  position: absolute !important;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.form__notice {
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
}

.form__notice--success {
  background: var(--success-tint);
  border: 1px solid #BBF7D0;
  color: #15803D;
}

.form__notice--error {
  background: var(--danger-tint);
  border: 1px solid #FECACA;
  color: var(--danger);
}

.form__privacy {
  font-size: var(--fs-xs);
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
}

.form__privacy .icon { color: var(--success); flex: none; margin-top: 1px; }

/* --------------------------------------------------------------------------
   16. VIDEO FACADE
   -------------------------------------------------------------------------- */

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--secondary-deep);
  cursor: pointer;
}

.video__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slower) var(--ease-out), filter var(--t-base) var(--ease);
}

.video:hover .video__poster { transform: scale(1.03); filter: brightness(0.85); }

.video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.video__play-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: var(--r-full);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--sh-lg);
  transition: transform var(--t-base) var(--ease-spring), background-color var(--t-base) var(--ease);
}

.video__play-icon::before {
  content: '';
  width: 0;
  height: 0;
  margin-left: 5px;
  border-left: 20px solid var(--secondary);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.video:hover .video__play-icon { transform: scale(1.09); background: var(--brand); }
.video:hover .video__play-icon::before { border-left-color: var(--secondary-deep); }

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   17. MAP
   -------------------------------------------------------------------------- */

.map {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--brand-tint);
  border: 1px solid var(--border);
}

.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.map__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: var(--sp-3);
  text-align: center;
  color: var(--muted);
  font-size: var(--fs-sm);
}

/* --------------------------------------------------------------------------
   18. PAGINATION
   -------------------------------------------------------------------------- */

.pagination {
  display: flex;
  justify-content: center;
  margin-top: var(--sp-12);
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
}

.pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding-inline: var(--sp-3);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: all var(--t-fast) var(--ease);
}

.pagination .page-numbers:hover {
  border-color: var(--brand);
  background: var(--brand-tint);
  color: var(--brand-ink);
}

.pagination .page-numbers.current {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--secondary-deep);
}

.pagination .dots { border: 0; background: none; min-width: auto; }

/* --------------------------------------------------------------------------
   19. FILTER BAR
   -------------------------------------------------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: center;
  margin-bottom: var(--sp-10);
}

.filters__btn {
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--secondary);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: all var(--t-fast) var(--ease);
}

.filters__btn:hover { border-color: var(--brand); color: var(--brand-ink); }

.filters__btn.is-active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   20. TESTIMONIAL
   -------------------------------------------------------------------------- */

.quote {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-7, 1.75rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  height: 100%;
  transition: transform var(--t-slow) var(--ease-out), box-shadow var(--t-slow) var(--ease-out);
}

.quote:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }

.quote__mark {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 0.6;
  color: var(--brand-tint-2);
  height: 1.6rem;
}

.quote__text {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--body);
  margin: 0;
  flex: 1;
}

.quote__foot {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}

.quote__avatar {
  width: 46px;
  height: 46px;
  border-radius: var(--r-full);
  object-fit: cover;
  flex: none;
  background: var(--brand-tint);
}

.quote__avatar--initial {
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-ink);
}

.quote__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--heading);
}

.quote__meta { font-size: var(--fs-xs); color: var(--muted); }

.quote__source {
  margin-left: auto;
  flex: none;
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   21. CTA BAND
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-deep) 100%);
  border-radius: var(--r-2xl);
  padding: clamp(2.5rem, 1.8rem + 3vw, 4.5rem);
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.cta-band::before,
.cta-band::after {
  content: '';
  position: absolute;
  border-radius: var(--r-full);
  pointer-events: none;
}

.cta-band::before {
  width: 420px;
  height: 420px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(148, 213, 7, 0.22) 0%, transparent 68%);
}

.cta-band::after {
  width: 340px;
  height: 340px;
  bottom: -160px;
  left: -100px;
  background: radial-gradient(circle, rgba(0, 184, 217, 0.16) 0%, transparent 68%);
}

.cta-band > * { position: relative; }

.cta-band__title {
  color: var(--white);
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-4);
  max-width: 22ch;
  margin-inline: auto;
}

.cta-band__text {
  font-size: var(--fs-md);
  max-width: 56ch;
  margin: 0 auto var(--sp-8);
  line-height: var(--lh-relaxed);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
}

.cta-band__note {
  margin-top: var(--sp-5);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.55);
}

/* --------------------------------------------------------------------------
   22. LOAD MORE / EMPTY STATE
   -------------------------------------------------------------------------- */

.load-more-wrap { display: grid; place-items: center; margin-top: var(--sp-10); gap: var(--sp-3); }

.empty-state {
  display: grid;
  place-items: center;
  gap: var(--sp-4);
  padding: var(--sp-16) var(--sp-6);
  text-align: center;
  color: var(--muted);
}

.empty-state__icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: var(--r-full);
  background: var(--brand-tint);
  color: var(--brand-ink);
}

/* --------------------------------------------------------------------------
   23. WIDGETS
   -------------------------------------------------------------------------- */

.widget {
  padding: var(--sp-6);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.widget + .widget { margin-top: var(--sp-6); }

.widget__title {
  font-size: var(--fs-md);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border);
}

.widget ul { list-style: none; display: grid; gap: var(--sp-3); }

.widget-list a {
  display: block;
  font-size: var(--fs-sm);
  color: var(--body);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}

.widget-list a:hover { color: var(--brand-ink); padding-left: 4px; }

.cta-card {
  display: grid;
  gap: var(--sp-3);
  text-align: center;
}

.cta-card__title { font-size: var(--fs-md); margin: 0; }
.cta-card__text  { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 var(--sp-2); }

.hours-status {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 4px var(--sp-3);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-bottom: var(--sp-4);
}

.hours-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: var(--r-full);
  background: currentColor;
}

.hours-status.is-open   { background: var(--success-tint); color: #15803D; }
.hours-status.is-closed { background: var(--danger-tint); color: var(--danger); }

.hours-list { display: grid; gap: var(--sp-2); margin: 0; }

.hours-list__row {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  font-size: var(--fs-sm);
  padding-block: var(--sp-1);
}

.hours-list dt { color: var(--muted); }
.hours-list dd { margin: 0; font-weight: 600; color: var(--secondary); }
