/* ============================================================
   GO2 Plumbing and Heating Ltd — finance.css
   ============================================================ */

/* ─── HERO ─────────────────────────────────────────────── */
.finance-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2c3e4f 55%, var(--blue) 100%);
  padding: 5rem 2rem 4.5rem;
  position: relative;
  overflow: hidden;
  text-align: left;
}
.finance-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 50%, rgba(82,142,176,0.22) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.finance-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}
@media (max-width: 760px) {
  .finance-hero-inner { grid-template-columns: 1fr; }
  .finance-hero-badge-col { display: none; }
}
.finance-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 0.75rem;
}
.finance-hero h1 em { font-style: normal; color: var(--amber); }
.finance-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  max-width: 500px;
  line-height: 1.7;
}
.finance-hero-pill-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.hero-stat-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  text-align: center;
  white-space: nowrap;
}
.hero-stat-pill .rate {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}
.hero-stat-pill .rate-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-top: 3px;
}

/* ─── SHARED DIVIDER ───────────────────────────────────── */
hr.fin-divider { border: none; border-top: 1px solid var(--light); margin: 0; }

/* ─── PLANS ────────────────────────────────────────────── */
.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.1rem;
}
@media (max-width: 560px) { .plans-grid { grid-template-columns: 1fr; } }

.plan-card {
  background: #fff;
  border: 1.5px solid var(--light);
  border-radius: 12px;
  padding: 1.5rem 1.4rem;
  position: relative;
  transition: box-shadow 0.2s;
}
.plan-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.09); }
.plan-card.featured { border-color: var(--amber); }

.feat-tag {
  position: absolute;
  top: -1px; right: 18px;
  background: var(--amber);
  color: #fff;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 3px 11px;
  border-radius: 0 0 8px 8px;
}
.plan-rate {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 2px;
}
.plan-rate sup { font-size: 1rem; vertical-align: super; }
.plan-rate-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 0.9rem;
}
.plan-terms { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 0.75rem; }
.term-pill {
  background: var(--bg2);
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: 20px;
  padding: 3px 11px;
  border: 1px solid var(--light);
}
.plan-card.featured .term-pill { background: #fef7e8; color: #7a4a00; border-color: #f5d89a; }
.plan-desc { font-size: 0.83rem; color: #777; line-height: 1.55; }

/* ─── INFO BAR ─────────────────────────────────────────── */
.fin-info-bar {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #edf5fb;
  border: 1px solid #c5dcea;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  font-size: 0.85rem;
  color: #3a5a6e;
}
.fin-info-bar strong { color: var(--blue-dark); }

/* ─── PARTNER STRIP ────────────────────────────────────── */
.partner-strip {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--light);
  border-radius: 12px;
  padding: 1.4rem;
}
.partner-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.partner-logo img {
  height: 44px;
  width: auto;
  display: block;
}
.partner-strip h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; color: var(--dark); }
.partner-strip p  { font-size: 0.84rem; color: #666; line-height: 1.6; }
.tp-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: #00b67a; color: #fff;
  font-size: 0.69rem; font-weight: 700;
  border-radius: 4px; padding: 2px 8px; margin-top: 6px;
  letter-spacing: 0.05em; text-transform: uppercase;
}

/* ─── REP EXAMPLE ──────────────────────────────────────── */
.rep-box {
  background: #fff;
  border: 1px solid var(--light);
  border-radius: 12px;
  overflow: hidden;
}
.rep-header {
  background: var(--dark);
  color: rgba(255,255,255,0.82);
  padding: 0.8rem 1.25rem;
  font-size: 0.81rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.rep-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 560px) { .rep-grid { grid-template-columns: repeat(2, 1fr); } }

.rep-cell {
  padding: 0.9rem 1.1rem;
  border-right: 1px solid var(--light);
  border-bottom: 1px solid var(--light);
}
.rep-cell:nth-child(4n) { border-right: none; }
@media (max-width: 560px) {
  .rep-cell:nth-child(odd)  { border-right: 1px solid var(--light); }
  .rep-cell:nth-child(even) { border-right: none; }
}
.rep-cell-label { font-size: 0.67rem; color: #aaa; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 3px; }
.rep-cell-val   { font-size: 0.97rem; font-weight: 700; color: var(--dark); }
.rep-cell.hl    { background: #fef7e8; }
.rep-cell.hl .rep-cell-val { color: var(--amber-dark); }
.rep-footer {
  padding: 0.6rem 1.1rem;
  font-size: 0.71rem;
  color: #aaa;
  border-top: 1px solid var(--light);
  line-height: 1.55;
}

/* ─── RISK NOTE ────────────────────────────────────────── */
.risk-note {
  display: flex; gap: 10px; align-items: flex-start;
  background: #fffbf0;
  border: 1px solid #f5d89a;
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  font-size: 0.83rem;
  color: #6b4a0a;
  line-height: 1.6;
  margin-top: 1rem;
}

/* ─── CTA BLOCK ────────────────────────────────────────── */
.fin-cta-block {
  background: var(--blue);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  text-align: center;
  color: #fff;
}
.fin-cta-block h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.fin-cta-block p { font-size: 0.9rem; color: rgba(255,255,255,0.68); margin-bottom: 1.5rem; }
.fin-cta-phone {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.fin-cta-phone a { color: rgba(255,255,255,0.82); text-decoration: none; font-weight: 700; }
.fin-cta-phone a:hover { color: #fff; }

/* ─── HOW IT WORKS ─────────────────────────────────────── */
.fin-how-wrap {
  background: var(--bg2);
  border-radius: 14px;
  padding: 2.25rem 2rem;
}
.fin-how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
  position: relative;
}
.fin-how-steps::before {
  content: '';
  position: absolute;
  top: 17px;
  left: calc(16.6% + 1rem);
  right: calc(16.6% + 1rem);
  height: 2px;
  background: var(--light);
  z-index: 0;
}
@media (max-width: 600px) {
  .fin-how-steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .fin-how-steps::before { display: none; }
}
.fin-step { display: flex; flex-direction: column; gap: 0.6rem; }
.fin-step-num {
  width: 34px; height: 34px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
  position: relative; z-index: 1;
  flex-shrink: 0;
}
.fin-step h4 { font-size: 0.9rem; font-weight: 700; color: var(--dark); }
.fin-step p  { font-size: 0.83rem; color: #666; line-height: 1.6; }

/* ─── RESPONSIVE TWEAKS ────────────────────────────────── */
@media (max-width: 960px) {
  .finance-hero { padding: 4rem 2rem 3.5rem; }
}

@media (max-width: 768px) {
  .fin-how-steps { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .fin-how-steps::before { display: none; }
  .rep-grid { grid-template-columns: repeat(2, 1fr); }
  .rep-cell:nth-child(4n) { border-right: 1px solid var(--light); }
  .rep-cell:nth-child(2n) { border-right: none; }
}