/* ============================================================
   Pro ASIC Miner Repair LLC — pricing-detail.css
   Pricing detail page only. Load after global.css.
   ============================================================ */

/* ---------------------------------------------------------------
   HERO
   --------------------------------------------------------------- */
.pricing-detail-hero {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid rgba(33,150,243,0.12);
  position: relative;
  overflow: hidden;
}
.pricing-detail-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(21,101,192,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.pdh-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.pdh-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.4rem;
}
.pdh-inner h1 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
}
.pdh-sub {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.68;
  max-width: 600px;
  margin-bottom: 1.25rem;
}
.pdh-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}
.pdh-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 0.28rem 0.75rem;
}
.pdh-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}
.pdh-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.65;
  max-width: 600px;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

/* ---------------------------------------------------------------
   SUMMARY CARDS
   --------------------------------------------------------------- */
.pricing-summary-section {
  padding: 3rem 0;
  background: var(--gray-bg);
  border-bottom: 1px solid var(--gray-2);
}
.pricing-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}
.ps-card {
  background: var(--white);
  border: 1px solid rgba(15,23,42,0.08);
  border-top: 3px solid var(--blue);
  border-radius: 10px;
  padding: 1.4rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
}
.ps-card-brand {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--blue);
  margin-bottom: 0.2rem;
}
.ps-card-models {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.ps-card-rates {
  margin-bottom: 1.1rem;
}
.ps-rate-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.2rem;
}
.ps-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.ps-unit {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 500;
}
.ps-or {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin: 0.2rem 0;
  text-align: left;
}
.ps-card .btn {
  margin-top: auto;
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ---------------------------------------------------------------
   DETAILED PRICING MENU
   --------------------------------------------------------------- */
.pricing-menu-section {
  padding: 3.5rem 0 3rem;
  background: var(--white);
}
.pricing-menu-header {
  margin-bottom: 2rem;
}
.pricing-menu-note {
  font-size: 0.81rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}
.pricing-category {
  margin-bottom: 2.5rem;
}
.pricing-category:last-child { margin-bottom: 0; }
.pricing-category-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--blue);
  margin-bottom: 1rem;
}
.pricing-cat-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 50%;
  flex-shrink: 0;
}
.pricing-category-label h3 {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin: 0;
}
.pricing-rows {
  border: 1px solid var(--gray-2);
  border-radius: 10px;
  overflow: hidden;
}
.pricing-row {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 1.5rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--gray-2);
  align-items: start;
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row:nth-child(even) { background: #fafbfc; }
.pr-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.pr-desc {
  font-size: 0.79rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.pr-note {
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  font-style: italic;
}
.pr-supported {
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}
.pr-supported strong {
  color: var(--navy);
  font-weight: 600;
}
.pr-includes {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
}
.pr-includes li {
  font-size: 0.77rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
}
.pr-includes li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.7rem;
  margin-top: 0.15em;
}
.pricing-row-price {
  text-align: right;
}
.prp-amount {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
  line-height: 1.2;
}
.prp-unit {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.1rem;
}
.prp-custom {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  background: var(--blue);
  padding: 0.28rem 0.75rem;
  border-radius: 20px;
  white-space: nowrap;
}
.prp-incl {
  display: block;
  font-size: 0.68rem;
  color: #22c55e;
  font-weight: 600;
  margin-top: 0.2rem;
}

/* ---------------------------------------------------------------
   WHAT PRICING INCLUDES
   --------------------------------------------------------------- */
.pricing-includes-section {
  padding: 4rem 0;
  background: #ffffff;
}
.pricing-includes-section .container {
  background: #f8fafc;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 18px 45px rgba(15,23,42,0.06);
}
.pricing-includes-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}
.pic-card {
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 14px;
  padding: 1.25rem 1.15rem;
  box-shadow: 0 8px 22px rgba(15,23,42,0.05);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.pic-card:hover {
  border-color: rgba(21,101,192,0.22);
  box-shadow: 0 12px 28px rgba(15,23,42,0.08);
}
.pic-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: var(--blue-wash);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 0.65rem;
}
.pic-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
.pic-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ---------------------------------------------------------------
   WHAT AFFECTS FINAL PRICING
   --------------------------------------------------------------- */
