/* =============================================================
   weight-loss.css
   Add-on stylesheet for the Solix Health Weight Loss page.
   Loaded AFTER css/styles.css so it can extend / override.
   ============================================================= */

/* ---- Hero CTA --------------------------------------------- */
.hero-cta {
  margin-top: 1.25rem;
  display: inline-block;
}

/* ---- Pricing card ----------------------------------------- */
.pricing-card {
  border: 2px solid var(--color-primary, #2c7a7b);
  position: sticky;
  top: 1rem;
}
.price-tag {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin-bottom: .25rem;
}
.price-amount {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary, #2c7a7b);
}
.price-period {
  font-size: 1rem;
  color: #555;
}
.price-detail {
  margin: .5rem 0 1rem 0;
  font-size: 1rem;
  color: #333;
}
.price-includes {
  list-style: disc;
  padding-left: 1.25rem;
  margin: .5rem 0 1.25rem 0;
  font-size: .95rem;
}
.price-includes li {
  margin-bottom: .35rem;
}
.price-fineprint {
  font-size: .85rem;
  color: #555;
  margin-top: 1rem;
  line-height: 1.45;
}

/* ---- Callouts --------------------------------------------- */
.callout {
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  border-left: 4px solid;
}
.callout p { margin: .25rem 0; }
.callout--warning {
  background: #fff8ec;
  border-color: #d97706;
}
.callout--info {
  background: #eef6ff;
  border-color: #2563eb;
}

/* ---- Legal disclosure strip ------------------------------- */
.legal-strip {
  background: #f7f7f7;
  padding: 2rem 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  font-size: .95rem;
}
.legal-strip h3 {
  margin-top: 0;
}
.legal-points {
  list-style: disc;
  padding-left: 1.25rem;
}
.legal-points li {
  margin-bottom: .5rem;
  line-height: 1.5;
}

/* ---- FAQ -------------------------------------------------- */
.faq {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin: .5rem 0;
  padding: .75rem 1rem;
  background: #fff;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: .25rem;
  top: 0;
  font-size: 1.25rem;
  color: var(--color-primary, #2c7a7b);
}
.faq[open] summary::after { content: "\2013"; }
.faq p { margin: .75rem 0 0 0; line-height: 1.55; }

/* ---- Modal ------------------------------------------------ */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.modal.is-open { display: flex; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}
.modal__panel {
  position: relative;
  background: #fff;
  width: min(620px, 92vw);
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 12px;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.4);
}
.modal__panel h2 { margin-top: 0; }
.modal__close {
  position: absolute;
  top: .5rem;
  right: .75rem;
  background: transparent;
  border: 0;
  font-size: 1.75rem;
  cursor: pointer;
  color: #555;
  line-height: 1;
}
.modal__fineprint {
  font-size: .8rem;
  color: #666;
  margin-top: .75rem;
  text-align: center;
}

/* ---- Consent table & checkboxes --------------------------- */
.consent-summary {
  background: #f5fbfb;
  border: 1px solid #cdeaea;
  border-radius: 8px;
  padding: .75rem 1rem;
  margin: 1rem 0;
}
.consent-summary h4 {
  margin: 0 0 .5rem 0;
}
.consent-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
.consent-table td {
  padding: .25rem .35rem;
  border-bottom: 1px dashed #d4e6e6;
}
.consent-table tr:last-child td { border-bottom: 0; }
.consent-table td:first-child { color: #555; }

.consent-row {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  padding: .65rem .25rem;
  border-bottom: 1px solid #eee;
  font-size: .92rem;
  line-height: 1.45;
  cursor: pointer;
}
.consent-row:last-of-type { border-bottom: 0; }
.consent-row input[type="checkbox"] {
  margin-top: .25rem;
  flex: 0 0 auto;
  transform: scale(1.2);
  cursor: pointer;
}
.form-error {
  color: #b91c1c;
  font-size: .9rem;
  margin: .5rem 0;
  min-height: 1.2em;
}

/* ---- Buttons ---------------------------------------------- */
.btn--large {
  padding: .85rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.btn--ghost {
  background: transparent;
  color: var(--color-primary, #2c7a7b);
  border: 2px solid var(--color-primary, #2c7a7b);
}
.btn--ghost:hover {
  background: var(--color-primary, #2c7a7b);
  color: #fff;
}

/* =============================================================
   New: Hero, differentiator strip, two-paths, comparison table
   ============================================================= */

/* ---- Hero -------------------------------------------------- */
.hero-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
  font-weight: 600;
  background: rgba(255,255,255,.18);
  padding: .25rem .65rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}
.hero--weightloss h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: .25rem 0 1rem 0;
  max-width: 28ch;
}
.hero-lead {
  max-width: 60ch;
  font-size: 1.1rem;
  line-height: 1.55;
  margin: 0 0 1.5rem 0;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 0 0 1rem 0;
}
.hero-cta, .hero-cta-secondary { margin: 0; }
.hero-fineprint {
  font-size: .85rem;
  opacity: .85;
  margin-top: .5rem;
}

/* ---- Differentiator strip --------------------------------- */
.diff-strip {
  background: linear-gradient(180deg, #ffffff 0%, #f5fbfb 100%);
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid #e5e5e5;
}
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.diff-card {
  background: #fff;
  border: 1px solid #e0eaea;
  border-radius: 12px;
  padding: 1.25rem;
  text-align: left;
}
.diff-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #e6f3f3;
  color: var(--color-primary, #2c7a7b);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .75rem;
}
.diff-card h3 {
  font-size: 1.05rem;
  margin: .15rem 0 .5rem 0;
}
.diff-card p {
  font-size: .92rem;
  line-height: 1.5;
  color: #444;
  margin: 0;
}

/* ---- Two-paths section ----------------------------------- */
.two-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.path-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem 1.5rem 1.75rem;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
}
.path-card--established {
  border-color: var(--color-primary, #2c7a7b);
  border-width: 2px;
  background: #f5fbfb;
}
.path-card--new {
  border-color: #fbbf24;
  border-width: 2px;
  background: #fffaf0;
}
.path-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--color-primary, #2c7a7b);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .25rem .65rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}
.path-badge--alt {
  background: #d97706;
}
.path-card h3 {
  margin: 0 0 .5rem 0;
  font-size: 1.25rem;
}
.path-card p {
  color: #444;
  line-height: 1.55;
  margin: 0 0 1rem 0;
}
.path-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
}
.path-list li {
  position: relative;
  padding: .35rem 0 .35rem 1.5rem;
  font-size: .95rem;
  line-height: 1.45;
}
.path-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-primary, #2c7a7b);
  font-weight: 700;
}
.path-card--new .path-list li::before { color: #d97706; }
.path-btn {
  align-self: flex-start;
  margin-top: auto;
}

/* ---- Comparison table ------------------------------------ */
.comparison-section {
  background: #f7f7f7;
}
.compare-wrap {
  overflow-x: auto;
  margin-top: 1rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e0e0e0;
}
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  min-width: 640px;
}
.compare thead th {
  text-align: left;
  padding: 1rem 1rem;
  font-weight: 600;
  background: #f0f0f0;
  border-bottom: 2px solid #d0d0d0;
}
.compare thead th.us {
  background: var(--color-primary, #2c7a7b);
  color: #fff;
  border-bottom-color: var(--color-primary, #2c7a7b);
}
.compare tbody th {
  text-align: left;
  padding: .85rem 1rem;
  font-weight: 600;
  color: #333;
  background: #fafafa;
  border-bottom: 1px solid #eee;
  width: 32%;
  vertical-align: top;
}
.compare td {
  padding: .85rem 1rem;
  border-bottom: 1px solid #eee;
  vertical-align: top;
  line-height: 1.45;
}
.compare td.us {
  background: #f5fbfb;
  border-left: 3px solid var(--color-primary, #2c7a7b);
  color: #1a3a3b;
}
.compare-fineprint {
  font-size: .8rem;
  color: #777;
  text-align: center;
  margin-top: .75rem;
}

/* ---- Step badges (inside features-list) ------------------ */
.badge-required, .badge-flex {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .15rem .55rem;
  border-radius: 999px;
  margin-left: .35rem;
  vertical-align: middle;
}
.badge-required {
  background: #fef0c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}
.badge-flex {
  background: #e6f3f3;
  color: #1a4f51;
  border: 1px solid #bcdde0;
}

/* ---- Mobile tweaks ---------------------------------------- */
@media (max-width: 1024px) {
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .pricing-card { position: static; }
  .price-amount { font-size: 2.25rem; }
  .diff-grid { grid-template-columns: 1fr; }
  .two-paths { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-cta, .hero-cta-secondary { width: 100%; text-align: center; }
  .badge-required, .badge-flex {
    display: inline-block;
    margin-top: .35rem;
    margin-left: 0;
  }
  .compare thead th,
  .compare tbody th,
  .compare td {
    padding: .65rem .75rem;
    font-size: .9rem;
  }
}
