/* ============================================================
   COMPONENTS.CSS — shared modular components
   Each block below is a standalone component. Templates mix
   and match; clients can pick components across templates.
   All colors come from tokens in core.css, so every component
   re-themes automatically.
   ============================================================
   INDEX:
   01 Navbar          06 Stats strip       11 Team cards
   02 Heroes          07 Testimonials      12 CTA banner
   03 Section header  08 Pricing           13 Contact
   04 Feature cards   09 Gallery/lightbox  14 FAQ accordion
   05 Split feature   10 Menu/price list   15 Footer
   16 Logo strip      17 Process steps     18 Listing cards
   19 Emergency bar   20 Repair menu      21 Pet cards
   22 Before/after    23 Cert strip       24 Tax calendar
   25 BA scrubber     26 Recovery timeline 27 Media carousel
   28 Quote tabs       29 Reveal cascade
   30 Marquee strip    31 Flip card         32 Accordion media
   33 Bar chart        34 Pricing toggle    35 Compare table
   36 Stack reveal     37 Parallax band     38 Spotlight grid
   39 Typewriter       40 Ring stat         41 Timeline scroll
   42 Chat widget      43 Video poster      44 Glow card
   45 Content tabs     46 Announce bar      47 Hotspot map
   48 Scroll progress  49 Grain section
   50 Back to top       51 Sticky mobile CTA  52 Button ripple
   ============================================================ */

/* ============ 01 NAVBAR ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--c-bg) 85%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.nav.is-scrolled { border-bottom-color: var(--c-border); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; width: 100%; }
.nav__brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: -0.02em;
}
.nav__brand .icon { color: var(--c-primary); }
.nav__links { display: flex; align-items: center; gap: 1.9rem; }
.nav__links a:not(.btn) {
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--c-muted);
  transition: color 0.2s ease;
}
.nav__links a:not(.btn):hover, .nav__links a.is-active { color: var(--c-primary); }
.nav__toggle { display: none; padding: 0.4rem; color: var(--c-text); }

/* Dark navbar variant (over photo heroes) */
.nav--dark:not(.is-scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav--dark:not(.is-scrolled) .nav__brand,
.nav--dark:not(.is-scrolled) .nav__links a:not(.btn),
.nav--dark:not(.is-scrolled) .nav__toggle { color: #fff; }
.nav--dark:not(.is-scrolled) .nav__links a:not(.btn):hover { color: rgb(255 255 255 / 0.75); }
.nav--dark:not(.is-scrolled) .nav__links a:not(.btn).is-active { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow);
    padding: 0.5rem 1.5rem 1.25rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) { padding: 0.8rem 0.25rem; color: var(--c-text); border-bottom: 1px solid var(--c-border); }
  .nav__links .btn { margin-top: 0.9rem; }
  .nav--dark:not(.is-scrolled) .nav__links a:not(.btn) { color: var(--c-text); }
}

/* ============ 02 HEROES ============ */
/* Full-bleed photo hero */
.hero-full {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  color: #fff;
  padding-top: var(--nav-h);
  isolation: isolate;
}
.hero-full__bg { position: absolute; inset: 0; z-index: -2; }
.hero-full__bg img { width: 100%; height: 100%; object-fit: cover; }
/* Top scrim keeps the transparent navbar readable over bright photos */
.hero-full__bg::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 150px;
  background: linear-gradient(rgb(0 0 0 / 0.45), transparent);
}
.hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    color-mix(in srgb, var(--c-text) 78%, var(--c-primary)) 0%,
    color-mix(in srgb, var(--c-text) 45%, transparent) 55%,
    transparent 100%
  );
}
.hero-full--center { text-align: center; }
.hero-full--center::after {
  background: color-mix(in srgb, color-mix(in srgb, var(--c-text) 85%, var(--c-primary)) 62%, transparent);
}
.hero-full__content { max-width: 640px; padding-block: 5rem; }
.hero-full--center .hero-full__content { margin-inline: auto; }
.hero-full__content .lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); margin: 1.4rem 0 2.2rem; color: rgb(255 255 255 / 0.88); }
.hero-full__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-full--center .hero-full__actions { justify-content: center; }

/* Split hero: text left, image right */
.hero-split {
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: var(--section-pad);
}
.hero-split__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-split .lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--c-muted); margin: 1.4rem 0 2.2rem; }
.hero-split__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-split__media { position: relative; }
.hero-split__media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-split__media::before {
  content: "";
  position: absolute;
  inset: 12% -6% -6% 12%;
  border-radius: var(--radius-lg);
  background: var(--c-primary-soft);
  z-index: -1;
}
.hero-split__note { display: flex; align-items: center; gap: 1.6rem; margin-top: 2.2rem; flex-wrap: wrap; }
@media (max-width: 860px) {
  .hero-split__grid { grid-template-columns: 1fr; align-items: stretch; }
}

/* ============ 03 SECTION HEADER ============ */
.section-head { max-width: 640px; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .badge { margin-bottom: 1rem; }
.section-head p { color: var(--c-muted); margin-top: 0.9rem; font-size: 1.05rem; }
.section--dark .section-head p,
.section--primary .section-head p { color: color-mix(in srgb, currentColor 75%, transparent); }

/* ============ 04 FEATURE CARDS ============ */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c-primary) 35%, var(--c-border)); }
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  margin-bottom: 1.3rem;
}
.card h3 { margin-bottom: 0.55rem; }
.card p { color: var(--c-muted); font-size: 0.97rem; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  font-weight: 600;
  color: var(--c-primary);
  font-size: 0.95rem;
}
.card__link:hover { color: var(--c-primary-dark); }