.pricing-factors-section {
  padding: 3rem 0;
  background: var(--white);
}
.pricing-factor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.pf-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.45;
  background: #f8fafc;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
}
.pf-item::before {
  content: '•';
  color: var(--blue);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0.05em;
}
.pricing-factors-section .section-sub {
  max-width: 640px;
}
.pricing-factors-note {
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  background: rgba(21,101,192,0.04);
  border: 1px solid rgba(21,101,192,0.12);
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------------------------------------------------------------
   DISPATCH PRICING LOGIC
   --------------------------------------------------------------- */
.pricing-dispatch-section {
  padding: 3rem 0;
  background: var(--navy);
  color: var(--white);
}
.pricing-dispatch-section .section-eyebrow {
  color: var(--blue-bright);
}
.pricing-dispatch-section h2 {
  color: var(--white);
}
.pricing-dispatch-panel {
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 1.5rem;
  color: var(--text-body);
}
.pdp-body {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.pdp-body + .pdp-body { margin-top: -0.5rem; }
.pdp-highlight {
  padding: 1rem 1.25rem;
  background: rgba(21,101,192,0.04);
  border: 1px solid rgba(21,101,192,0.12);
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.72;
  margin-bottom: 1.5rem;
}

/* ---------------------------------------------------------------
   SAVINGS / DOWNTIME COMPARISON
   --------------------------------------------------------------- */
.pricing-savings-section {
  padding: 3rem 0;
  background: var(--navy);
  color: var(--white);
}
.pricing-savings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.psg-col {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  padding: 1.5rem;
}
.psg-col--compare {
  border-color: rgba(33,150,243,0.35);
  border-top: 3px solid var(--blue-bright);
  background: rgba(21,101,192,0.06);
}
.psg-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.68);
  margin-bottom: 0.85rem;
}
.psg-label--vs { color: var(--blue-bright); }
.psg-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem;
}
.psg-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 0.55rem;
  line-height: 1.45;
}
.psg-list li::before {
  content: '×';
  color: #ef4444;
  font-weight: 800;
  flex-shrink: 0;
}
.psg-list--pros li::before {
  content: '✓';
  color: #22c55e;
}
.psg-caveat {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

/* ---------------------------------------------------------------
   SAVINGS SECTION TYPOGRAPHY
   --------------------------------------------------------------- */
.pricing-savings-section .section-eyebrow,
.pricing-savings-eyebrow {
  color: var(--blue-bright);
  letter-spacing: 0.12em;
}
.pricing-savings-section h2,
.pricing-savings-title {
  color: #ffffff;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.25rem;
}
.pricing-savings-sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  max-width: 620px;
  line-height: 1.7;
}

/* ---------------------------------------------------------------
   INCLUDED LABEL (diagnostic rows)
   --------------------------------------------------------------- */
.prp-included-label {
  font-size: 0.88rem;
  font-weight: 700;
}

/* ---------------------------------------------------------------
   FAQ SECTION
   --------------------------------------------------------------- */
.pricing-faq-section {
  padding: 3.5rem 0 3rem;
  background: var(--white);
}
.pricing-faq-list {
  max-width: 780px;
  margin-inline: auto;
  margin-top: 1.75rem;
}

/* ---------------------------------------------------------------
   FINAL CTA
   --------------------------------------------------------------- */
