/* ── QUOTE PAGE SPECIFIC ─────────────────────────── */

/* PAGE HERO */
.page-hero {
  background: #09090F;
  background-image:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(255,204,0,.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 90% 90%, rgba(255,204,0,.06) 0%, transparent 50%);
  color: #F5F0E0;
  padding: 72px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,204,0,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,204,0,.025) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}
.page-hero .section-label { margin-bottom: 14px; }
.page-hero .section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: #F5F0E0; margin-bottom: 14px;
}
.page-hero .section-title em { color: var(--brand); }
.page-hero .section-sub {
  color: rgba(245,240,224,.65); margin-bottom: 36px; font-size: 1.05rem;
}
.page-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* TRUST STRIP */
.quote-trust-strip { background: var(--bg-secondary); border-bottom: 1px solid var(--border); padding: 0; }
.quote-trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--border); }
.quote-trust-item {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 22px;
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.quote-trust-icon { font-size: 1.4rem; flex-shrink: 0; }
.quote-trust-text strong { display: block; font-size: .88rem; font-weight: 700; color: var(--text-primary); line-height: 1.3; }
.quote-trust-text span { font-size: .78rem; color: var(--text-secondary); }

/* STEPS */
.quote-steps-section { background: var(--bg-primary); }
.steps-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  max-width: 720px; margin: 0 auto;
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
}
.step-card {
  padding: 36px 28px; text-align: center;
  border-right: 1px solid var(--border);
  background: var(--bg-surface); position: relative;
  transition: background var(--transition);
}
.step-card:last-child { border-right: none; }
.step-card:hover { background: var(--bg-elevated); }
.step-card::after {
  content: attr(data-arrow); position: absolute; right: -14px; top: 50%;
  transform: translateY(-50%); font-size: 1.1rem; color: var(--brand); z-index: 2;
}
.step-card:last-child::after { display: none; }
.step-num {
  width: 52px; height: 52px; background: var(--brand); color: var(--brand-text);
  border-radius: 50%; font-size: 1.2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; box-shadow: 0 4px 20px var(--brand-glow);
}
.step-card h4 { font-size: .95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.step-card p { font-size: .85rem; color: var(--text-secondary); line-height: 1.65; max-width: none; }
.steps-cta { text-align: center; margin-top: 40px; }

/* PRICING */
.quote-pricing { background: var(--bg-secondary); }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 700px; margin: 0 auto; }
.pricing-card {
  background: var(--bg-surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 36px 32px; position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured { border-color: rgba(255,204,0,.35); background: linear-gradient(160deg, var(--bg-elevated) 0%, var(--bg-surface) 60%); }
.pricing-card.featured:hover { border-color: var(--brand); }
.pricing-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: transparent; }
.pricing-card.featured::before { background: linear-gradient(90deg, var(--brand-dark), var(--brand), var(--brand-dark)); }
.pricing-badge {
  display: inline-block; background: rgba(255,204,0,.12); border: 1px solid rgba(255,204,0,.25);
  color: var(--brand); font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: 4px 12px; border-radius: 50px; margin-bottom: 14px;
}
.pricing-card-label { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 10px; }
.pricing-headline { font-size: 1.65rem; font-weight: 800; color: var(--text-primary); line-height: 1.15; margin-bottom: 6px; }
.pricing-card.featured .pricing-headline { color: var(--brand); }
.pricing-sub { font-size: .83rem; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.6; }
.sdc-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.sdc-list li { display: flex; align-items: flex-start; gap: 8px; font-size: .86rem; color: var(--text-secondary); line-height: 1.5; }
.sdc-list li .li-mark { color: var(--brand); font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* SAVINGS CALLOUT */
.savings-callout {
  max-width: 700px; margin: 24px auto 0;
  background: rgba(255,204,0,.06); border: 1px solid rgba(255,204,0,.18);
  border-radius: 12px; padding: 14px 20px;
  display: flex; align-items: center; gap: 12px;
}
.savings-callout .sc-icon { font-size: 1.2rem; flex-shrink: 0; }
.savings-callout p { font-size: .84rem; color: rgba(245,240,224,.7); line-height: 1.5; max-width: none; }
.savings-callout strong { color: var(--brand); }

/* FAQ */
.quote-faq { background: var(--bg-primary); }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--bg-surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 24px 24px 20px; transition: border-color var(--transition);
}
.faq-item:hover { border-color: rgba(255,204,0,.3); }
.faq-q { font-size: .92rem; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; display: flex; align-items: flex-start; gap: 10px; }
.faq-q .faq-icon { color: var(--brand); flex-shrink: 0; font-size: 1rem; margin-top: 1px; }
.faq-a { font-size: .84rem; color: var(--text-secondary); line-height: 1.7; max-width: none; }

/* ── MEMBER CREDITS SECTION ───────────────────────── */
.quote-credits-section { background: var(--bg-primary); }

/* Credits explainer (3 cols) */
.credits-explainer {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  max-width: 720px; margin: 0 auto 36px;
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
}
.credits-explainer-item {
  display: flex; align-items: center; gap: 14px; padding: 22px 24px;
  background: var(--bg-surface); border-right: 1px solid var(--border);
  transition: background var(--transition);
}
.credits-explainer-item:last-child { border-right: none; }
.credits-explainer-item:hover { background: var(--bg-elevated); }
.ce-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; }
.credits-explainer-item strong { display: block; font-size: .88rem; font-weight: 700; color: var(--text-primary); line-height: 1.3; margin-bottom: 3px; }
.credits-explainer-item span { font-size: .8rem; color: var(--text-secondary); line-height: 1.4; }
.credits-explainer-item em { color: var(--brand); font-style: normal; font-weight: 700; }