/* Image-topped card */
.card--img { padding: 0; overflow: hidden; }
.card--img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card--img .card__body { padding: 1.6rem 1.8rem 1.9rem; }

/* ============ 05 SPLIT FEATURE (alternating rows) ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split + .split { margin-top: clamp(3.5rem, 7vw, 6rem); }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.split--reverse .split__media { order: 2; }
.split__body .badge { margin-bottom: 1rem; }
.split__body p { color: var(--c-muted); margin-top: 1rem; }
.split__list { margin-top: 1.6rem; display: grid; gap: 0.9rem; }
.split__list li { display: flex; gap: 0.8rem; align-items: flex-start; font-weight: 500; }
.split__list .icon { color: var(--c-primary); margin-top: 2px; width: 21px; height: 21px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; align-items: stretch; }
  .split--reverse .split__media { order: 0; }
}

/* ============ 06 STATS STRIP ============ */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem; text-align: center; }
.stats__num {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.1;
}
.section--dark .stats__num, .section--primary .stats__num { color: currentColor; }
.stats__label { color: var(--c-muted); font-weight: 500; margin-top: 0.35rem; }
.section--dark .stats__label, .section--primary .stats__label { color: color-mix(in srgb, currentColor 70%, transparent); }

/* ============ 07 TESTIMONIALS ============ */
.quote-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.quote-card__stars { display: flex; gap: 3px; color: var(--c-cta); }
.quote-card__stars .icon { width: 18px; height: 18px; }
.quote-card blockquote { font-size: 1.02rem; color: var(--c-text); }
.quote-card__who { display: flex; align-items: center; gap: 0.9rem; margin-top: auto; }
.quote-card__who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote-card__who strong { display: block; font-family: var(--font-head); line-height: 1.3; }
.quote-card__who span { font-size: 0.85rem; color: var(--c-muted); }

/* Slider variant */
.slider { position: relative; overflow: hidden; }
.slider__track { display: flex; transition: transform 0.45s ease; }
.slider__slide { flex: 0 0 100%; padding-inline: 2px; }
.slider__nav { display: flex; gap: 0.6rem; justify-content: center; margin-top: 1.8rem; }
.slider__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--c-border);
  transition: background-color 0.2s ease;
  cursor: pointer;
}
.slider__dot.is-active { background: var(--c-primary); }

/* ============ 08 PRICING ============ */
.price-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 2.4rem 2.2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.25s ease;
}
.price-card:hover { box-shadow: var(--shadow); }
.price-card--featured {
  border: 2px solid var(--c-primary);
  box-shadow: var(--shadow);
}
.price-card__flag {
  position: absolute;
  top: -14px;
  left: 50%;
  translate: -50% 0;
  background: var(--c-primary);
  color: var(--c-on-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card__amount { font-family: var(--font-head); font-size: 2.9rem; font-weight: 700; margin: 1rem 0 0.2rem; }
.price-card__amount small { font-size: 1rem; font-weight: 500; color: var(--c-muted); }
.price-card__desc { color: var(--c-muted); font-size: 0.95rem; }
.price-card__list { margin: 1.7rem 0 2.2rem; display: grid; gap: 0.8rem; }
.price-card__list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.96rem; }
.price-card__list .icon { width: 20px; height: 20px; color: var(--c-primary); margin-top: 2px; }
.price-card .btn { margin-top: auto; width: 100%; }

/* ============ 09 GALLERY + LIGHTBOX ============ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery--4 { grid-template-columns: repeat(4, 1fr); }
.gallery a { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; }
.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: opacity 0.25s ease;
}
.gallery--wide img { aspect-ratio: 4 / 3; }
.gallery a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--c-primary) 30%, transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery a:hover::after { opacity: 1; }
@media (max-width: 860px) { .gallery, .gallery--4 { grid-template-columns: repeat(2, 1fr); } }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgb(0 0 0 / 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 100%); max-height: 85vh; border-radius: var(--radius-sm); object-fit: contain; }
.lightbox__close {
  position: absolute;
  top: 1.2rem; right: 1.5rem;
  color: #fff;
  padding: 0.5rem;
  cursor: pointer;
}

/* ============ 10 MENU / PRICE LIST ============ */
.menu-list { display: grid; gap: 1.6rem; }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: 0.4rem 1.5rem; align-items: baseline; }
.menu-item__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.08rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.menu-item__name::after {
  content: "";
  flex: 1;
  border-bottom: 2px dotted var(--c-border);
  translate: 0 -4px;
}
.menu-item__price { font-family: var(--font-head); font-weight: 700; color: var(--c-primary); font-size: 1.05rem; }
.menu-item__desc { grid-column: 1 / -1; color: var(--c-muted); font-size: 0.93rem; max-width: 56ch; }
.menu-item__tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: color-mix(in srgb, var(--c-cta) 15%, var(--c-bg));
  color: var(--c-cta-dark);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  translate: 0 -2px;
}