.pricing-final-cta {
  padding: 3.5rem 0;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.pricing-final-cta::before {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(21,101,192,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.pfc-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.pfc-inner h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem;
}
.pfc-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.76);
  line-height: 1.72;
  margin-bottom: 1.5rem;
}
.pfc-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* ---------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------- */
@media (max-width: 1100px) {
  .pricing-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-includes-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .pricing-detail-hero { padding: 2.25rem 0 2rem; }
  .pdh-inner h1 { font-size: clamp(1.6rem, 7vw, 1.95rem); line-height: 1.08; }
  .pdh-ctas { flex-direction: column; }
  .pdh-ctas .btn { width: 100%; text-align: center; justify-content: center; max-width: 360px; }

  .pricing-summary-grid { grid-template-columns: 1fr; }

  .pricing-row { grid-template-columns: 1fr; gap: 0.35rem; padding: 1rem; }
  .pricing-row-price { text-align: left; min-width: unset; background: rgba(21,101,192,0.04); border-radius: 6px; padding: 0.5rem 0.65rem; }
  .pricing-row-price .prp-amount { font-size: 0.95rem; }
  .pricing-row-price .prp-custom { font-size: 0.75rem; }

  .pricing-includes-section { padding: 2rem 0; }
  .pricing-includes-section .container { padding: 1.1rem; border-radius: 14px; box-shadow: 0 8px 24px rgba(15,23,42,0.05); }
  .pricing-includes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1.25rem; }
  .pic-card { padding: 0.95rem; box-shadow: none; }
  .pic-title { font-size: 0.82rem; }
  .pic-desc { font-size: 0.74rem; line-height: 1.55; }

  .pricing-factor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0.45rem 0.65rem !important; }
  .pf-item { font-size: 0.72rem !important; line-height: 1.35 !important; gap: 0.3rem !important; padding: 0.45rem 0.5rem !important; }

  .pricing-savings-grid { grid-template-columns: 1fr; }

  .pricing-dispatch-panel { padding: 1.25rem 1rem; }

  .pfc-ctas { flex-direction: column; }
  .pfc-ctas .btn { width: 100%; text-align: center; justify-content: center; max-width: 360px; }

  .pricing-final-cta { padding-bottom: 5rem; }
}

@media (max-width: 480px) {
  .pricing-includes-grid { grid-template-columns: 1fr; }
  .pricing-factor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .pf-item { font-size: 0.7rem !important; padding: 0.5rem 0.55rem; }
  .pdh-badges { gap: 0.35rem; }
}

/* ---------------------------------------------------------------
   SECTION TYPOGRAPHY OVERRIDES
   Explicit per-section color declarations to guard against
   body { background: #07101f } bleeding through undefined vars.
   --------------------------------------------------------------- */

/* LIGHT sections — explicit dark text */
.pricing-summary-section .section-eyebrow,
.pricing-includes-section .section-eyebrow,
.pricing-menu-section .section-eyebrow,
.pricing-factors-section .section-eyebrow,
.pricing-faq-section .section-eyebrow {
  color: var(--blue);
}
.pricing-summary-section h2,
.pricing-includes-section h2,
.pricing-menu-section h2,
.pricing-factors-section h2,
.pricing-faq-section h2 {
  color: var(--navy);
}
.pricing-summary-section .section-sub,
.pricing-includes-section .section-sub,
.pricing-menu-section .section-sub,
.pricing-factors-section .section-sub,
.pricing-faq-section .section-sub {
  color: var(--text-muted);
}

/* DARK sections — explicit white text */
.pricing-dispatch-section .section-eyebrow,
.pricing-savings-section .section-eyebrow,
.pricing-savings-eyebrow,
.pricing-final-cta .section-eyebrow {
  color: var(--blue-bright) !important;
}
.pricing-dispatch-section h2,
.pricing-savings-section h2,
.pricing-savings-title,
.pricing-final-cta h2 {
  color: #ffffff !important;
}
.pricing-dispatch-section .section-sub,
.pricing-savings-section .section-sub,
.pricing-savings-sub,
.pricing-final-cta .section-sub,
.pfc-text {
  color: rgba(255,255,255,0.74) !important;
}

/* ---------------------------------------------------------------
   S21 REPAIR PAGE — Transparent Diagnostics section (dark bg)
   --------------------------------------------------------------- */