/* ── DESKTOP TABLE ────────────────────────────────── */
.credits-table-wrap {
  max-width: 720px; margin: 0 auto;
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
}
.credits-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.credits-table thead tr { background: var(--bg-elevated); border-bottom: 1px solid var(--border); }
.credits-table th {
  padding: 13px 20px; text-align: left;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-secondary); white-space: nowrap;
}
.credits-table th.credits-col { text-align: right; padding-right: 24px; }
.credits-table tbody tr { border-bottom: 1px solid var(--border); background: var(--bg-surface); transition: background var(--transition); }
.credits-table tbody tr:last-child { border-bottom: none; }
.credits-table tbody tr:hover { background: var(--bg-elevated); }
.credits-table td { padding: 16px 20px; color: var(--text-primary); vertical-align: middle; line-height: 1.5; }
.credits-table td.credits-col { text-align: right; padding-right: 24px; }
.service-icon { margin-right: 8px; font-size: 1rem; }
.credits-table td:nth-child(2) { color: var(--text-secondary); font-size: .83rem; }

/* Credit badges */
.credit-badge {
  display: inline-block;
  background: rgba(255,204,0,.12); border: 1px solid rgba(255,204,0,.28);
  color: var(--brand); font-size: .78rem; font-weight: 700;
  padding: 5px 14px; border-radius: 50px; white-space: nowrap; letter-spacing: .03em;
}
.credit-badge-add { background: rgba(255,160,0,.1); border-color: rgba(255,160,0,.28); color: #ffaa33; }

/* ── MOBILE CARD LIST ─────────────────────────────── */
/*
  .credits-card-list sits OUTSIDE .credits-table-wrap in the HTML.
  Desktop (>640px): table-wrap visible, card-list hidden.
  Mobile (≤640px): table-wrap hidden, card-list visible.
*/
.credits-card-list { display: none; }

/* Hide table on mobile */
@media (max-width: 640px) {
  .credits-table-wrap { display: none; }

  .credits-card-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 720px;
    margin: 0 auto;
  }

  .credit-card-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: background var(--transition);
  }
  .credit-card-item:active { background: var(--bg-elevated); }
  .credit-card-item.is-addon {
    border-color: rgba(255,160,0,.25);
    background: rgba(255,140,0,.04);
  }

  /* Left: emoji */
  .cci-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    line-height: 1;
    width: 36px;
    text-align: center;
  }

  /* Middle: name + note */
  .cci-info {
    flex: 1;
    min-width: 0;
  }
  .cci-name {
    font-size: .92rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 3px;
  }
  .cci-note {
    font-size: .78rem;
    color: var(--text-secondary);
    line-height: 1.4;
  }

  /* Right: badge */
  .cci-badge {
    flex-shrink: 0;
  }
  .cci-badge .credit-badge {
    font-size: .82rem;
    padding: 6px 14px;
  }
}

/* RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
  .quote-trust-inner { grid-template-columns: repeat(2, 1fr); }
  .steps-row { grid-template-columns: 1fr; border-radius: 14px; max-width: 380px; }
  .step-card { border-right: none; border-bottom: 1px solid var(--border); }
  .step-card:last-child { border-bottom: none; }
  .step-card::after { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .faq-grid { grid-template-columns: 1fr; }
  .credits-explainer { grid-template-columns: 1fr; border-radius: 14px; max-width: 420px; }
  .credits-explainer-item { border-right: none; border-bottom: 1px solid var(--border); }
  .credits-explainer-item:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .page-hero { padding: 56px 0 48px; }
  .quote-trust-inner { grid-template-columns: 1fr; border-left: none; }
  .quote-trust-item { border-right: none; }
  .savings-callout { flex-direction: column; gap: 8px; text-align: center; }
  .credits-explainer { max-width: 100%; }
}