/* ============ 11 TEAM CARDS ============ */
.team-card { text-align: center; }
.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1.2rem;
}
.team-card h3 { font-size: 1.15rem; }
.team-card p { color: var(--c-primary); font-weight: 600; font-size: 0.9rem; margin-top: 0.2rem; }
.team-card small { color: var(--c-muted); display: block; margin-top: 0.5rem; font-size: 0.88rem; }

/* ============ 12 CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(115deg, var(--c-primary), color-mix(in srgb, var(--c-primary) 55%, var(--c-secondary)));
  color: var(--c-on-primary);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner h2 { max-width: 22ch; }
.cta-banner p { color: color-mix(in srgb, currentColor 78%, transparent); margin-top: 0.7rem; max-width: 46ch; }
.cta-banner .btn--cta { flex-shrink: 0; }

/* ============ 13 CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 5vw, 4rem); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { display: grid; gap: 1.5rem; align-content: start; }
.contact-info__item { display: flex; gap: 1.1rem; align-items: flex-start; }
.contact-info__item .card__icon { margin: 0; width: 46px; height: 46px; }
.contact-info__item strong { font-family: var(--font-head); display: block; }
.contact-info__item span { color: var(--c-muted); font-size: 0.95rem; }

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 0.4rem; font-weight: 600; font-size: 0.9rem; }
.form input, .form textarea, .form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 20%, transparent);
}
.form textarea { min-height: 130px; resize: vertical; }

/* ============ 14 FAQ ACCORDION ============ */
.faq { display: grid; gap: 0.9rem; }
.faq__item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq__q:hover { color: var(--c-primary); }
.faq__q .icon { transition: transform 0.25s ease; color: var(--c-primary); }
.faq__item.is-open .faq__q .icon { transform: rotate(45deg); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 1.4rem 1.3rem; color: var(--c-muted); }

/* ============ 15 FOOTER ============ */
.footer {
  background: color-mix(in srgb, var(--c-text) 94%, var(--c-primary));
  color: color-mix(in srgb, var(--c-bg) 82%, transparent);
  padding: 4.5rem 0 0;
  font-size: 0.95rem;
}
.footer a { transition: color 0.2s ease; }
.footer a:hover { color: var(--c-bg); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--c-bg); display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer h4 { color: var(--c-bg); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.1rem; }
.footer__links { display: grid; gap: 0.6rem; }
.footer__social { display: flex; gap: 0.8rem; margin-top: 1.3rem; }
.footer__social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgb(255 255 255 / 0.08);
  transition: background-color 0.2s ease;
}
.footer__social a:hover { background: var(--c-primary); color: #fff; }
.footer__social .icon { width: 18px; height: 18px; }
.footer__bar {
  border-top: 1px solid rgb(255 255 255 / 0.1);
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--c-bg) 55%, transparent);
}

/* ============ 16 LOGO STRIP ============ */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 6vw, 4.5rem);
  opacity: 0.65;
}
.logo-strip span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--c-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============ 17 PROCESS STEPS ============ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; counter-reset: step; }
.step { position: relative; counter-increment: step; }
.step__num {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c-primary);
  color: var(--c-on-primary);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
}
.step__num::before { content: counter(step); }
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--c-muted); font-size: 0.95rem; }

/* ============ 18 LISTING CARDS (real estate / products) ============ */
.listing {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.listing:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c-primary) 35%, var(--c-border)); }
.listing__media { position: relative; }
.listing__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.listing__flag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--c-cta);
  color: var(--c-on-cta);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}
.listing__body { padding: 1.5rem 1.6rem 1.7rem; }
.listing__price { font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; color: var(--c-primary); }
.listing__title { font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; margin-top: 0.3rem; }
.listing__loc { color: var(--c-muted); font-size: 0.9rem; display: flex; align-items: center; gap: 0.35rem; margin-top: 0.3rem; }
.listing__loc .icon { width: 16px; height: 16px; }
.listing__meta {
  display: flex;
  gap: 1.4rem;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--c-border);
  color: var(--c-muted);
  font-size: 0.88rem;
  font-weight: 500;
}
.listing__meta span { display: flex; align-items: center; gap: 0.4rem; }
.listing__meta .icon { width: 17px; height: 17px; color: var(--c-primary); }

/* ============ Page hero (interior pages of multi-page sites) ============ */
.page-hero {
  padding: calc(var(--nav-h) + clamp(3rem, 7vw, 5rem)) 0 clamp(2.5rem, 6vw, 4rem);
  background:
    linear-gradient(120deg, var(--c-primary-soft), transparent 70%),
    var(--c-surface-2);
}
.page-hero p { color: var(--c-muted); margin-top: 0.9rem; max-width: 60ch; font-size: 1.05rem; }
.page-hero__crumbs { font-size: 0.85rem; font-weight: 600; color: var(--c-muted); margin-bottom: 1rem; display: flex; gap: 0.5rem; align-items: center; }
.page-hero__crumbs a:hover { color: var(--c-primary); }

/* ============ 19 EMERGENCY BAR (HVAC / plumbing / trades) ============ */
.emergency-bar {
  background: var(--c-cta);
  color: var(--c-on-cta);
  padding: 0.85rem 0;
  font-weight: 600;
  font-size: 0.97rem;
}
.emergency-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.emergency-bar__label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}
.emergency-bar__label .icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.emergency-bar__meta { opacity: 0.92; font-size: 0.9rem; font-weight: 500; }
.emergency-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgb(255 255 255 / 0.18);
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-weight: 700;
  transition: background-color 0.2s ease;
}
.emergency-bar a:hover { background: rgb(255 255 255 / 0.28); }