.s21-transparency-section {
  padding: 3.5rem 0;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.s21-transparency-section .section-eyebrow {
  color: var(--blue-bright);
}
.s21-transparency-section h2 {
  color: #ffffff;
}
.s21-transparency-section .section-sub {
  color: rgba(255,255,255,0.74);
}
.s21-transparency-section .transparency-note {
  background: rgba(255,255,255,0.05);
  border-left-color: var(--blue-bright);
  color: rgba(255,255,255,0.78);
}
.s21-transparency-section .transparency-note strong {
  color: #ffffff;
}

/* ---------------------------------------------------------------
   S21 REPAIR PAGE — Model cards (compact 3→2 col, NOT 1 col on mobile)
   --------------------------------------------------------------- */
.s21-model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.s21-model-grid .pic-card {
  min-width: 0;
  padding: 1rem;
}

.s21-model-grid .pic-num {
  margin-bottom: 0.5rem;
}

.s21-model-grid .pic-title {
  font-size: 0.88rem;
  line-height: 1.25;
  margin-bottom: 0.35rem;
  word-break: normal;
  overflow-wrap: normal;
}

.s21-model-grid .pic-desc {
  font-size: 0.76rem;
  line-height: 1.45;
  word-break: normal;
  overflow-wrap: normal;
}

/* S21 repair page — transparency 3-col variant */
.transparency-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.transparency-grid--three .transparency-card {
  min-width: 0;
}

.transparency-grid--three .transparency-card h3,
.transparency-grid--three .transparency-card p {
  overflow-wrap: normal;
  word-break: normal;
}

/* Tablet: s21-model-grid keeps 3 cols; transparency-grid--three drops to 2 */
@media (max-width: 1024px) {
  .s21-model-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .transparency-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile: s21-model-grid → 2 cols (compact); transparency-grid--three → 1 col */
@media (max-width: 640px) {
  .s21-model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .s21-model-grid .pic-card {
    padding: 0.75rem;
    border-radius: 10px;
  }

  .s21-model-grid .pic-num {
    width: 26px;
    height: 26px;
    font-size: 0.62rem;
    margin-bottom: 0.45rem;
  }

  .s21-model-grid .pic-title {
    font-size: 0.78rem;
    line-height: 1.2;
    margin-bottom: 0.25rem;
  }

  .s21-model-grid .pic-desc {
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .transparency-grid--three {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .transparency-grid--three .transparency-card {
    padding: 1rem;
  }
}

/* Very narrow: s21-model-grid falls back to 1 col */
@media (max-width: 340px) {
  .s21-model-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------
   S21 REPAIR PAGE — Mobile spacing fixes
   --------------------------------------------------------------- */

/* Model cards: reduce oversized bottom padding */
@media (max-width: 768px) {
  .s21-model-section {
    padding-bottom: 2rem;
  }
}

/* Transparency section: trim bottom gap before CTA */
@media (max-width: 768px) {
  .s21-transparency-section {
    padding-bottom: 2rem;
  }

  .s21-transparency-section .transparency-note {
    margin-bottom: 0;
  }
}

/* Final CTA: tighten top/bottom on mobile */
@media (max-width: 768px) {
  .pricing-final-cta {
    padding-top: 2.25rem;
    padding-bottom: 2.75rem;
  }
}

/* ---------------------------------------------------------------
   S21 REPAIR PAGE — Comparison section (replaces table)
   --------------------------------------------------------------- */
.s21-comparison-section {
  padding: 3rem 0;
  background: #ffffff;
}

.s21-comparison-section .section-eyebrow {
  color: var(--blue);
}

.s21-comparison-section h2 {
  color: var(--navy);
  margin-bottom: 0.9rem;
}

.s21-comparison-section .section-sub {
  color: var(--text-muted);
}

.s21-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.s21-compare-card {
  background: #f8fafc;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  box-shadow: 0 10px 28px rgba(15,23,42,0.06);
  min-height: auto;
}

.s21-compare-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--navy);
}

.s21-compare-card p {
  margin: 0.45rem 0 0;
  color: var(--text-body);
  font-size: 0.86rem;
  line-height: 1.6;
}

.s21-compare-card--highlight {
  border-color: rgba(21,101,192,0.28);
  background: #f0f5ff;
  box-shadow: 0 14px 32px rgba(21,101,192,0.1);
}

.s21-compare-card--highlight h3 {
  color: var(--blue);
}

@media (max-width: 768px) {
  .s21-compare-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .s21-compare-card {
    padding: 1rem;
    min-height: 0;
  }

  .s21-compare-card h3 {
    font-size: 0.95rem;
  }

  .s21-compare-card p {
    font-size: 0.8rem;
    line-height: 1.55;
  }
}

/* ---------------------------------------------------------------
   S21 REPAIR PAGE — FAQ section (replaces inline style)
   --------------------------------------------------------------- */
.s21-faq-section {
  padding: 3.5rem 0;
  background: var(--gray-bg);
}

.s21-faq-section .section-eyebrow {
  margin-bottom: 0.5rem;
}

.s21-faq-section h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

/* ============================================================
   Operations Support Page — Conflict Note + Savings Model
   ============================================================ */

.ops-conflict-note {
  margin-top: 1.35rem;
  padding: 1rem 1.15rem;
  border-radius: 10px;
  border: 1px solid rgba(21, 101, 192, 0.18);
  border-left: 3px solid var(--blue);
  background: #ffffff;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.65;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.ops-conflict-note strong {
  color: var(--navy);
  font-weight: 800;
}

.ops-savings-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.5rem;
  align-items: start;
}

.ops-savings-copy {
  color: var(--text-body);
}

.ops-savings-copy p {
  margin: 0 0 1rem;
  color: var(--text-body);
  line-height: 1.7;
  font-size: 0.98rem;
}

.ops-savings-disclaimer {
  font-size: 0.84rem !important;
  color: var(--text-muted) !important;
  line-height: 1.6 !important;
  margin-top: 1rem !important;
}

.ops-savings-copy .btn {
  margin-top: 0.55rem;
}

.ops-savings-formula {
  background: rgba(21, 101, 192, 0.045);
  border: 1px solid rgba(21, 101, 192, 0.16);
  border-left: 3px solid var(--blue);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  color: var(--text-body);
  min-width: 0;
}

.ops-savings-formula strong {
  display: block;
  color: var(--navy);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.ops-savings-formula ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ops-savings-formula li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.42rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-body);
}

.ops-savings-formula li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 900;
}

