/* Section base */
.section--financing{ background:#ffffff; padding:48px 0 58px; }

/* Head */
.fin-head{ text-align:center; margin-bottom:14px; }
.fin-title{
  margin:0 0 6px; color:var(--green-700);
  font-weight:900; font-size:clamp(26px, 2.2vw + 16px, 40px);
}
.fin-sub{
  margin:0 auto; max-width:880px; color:#64748b;
  font-size:clamp(14px, .5vw + 12px, 18px);
}

/* Ribbons */
.fin-top{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin:12px 0 16px; }
.ribbon{
  position:relative; overflow:hidden;
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 16px; border-radius:14px;
  background:#15803d; color:#eafff0; font-weight:800;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 10px 24px rgba(21,128,61,.22), inset 0 -2px 0 rgba(0,0,0,.08);
  transition:transform .18s ease, box-shadow .18s ease;
}
.ribbon strong{ color:#fff; font-weight:900; }
.ribbon--gold{
  background:#fde68a; color:#6b4d00; border-color:#fcd34d;
  box-shadow:0 10px 24px rgba(250,204,21,.25), inset 0 -2px 0 rgba(0,0,0,.05);
}

/* Subtle hover lift + sweep on ribbons */
.ribbon::before{
  content:""; position:absolute; inset:-2px; pointer-events:none;
  transform:translateX(-120%);
  background:linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 70%);
  mix-blend-mode:screen; opacity:.35;
}
.ribbon:hover{ transform:translateY(-1px); }
.ribbon:hover::before{ animation: fin-sweep 1.8s ease; }

/* Stat cards */
.fin-stats{
  display:grid; gap:16px; margin:4px auto 18px;
  grid-template-columns: repeat(12, 1fr);
}
.s{
  grid-column: span 3;
  background:#fff; border:1px solid var(--border); border-radius:12px;
  box-shadow:0 8px 24px rgba(0,0,0,.04); padding:16px; text-align:center;

  position:relative; overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}
@media (max-width: 900px){  .s{ grid-column: span 6; } }
@media (max-width: 640px){  .s{ grid-column: span 12; } }
.s-num{ font-size:32px; font-weight:900; color:#0f172a; line-height:1; }
.s-title{ margin-top:6px; font-weight:900; color:#0f172a; }
.s-sub{ color:#64748b; font-size:13px; }

/* Main grid: left Why + right panel */
.fin-grid{
  display:grid; gap:18px; margin-top:6px;
  grid-template-columns: repeat(12, 1fr);
}
.fin-why{ grid-column: span 7; }
.fin-panel{ grid-column: span 5; }
@media (max-width: 1024px){
  .fin-why{ grid-column: span 12; }
  .fin-panel{ grid-column: span 12; }
}

/* Why list */
.why-title{ margin:0 0 10px; color:#0f172a; font-weight:900; font-size:18px; }
.why-list{ list-style:none; padding:0; margin:0; display:grid; gap:14px; }
.why-list li{ display:grid; grid-template-columns: 28px 1fr; gap:10px; align-items:flex-start; }
.why-list .ico svg{ width:18px; height:18px; color:var(--green); }
.why-list b{ font-weight:900; color:#0f172a; }
.why-list u{ text-underline-offset:2px; }
.why-list div{ color:#475569; }

/* Wisetack dark panel (card polish + shine) */
.fin-panel{
  background:#0c2f1b; color:#e7f5ee; border-radius:12px; border:1px solid rgba(255,255,255,.08);
  box-shadow:0 16px 32px rgba(0,0,0,.18); padding:18px;

  position:relative; overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease;
}
.fin-panel:hover{
  transform:translateY(-2px) scale(1.01);
  box-shadow:0 24px 48px rgba(0,0,0,.22);
}
.fin-panel::before{
  content:""; position:absolute; inset:-2px; pointer-events:none;
  transform:translateX(-120%);
  background:linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.38) 50%, rgba(255,255,255,0) 70%);
  mix-blend-mode:screen; opacity:.28;
}
.fin-panel:hover::before{ animation: fin-sweep 1.7s ease; }

.wis-badge{
  display:inline-block; background:#e6fff3; color:#065f46; font-weight:900;
  padding:6px 10px; border-radius:999px; border:1px solid #a7f3d0; margin-bottom:6px;
}
.panel-title{ margin:6px 0 10px; font-weight:900; color:#fff; font-size:18px; }
.panel-list{ list-style:none; margin:0 0 12px; padding:0; display:grid; gap:8px; color:#d2efe3; }
.panel-list .check{
  display:inline-grid; place-items:center; width:18px; height:18px; border-radius:999px;
  background:#22c55e; color:#062e12; font-weight:900; margin-right:8px;
}
.panel-btn{
  width:100%; display:inline-flex; align-items:center; justify-content:center; gap:10px;
  border-radius:10px; padding:12px 16px; font-weight:800;
}
.panel-btn svg{ width:18px; height:18px; }

/* HOW IT WORKS */
.fin-how{ margin-top:22px; text-align:center; }
.how-title{ margin:0 0 12px; color:#0f172a; font-weight:900; font-size:18px; }
.how-grid{
  display:grid; gap:14px; margin:0 auto; max-width:1000px;
  grid-template-columns: repeat(12, 1fr);
}
.hstep{
  grid-column: span 3; background:#fff; border:1px solid var(--border);
  border-radius:12px; padding:14px; box-shadow:0 8px 24px rgba(0,0,0,.04);

  position:relative; overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}
@media (max-width: 900px){ .hstep{ grid-column: span 6; } }
@media (max-width: 640px){ .hstep{ grid-column: span 12; } }
.hstep:hover{
  transform:translateY(-2px) scale(1.01);
  box-shadow:0 18px 42px rgba(15,23,42,.10), 0 4px 12px rgba(15,23,42,.07);
  background:#f7fbf8; border-color:#e2efe8;
}
.hstep::before{
  content:""; position:absolute; inset:-2px; pointer-events:none;
  transform:translateX(-120%);
  background:linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 70%);
  mix-blend-mode:screen; opacity:.32;
}
.hstep:hover::before{ animation: fin-sweep 1.6s ease; }

.hnum{
  width:36px; height:36px; border-radius:999px; display:inline-grid; place-items:center;
  background:#0b3d1b; color:#fff; font-weight:900; margin-bottom:8px;
}
.hstep h4{ margin:0 0 4px; color:#0f172a; font-weight:900; }
.hstep p{ margin:0; color:#64748b; font-size:13px; }

/* EXAMPLE MONTHLY PAYMENTS */
.fin-payments{ margin-top:16px; }
.pay-wrap{
  background:#f3f7f4; border:1px solid var(--border); border-radius:12px;
  box-shadow:0 12px 28px rgba(0,0,0,.05) inset; padding:16px;

  position:relative; overflow:hidden;
}
.pay-title{ text-align:center; margin:0 0 12px; color:#0f172a; font-weight:900; font-size:18px; }

.pay-grid{ display:grid; gap:14px; grid-template-columns: repeat(12, 1fr); }
.p{
  grid-column: span 4; background:#fff; border:1px solid #e6ebe8;
  border-radius:12px; box-shadow:0 8px 24px rgba(0,0,0,.04); overflow:hidden;
  display:flex; flex-direction:column;

  position:relative;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}
@media (max-width: 900px){ .p{ grid-column: span 6; } }
@media (max-width: 640px){ .p{ grid-column: span 12; } }

.p:hover{
  transform:translateY(-2px) scale(1.01);
  box-shadow:0 18px 42px rgba(15,23,42,.10), 0 4px 12px rgba(15,23,42,.07);
  border-color:#e0ece6; background:#fbfdfc;
}
.p::before{
  content:""; position:absolute; inset:-2px; pointer-events:none;
  transform:translateX(-120%);
  background:linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 70%);
  mix-blend-mode:screen; opacity:.30;
}
.p:hover::before{ animation: fin-sweep 1.65s ease; }

.p-top{ padding:14px; border-bottom:1px solid #eef2ef; text-align:center; }
.p-top b{ color:#0f172a; }
.p-top span{ display:block; color:#64748b; font-size:12px; }

.p-mid{ padding:16px 14px 8px; text-align:center; }
.p-amt{ font-size:34px; font-weight:900; color:#0b3d1b; line-height:1; }
.p-term{ color:#64748b; font-size:13px; margin-top:6px; }

.p-btm{
  text-align:center; padding:10px 12px; font-weight:800; border-top:1px solid #eef2ef;
  color:#0f3d20; background:#eef3ef;
}
.p-btm.is-green{ color:#065f46; background:#e9f9f0; }
.p-btm.is-link{ color:#0b3d1b; background:#edf5ff; }
.p-btm.is-flex{ color:#0b3d1b; background:#fff7ed; }

.pay-note{ display:block; text-align:center; color:#64748b; margin-top:10px; font-size:12px; }

/* Final CTA */
.fin-cta{ text-align:center; margin-top:18px; }
.cta-title{ margin:0 0 6px; color:#0f172a; font-weight:900; font-size:18px; }
.cta-sub{ margin:0 auto 12px; max-width:820px; color:#64748b; }

.cta-actions{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }
.cta-btn{ display:inline-flex; align-items:center; gap:10px; padding:12px 16px; border-radius:10px; font-weight:800; }
.cta-btn svg{ width:18px; height:18px; }

/* Local button shine (primary + outline) */
.section--financing .btn{
  position:relative; overflow:hidden; text-decoration:none !important;
  transition: transform .08s ease, box-shadow .18s ease, filter .15s ease;
}
.section--financing .btn::before{
  content:""; position:absolute; inset:-2px; pointer-events:none;
  transform:translateX(-120%);
  background:linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.50) 50%, rgba(255,255,255,0) 70%);
  mix-blend-mode:screen; opacity:.55;
}
.section--financing .btn:hover::before{ animation: fin-sweep 1.5s ease; }

/* outline style (local to financing) */
.btn--outline{ background:#fff; color:#0b3d1b; border:1px solid #e5e7eb; }
.btn--outline:hover{ background:#f8fafc; }

/* Shared keyframes for all sweeps in this section */
@keyframes fin-sweep{ to{ transform:translateX(120%);} }