/* ============ 20 REPAIR MENU (auto / service pricing rows) ============ */
.repair-menu {
  display: grid;
  gap: 0;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-surface);
}
.repair-menu__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem 1.5rem;
  align-items: center;
  padding: 1.15rem 1.4rem;
  border-bottom: 1px solid var(--c-border);
}
.repair-menu__row:last-child { border-bottom: 0; }
.repair-menu__name { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; }
.repair-menu__desc { color: var(--c-muted); font-size: 0.9rem; margin-top: 0.25rem; grid-column: 1; }
.repair-menu__time {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-muted);
  white-space: nowrap;
  text-align: right;
}
.repair-menu__price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--c-primary);
  white-space: nowrap;
  text-align: right;
}
@media (max-width: 640px) {
  .repair-menu__row { grid-template-columns: 1fr; }
  .repair-menu__time, .repair-menu__price { text-align: left; }
}

/* ============ 21 PET CARDS (veterinary / pet services) ============ */
.pet-cards { display: grid; gap: 1.4rem; }
@media (min-width: 640px) { .pet-cards { grid-template-columns: repeat(3, 1fr); } }
.pet-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.pet-card:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c-primary) 35%, var(--c-border)); }
.pet-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-size: 1.75rem;
  line-height: 1;
}
.pet-card h3 { margin-bottom: 0.45rem; font-size: 1.08rem; }
.pet-card p { color: var(--c-muted); font-size: 0.92rem; margin-bottom: 0.85rem; }
.pet-card ul { text-align: left; font-size: 0.88rem; color: var(--c-muted); display: grid; gap: 0.35rem; }
.pet-card li { display: flex; align-items: flex-start; gap: 0.4rem; }
.pet-card li::before { content: "•"; color: var(--c-primary); font-weight: 700; }

/* ============ 22 BEFORE / AFTER (landscaping / remodel) ============ */
.before-after {
  display: grid;
  gap: 0.35rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .before-after { grid-template-columns: 1fr 1fr; gap: 0; } }
.before-after__panel { position: relative; }
.before-after__panel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.before-after__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: color-mix(in srgb, var(--c-text) 82%, transparent);
  color: var(--c-bg);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}
.before-after__panel--after .before-after__tag { background: var(--c-primary); color: var(--c-on-primary); }

/* ============ 23 CERT STRIP (roofing / licensed trades) ============ */
.cert-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.cert-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.15rem;
  min-width: min(100%, 220px);
  flex: 1 1 200px;
  max-width: 280px;
}
.cert-badge__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  flex-shrink: 0;
}
.cert-badge__icon .icon { width: 22px; height: 22px; }
.cert-badge strong { display: block; font-size: 0.92rem; font-family: var(--font-head); }
.cert-badge span { display: block; font-size: 0.8rem; color: var(--c-muted); margin-top: 0.15rem; }

/* ============ 24 TAX CALENDAR (CPA / accounting deadlines) ============ */
.tax-calendar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.85rem;
}
.tax-calendar__item {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 1rem 0.85rem 0.9rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tax-calendar__item.is-active {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-soft);
}
.tax-calendar__item.is-urgent {
  border-color: var(--c-cta);
  background: color-mix(in srgb, var(--c-cta) 8%, var(--c-surface));
}
.tax-calendar__date {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.1;
}
.tax-calendar__item.is-urgent .tax-calendar__date { color: var(--c-cta); }
.tax-calendar__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 0.35rem;
  color: var(--c-text);
}
.tax-calendar__meta {
  display: block;
  font-size: 0.75rem;
  color: var(--c-muted);
  margin-top: 0.2rem;
}

/* ============ 25 BA SCRUBBER (drag before/after compare) ============ */
.ba-scrubber {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  user-select: none;
  touch-action: none;
}
.ba-scrubber__before,
.ba-scrubber__after {
  position: absolute;
  inset: 0;
}
.ba-scrubber__before img,
.ba-scrubber__after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ba-scrubber__after {
  clip-path: inset(0 0 0 50%);
}
.ba-scrubber__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 12px rgb(0 0 0 / 35%);
  cursor: ew-resize;
  z-index: 2;
}
.ba-scrubber__handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgb(0 0 0 / 25%);
  border: 2px solid var(--c-primary);
}
.ba-scrubber__handle::after {
  content: "◀ ▶";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.55rem;
  letter-spacing: -0.15em;
  color: var(--c-primary);
  font-weight: 700;
  white-space: nowrap;
}
.ba-scrubber__tag {
  position: absolute;
  top: 0.75rem;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgb(0 0 0 / 55%);
  color: #fff;
}
.ba-scrubber__tag--before { left: 0.75rem; }
.ba-scrubber__tag--after { right: 0.75rem; }

