/* Connecting H2O – Elements: shared widget styles.
   Relies on the brand tokens from the child theme (assets/tokens.css).
   Fallback values are provided so widgets still render sensibly if the
   pack is ever used under a different theme. */

.ch2o-hello {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 2rem;
  border: 1px solid var(--border, #e5e9ec);
  border-radius: var(--radius-2xl, 1.375rem);
  background: var(--tint, #f7fafb);
  box-shadow: var(--shadow-card, 0 2px 12px -2px rgba(20, 80, 160, 0.1));
}

.ch2o-hello__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary, #1f6fd6);
  background: color-mix(in oklab, var(--primary, #1f6fd6) 8%, transparent);
  border-radius: 9999px;
}

.ch2o-hello__title {
  margin: 0;
  font-family: var(--font-display, "Inter", sans-serif);
  font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground, #1a2730);
}

.ch2o-hello__text {
  margin: 0;
  max-width: 48ch;
  line-height: 1.625;
  color: var(--muted-foreground, #5b6b75);
}

.ch2o-hello__swatches {
  display: inline-flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.ch2o-hello__swatches span {
  height: 1.5rem;
  width: 1.5rem;
  border-radius: 9999px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* ====================================================================== *
 * CH2O Hero  — rebuild of HeroSection.jsx
 * Brand knobs are exposed as CSS custom properties so the Style controls
 * can override them per-instance via {{WRAPPER}} .ch2o-hero { --… }.
 * ====================================================================== */
.ch2o-hero {
  --ch2o-hero-bg-start: #f0f9ff;
  --ch2o-hero-bg-end: #ffffff;
  --ch2o-hero-accent: #2563eb;
  --ch2o-hero-grad-from: #2563eb;
  --ch2o-hero-grad-to: #0ea5e9;
  --ch2o-hero-heading: #0f172a;
  --ch2o-hero-body: #4b5563;
  --ch2o-hero-muted: #6b7280;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--ch2o-hero-bg-start) 0%, var(--ch2o-hero-bg-end) 55%, var(--ch2o-hero-bg-end) 100%);
  padding: 2.5rem 0 4rem;
  font-family: var(--font-sans, "Inter", system-ui, sans-serif);
}
@media (min-width: 1024px) {
  .ch2o-hero { padding: 3rem 0 6rem; }
}

/* decorative blurred blobs */
.ch2o-hero__blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(64px);
  pointer-events: none;
  z-index: 0;
}
.ch2o-hero__blob--a {
  left: -8rem; top: 5rem;
  height: 18rem; width: 18rem;
  background: rgba(186, 230, 253, 0.35);
}
.ch2o-hero__blob--b {
  right: -6rem; top: 10rem;
  height: 24rem; width: 24rem;
  background: rgba(219, 234, 254, 0.4);
}

.ch2o-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.ch2o-hero__grid {
  display: grid;
  align-items: center;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .ch2o-hero__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* ---- left column ---- */
.ch2o-hero__col--text {
  display: flex;
  flex-direction: column;
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}
@media (min-width: 1024px) {
  .ch2o-hero__col--text { margin: 0; max-width: none; text-align: left; }
}

.ch2o-hero__eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ch2o-hero-accent);
}

.ch2o-hero__title {
  margin: 1rem 0 0;
  font-size: clamp(1.875rem, 1rem + 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ch2o-hero-heading);
}
.ch2o-hero__grad {
  background: linear-gradient(to right, var(--ch2o-hero-grad-from), var(--ch2o-hero-grad-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ch2o-hero__desc {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ch2o-hero-body);
}
.ch2o-hero__desc p { margin: 0; }
.ch2o-hero__desc strong { font-weight: 600; color: var(--ch2o-hero-accent); }

.ch2o-hero__features {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .ch2o-hero__features { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0.75rem 1.5rem; }
}
@media (min-width: 1024px) {
  .ch2o-hero__features { align-items: flex-start; justify-content: flex-start; }
}
.ch2o-hero__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ch2o-hero-heading);
}
.ch2o-hero__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.75rem;
  width: 1.75rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: var(--ch2o-hero-accent);
  color: #fff;
  box-shadow: 0 2px 6px -1px color-mix(in srgb, var(--ch2o-hero-accent) 25%, transparent);
}

.ch2o-hero__cta { margin-top: 1.5rem; width: 100%; }
.ch2o-hero__btns {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .ch2o-hero__btns { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}
@media (min-width: 1024px) {
  .ch2o-hero__btns { justify-content: flex-start; }
}
.ch2o-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}
.ch2o-hero__btn--primary {
  background: var(--ch2o-hero-accent);
  color: #fff;
  box-shadow: 0 4px 12px -2px color-mix(in srgb, var(--ch2o-hero-accent) 20%, transparent);
}
.ch2o-hero__btn--primary:hover { filter: brightness(0.96); }
.ch2o-hero__btn--ghost {
  background: #fff;
  color: var(--ch2o-hero-heading);
  border: 1px solid #e2e8f0;
}
.ch2o-hero__btn--ghost:hover { border-color: #bfdbfe; background: #f0f9ff; }
.ch2o-hero__btn--ghost svg { color: var(--ch2o-hero-accent); }
@media (max-width: 639px) {
  .ch2o-hero__btn { width: 100%; }
}

.ch2o-hero__caption {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--ch2o-hero-muted);
  text-align: center;
}
@media (min-width: 1024px) {
  .ch2o-hero__caption { text-align: left; }
}

/* ---- impact stats ---- */
.ch2o-hero__impact { margin-top: 2.5rem; width: 100%; }
.ch2o-hero__impact-label {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ch2o-hero-accent);
  text-align: center;
}
@media (min-width: 1024px) {
  .ch2o-hero__impact-label { text-align: left; }
}
.ch2o-hero__stats {
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  border: 1px solid rgba(186, 230, 253, 0.5);
  background: rgba(255, 255, 255, 0.9);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 12px 40px -16px rgba(37, 99, 235, 0.18);
  backdrop-filter: blur(4px);
}
@media (min-width: 640px) {
  .ch2o-hero__stats { flex-direction: row; }
}
.ch2o-hero__stat {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(186, 230, 253, 0.8);
}
.ch2o-hero__stat:first-child { border-top: 0; padding-top: 0; }
.ch2o-hero__stat:last-child { padding-bottom: 0; }
@media (min-width: 640px) {
  .ch2o-hero__stat {
    flex-direction: column;
    text-align: center;
    padding: 0 1rem;
    border-top: 0;
    border-left: 1px solid rgba(186, 230, 253, 0.8);
  }
  .ch2o-hero__stat:first-child { border-left: 0; padding-left: 0; }
  .ch2o-hero__stat:last-child { padding-right: 0; }
}
.ch2o-hero__stat-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background: #f0f9ff;
  font-size: 1.5rem;
}
.ch2o-hero__stat-text { text-align: left; }
@media (min-width: 640px) {
  .ch2o-hero__stat-text { text-align: center; }
}
.ch2o-hero__stat-label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ch2o-hero-heading);
}
.ch2o-hero__stat-sub {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--ch2o-hero-muted);
}

