/* =============================================================================
   sections.css — hero, services, social proof, pricing, FAQ, CTA banner
   ============================================================================= */

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: min(100svh, 920px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + var(--s-7)) 0 var(--s-9);
  overflow: hidden;
  background: var(--bg-deep);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201, 167, 84, 0.08), transparent 70%),
    radial-gradient(ellipse 60% 80% at 90% 100%, rgba(58, 175, 169, 0.05), transparent 70%),
    linear-gradient(180deg, transparent 0%, var(--bg-deep) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(201, 167, 84, 0.06);
  border: 1px solid var(--line-gold);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-5);
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulse 1.8s var(--ease-in-out-circ) infinite;
  box-shadow: 0 0 8px var(--emerald);
}
.hero h1 { margin-bottom: var(--s-5); max-width: 920px; }
.hero-lede { margin-bottom: var(--s-6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-7); }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--s-5);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
  max-width: 880px;
}
.meta-tick { display: flex; flex-direction: column; gap: var(--s-1); }
.meta-num {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.meta-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ----- Section base ----- */
section.sx {
  padding: var(--s-9) 0;
  position: relative;
}
section.sx.tight { padding: var(--s-8) 0; }
section.sx.alt { background: var(--bg-soft); }
section.sx.lift { background: var(--bg); }

.sx-head { margin-bottom: var(--s-7); max-width: 880px; }
.sx-head h2 { margin: var(--s-3) 0 var(--s-4); }
.sx-head .t-lede { margin: 0; }

/* ----- Services / Capabilities grid ----- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-5);
}
@media (min-width: 1000px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ----- Social proof ----- */
.proof-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--s-5);
  padding: var(--s-6) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: var(--s-7);
}
.proof-tick {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}
.proof-num {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.proof-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ----- Process timeline ----- */
.process {
  position: relative;
  padding-left: var(--s-7);
}
.process::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 12px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), var(--line));
}
.process-step {
  position: relative;
  padding: 0 0 var(--s-7);
}
.process-step:last-child { padding-bottom: 0; }
.process-step::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: -38px;
  top: -2px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}
.process { counter-reset: step; }
.process-head {
  font-family: var(--serif);
  font-size: var(--t-xl);
  font-weight: 400;
  margin-bottom: var(--s-2);
  color: var(--ink);
}
.process-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-3);
}
.process-text {
  font-size: var(--t-sm);
  line-height: 1.75;
  color: var(--ink-warm);
}

/* ----- Reviews / testimonials ----- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-5);
}
.review-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--s-6) var(--s-5);
  position: relative;
}
.review-card::before {
  content: '"';
  position: absolute;
  top: -16px;
  left: 20px;
  font-family: var(--serif);
  font-size: 72px;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
}
.review-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: var(--s-3);
}
.review-body {
  font-size: var(--t-md);
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: var(--s-4);
  font-style: italic;
}
.review-author {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 1px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
}
.review-author .badge {
  color: var(--gold);
  font-weight: 600;
}

/* ----- Pricing ----- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-5);
  align-items: stretch;
}
@media (min-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
.pricing-card {
  background: var(--bg-lift);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--s-7) var(--s-5);
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-name {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-3);
}
.pricing-headline {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: var(--s-2);
  color: var(--ink);
}
.pricing-features {
  list-style: none;
  margin: var(--s-4) 0;
  padding: 0;
  flex: 1;
}
.pricing-features li {
  padding: var(--s-2) 0;
  font-size: var(--t-sm);
  color: var(--ink-warm);
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  border-bottom: 1px dotted var(--line);
}
.pricing-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.pricing-cta { margin-top: var(--s-5); }

/* ----- FAQ accordion ----- */
.faq {
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: var(--s-5) 0;
  font-family: var(--serif);
  font-size: var(--t-lg);
  font-weight: 400;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  transition: color var(--d-base) var(--ease-out-quart);
}
.faq-q:hover { color: var(--gold); }
.faq-q .faq-mark {
  width: 28px; height: 28px;
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--d-base) var(--ease-out-quart),
              border-color var(--d-base) var(--ease-out-quart);
  font-size: 18px;
  line-height: 1;
}
.faq-item.open .faq-mark { transform: rotate(45deg); border-color: var(--gold); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--d-slow) var(--ease-out-expo);
}
.faq-item.open .faq-a { max-height: 800px; }
.faq-a-inner {
  padding: 0 0 var(--s-5);
  font-size: var(--t-md);
  line-height: 1.75;
  color: var(--ink-warm);
  max-width: 740px;
}

/* ----- CTA banner ----- */
.cta-banner {
  padding: var(--s-10) 0;
  background:
    radial-gradient(ellipse at top, var(--bg-glow), transparent 60%),
    linear-gradient(165deg, var(--bg-lift), var(--bg-soft));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(201,167,84,0.04) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 6s linear infinite;
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner .t-eyebrow { justify-content: center; }
.cta-banner h2 { margin: var(--s-3) auto var(--s-4); max-width: 760px; text-align: center; }
.cta-banner .t-lede { margin: 0 auto var(--s-6); text-align: center; max-width: 600px; }
.cta-phone {
  display: inline-block;
  font-family: var(--mono);
  font-size: clamp(28px, 4vw, 40px);
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
  margin: var(--s-4) 0 var(--s-5);
  text-decoration: none;
}
.cta-phone:hover { color: var(--gold-bright); }
.cta-actions { display: flex; justify-content: center; gap: var(--s-3); flex-wrap: wrap; }

/* ----- Floating social proof popup ----- */
.live-proof {
  position: fixed;
  bottom: var(--s-5);
  left: var(--s-5);
  background: var(--bg-lift);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-md);
  padding: var(--s-3) var(--s-4);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  z-index: 50;
  box-shadow: var(--shadow-md);
  transform: translateY(120%);
  transition: transform var(--d-slow) var(--ease-spring);
  max-width: 320px;
}
.live-proof.show { transform: translateY(0); }
.live-proof-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
  color: var(--bg);
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 18px;
}
.live-proof-body { font-size: 12px; color: var(--ink-warm); line-height: 1.4; }
.live-proof-body strong { color: var(--ink); display: block; font-weight: 600; font-size: 13px; margin-bottom: 2px; }
.live-proof-body small { display: block; color: var(--ink-muted); font-family: var(--mono); font-size: 9px; letter-spacing: 0.5px; margin-top: 2px; }
.live-proof-close {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px; height: 20px;
  background: none;
  border: none;
  color: var(--ink-muted);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  opacity: 0.6;
}
.live-proof-close:hover { opacity: 1; color: var(--gold); }
@media (max-width: 600px) {
  .live-proof { bottom: 12px; left: 12px; right: 12px; max-width: none; }
}

/* ----- Sticky CTA (mobile bottom bar) ----- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--line-gold);
  padding: var(--s-3) var(--s-4);
  display: none;
  justify-content: space-between;
  gap: var(--s-3);
  z-index: 90;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 70px; }
}
.sticky-cta .btn { flex: 1; padding: 12px; font-size: 11px; }