/* ============ 26 RECOVERY TIMELINE (PT / chiropractic care path) ============ */
.recovery-timeline {
  position: relative;
  padding-left: 1.75rem;
  max-width: 640px;
  margin-inline: auto;
}
.recovery-timeline::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-primary), var(--c-secondary));
  border-radius: 2px;
}
.recovery-timeline__item {
  position: relative;
  padding-bottom: 1.75rem;
}
.recovery-timeline__item:last-child { padding-bottom: 0; }
.recovery-timeline__dot {
  position: absolute;
  left: -1.75rem;
  top: 0.15rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--c-bg);
  border: 3px solid var(--c-primary);
  box-shadow: 0 0 0 4px var(--c-primary-soft);
}
.recovery-timeline__item.is-current .recovery-timeline__dot {
  background: var(--c-primary);
}
.recovery-timeline__week {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-primary);
}
.recovery-timeline__item h3 {
  font-size: 1.05rem;
  margin: 0.2rem 0 0.35rem;
}
.recovery-timeline__item p {
  font-size: 0.92rem;
  color: var(--c-muted);
  margin: 0;
}

/* ============ 27 MEDIA CAROUSEL (venue / portfolio image slider) ============ */
.media-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
}
.media-carousel__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.media-carousel__slide {
  flex: 0 0 100%;
  position: relative;
}
.media-carousel__slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.media-carousel__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(transparent, rgb(0 0 0 / 72%));
  color: #fff;
  font-size: 0.92rem;
}
.media-carousel__caption strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.media-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgb(255 255 255 / 92%);
  color: var(--c-text);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 12px rgb(0 0 0 / 18%);
  transition: background 0.15s, transform 0.15s;
}
.media-carousel__btn:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.media-carousel__btn--prev { left: 0.85rem; }
.media-carousel__btn--next { right: 0.85rem; }
.media-carousel__btn .icon { width: 20px; height: 20px; }
.media-carousel__dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.85rem 0;
  background: var(--c-surface);
}
.media-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--c-border);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.media-carousel__dot.is-active {
  background: var(--c-primary);
  transform: scale(1.25);
}

/* ============ 28 QUOTE TABS (insurance / multi-product quotes) ============ */
.quote-tabs {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.quote-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--c-border);
  background: color-mix(in srgb, var(--c-bg) 60%, var(--c-surface));
}
.quote-tabs__tab {
  flex: 1 1 auto;
  min-width: 100px;
  padding: 0.9rem 1rem;
  border: none;
  background: transparent;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.quote-tabs__tab:hover { color: var(--c-text); background: var(--c-surface); }
.quote-tabs__tab.is-active {
  color: var(--c-primary);
  border-bottom-color: var(--c-primary);
  background: var(--c-surface);
}
.quote-tabs__panel {
  display: none;
  padding: 1.5rem;
  animation: quote-tab-in 0.35s ease;
}
.quote-tabs__panel.is-active { display: block; }
@keyframes quote-tab-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.quote-tabs__panel h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.quote-tabs__panel > p { color: var(--c-muted); font-size: 0.92rem; margin-bottom: 1rem; }
.quote-tabs__fields {
  display: grid;
  gap: 0.75rem;
}
.quote-tabs__fields .field {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.quote-tabs__fields .field input,
.quote-tabs__fields .field textarea,
.quote-tabs__fields .field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.quote-tabs__fields .field input:focus,
.quote-tabs__fields .field textarea:focus,
.quote-tabs__fields .field select:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 20%, transparent);
}
.quote-tabs__fields .field textarea { min-height: 100px; resize: vertical; }
.quote-tabs__fields .btn.field--full,
.quote-tabs__fields button.field--full { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 540px) {
  .quote-tabs__fields { grid-template-columns: 1fr 1fr; }
  .quote-tabs__fields .field--full { grid-column: 1 / -1; }
}

/* ============ 29 REVEAL CASCADE (staggered scroll-in grid) ============ */
.reveal-cascade {
  display: grid;
  gap: 1rem;
}
.reveal-cascade--2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.reveal-cascade--3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.reveal-cascade__item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-cascade__item.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-cascade__item:nth-child(1) { transition-delay: 0s; }
.reveal-cascade__item:nth-child(2) { transition-delay: 0.08s; }
.reveal-cascade__item:nth-child(3) { transition-delay: 0.16s; }
.reveal-cascade__item:nth-child(4) { transition-delay: 0.24s; }
.reveal-cascade__item:nth-child(5) { transition-delay: 0.32s; }
.reveal-cascade__item:nth-child(6) { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal-cascade__item { opacity: 1; transform: none; transition: none; }
}

/* ============ 30 MARQUEE STRIP (infinite scroll band) ============ */
.marquee-strip {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-strip__track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: marquee-scroll 28s linear infinite;
}
.marquee-strip__track:hover { animation-play-state: paused; }
.marquee-strip__item {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-muted);
  white-space: nowrap;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-strip__track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
}

/* ============ 31 FLIP CARD (3D hover flip) ============ */
.flip-card {
  perspective: 1000px;
  min-height: 220px;
}
.flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card__inner,
.flip-card.is-flipped .flip-card__inner { transform: rotateY(180deg); }
.flip-card__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--c-surface);
}
.flip-card__face--back {
  transform: rotateY(180deg);
  background: var(--c-primary);
  color: var(--c-on-primary);
  border-color: transparent;
}
.flip-card__face--back p { opacity: 0.92; font-size: 0.92rem; margin-top: 0.5rem; }
@media (prefers-reduced-motion: reduce) {
  .flip-card__inner { transform: none !important; }
  .flip-card__face--back { position: relative; transform: none; margin-top: 1rem; }
  .flip-card__face--front { position: relative; }
}