/* ---- right column: image + quote ---- */
.ch2o-hero__col--media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .ch2o-hero__col--media { margin: 0; max-width: none; }
}
.ch2o-hero__media-wrap {
  position: relative;
  z-index: 1;
  width: 85%;
  max-width: 24rem;
}
.ch2o-hero__media-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 50px rgba(15, 23, 42, 0.18));
}
.ch2o-hero__float { animation: ch2o-hero-float 5s ease-in-out infinite; }
@keyframes ch2o-hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .ch2o-hero__float { animation: none; }
}

.ch2o-hero__quote {
  position: relative;
  z-index: 2;
  margin-top: 1.5rem;
  width: 100%;
  max-width: 24rem;
  border-radius: 1rem;
  border: 1px solid rgba(186, 230, 253, 0.6);
  background: rgba(255, 255, 255, 0.95);
  padding: 1.25rem;
  box-shadow: 0 16px 48px -20px rgba(37, 99, 235, 0.25);
  backdrop-filter: blur(4px);
}
.ch2o-hero__quote-mark { color: color-mix(in srgb, var(--ch2o-hero-accent) 90%, transparent); }
.ch2o-hero__quote-text {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ch2o-hero-body);
  font-style: normal;
}
.ch2o-hero__quote-foot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.ch2o-hero__quote-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: var(--ch2o-hero-accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
}
.ch2o-hero__quote-meta { display: flex; flex-direction: column; }
.ch2o-hero__quote-name { font-weight: 600; color: var(--ch2o-hero-heading); }
.ch2o-hero__quote-role { font-size: 0.875rem; color: var(--ch2o-hero-body); }

/* ====================================================================== *
 * Shared section primitives (Problem, Founder, How, pH, Services,
 * Testimonials, Free-Test). Brand tokens come from the child theme's
 * tokens.css (var(--primary) etc.) with safe fallbacks.
 * ====================================================================== */