.ops-savings-formula li.minus {
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  margin-top: 0.7rem;
  padding-top: 0.7rem;
}

.ops-savings-formula li.minus::before {
  content: "−";
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .ops-conflict-note {
    font-size: 0.86rem;
    line-height: 1.55;
    padding: 0.9rem;
    margin-top: 1rem;
  }

  .ops-savings-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ops-savings-copy p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .ops-savings-formula {
    padding: 0.9rem;
  }

  .ops-savings-formula strong {
    font-size: 0.78rem;
  }

  .ops-savings-formula li {
    font-size: 0.8rem;
    line-height: 1.45;
  }
}

/* ============================================================
   Pricing Page — Mobile collapsible sections + compaction
   ============================================================ */

/* Collapsible mechanism */
.mobile-details > summary { list-style: none; }
.mobile-details > summary::-webkit-details-marker { display: none; }

/* Desktop: render collapsible content as a normal section */
@media (min-width: 769px) {
  .mobile-details > summary { display: none; }
  .mobile-details > .mobile-details-body { display: block; }
}

@media (max-width: 768px) {
  .pricing-mobile-collapsible {
    padding: 0.6rem 0;
    background: var(--gray-bg);
  }
  .pricing-mobile-collapsible > .container {
    padding-top: 0;
    padding-bottom: 0;
  }

  .mobile-details {
    background: #ffffff;
    border: 1px solid rgba(15,23,42,0.08);
    border-radius: 14px;
    margin: 0.85rem 0;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15,23,42,0.06);
  }

  .mobile-details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    padding: 1rem;
    color: var(--navy);
    font-weight: 800;
    font-size: 0.95rem;
  }

  .mobile-details > summary::after {
    content: "+";
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(21,101,192,0.08);
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 900;
  }
  .mobile-details[open] > summary::after { content: "\2212"; }

  .mobile-details-body { padding: 0 1rem 1rem; }

  /* summary already shows the title — hide duplicate heading inside body */
  .mobile-details-body > .section-eyebrow,
  .mobile-details-body > h2 { display: none; }

  /* dark sections keep dark collapsible cards for text contrast */
  .pricing-dispatch-section.pricing-mobile-collapsible,
  .pricing-savings-section.pricing-mobile-collapsible {
    background: var(--navy);
  }
  .pricing-dispatch-section .mobile-details,
  .pricing-savings-section .mobile-details {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.12);
    box-shadow: none;
  }
  .pricing-dispatch-section .mobile-details > summary,
  .pricing-savings-section .mobile-details > summary { color: #ffffff; }
  .pricing-dispatch-section .mobile-details > summary::after,
  .pricing-savings-section .mobile-details > summary::after {
    background: rgba(100,181,246,0.18);
    color: var(--blue-bright);
  }
}