/* ============ 32 ACCORDION MEDIA (expandable image rows) ============ */
.accordion-media { display: flex; flex-direction: column; gap: 0.5rem; }
.accordion-media__item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--c-surface);
}
.accordion-media__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-text);
}
.accordion-media__trigger .icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--c-primary);
}
.accordion-media__item.is-open .accordion-media__trigger .icon { transform: rotate(180deg); }
.accordion-media__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}
.accordion-media__item.is-open .accordion-media__panel { grid-template-rows: 1fr; }
.accordion-media__panel-inner {
  overflow: hidden;
  min-height: 0;
}
.accordion-media__content {
  display: grid;
  gap: 1rem;
  padding: 0 1.15rem 1.15rem;
}
@media (min-width: 640px) {
  .accordion-media__content { grid-template-columns: 1fr 1.2fr; align-items: center; }
}
.accordion-media__content img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* ============ 33 BAR CHART (animated horizontal bars) ============ */
.bar-chart { display: flex; flex-direction: column; gap: 1rem; }
.bar-chart__row { display: grid; grid-template-columns: 120px 1fr auto; gap: 0.75rem; align-items: center; }
.bar-chart__label { font-size: 0.88rem; font-weight: 600; }
.bar-chart__track {
  height: 10px;
  background: var(--c-border);
  border-radius: 999px;
  overflow: hidden;
}
.bar-chart__fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-secondary));
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.bar-chart.is-visible .bar-chart__fill { width: var(--bar-w, 50%); }
.bar-chart__val { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: var(--c-primary); min-width: 2.5rem; text-align: right; }

/* ============ 34 PRICING TOGGLE (billing period switch) ============ */
.pricing-toggle { text-align: center; }
.pricing-toggle__switch {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 2rem;
  font-size: 0.92rem;
  font-weight: 600;
}
.pricing-toggle__switch span { color: var(--c-muted); transition: color 0.2s; }
.pricing-toggle__switch span.is-active { color: var(--c-text); }
.pricing-toggle__btn {
  width: 52px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background: var(--c-primary);
  cursor: pointer;
  position: relative;
  padding: 0;
}
.pricing-toggle__btn::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s ease;
  box-shadow: 0 1px 4px rgb(0 0 0 / 20%);
}
.pricing-toggle.is-yearly .pricing-toggle__btn::after { transform: translateX(24px); }
.pricing-toggle__save {
  font-size: 0.75rem;
  background: color-mix(in srgb, var(--c-cta) 15%, var(--c-bg));
  color: var(--c-cta-dark);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}
.pricing-toggle [data-price-monthly],
.pricing-toggle [data-price-yearly] { transition: opacity 0.2s; }
.pricing-toggle.is-yearly [data-price-monthly] { display: none; }
.pricing-toggle:not(.is-yearly) [data-price-yearly] { display: none; }

/* ============ 35 COMPARE TABLE (plan feature matrix) ============ */
.compare-table {
  overflow-x: auto;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
}
.compare-table table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.compare-table th,
.compare-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--c-border);
  text-align: center;
}
.compare-table th:first-child,
.compare-table td:first-child { text-align: left; font-weight: 600; }
.compare-table thead th {
  font-family: var(--font-head);
  background: var(--c-primary-soft);
  color: var(--c-primary);
}
.compare-table .is-featured { background: color-mix(in srgb, var(--c-primary) 6%, var(--c-surface)); }
.compare-table .check { color: var(--c-primary); }
.compare-table .dash { color: var(--c-muted); }

/* ============ 36 STACK REVEAL (fan-out cards on scroll) ============ */
.stack-reveal {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 2rem 0;
}
.stack-reveal__card {
  position: absolute;
  width: min(100%, 320px);
  padding: 1.25rem 1.35rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
  opacity: 0;
}
.stack-reveal.is-visible .stack-reveal__card { opacity: 1; }
.stack-reveal__card:nth-child(1) { transform: rotate(-6deg) translateY(20px); z-index: 1; }
.stack-reveal__card:nth-child(2) { transform: rotate(0deg) translateY(10px); z-index: 2; }
.stack-reveal__card:nth-child(3) { transform: rotate(6deg) translateY(0); z-index: 3; }
.stack-reveal.is-visible .stack-reveal__card:nth-child(1) { transform: rotate(-8deg) translate(-90px, -10px); }
.stack-reveal.is-visible .stack-reveal__card:nth-child(2) { transform: rotate(0deg) translateY(-20px); }
.stack-reveal.is-visible .stack-reveal__card:nth-child(3) { transform: rotate(8deg) translate(90px, -10px); }
.stack-reveal__card h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.stack-reveal__card p { font-size: 0.85rem; color: var(--c-muted); margin: 0; }
@media (max-width: 640px) {
  .stack-reveal.is-visible .stack-reveal__card:nth-child(1) { transform: rotate(-4deg) translate(-40px, 0); }
  .stack-reveal.is-visible .stack-reveal__card:nth-child(3) { transform: rotate(4deg) translate(40px, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .stack-reveal__card { position: relative; opacity: 1; transform: none !important; margin-bottom: 0.75rem; }
  .stack-reveal { display: flex; flex-direction: column; min-height: auto; }
}

/* ============ 37 PARALLAX BAND (scroll-shift background) ============ */
.parallax-band {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0;
  color: var(--c-on-primary);
}
.parallax-band__bg {
  position: absolute;
  inset: -20% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.parallax-band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c-primary) 88%, transparent), color-mix(in srgb, var(--c-secondary) 70%, transparent));
}
.parallax-band .container { position: relative; z-index: 1; text-align: center; }
.parallax-band h2 { color: inherit; margin-bottom: 0.75rem; }
.parallax-band p { opacity: 0.92; max-width: 36rem; margin: 0 auto 1.5rem; }