.ch2o-sec {
  font-family: var(--font-sans, "Inter", system-ui, sans-serif);
  padding: 6rem 0;
  color: var(--foreground, #071f20);
}
@media (max-width: 640px) { .ch2o-sec { padding: 4rem 0; } }
.ch2o-sec--tint { background: var(--tint, #f1fdff); }
.ch2o-wrap { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }

.ch2o-grad-text {
  background: linear-gradient(135deg, var(--primary, #0066b3) 0%, var(--primary-light, #009fd8) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ch2o-grad-teal { background: linear-gradient(135deg, var(--primary, #0066b3) 0%, var(--primary-light, #009fd8) 100%); }
.ch2o-prim { color: var(--primary, #0066b3); font-weight: 600; }
.ch2o-danger { color: var(--destructive, #d6492b); }

.ch2o-sh { text-align: center; max-width: 48rem; margin: 0 auto; }
.ch2o-sh__eyebrow {
  margin: 0 0 0.75rem; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--primary, #0066b3);
}
.ch2o-sh__title {
  margin: 0; font-size: clamp(1.75rem, 1rem + 2.5vw, 2.5rem); font-weight: 700;
  line-height: 1.15; letter-spacing: -0.02em; color: var(--foreground, #071f20);
}
.ch2o-sh__sub { margin: 0.75rem 0 0; font-size: 1.05rem; color: var(--muted-foreground, #53676b); }

/* ---- Problem ---- */
.ch2o-problem__grid { margin-top: 4rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ch2o-problem__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ch2o-problem__grid { grid-template-columns: repeat(4, 1fr); } }
.ch2o-problem__card {
  height: 100%; border-radius: var(--radius-3xl, 1.6rem); background: var(--card, #fff);
  border: 1px solid var(--border, #dfeaec); padding: 1.5rem;
  box-shadow: var(--shadow-card, 0 2px 12px -2px rgba(20,80,160,.1));
  transition: transform .25s, box-shadow .25s;
}
.ch2o-problem__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift, 0 20px 40px -12px rgba(20,80,160,.25)); }
.ch2o-problem__img { display: flex; justify-content: center; margin-bottom: 1.25rem; }
.ch2o-problem__img img { width: 5rem; height: 6rem; object-fit: contain; user-select: none; }
.ch2o-problem__title { margin: 0; font-size: 1.125rem; font-weight: 700; color: var(--foreground, #071f20); }
.ch2o-problem__desc { margin: 0.5rem 0 0; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground, #53676b); }
.ch2o-problem__foot { margin: 4rem auto 0; text-align: center; max-width: 48rem; }
.ch2o-problem__foot-lead p { margin: 0; font-size: clamp(1.25rem, .5rem + 1.5vw, 1.5rem); font-weight: 700; line-height: 1.3; color: var(--foreground, #071f20); }
.ch2o-problem__foot-sub p { margin: 0.75rem 0 0; font-size: 1.125rem; color: var(--muted-foreground, #53676b); }

/* ---- Founder ---- */
.ch2o-founder__grid { display: grid; gap: 3rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .ch2o-founder__grid { grid-template-columns: 5fr 7fr; } }
.ch2o-founder__media { position: relative; }
.ch2o-founder__frame {
  aspect-ratio: 4/5; border-radius: var(--radius-3xl, 1.6rem); overflow: hidden;
  background: var(--soft, #eaf8f9); box-shadow: var(--shadow-lift, 0 20px 40px -12px rgba(20,80,160,.25));
}
.ch2o-founder__frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ch2o-founder__badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem; background: var(--card, #fff);
  border: 1px solid var(--border, #dfeaec); border-radius: var(--radius-xl, 1.1rem);
  padding: 1rem 1.25rem; box-shadow: var(--shadow-lift, 0 20px 40px -12px rgba(20,80,160,.25));
}
@media (max-width: 480px) { .ch2o-founder__badge { right: 0; } }
.ch2o-founder__badge-val { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.ch2o-founder__badge-cap { font-size: 0.75rem; color: var(--muted-foreground, #53676b); }
.ch2o-founder__eyebrow { margin: 0 0 0.75rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--primary, #0066b3); }
.ch2o-founder__title { margin: 0; font-size: clamp(1.875rem, 1rem + 2.5vw, 3rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.ch2o-founder__quote { margin-top: 2rem; position: relative; padding-left: 1.5rem; }
.ch2o-founder__quote-mark { position: absolute; left: -0.5rem; top: 0; color: color-mix(in srgb, var(--primary, #0066b3) 30%, transparent); }
.ch2o-founder__story { display: flex; flex-direction: column; gap: 1rem; font-size: 1.05rem; line-height: 1.7; color: color-mix(in srgb, var(--foreground, #071f20) 85%, transparent); }
.ch2o-founder__story p { margin: 0; }
.ch2o-founder__story strong { color: var(--foreground, #071f20); }
.ch2o-founder__story em { color: var(--primary, #0066b3); font-weight: 600; font-style: normal; }
.ch2o-founder__sig { margin-top: 2rem; padding-left: 1.5rem; display: flex; align-items: center; gap: 1rem; }
.ch2o-founder__sig-avatar { height: 3rem; width: 3rem; flex-shrink: 0; border-radius: 9999px; display: inline-flex; align-items: center; justify-content: center; color: var(--primary-foreground, #fff); font-weight: 700; }
.ch2o-founder__sig-meta { display: flex; flex-direction: column; }
.ch2o-founder__sig-name { font-weight: 700; color: var(--foreground, #071f20); }
.ch2o-founder__sig-role { font-size: 0.875rem; color: var(--muted-foreground, #53676b); }

/* ---- How It Works ---- */
.ch2o-how__wrap { position: relative; margin-top: 4rem; }
.ch2o-how__line { display: none; }
@media (min-width: 768px) {
  .ch2o-how__line { display: block; position: absolute; top: 3rem; left: 16%; right: 16%; height: 2px;
    background: linear-gradient(to right, color-mix(in srgb, var(--primary,#0066b3) 30%, transparent), color-mix(in srgb, var(--primary,#0066b3) 60%, transparent), color-mix(in srgb, var(--primary,#0066b3) 30%, transparent)); }
}
.ch2o-how__grid { position: relative; display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .ch2o-how__grid { grid-template-columns: repeat(3, 1fr); } }
.ch2o-how__step { text-align: center; }
.ch2o-how__icon-wrap { position: relative; display: inline-flex; }
.ch2o-how__icon { height: 6rem; width: 6rem; border-radius: 9999px; display: inline-flex; align-items: center; justify-content: center; color: var(--primary-foreground, #fff); box-shadow: var(--shadow-soft, 0 4px 20px -4px rgba(20,80,160,.15)); }
.ch2o-how__icon svg, .ch2o-how__icon i { font-size: 2.25rem; width: 2.25rem; height: 2.25rem; color: var(--primary-foreground, #fff); }
.ch2o-how__num { position: absolute; top: -0.5rem; right: -0.5rem; height: 2rem; width: 2rem; border-radius: 9999px; background: var(--accent, #ef9f27); color: var(--accent-foreground, #2b1c05); font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-card, 0 2px 12px -2px rgba(20,80,160,.1)); }
.ch2o-how__title { margin: 1.5rem 0 0; font-size: 1.25rem; font-weight: 700; color: var(--foreground, #071f20); }
.ch2o-how__desc { margin: 0.5rem auto 0; max-width: 20rem; color: var(--muted-foreground, #53676b); }

/* ---- pH Explainer ---- */
.ch2o-ph__grid { margin-top: 4rem; display: grid; gap: 3rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .ch2o-ph__grid { grid-template-columns: repeat(2, 1fr); } }
.ch2o-ph__gauge { border-radius: var(--radius-3xl, 1.6rem); border: 1px solid var(--border, #dfeaec); background: var(--card, #fff); padding: 2rem; box-shadow: var(--shadow-card, 0 2px 12px -2px rgba(20,80,160,.1)); }
.ch2o-ph__dial { position: relative; height: 12rem; max-width: 320px; margin: 0 auto; }
.ch2o-ph__svg { height: 100%; width: 100%; }
.ch2o-ph__needle { position: absolute; left: 50%; bottom: 20px; width: 4px; height: 110px; margin-left: -2px; transform-origin: bottom center; }
.ch2o-ph__needle-stem { height: 100%; width: 4px; border-radius: 9999px; background: var(--foreground, #071f20); }
.ch2o-ph__needle-hub { position: absolute; bottom: -8px; left: -8px; height: 20px; width: 20px; border-radius: 9999px; background: var(--foreground, #071f20); }
.ch2o-ph__gauge-foot { margin-top: 0.5rem; text-align: center; }
.ch2o-ph__gauge-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-foreground, #53676b); }
.ch2o-ph__gauge-cap { margin-top: 0.25rem; font-size: 0.875rem; color: color-mix(in srgb, var(--foreground,#071f20) 80%, transparent); }
.ch2o-ph__meters { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.ch2o-ph__meter { display: flex; align-items: center; gap: 0.75rem; border-radius: var(--radius-2xl, 1.4rem); border: 1px solid var(--border, #dfeaec); background: var(--card, #fff); padding: 1rem; }
.ch2o-ph__meter img { height: 4rem; width: 3rem; flex-shrink: 0; object-fit: contain; }
.ch2o-ph__meter-label { font-size: 0.75rem; font-weight: 600; color: var(--muted-foreground, #53676b); }
.ch2o-ph__meter-ph { font-size: 1.125rem; font-weight: 700; color: var(--foreground, #071f20); }
.ch2o-ph__meter-zone { font-size: 11px; color: var(--muted-foreground, #53676b); }
.ch2o-ph__compare { display: grid; grid-template-columns: repeat(2, 1fr); overflow: hidden; border-radius: var(--radius-3xl, 1.6rem); border: 1px solid var(--border, #dfeaec); background: var(--card, #fff); box-shadow: var(--shadow-card, 0 2px 12px -2px rgba(20,80,160,.1)); }
.ch2o-ph__col { padding: 1.5rem; }
.ch2o-ph__col--bad { background: color-mix(in srgb, var(--destructive,#d6492b) 5%, transparent); }
.ch2o-ph__col--good { background: color-mix(in srgb, var(--primary,#0066b3) 5%, transparent); }
.ch2o-ph__col-title { margin-bottom: 1rem; font-size: 0.875rem; font-weight: 700; color: var(--foreground, #071f20); }
.ch2o-ph__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.ch2o-ph__list li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--foreground,#071f20) 85%, transparent); }
.ch2o-ph__x { color: var(--destructive, #d6492b); font-weight: 700; flex-shrink: 0; }
.ch2o-ph__tick { color: var(--primary, #0066b3); font-weight: 700; flex-shrink: 0; }
.ch2o-ph__note { margin-top: 1.5rem; font-size: 1rem; line-height: 1.6; color: var(--muted-foreground, #53676b); }
.ch2o-ph__note p { margin: 0; }
.ch2o-ph__note strong { color: var(--foreground, #071f20); }

/* ---- Our Services ---- */
.ch2o-srv__groups { margin-top: 3.5rem; display: flex; flex-direction: column; gap: 3.5rem; }
.ch2o-srv__divider { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.ch2o-srv__divider::before, .ch2o-srv__divider::after { content: ""; flex: 1; height: 1px; background: var(--border, #dfeaec); }
.ch2o-srv__divider span { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--primary, #0066b3); white-space: nowrap; }
.ch2o-srv__grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ch2o-srv__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ch2o-srv__grid { grid-template-columns: repeat(3, 1fr); } }
.ch2o-srv__card { height: 100%; display: flex; gap: 1rem; border-radius: var(--radius-3xl, 1.6rem); background: var(--card, #fff); border: 1px solid var(--border, #dfeaec); padding: 1.5rem; box-shadow: var(--shadow-card, 0 2px 12px -2px rgba(20,80,160,.1)); transition: box-shadow .25s; }
.ch2o-srv__card:hover { box-shadow: var(--shadow-lift, 0 20px 40px -12px rgba(20,80,160,.25)); }
.ch2o-srv__num { flex-shrink: 0; height: 2.5rem; width: 2.5rem; border-radius: var(--radius-xl, 1.1rem); display: flex; align-items: center; justify-content: center; color: var(--primary-foreground, #fff); font-weight: 700; font-size: 0.875rem; }
.ch2o-srv__title { margin: 0; font-weight: 700; line-height: 1.3; color: var(--foreground, #071f20); }
.ch2o-srv__desc { margin: 0.375rem 0 0; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground, #53676b); }
.ch2o-srv__note { margin-top: 3rem; border-radius: var(--radius-2xl, 1.4rem); border: 1px solid color-mix(in srgb, var(--primary,#0066b3) 20%, transparent); background: color-mix(in srgb, var(--primary,#0066b3) 5%, transparent); padding: 1.25rem 1.5rem; text-align: center; }
.ch2o-srv__note p { margin: 0; font-size: 1rem; font-weight: 600; color: var(--foreground, #071f20); }

/* ---- Testimonials ---- */
.ch2o-tst { overflow: hidden; }
.ch2o-tst__viewport { position: relative; margin-top: 3.5rem; }
.ch2o-tst__fade { position: absolute; top: 0; bottom: 0; width: 6rem; z-index: 10; pointer-events: none; }
.ch2o-tst__fade--l { left: 0; background: linear-gradient(to right, var(--background, #fff), transparent); }
.ch2o-tst__fade--r { right: 0; background: linear-gradient(to left, var(--background, #fff), transparent); }
.ch2o-tst__track { display: flex; gap: 1.5rem; width: max-content; animation-name: ch2o-tst-scroll; animation-timing-function: linear; animation-iteration-count: infinite; }
.ch2o-tst__viewport:hover .ch2o-tst__track { animation-play-state: paused; }
@keyframes ch2o-tst-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ch2o-tst__track { animation: none; } }
.ch2o-tst__card { flex-shrink: 0; width: 340px; border-radius: var(--radius-3xl, 1.6rem); background: var(--card, #fff); border: 1px solid var(--border, #dfeaec); box-shadow: var(--shadow-card, 0 2px 12px -2px rgba(20,80,160,.1)); padding: 1.5rem; }
@media (min-width: 640px) { .ch2o-tst__card { width: 380px; } }
.ch2o-tst__stars { color: var(--accent, #ef9f27); letter-spacing: 2px; font-size: 0.95rem; }
.ch2o-tst__text { margin: 1rem 0 0; font-size: 0.875rem; line-height: 1.6; color: color-mix(in srgb, var(--foreground,#071f20) 85%, transparent); }
.ch2o-tst__foot { margin-top: 1.25rem; display: flex; align-items: center; gap: 0.75rem; }
.ch2o-tst__avatar { height: 2.5rem; width: 2.5rem; border-radius: 9999px; display: inline-flex; align-items: center; justify-content: center; color: var(--primary-foreground, #fff); font-weight: 700; font-size: 0.875rem; }
.ch2o-tst__meta { display: flex; flex-direction: column; }
.ch2o-tst__name { font-weight: 700; font-size: 0.875rem; color: var(--foreground, #071f20); }
.ch2o-tst__city { font-size: 0.75rem; color: var(--muted-foreground, #53676b); }

/* ---- Free Test CTA ---- */
.ch2o-ft__card { position: relative; overflow: hidden; border-radius: 2rem; color: var(--primary-foreground, #fff); box-shadow: var(--shadow-lift, 0 20px 40px -12px rgba(20,80,160,.25)); }
.ch2o-ft__card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at top right, rgba(255,255,255,0.14) 0%, transparent 55%); pointer-events: none; }
.ch2o-ft__grid { position: relative; display: grid; gap: 3rem; align-items: center; grid-template-columns: 1fr; padding: 3.5rem 1.5rem; }
@media (min-width: 640px) { .ch2o-ft__grid { padding: 4rem 2.5rem; } }
@media (min-width: 1024px) { .ch2o-ft__grid { grid-template-columns: 7fr 5fr; padding: 5rem 3.5rem; } }
.ch2o-ft__main { text-align: center; }
@media (min-width: 1024px) { .ch2o-ft__main { text-align: left; } }
.ch2o-ft__badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0.875rem; border-radius: 9999px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1.25rem; }
.ch2o-ft__title { margin: 0; font-size: clamp(1.875rem, 1rem + 3vw, 2.75rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
.ch2o-ft__title-2 { display: block; margin-top: 0.25rem; color: rgba(255,255,255,0.95); }
.ch2o-ft__accent { color: var(--accent, #ef9f27); }
.ch2o-ft__blurb { margin: 1.25rem auto 0; max-width: 36rem; font-size: 1.05rem; line-height: 1.6; color: rgba(255,255,255,0.9); }
@media (min-width: 1024px) { .ch2o-ft__blurb { margin-left: 0; } }
.ch2o-ft__includes { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.25rem; font-size: 0.875rem; color: rgba(255,255,255,0.85); }
@media (min-width: 1024px) { .ch2o-ft__includes { justify-content: flex-start; } }
.ch2o-ft__includes li { display: inline-flex; align-items: center; gap: 0.375rem; }
.ch2o-ft__check { color: var(--accent, #ef9f27); font-weight: 700; }
.ch2o-ft__btns { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; align-items: stretch; justify-content: center; }
@media (min-width: 640px) { .ch2o-ft__btns { flex-direction: row; flex-wrap: wrap; align-items: center; } }
@media (min-width: 1024px) { .ch2o-ft__btns { justify-content: flex-start; } }
.ch2o-ft__btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 0.625rem; border-radius: 9999px; font-weight: 700; text-decoration: none; transition: transform .15s, background-color .2s, filter .2s; }
.ch2o-ft__btn--accent { padding: 0.875rem 2rem; background: var(--accent, #ef9f27); color: var(--accent-foreground, #2b1c05); box-shadow: var(--shadow-lift, 0 20px 40px -12px rgba(20,80,160,.25)); }
.ch2o-ft__btn--accent:hover { filter: brightness(1.05); }
.ch2o-ft__btn--ghost { padding: 0.875rem 1.75rem; border: 2px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.1); color: var(--primary-foreground, #fff); font-weight: 600; }
.ch2o-ft__btn--ghost:hover { background: rgba(255,255,255,0.2); }
.ch2o-ft__note { margin-top: 1rem; display: flex; align-items: center; justify-content: center; gap: 0.375rem; font-size: 0.875rem; color: rgba(255,255,255,0.75); }
@media (min-width: 1024px) { .ch2o-ft__note { justify-content: flex-start; } }
.ch2o-ft__side { display: flex; flex-direction: column; gap: 1rem; }
.ch2o-ft__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
@media (min-width: 640px) { .ch2o-ft__stats { gap: 0.75rem; } }
.ch2o-ft__stat { border-radius: var(--radius-2xl, 1.4rem); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); padding: 1rem 0.75rem; text-align: center; box-shadow: inset 0 1px 0 rgba(255,255,255,0.12); }
.ch2o-ft__stat-val { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.ch2o-ft__stat-lbl { margin-top: 0.25rem; font-size: 0.7rem; line-height: 1.3; color: rgba(255,255,255,0.8); font-weight: 500; }
.ch2o-ft__how { border-radius: var(--radius-2xl, 1.4rem); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); padding: 1.5rem; box-shadow: inset 0 1px 0 rgba(255,255,255,0.12); }
.ch2o-ft__how-label { margin: 0 0 1rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.7); }
.ch2o-ft__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.ch2o-ft__step { display: flex; gap: 0.875rem; }
.ch2o-ft__step-icn { position: relative; flex-shrink: 0; height: 2.5rem; width: 2.5rem; border-radius: var(--radius-xl, 1.1rem); background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; }
.ch2o-ft__step-icn svg, .ch2o-ft__step-icn i { font-size: 1.25rem; width: 1.25rem; height: 1.25rem; color: var(--primary-foreground, #fff); }
.ch2o-ft__step-num { position: absolute; top: -0.375rem; right: -0.375rem; height: 1.25rem; width: 1.25rem; border-radius: 9999px; background: var(--accent, #ef9f27); color: var(--accent-foreground, #2b1c05); font-size: 0.625rem; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-card, 0 2px 12px -2px rgba(20,80,160,.1)); }
.ch2o-ft__step-body { display: flex; flex-direction: column; padding-top: 0.125rem; min-width: 0; }
.ch2o-ft__step-title { font-weight: 600; font-size: 0.875rem; line-height: 1.2; }
.ch2o-ft__step-desc { margin-top: 0.125rem; font-size: 0.75rem; line-height: 1.5; color: rgba(255,255,255,0.75); }

/* ====================================================================== *
 * How It Works page widgets: Info Cards, Callout, Compare Table, FAQ.
 * ====================================================================== */

/* ---- Info Cards ---- */
.ch2o-cards__grid { margin-top: 3rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ch2o-cards__grid--3, .ch2o-cards__grid--4 { grid-template-columns: repeat(2, 1fr); } .ch2o-cards__grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ch2o-cards__grid--3 { grid-template-columns: repeat(3, 1fr); } .ch2o-cards__grid--4 { grid-template-columns: repeat(4, 1fr); } }
.ch2o-cards__card { height: 100%; border-radius: var(--radius-3xl, 1.6rem); background: var(--card, #fff); border: 1px solid var(--border, #dfeaec); padding: 1.75rem; box-shadow: var(--shadow-card, 0 2px 12px -2px rgba(20,80,160,.1)); }
.ch2o-cards__card--center { text-align: center; }
.ch2o-cards__card--left { text-align: left; }
.ch2o-cards__img { display: flex; justify-content: center; }
.ch2o-cards__img img { height: 6rem; width: 5rem; object-fit: contain; }
.ch2o-cards__tile { height: 3.5rem; width: 3.5rem; border-radius: var(--radius-2xl, 1.4rem); display: inline-flex; align-items: center; justify-content: center; color: var(--primary-foreground, #fff); }
.ch2o-cards__tile svg, .ch2o-cards__tile i { font-size: 1.75rem; width: 1.75rem; height: 1.75rem; color: var(--primary-foreground, #fff); }
.ch2o-cards__title { margin: 1.25rem 0 0; font-size: 1.25rem; font-weight: 700; color: var(--foreground, #071f20); }
.ch2o-cards__card--center .ch2o-cards__title { font-size: 1.125rem; }
.ch2o-cards__desc { margin: 0.5rem 0 0; font-size: 0.9rem; line-height: 1.6; color: var(--muted-foreground, #53676b); }

/* ---- Callout ---- */
.ch2o-callout__inner { max-width: 64rem; text-align: center; }
.ch2o-callout__body { margin: 1.5rem auto 0; max-width: 42rem; font-size: 1.125rem; line-height: 1.7; color: var(--muted-foreground, #53676b); }

/* ---- Compare Table ---- */
.ch2o-cmp__wrap { max-width: 64rem; }
.ch2o-cmp__table { margin-top: 3rem; overflow: hidden; border-radius: var(--radius-3xl, 1.6rem); border: 1px solid var(--border, #dfeaec); background: var(--card, #fff); box-shadow: var(--shadow-card, 0 2px 12px -2px rgba(20,80,160,.1)); }
.ch2o-cmp__row { display: grid; grid-template-columns: repeat(var(--ch2o-cmp-cols, 3), 1fr); }
.ch2o-cmp__row--head { background: var(--secondary, #eaf8f9); }
.ch2o-cmp__row--alt { background: color-mix(in srgb, var(--tint, #f1fdff) 60%, transparent); }
.ch2o-cmp__cell { padding: 1rem; font-size: 0.875rem; border-right: 1px solid var(--border, #dfeaec); }
.ch2o-cmp__row > .ch2o-cmp__cell:last-child { border-right: 0; }
.ch2o-cmp__cell--th { font-weight: 700; color: var(--foreground, #071f20); display: flex; align-items: center; gap: 0.5rem; }
.ch2o-cmp__cell--head { font-weight: 600; color: var(--foreground, #071f20); }
.ch2o-cmp__cell--muted { color: var(--muted-foreground, #53676b); }
.ch2o-cmp__cell--emph { color: var(--primary, #0066b3); font-weight: 600; }
.ch2o-cmp__ico { font-weight: 700; }
.ch2o-cmp__ico--ok { color: var(--primary, #0066b3); }
.ch2o-cmp__ico--no { color: var(--destructive, #d6492b); }
.ch2o-cmp__cards { display: none; margin-top: 2rem; flex-direction: column; gap: 1.25rem; }
.ch2o-cmp__mcard { border-radius: var(--radius-3xl, 1.6rem); border: 1px solid var(--border, #dfeaec); background: var(--card, #fff); padding: 1.5rem; box-shadow: var(--shadow-card, 0 2px 12px -2px rgba(20,80,160,.1)); display: flex; flex-direction: column; gap: 0.875rem; }
.ch2o-cmp__mrow { display: flex; flex-direction: column; gap: 0.125rem; }
.ch2o-cmp__mlabel { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-foreground, #53676b); }
.ch2o-cmp__mval { font-size: 0.9rem; color: var(--foreground, #071f20); }
.ch2o-cmp__note { margin: 2rem auto 0; max-width: 42rem; text-align: center; font-size: 0.875rem; color: var(--muted-foreground, #53676b); }
.ch2o-cmp__note strong { color: var(--foreground, #071f20); }
@media (max-width: 768px) { .ch2o-cmp__table { display: none; } .ch2o-cmp__cards { display: flex; } }

/* ---- FAQ ---- */
.ch2o-faq__wrap { max-width: 48rem; }
.ch2o-faq__list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.ch2o-faq__item { border-radius: var(--radius-2xl, 1.4rem); border: 1px solid var(--border, #dfeaec); background: var(--card, #fff); padding: 1.25rem 1.25rem; box-shadow: var(--shadow-card, 0 2px 12px -2px rgba(20,80,160,.1)); }
.ch2o-faq__item[open] { box-shadow: var(--shadow-lift, 0 20px 40px -12px rgba(20,80,160,.25)); }
.ch2o-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; font-weight: 700; color: var(--foreground, #071f20); }
.ch2o-faq__q::-webkit-details-marker { display: none; }
.ch2o-faq__chev { color: var(--primary, #0066b3); font-size: 1.25rem; line-height: 1; transition: transform .2s; }
.ch2o-faq__item[open] .ch2o-faq__chev { transform: rotate(180deg); }
.ch2o-faq__a { margin: 0.75rem 0 0; line-height: 1.7; color: var(--muted-foreground, #53676b); }
.ch2o-faq__cta { margin-top: 3rem; text-align: center; }
.ch2o-faq__btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.875rem 1.75rem; border-radius: 9999px; color: var(--primary-foreground, #fff); font-weight: 600; text-decoration: none; box-shadow: var(--shadow-soft, 0 4px 20px -4px rgba(20,80,160,.15)); transition: box-shadow .2s; }
.ch2o-faq__btn:hover { box-shadow: var(--shadow-lift, 0 20px 40px -12px rgba(20,80,160,.25)); }