/* Hero compaction */
@media (max-width: 768px) {
  .pricing-detail-hero { padding: 2.25rem 0 1.8rem; }
  .pricing-detail-hero h1 { font-size: clamp(1.75rem, 8vw, 2.35rem); line-height: 1.08; }
  .pdh-sub { font-size: 0.92rem; line-height: 1.55; }
  .pdh-badges { gap: 0.4rem; }
  .pdh-badge { font-size: 0.68rem; padding: 0.35rem 0.5rem; }
}

/* Summary cards compaction */
@media (max-width: 768px) {
  .pricing-summary-section { padding: 2.4rem 0; }
  .pricing-summary-grid { gap: 0.85rem; }
  .ps-card { padding: 1.05rem; }
  .ps-card-brand { font-size: 0.9rem; }
  .ps-card-models { font-size: 0.75rem; line-height: 1.45; }
  .ps-amount { font-size: 1.8rem; }
  .ps-unit { font-size: 0.78rem; }
  .ps-card .btn { width: 100%; min-height: 42px; }
}

/* Detailed pricing menu compaction */
@media (max-width: 768px) {
  .pricing-menu-section { padding: 2rem 0; }
  .pricing-category { margin-bottom: 1rem; }
  .pricing-category-label { margin-bottom: 0.7rem; }
  .pricing-row { grid-template-columns: 1fr; gap: 0.65rem; padding: 0.9rem; }
  .pr-name { font-size: 0.92rem; }
  .pr-desc { font-size: 0.78rem; line-height: 1.5; }
  .pricing-row-price { align-items: flex-start; text-align: left; }
  .prp-amount { font-size: 1.55rem; }
  .prp-unit { font-size: 0.75rem; }
}

/* Includes / factors / faq compaction (when expanded) */
@media (max-width: 768px) {
  .pricing-includes-grid { gap: 0.75rem; }
  .pic-card { padding: 0.9rem; }
  .pic-title { font-size: 0.88rem; }
  .pic-desc { font-size: 0.76rem; line-height: 1.45; }

  .pricing-factor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
  .pf-item { font-size: 0.74rem; padding: 0.65rem; line-height: 1.35; }

  .pricing-faq-section { padding: 2.5rem 0 5rem; }
}

@media (max-width: 340px) {
  .pricing-factor-grid { grid-template-columns: 1fr; }
}

/* Includes section container is a card on desktop — flatten on mobile to avoid double-wrapping the collapsible card */
@media (max-width: 768px) {
  .pricing-includes-section.pricing-mobile-collapsible > .container {
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