/* ============ 38 SPOTLIGHT GRID (cursor-follow highlight) ============ */
.spotlight-grid {
  --spot-x: 50%;
  --spot-y: 50%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  position: relative;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--c-surface-2);
}
.spotlight-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px circle at var(--spot-x) var(--spot-y), color-mix(in srgb, var(--c-primary) 18%, transparent), transparent 40%);
  pointer-events: none;
  z-index: 0;
}
.spotlight-grid__cell {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.spotlight-grid__cell:hover { border-color: var(--c-primary); transform: translateY(-2px); }
.spotlight-grid__cell strong { display: block; font-family: var(--font-head); margin-bottom: 0.25rem; }
.spotlight-grid__cell span { font-size: 0.82rem; color: var(--c-muted); }

/* ============ 39 TYPEWRITER (animated headline) ============ */
.typewriter {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--c-text);
  min-height: 1.4em;
}
.typewriter__cursor {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background: var(--c-primary);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: typewriter-blink 0.8s step-end infinite;
}
@keyframes typewriter-blink { 50% { opacity: 0; } }

/* ============ 40 RING STAT (circular progress + count) ============ */
.ring-stat {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.ring-stat__item { text-align: center; }
.ring-stat__ring {
  --ring-p: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 0.65rem;
  background: conic-gradient(var(--c-primary) calc(var(--ring-p) * 1%), var(--c-border) 0);
  position: relative;
}
.ring-stat__ring::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--c-bg);
}
.ring-stat__num {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-primary);
}
.ring-stat__label { font-size: 0.82rem; color: var(--c-muted); font-weight: 600; }

/* ============ 41 TIMELINE SCROLL (horizontal milestone strip) ============ */
.timeline-scroll {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 1rem;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}
.timeline-scroll::-webkit-scrollbar { height: 6px; }
.timeline-scroll::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 999px; }
.timeline-scroll__track {
  display: flex;
  gap: 0;
  min-width: min-content;
  padding: 0.5rem 0;
}
.timeline-scroll__item {
  flex: 0 0 200px;
  scroll-snap-align: start;
  padding: 0 1.5rem;
  border-left: 2px solid var(--c-border);
  position: relative;
}
.timeline-scroll__item:first-child { border-left: none; }
.timeline-scroll__year {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-primary);
}
.timeline-scroll__item h3 { font-size: 0.95rem; margin: 0.35rem 0; }
.timeline-scroll__item p { font-size: 0.82rem; color: var(--c-muted); margin: 0; }

/* ============ 42 CHAT WIDGET (floating support mockup) ============ */
.chat-widget {
  position: relative;
  min-height: 420px;
  border: 1px dashed var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface-2);
}
.chat-widget__panel {
  position: absolute;
  bottom: 5rem;
  right: 1.25rem;
  width: min(320px, calc(100% - 2.5rem));
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: scale(0.92) translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.chat-widget.is-open .chat-widget__panel {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.chat-widget__head {
  padding: 0.85rem 1rem;
  background: var(--c-primary);
  color: var(--c-on-primary);
  font-weight: 600;
  font-size: 0.92rem;
}
.chat-widget__body { padding: 1rem; display: flex; flex-direction: column; gap: 0.65rem; max-height: 220px; overflow-y: auto; }
.chat-widget__bubble {
  max-width: 85%;
  padding: 0.55rem 0.85rem;
  border-radius: 1rem;
  font-size: 0.85rem;
  line-height: 1.45;
}
.chat-widget__bubble--them { background: var(--c-primary-soft); align-self: flex-start; border-bottom-left-radius: 0.25rem; }
.chat-widget__bubble--you { background: var(--c-primary); color: var(--c-on-primary); align-self: flex-end; border-bottom-right-radius: 0.25rem; }
.chat-widget__launcher {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--c-cta);
  color: var(--c-on-cta);
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  transition: transform 0.2s;
}
.chat-widget__launcher:hover { transform: scale(1.06); }
.chat-widget__launcher .icon { width: 26px; height: 26px; }

/* ============ 43 VIDEO POSTER (play pulse overlay) ============ */
.video-poster {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid var(--c-border);
}
.video-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-poster__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgb(0 0 0 / 28%);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.video-poster__play:hover { background: rgb(0 0 0 / 38%); }
.video-poster__btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgb(255 255 255 / 95%);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 24px rgb(0 0 0 / 25%);
  position: relative;
}
.video-poster__btn::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgb(255 255 255 / 50%);
  animation: video-pulse 2s ease-out infinite;
}
@keyframes video-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}
.video-poster__btn .icon { width: 28px; height: 28px; color: var(--c-primary); margin-left: 4px; }
.video-poster.is-playing .video-poster__play { opacity: 0; pointer-events: none; }

/* ============ 44 GLOW CARD (animated gradient border) ============ */
.glow-card {
  position: relative;
  padding: 1px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary), var(--c-cta), var(--c-primary));
  background-size: 300% 300%;
  animation: glow-card-shift 6s ease infinite;
}
@keyframes glow-card-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.glow-card__inner {
  background: var(--c-surface);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.glow-card__inner h3 { margin-bottom: 0.4rem; }
.glow-card__inner p { color: var(--c-muted); font-size: 0.92rem; margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .glow-card { animation: none; background: var(--c-primary); }
}

/* ============ 45 CONTENT TABS (vertical icon tabs) ============ */
.content-tabs {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .content-tabs { grid-template-columns: 220px 1fr; }
}
.content-tabs__nav { display: flex; flex-direction: column; gap: 0.35rem; }
.content-tabs__tab {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--c-muted);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.content-tabs__tab .icon { width: 20px; height: 20px; flex-shrink: 0; }
.content-tabs__tab.is-active {
  background: var(--c-primary-soft);
  color: var(--c-primary);
  border-color: color-mix(in srgb, var(--c-primary) 25%, transparent);
}
.content-tabs__panel {
  display: none;
  padding: 1.25rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
  animation: quote-tab-in 0.35s ease;
}
.content-tabs__panel.is-active { display: block; }

/* ============ 46 ANNOUNCE BAR (dismissible promo strip) ============ */
.announce-bar {
  background: var(--c-primary);
  color: var(--c-on-primary);
  padding: 0.65rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.announce-bar.is-dismissed {
  transform: translateY(-100%);
  opacity: 0;
  height: 0;
  padding: 0;
  overflow: hidden;
}
.announce-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
}
.announce-bar a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.announce-bar__close {
  background: rgb(255 255 255 / 15%);
  border: none;
  color: inherit;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.announce-bar__close:hover { background: rgb(255 255 255 / 25%); }

/* ============ 47 HOTSPOT MAP (interactive image pins) ============ */
.hotspot-map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
}
.hotspot-map img { width: 100%; display: block; aspect-ratio: 16/10; object-fit: cover; }
.hotspot-map__pin {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: var(--c-cta);
  cursor: pointer;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 10px rgb(0 0 0 / 30%);
  animation: hotspot-pulse 2s ease infinite;
}
.hotspot-map__pin::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--c-cta);
  opacity: 0.5;
  animation: hotspot-pulse 2s ease infinite 0.5s;
}
@keyframes hotspot-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.08); }
}
.hotspot-map__tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  opacity: 0;
  pointer-events: none;
  background: var(--c-text);
  color: var(--c-bg);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s;
}
.hotspot-map__pin.is-active .hotspot-map__tip { opacity: 1; transform: translateX(-50%) scale(1); }

/* ============ 48 SCROLL PROGRESS (top reading bar) ============ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 200;
  background: transparent;
  pointer-events: none;
}
.scroll-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--c-primary), var(--c-cta));
  transition: width 0.08s linear;
}
/* Inline preview variant (used in the component browser demo) */
.scroll-progress--inline {
  position: static;
  height: 4px;
  background: var(--c-border);
}
.scroll-progress--inline .scroll-progress__bar {
  width: 62%;
  animation: scroll-progress-demo 3.2s ease-in-out infinite alternate;
}
@keyframes scroll-progress-demo {
  from { width: 12%; }
  to { width: 88%; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress--inline .scroll-progress__bar { animation: none; width: 62%; }
}
/* Mock browser frame around the inline preview */
.scroll-progress-demo {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-surface);
}
.scroll-progress-demo__chrome {
  display: flex;
  gap: 0.4rem;
  padding: 0.6rem 0.85rem;
  background: var(--c-surface-2);
  border-bottom: 1px solid var(--c-border);
}
.scroll-progress-demo__chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-border);
}
.scroll-progress-demo__page {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.scroll-progress-demo__line {
  height: 10px;
  border-radius: 999px;
  background: var(--c-border);
  opacity: 0.7;
}

/* ============ 49 GRAIN SECTION (film texture overlay) ============ */
.grain-section {
  position: relative;
  padding: 3rem;
  border-radius: var(--radius);
  background: var(--c-primary);
  color: var(--c-on-primary);
  overflow: hidden;
}
.grain-section::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.grain-section > * { position: relative; z-index: 1; }
.grain-section h3 { color: inherit; margin-bottom: 0.5rem; }
.grain-section p { opacity: 0.9; margin: 0; max-width: 32rem; }

/* ============ 50 BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-on-primary);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-to-top:hover { background: var(--c-primary-dark); }
@media (max-width: 719px) {
  .sticky-cta.is-visible ~ .back-to-top,
  body:has(.sticky-cta.is-visible) .back-to-top {
    bottom: calc(4.5rem + env(safe-area-inset-bottom));
  }
}

/* ============ 51 STICKY MOBILE CTA ============ */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 85;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--c-bg) 94%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--c-border);
  box-shadow: 0 -8px 24px rgb(0 0 0 / 0.08);
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { width: 100%; justify-content: center; }
@media (min-width: 720px) {
  .sticky-cta { display: none; }
}

/* ============ 52 BUTTON RIPPLE ============ */
.btn--ripple { position: relative; overflow: hidden; }
.btn--ripple .btn__ripple {
  position: absolute;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.35);
  transform: scale(0);
  animation: btn-ripple 0.55s ease-out forwards;
  pointer-events: none;
}
@keyframes btn-ripple {
  to { transform: scale(4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: none; }
  .sticky-cta { transition: none; }
  .btn--ripple .btn__ripple { display: none; }
}
