/* ==========================================================
   Financiación – Clínica Dental Fleitas
   Se apoya en ../style.css (tokens, navbar, botones, footer,
   FAQ, CTA y cursor) y añade solo lo propio de esta página.
   ========================================================== */

.fin-page { --fin-ok: #10b981; }

/* ---------- Utilidades ---------- */
.fin-center { text-align: center; }
.fin-muted { color: var(--text-secondary); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--transition-slow), transform .8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

/* ---------- HERO ---------- */
.fin-hero { padding: 170px 0 60px; position: relative; overflow: hidden; }
.fin-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.fin-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.06; margin: 22px 0 22px; }
.fin-hero .lead { font-size: 1.2rem; color: var(--text-secondary); line-height: 1.6; max-width: 34em; margin-bottom: 34px; }
.fin-hero .lead strong { color: var(--text-primary); }

.fin-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.fin-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.fin-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 500; color: var(--text-secondary); }
.fin-trust i, .fin-trust svg { width: 18px; height: 18px; color: var(--primary-cyan); }

/* Escenario del móvil */
.fin-stage { position: relative; height: 600px; display: flex; align-items: center; justify-content: center; }

.fin-orbit {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  border: 1px dashed rgba(6, 182, 212, .28);
  animation: finSpin 60s linear infinite;
}
.fin-orbit::before, .fin-orbit::after {
  content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: var(--primary-cyan); box-shadow: 0 0 16px rgba(6, 182, 212, .7);
  top: -6px; left: calc(50% - 6px);
}
.fin-orbit::after { background: var(--primary-indigo); box-shadow: 0 0 16px rgba(99, 102, 241, .7); top: auto; bottom: -6px; }
.fin-orbit-2 { width: 400px; height: 400px; border-style: solid; border-color: rgba(99, 102, 241, .12); animation-duration: 40s; animation-direction: reverse; }
.fin-orbit-2::before, .fin-orbit-2::after { display: none; }
.fin-halo {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, .22) 0%, rgba(99, 102, 241, .12) 45%, transparent 70%);
  filter: blur(30px);
}
@keyframes finSpin { to { transform: rotate(360deg); } }

.fin-phone {
  position: relative; z-index: 3;
  width: 290px; height: 590px;
  background: #fff;
  border: 10px solid #0b1220;
  border-radius: 48px;
  box-shadow: 0 50px 90px -30px rgba(9, 9, 11, .45), 0 0 0 1px rgba(255,255,255,.4) inset;
  overflow: hidden;
  transform: rotate(-3deg);
  animation: finPhone 7s ease-in-out infinite;
}
@keyframes finPhone { 0%,100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-12px); } }
.fin-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 104px; height: 24px; background: #0b1220; border-radius: 0 0 16px 16px; z-index: 2; }
.fin-ph { padding: 42px 16px 16px; }
.fin-ph-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.fin-ph-avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--primary-cyan), var(--primary-indigo)); }
.fin-ph-avatar svg { width: 20px; height: 20px; }
.fin-ph-top small { display: block; font-size: .7rem; color: var(--text-muted); line-height: 1.2; }
.fin-ph-top b { font-family: var(--font-display); font-size: .98rem; }

.fin-ph-amount {
  padding: 16px; margin-bottom: 14px; border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-indigo) 100%);
  box-shadow: 0 14px 30px -14px rgba(99, 102, 241, .7);
  position: relative; overflow: hidden;
}
.fin-ph-amount::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,.14); }
.fin-ph-amount small { display: block; font-size: .72rem; opacity: .9; }
.fin-ph-amount strong { display: block; font: 700 1.75rem/1.1 var(--font-display); margin: 2px 0 10px; }
.fin-ph-bar { height: 7px; background: rgba(255,255,255,.3); border-radius: 99px; overflow: hidden; margin-bottom: 8px; }
.fin-ph-bar i { display: block; height: 100%; width: 0; background: #fff; border-radius: 99px; transition: width .7s ease; }

.fin-ph-sub { font-size: .78rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.fin-ph-list { display: grid; gap: 8px; }
.fin-ph-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 14px;
  border: 1.5px solid var(--border-color); background: #fff;
  font-weight: 600; font-size: .88rem; opacity: .5;
  transition: opacity .4s, border-color .4s, background .4s, transform .4s;
}
.fin-ph-ic { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; color: var(--primary-cyan); background: rgba(6, 182, 212, .1); }
.fin-ph-ic svg { width: 16px; height: 16px; }
.fin-ph-t { flex: 1; }
.fin-ph-ok { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid var(--border-color-hover); background: #fff center / 70% no-repeat; transition: all .3s; }
.fin-ph-list li.is-on { opacity: 1; border-color: rgba(6, 182, 212, .35); background: rgba(6, 182, 212, .05); transform: translateX(2px); }
.fin-ph-list li.is-on .fin-ph-ok {
  border-color: var(--fin-ok); background-color: var(--fin-ok); transform: scale(1.08);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.fin-ph-done {
  margin-top: 12px; padding: 12px; text-align: center; border-radius: 14px;
  font: 700 .92rem var(--font-display); color: #fff; background: #0b1220;
  opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s;
}
.fin-ph-done.is-on { opacity: 1; transform: none; }

/* Tarjetas flotantes */
.fin-float {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  box-shadow: 0 20px 40px -16px rgba(9, 9, 11, .22);
  animation: float 5s ease-in-out infinite;
}
.fin-float small { display: block; font-size: .75rem; color: var(--text-muted); font-weight: 500; }
.fin-float strong { display: block; font: 700 1.35rem/1.15 var(--font-display); }
.fin-float-ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--primary-cyan), var(--primary-indigo)); }
.fin-float-ic svg { width: 20px; height: 20px; }
.fin-float-ic.ok { background: var(--fin-ok); }
.ff-1 { top: 40px; left: -30px; }
.ff-2 { top: 230px; right: -10px; animation-delay: -1.7s; }
.ff-3 { bottom: 70px; left: 20px; animation-delay: -3.4s; }

/* ---------- STATS ---------- */
.fin-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px -30px rgba(9, 9, 11, .25);
}
.fin-stat { padding: 30px 24px; text-align: center; position: relative; }
.fin-stat + .fin-stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--border-color); }
.fin-stat strong { display: block; font: 800 2.4rem/1 var(--font-display); margin-bottom: 8px; }
.fin-stat span { font-size: .92rem; color: var(--text-secondary); font-weight: 500; }

/* ---------- REQUISITOS ---------- */
.fin-needs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fin-need { padding: 30px 26px; }
.fin-need-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 26px; }
.fin-need-ic {
  width: 60px; height: 60px; display: grid; place-items: center; border-radius: 18px;
  color: #fff; background: linear-gradient(135deg, var(--primary-cyan), var(--primary-indigo));
  box-shadow: 0 12px 26px -12px rgba(99, 102, 241, .7);
  transition: transform var(--transition-normal);
}
.fin-need-ic svg { width: 28px; height: 28px; }
.fin-need:hover .fin-need-ic { transform: rotate(-6deg) scale(1.08); }
.fin-need-n { font: 800 2.2rem/1 var(--font-display); color: rgba(9, 9, 11, .06); }
.fin-need h3 { font-size: 1.2rem; margin-bottom: 8px; }
.fin-need p { color: var(--text-secondary); line-height: 1.55; }

.fin-note {
  display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%;
  margin: 40px auto 0; padding: 14px 24px;
  background: rgba(6, 182, 212, .06); border: 1px solid rgba(6, 182, 212, .22);
  border-radius: var(--radius-pill); font-weight: 500;
}
.fin-note svg { width: 20px; height: 20px; color: var(--primary-cyan); flex: none; }
.fin-note strong { color: #0891b2; }

/* ---------- SIMULADOR ---------- */
.fin-calc {
  display: grid; grid-template-columns: 1fr 1fr;
  background: #fff; border: 1px solid var(--border-color); border-radius: 28px;
  box-shadow: 0 40px 80px -40px rgba(9, 9, 11, .3);
  overflow: hidden;
}
.fin-calc-controls { padding: 40px; display: flex; flex-direction: column; }
.fin-help {
  margin-top: auto; padding: 18px 20px; display: flex; align-items: center; gap: 14px;
  border-radius: var(--radius-md); background: var(--bg-secondary); border: 1px solid var(--border-color);
}
.fin-help-ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; color: var(--primary-cyan); background: rgba(6, 182, 212, .1); }
.fin-help-ic svg { width: 22px; height: 22px; }
.fin-help b { display: block; font-family: var(--font-display); font-size: 1rem; }
.fin-help span { font-size: .9rem; color: var(--text-secondary); }
.fin-help a { color: #0891b2; font-weight: 600; }
.fin-ticks { margin-bottom: 32px; }
.fin-calc-results {
  padding: 40px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(150deg, #0b1220 0%, #111a33 60%, #1a1f4d 100%);
}
.fin-calc-results::before {
  content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, .35), transparent 65%);
}
.fin-calc-results > * { position: relative; }

.fin-calc h3 { font-size: 1.4rem; margin-bottom: 6px; }
.fin-calc-controls > p { color: var(--text-secondary); margin-bottom: 32px; }

.fin-field { margin-bottom: 32px; }
.fin-field-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.fin-field-head label { font-weight: 600; }
.fin-field-head output { font: 700 1.6rem var(--font-display); font-variant-numeric: tabular-nums; }
.fin-scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: .82rem; color: var(--text-muted); }

.fin-page input[type="range"] {
  --p: 50%;
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 10px; border-radius: 99px; cursor: pointer;
  background: linear-gradient(to right, var(--primary-cyan) 0%, var(--primary-indigo) var(--p), var(--bg-tertiary) var(--p));
}
.fin-page input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 5px solid var(--primary-indigo);
  box-shadow: 0 4px 14px rgba(99, 102, 241, .45);
  transition: transform .15s;
}
.fin-page input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
.fin-page input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 5px solid var(--primary-indigo); box-shadow: 0 4px 14px rgba(99, 102, 241, .45); }
.fin-page input[type="range"]::-moz-range-track { height: 10px; border-radius: 99px; background: transparent; }
.fin-page input[type="range"]:focus-visible { outline: 3px solid rgba(6, 182, 212, .5); outline-offset: 6px; }

.fin-chips { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 16px; }
.fin-chips button {
  padding: 10px 0; border-radius: 12px; cursor: pointer;
  font-weight: 600; font-size: .92rem; color: var(--text-secondary);
  background: var(--bg-secondary); border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}
.fin-chips button:hover { border-color: rgba(6, 182, 212, .5); color: var(--text-primary); }
.fin-chips button.is-on { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--primary-cyan), var(--primary-indigo)); box-shadow: 0 6px 16px -6px rgba(99, 102, 241, .6); }

.fin-ticks { display: grid; gap: 10px; margin-top: 8px; }
.fin-ticks li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--text-secondary); }
.fin-ticks svg { width: 20px; height: 20px; color: var(--fin-ok); flex: none; }

/* Resultado */
.fin-res-label { font-size: .9rem; color: rgba(255,255,255,.65); font-weight: 500; }
.fin-res-value { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 4px; }
.fin-res-value strong { font: 800 4rem/1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.fin-res-value span { font-weight: 600; color: #67e8f9; font-size: 1.1rem; }

.fin-res-split { display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: center; margin: 28px 0; }
.fin-donut { width: 140px; height: 140px; position: relative; }
.fin-donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.fin-donut circle { fill: none; stroke-width: 16; }
.fin-donut .d-bg { stroke: rgba(255,255,255,.08); }
.fin-donut .d-cap { stroke: url(#finGradCap); stroke-linecap: round; transition: stroke-dasharray .6s cubic-bezier(0.16, 1, 0.3, 1); }
.fin-donut .d-int { stroke: #a5b4fc; stroke-linecap: round; transition: stroke-dasharray .6s cubic-bezier(0.16, 1, 0.3, 1), stroke-dashoffset .6s cubic-bezier(0.16, 1, 0.3, 1); }
.fin-donut-c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.fin-donut-c small { font-size: .68rem; color: rgba(255,255,255,.6); }
.fin-donut-c b { font: 700 1.05rem var(--font-display); font-variant-numeric: tabular-nums; }

.fin-legend { display: grid; gap: 14px; }
.fin-legend li { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: center; font-size: .92rem; color: rgba(255,255,255,.75); }
.fin-legend li b { color: #fff; font-variant-numeric: tabular-nums; }
.fin-legend i { width: 12px; height: 12px; border-radius: 4px; }
.lg-cap { background: linear-gradient(135deg, var(--primary-cyan), var(--primary-indigo)); }
.lg-int { background: #a5b4fc; }
.fin-legend .lg-total { padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); grid-template-columns: 1fr auto; color: #fff; font-weight: 600; }

/* Barras por plazo */
.fin-bars-title { font-size: .85rem; color: rgba(255,255,255,.65); font-weight: 500; margin-bottom: 12px; }
.fin-bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: end; height: 150px; }
.fin-bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; cursor: pointer; background: none; color: inherit; font: inherit; }
.fin-bar em { font-style: normal; font-size: .74rem; font-weight: 600; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; transition: color .3s; }
.fin-bar span { width: 100%; max-width: 46px; border-radius: 10px 10px 4px 4px; background: rgba(255,255,255,.12); transition: height .6s cubic-bezier(0.16, 1, 0.3, 1), background .3s; min-height: 6px; }
.fin-bar small { font-size: .74rem; color: rgba(255,255,255,.55); }
.fin-bar:hover span { background: rgba(255,255,255,.22); }
.fin-bar.is-on span { background: linear-gradient(180deg, #67e8f9, var(--primary-indigo)); box-shadow: 0 0 22px rgba(6, 182, 212, .45); }
.fin-bar.is-on em { color: #fff; }
.fin-bar.is-on small { color: #fff; font-weight: 600; }

.fin-sim-notice { margin-top: 26px; padding: 12px 14px; font-size: .88rem; line-height: 1.45; color: rgba(255,255,255,.85); background: rgba(255,255,255,.06); border-left: 3px solid #67e8f9; border-radius: 0 12px 12px 0; }
.fin-calc-cta { margin-top: 18px; }
.fin-calc-cta .btn { width: 100%; }
.fin-legal-mini { margin-top: 14px; font-size: .76rem; line-height: 1.5; color: rgba(255,255,255,.5); }

/* ---------- PASOS ---------- */
.fin-steps-wrap { position: relative; }
.fin-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.fin-steps-line { position: absolute; top: 31px; left: 12.5%; right: 12.5%; height: 3px; border-radius: 3px; background: var(--bg-tertiary); overflow: hidden; }
.fin-steps-line i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--primary-cyan), var(--primary-indigo)); transition: width 1.6s cubic-bezier(0.16, 1, 0.3, 1) .2s; }
.fin-steps-wrap.is-in .fin-steps-line i { width: 100%; }
.fin-step { text-align: center; position: relative; }
.fin-step-n {
  width: 64px; height: 64px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%;
  background: #fff; border: 1px solid var(--border-color); color: var(--primary-cyan);
  box-shadow: 0 10px 24px -12px rgba(9, 9, 11, .25);
  position: relative; z-index: 1;
  transition: background .5s, color .5s, transform .5s;
}
.fin-step-n svg { width: 26px; height: 26px; }
.fin-steps-wrap.is-in .fin-step-n { background: linear-gradient(135deg, var(--primary-cyan), var(--primary-indigo)); color: #fff; border-color: transparent; }
.fin-steps-wrap.is-in .fin-step:nth-child(2) .fin-step-n { transition-delay: .3s; }
.fin-steps-wrap.is-in .fin-step:nth-child(3) .fin-step-n { transition-delay: .7s; }
.fin-steps-wrap.is-in .fin-step:nth-child(4) .fin-step-n { transition-delay: 1.1s; }
.fin-steps-wrap.is-in .fin-step:nth-child(5) .fin-step-n { transition-delay: 1.5s; }
.fin-step-k { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-cyan); margin-bottom: 6px; }
.fin-step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.fin-step p { color: var(--text-secondary); line-height: 1.55; max-width: 240px; margin: 0 auto; }

/* ---------- TRATAMIENTOS ---------- */
.fin-treats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fin-treat { display: flex; flex-direction: column; padding: 28px; }
.fin-treat .card-icon-wrapper { margin-bottom: 20px; }
.fin-treat h3 { font-size: 1.15rem; margin-bottom: 10px; }
.fin-treat p { color: var(--text-secondary); line-height: 1.55; flex-grow: 1; margin-bottom: 20px; }
.fin-treat .card-footer-link svg { width: 16px; height: 16px; transition: transform var(--transition-fast); }
.fin-treat:hover .card-footer-link svg { transform: translateX(4px); }
.fin-treats-more { text-align: center; margin-top: 40px; }

/* ---------- CTA ---------- */
.fin-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; }
.fin-cta-inner .cta-text { margin-bottom: 0; }
.fin-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.fin-footer-note { font-size: .8rem; color: var(--text-muted); margin-top: 6px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .fin-needs, .fin-treats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .fin-help { margin-top: 0; }
  .fin-hero { padding-top: 140px; }
  .fin-hero-grid { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .fin-hero .lead { margin-left: auto; margin-right: auto; }
  .fin-hero-actions, .fin-trust { justify-content: center; }
  .fin-calc { grid-template-columns: 1fr; }
  .fin-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .fin-steps-line { display: none; }
  .fin-steps .fin-step-n { background: linear-gradient(135deg, var(--primary-cyan), var(--primary-indigo)); color: #fff; border-color: transparent; }
}

@media (max-width: 768px) {
  .fin-stats { grid-template-columns: repeat(2, 1fr); }
  .fin-stat:nth-child(3)::before { display: none; }
  .fin-stat:nth-child(n+3) { border-top: 1px solid var(--border-color); }
  .fin-stat strong { font-size: 2rem; }
  .fin-calc-controls, .fin-calc-results { padding: 28px 22px; }
  .fin-cta-inner { flex-direction: column; text-align: center; }
  .fin-cta-actions { justify-content: center; }
}

@media (max-width: 576px) {
  .fin-hero { padding-top: 120px; }
  .fin-stage { height: 540px; }
  .fin-orbit { width: 400px; height: 400px; }
  .fin-orbit-2 { width: 320px; height: 320px; }
  .fin-phone { width: 262px; height: 530px; }
  .fin-float { padding: 10px 12px; gap: 8px; }
  .fin-float strong { font-size: 1.05rem; }
  .fin-float-ic { width: 32px; height: 32px; }
  .ff-1 { display: none; }
  .fin-stat strong { font-size: 1.6rem; }
  .ff-2 { right: -6px; top: 200px; }
  .ff-3 { display: none; }
  .fin-hero-actions .btn { width: 100%; }
  .fin-needs, .fin-treats, .fin-steps { grid-template-columns: 1fr; }
  .fin-res-value strong { font-size: 3.2rem; }
  .fin-res-split { grid-template-columns: 1fr; justify-items: center; }
  .fin-legend { width: 100%; }
  .fin-chips { grid-template-columns: repeat(3, 1fr); }
  .fin-note { border-radius: var(--radius-md); text-align: left; }
  .fin-cta-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .fin-orbit, .fin-phone, .fin-float { animation: none; }
}

/* Evita scroll horizontal por los halos decorativos en móvil */
.fin-page main { overflow-x: clip; }

/* ==========================================================
   v1.1 – Secciones más llamativas (desde "Fácil y rápido")
   ========================================================== */

.fx-dots {
  position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.35) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.fx-pill-dark {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; margin-bottom: 16px; border-radius: var(--radius-pill);
  font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}
.fx-pill-dark svg { width: 16px; height: 16px; }

/* ---------- Banda "4 cosas" ---------- */
.fx-needs-band {
  position: relative; overflow: hidden; color: #fff;
  margin-top: 100px; padding: 110px 0 120px;
  background: linear-gradient(135deg, #0891b2 0%, #06b6d4 30%, #6366f1 75%, #7c3aed 100%);
}
.fx-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.fx-blob-a { width: 520px; height: 520px; left: -160px; top: -200px; background: #67e8f9; animation: fxDrift 14s ease-in-out infinite; }
.fx-blob-b { width: 600px; height: 600px; right: -220px; bottom: -280px; background: #a78bfa; animation: fxDrift 18s ease-in-out infinite reverse; }
@keyframes fxDrift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,40px) scale(1.12); } }
.fx-needs-band .container { position: relative; }

.fx-on-dark .section-title { color: #fff; }
.fx-on-dark .section-subtitle { color: rgba(255,255,255,.85); font-size: 1.1rem; }
.fx-big-4 {
  display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; margin: 0 .05em;
  border-radius: 22px; background: #fff; color: var(--primary-indigo);
  box-shadow: 0 14px 30px -10px rgba(9,9,11,.35); transform: rotate(-6deg);
}

.fx-needs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.fx-need {
  position: relative; padding: 30px 26px 34px; border-radius: 26px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -24px rgba(9,9,11,.45), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .45s cubic-bezier(0.16, 1, 0.3, 1), background .3s, box-shadow .3s;
}
.fx-need:hover { transform: translateY(-10px) rotate(-1deg); background: rgba(255,255,255,.2); box-shadow: 0 30px 60px -24px rgba(9,9,11,.5); }
.fx-need-n { position: absolute; right: 22px; top: 14px; font: 800 3.4rem/1 var(--font-display); color: rgba(255,255,255,.16); }
.fx-need-ic {
  width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 26px;
  border-radius: 20px; background: #fff; color: var(--primary-indigo);
  box-shadow: 0 14px 28px -12px rgba(9,9,11,.4);
  transition: transform .45s cubic-bezier(0.16, 1, 0.3, 1);
}
.fx-need-ic svg { width: 30px; height: 30px; }
.fx-need:hover .fx-need-ic { transform: scale(1.1) rotate(8deg); }
.fx-need h3 { font-size: 1.25rem; margin-bottom: 8px; }
.fx-need p { color: rgba(255,255,255,.85); line-height: 1.55; }
.fx-need-check {
  position: absolute; right: 22px; bottom: 22px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: #10b981; color: #fff;
  box-shadow: 0 0 0 5px rgba(16,185,129,.25);
  transform: scale(0); transition: transform .5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fx-need-check svg { width: 16px; height: 16px; }
.fx-need.is-in .fx-need-check { transform: scale(1); transition-delay: .6s; }
.fx-need.reveal-d2.is-in .fx-need-check { transition-delay: .85s; }
.fx-need.reveal-d3.is-in .fx-need-check { transition-delay: 1.1s; }
.fx-need.reveal-d4.is-in .fx-need-check { transition-delay: 1.35s; }

.fx-needs-note {
  display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%;
  margin: 44px auto 0; padding: 14px 26px; border-radius: var(--radius-pill);
  background: #fff; color: var(--text-primary); font-weight: 500;
  box-shadow: 0 18px 40px -18px rgba(9,9,11,.45);
}
.fx-needs-note svg { width: 20px; height: 20px; color: var(--primary-indigo); flex: none; }
.fx-needs-note strong { color: var(--primary-indigo); }

/* ---------- Cinta ---------- */
.fx-marquee {
  overflow: hidden; padding: 20px 0; background: #0b1220; color: #fff;
  transform: rotate(-1.2deg) scale(1.02); margin-top: -18px; position: relative; z-index: 2;
  box-shadow: 0 20px 40px -20px rgba(9,9,11,.5);
}
.fx-marquee-track { display: flex; gap: 28px; width: max-content; animation: fxMarquee 32s linear infinite; }
.fx-marquee span { font: 700 1.35rem/1 var(--font-display); white-space: nowrap; }
.fx-marquee b { color: #67e8f9; font-size: 1.1rem; }
@keyframes fxMarquee { to { transform: translateX(-50%); } }

/* ---------- Simulador con marco animado ---------- */
.fx-sim-section { padding-top: 140px; }
.fx-calc-frame { position: relative; padding: 3px; border-radius: 31px; overflow: hidden; isolation: isolate; box-shadow: 0 50px 100px -40px rgba(99,102,241,.45); }
.fx-calc-frame::before {
  content: ""; position: absolute; inset: -60%; z-index: -1;
  background: conic-gradient(from 0deg, #06b6d4, #6366f1, #a78bfa, #06b6d4, #67e8f9, #6366f1, #06b6d4);
  animation: finSpin 8s linear infinite;
}
.fx-calc-frame .fin-calc { border: 0; box-shadow: none; border-radius: 28px; }

.fin-chips button:disabled { opacity: .38; cursor: not-allowed; text-decoration: line-through; }
.fin-chips button:disabled:hover { border-color: var(--border-color); color: var(--text-secondary); }
.fx-plazo-note { margin-top: 12px; font-size: .86rem; color: var(--text-secondary); display: flex; gap: 8px; align-items: flex-start; }
.fx-plazo-note svg { width: 16px; height: 16px; color: var(--primary-indigo); flex: none; margin-top: 2px; }
.fin-bar:disabled { cursor: not-allowed; opacity: .35; }
.fin-bar:disabled span { background: repeating-linear-gradient(45deg, rgba(255,255,255,.1) 0 6px, transparent 6px 12px); }
.fin-legend .lg-tae { display: block; font-size: .82rem; color: rgba(255,255,255,.6); }
.fin-legend .lg-tae b { color: #67e8f9; }

/* ---------- Pasos ---------- */
.fx-steps-section { background: linear-gradient(180deg, transparent 0%, rgba(6,182,212,.05) 50%, transparent 100%); }
.fx-step {
  padding: 34px 22px 30px; border-radius: 26px; background: #fff;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px -30px rgba(9,9,11,.35);
  overflow: hidden; transition: transform .45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .3s, border-color .3s;
}
.fx-step:hover { transform: translateY(-8px); border-color: rgba(6,182,212,.35); box-shadow: 0 30px 60px -30px rgba(99,102,241,.45); }
.fx-step-big {
  position: absolute; right: -6px; bottom: -34px; font: 800 9rem/1 var(--font-display);
  background: linear-gradient(135deg, rgba(6,182,212,.14), rgba(99,102,241,.14));
  -webkit-background-clip: text; background-clip: text; color: transparent; pointer-events: none;
}
.fin-steps-wrap .fin-steps-line { top: 66px; }
.fx-step .fin-step-n { position: relative; }
.fin-steps-wrap.is-in .fx-step .fin-step-n::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(6,182,212,.45); animation: fxPulse 2.4s ease-out infinite;
}
@keyframes fxPulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* ---------- Tratamientos ---------- */
.fx-treat-section { background: var(--bg-secondary); }
.fx-treats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.fx-treat {
  --c1: #06b6d4; --c2: #6366f1;
  position: relative; display: flex; flex-direction: column; min-height: 320px;
  padding: 30px 26px; border-radius: 26px; color: #fff; overflow: hidden;
  background: linear-gradient(160deg, var(--c1) 0%, var(--c2) 100%);
  box-shadow: 0 24px 50px -28px var(--c2);
  transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .4s;
}
.fx-treat::before {
  content: ""; position: absolute; width: 240px; height: 240px; right: -90px; top: -90px; border-radius: 50%;
  background: rgba(255,255,255,.16); transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fx-treat::after {
  content: ""; position: absolute; width: 160px; height: 160px; left: -60px; bottom: -70px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.2);
}
.fx-treat:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 34px 60px -26px var(--c2); }
.fx-treat:hover::before { transform: scale(1.4); }
.fx-t1 { --c1: #06b6d4; --c2: #2563eb; }
.fx-t2 { --c1: #22d3ee; --c2: #6366f1; }
.fx-t3 { --c1: #818cf8; --c2: #7c3aed; }
.fx-t4 { --c1: #14b8a6; --c2: #0e7490; }
.fx-treat-ic {
  position: relative; z-index: 1; width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: auto;
  border-radius: 18px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px);
}
.fx-treat-ic svg { width: 28px; height: 28px; }
.fx-treat h3 { position: relative; z-index: 1; font-size: 1.3rem; margin: 40px 0 10px; }
.fx-treat p { position: relative; z-index: 1; color: rgba(255,255,255,.88); line-height: 1.55; margin-bottom: 22px; }
.fx-treat-go {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; width: fit-content;
  padding: 8px 16px; border-radius: var(--radius-pill); background: #fff; color: var(--c2);
  font-weight: 600; font-size: .9rem; transition: gap .3s;
}
.fx-treat-go svg { width: 16px; height: 16px; transition: transform .3s; }
.fx-treat:hover .fx-treat-go svg { transform: translate(3px,-3px); }

/* ---------- FAQ ---------- */
.fx-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.fx-faq-side { position: sticky; top: 120px; }
.fx-faq-side .section-title { margin-bottom: 28px; }
.fx-faq-card {
  position: relative; overflow: hidden; padding: 30px; border-radius: 26px; color: #fff;
  background: linear-gradient(150deg, #0b1220 0%, #1a1f4d 100%);
  box-shadow: 0 30px 60px -30px rgba(9,9,11,.5);
}
.fx-faq-card::before { content: ""; position: absolute; width: 260px; height: 260px; right: -100px; top: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(6,182,212,.45), transparent 65%); }
.fx-faq-card > * { position: relative; }
.fx-faq-card-ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; margin-bottom: 18px; background: linear-gradient(135deg, var(--primary-cyan), var(--primary-indigo)); }
.fx-faq-card-ic svg { width: 26px; height: 26px; }
.fx-faq-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.fx-faq-card p { color: rgba(255,255,255,.75); margin-bottom: 22px; }
.fx-faq-section .faq-accordion { margin: 0; max-width: none; }

.fx-btn-white { background: #fff; color: var(--text-primary); border: 1px solid #fff; box-shadow: 0 10px 24px -12px rgba(9,9,11,.4); }
.fx-btn-white:hover { transform: translateY(-2px); background: #ecfeff; }
.fx-btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.08); }
.fx-btn-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }

/* ---------- CTA final ---------- */
.fx-cta {
  position: relative; overflow: hidden; padding: 64px; border-radius: 32px; color: #fff;
  background: linear-gradient(120deg, #0891b2 0%, #6366f1 60%, #7c3aed 100%);
  box-shadow: 0 40px 80px -40px rgba(99,102,241,.7);
}
.fx-cta-blob { position: absolute; border-radius: 50%; filter: blur(50px); pointer-events: none; }
.fx-cta-blob-1 { width: 360px; height: 360px; left: -120px; bottom: -180px; background: rgba(103,232,249,.7); animation: fxDrift 12s ease-in-out infinite; }
.fx-cta-blob-2 { width: 300px; height: 300px; right: 10%; top: -160px; background: rgba(196,181,253,.6); animation: fxDrift 15s ease-in-out infinite reverse; }
.fx-cta-title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 12px; max-width: 16em; }
.fx-cta-text { color: rgba(255,255,255,.88); font-size: 1.1rem; }

/* ---------- Responsive v1.1 ---------- */
@media (max-width: 1100px) {
  .fx-needs, .fx-treats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
  .fx-faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .fx-faq-side { position: static; text-align: center; }
  .fx-faq-card { text-align: left; }
}
@media (max-width: 768px) {
  .fx-needs-band { padding: 80px 0 90px; margin-top: 70px; }
  .fx-marquee span { font-size: 1.1rem; }
  .fx-cta { padding: 40px 24px; }
}
@media (max-width: 576px) {
  .fx-needs, .fx-treats { grid-template-columns: 1fr; }
  .fx-treat { min-height: 0; }
  .fx-treat h3 { margin-top: 28px; }
  .fx-needs-note { border-radius: var(--radius-md); }
  .fx-big-4 { border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-blob, .fx-cta-blob, .fx-marquee-track, .fx-calc-frame::before { animation: none; }
  .fx-need-check { transform: scale(1); }
}

/* ajustes v1.1 */
.fx-need-check { right: auto; bottom: auto; left: 74px; top: 20px; width: 28px; height: 28px; box-shadow: 0 0 0 4px rgba(255,255,255,.9); }
.fx-step-big { right: 14px; bottom: auto; top: -12px; font-size: 6rem; }
.fx-treat::after { bottom: -110px; opacity: .6; }
.fx-cta .fin-cta-inner > div:first-child { flex: 1 1 420px; max-width: 620px; }
.social-links a svg.fx-brand { width: 18px; height: 18px; }

/* ==========================================================
   v1.2 – Simulador claro y minimalista
   ========================================================== */

/* Marco: sin borde animado, solo una línea fina y sombra suave */
.fx-calc-frame { padding: 0; border-radius: 28px; overflow: visible; box-shadow: none; }
.fx-calc-frame::before { display: none; }
.fx-calc-frame .fin-calc {
  border: 1px solid var(--border-color);
  box-shadow: 0 30px 70px -40px rgba(99, 102, 241, .35), 0 2px 6px rgba(9, 9, 11, .03);
}

/* Columna izquierda: ayuda pegada al contenido, sin hueco */
.fin-calc-controls { justify-content: flex-start; }
.fin-help { margin-top: 28px; }

/* Panel de resultados en claro */
.fin-calc-results {
  color: var(--text-primary);
  background: linear-gradient(160deg, #f5fdff 0%, #f4f5ff 100%);
  border-left: 1px solid var(--border-color);
}
.fin-calc-results::before {
  width: 320px; height: 320px; right: -120px; top: -120px;
  background: radial-gradient(circle, rgba(6, 182, 212, .14), transparent 70%);
}
.fin-res-label { color: var(--text-muted); }
.fin-res-value strong {
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-indigo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fin-res-value span { color: var(--text-secondary); }

/* Donut */
.fin-donut .d-bg { stroke: rgba(99, 102, 241, .08); }
.fin-donut .d-int { stroke: #c7d2fe; }
.fin-donut-c small { color: var(--text-muted); }
.fin-donut-c b { color: var(--text-primary); }

/* Leyenda */
.fin-legend li { color: var(--text-secondary); }
.fin-legend li b { color: var(--text-primary); }
.lg-int { background: #c7d2fe; }
.fin-legend .lg-total { color: var(--text-primary); border-top-color: var(--border-color); }
.fin-legend .lg-tae { color: var(--text-muted); }
.fin-legend .lg-tae b { color: var(--primary-indigo); }

/* Barras */
.fin-bars-title { color: var(--text-muted); }
.fin-bar em { color: var(--text-muted); }
.fin-bar small { color: var(--text-muted); }
.fin-bar span { background: rgba(99, 102, 241, .1); }
.fin-bar:hover span { background: rgba(99, 102, 241, .18); }
.fin-bar.is-on span {
  background: linear-gradient(180deg, var(--primary-cyan), var(--primary-indigo));
  box-shadow: 0 10px 22px -10px rgba(99, 102, 241, .6);
}
.fin-bar.is-on em { color: var(--primary-indigo); }
.fin-bar.is-on small { color: var(--text-primary); }
.fin-bar:disabled span { background: repeating-linear-gradient(45deg, rgba(99,102,241,.1) 0 6px, transparent 6px 12px); }

/* Aviso y texto legal */
.fin-sim-notice {
  color: var(--text-secondary);
  background: #fff;
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--primary-cyan);
}
.fin-sim-notice strong { color: var(--text-primary); }
.fin-legal-mini { color: var(--text-muted); }

@media (max-width: 992px) {
  .fin-calc-results { border-left: 0; border-top: 1px solid var(--border-color); }
}

/* ==========================================================
   v1.3 – Simulador con condiciones reales de Pepper
   ========================================================== */
.fx-label { font-weight: 600; }
.fin-chips.fx-chips-3 { grid-template-columns: repeat(3, 1fr); }
.fin-chips[hidden] { display: none; }
.fx-plazo-note { margin-top: 12px; }

.fx-first { margin: 2px 0 0; font-size: .92rem; color: var(--text-secondary); }
.fx-first[hidden], .fin-res-value[hidden], .fin-res-split[hidden] { display: none; }

.fx-low {
  display: flex; gap: 14px; align-items: center; margin: 18px 0 26px;
  padding: 18px 20px; border-radius: var(--radius-md);
  background: #fff; border: 1px solid var(--border-color);
}
.fx-low[hidden] { display: none; }
.fx-low-ic { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--primary-cyan), var(--primary-indigo)); }
.fx-low-ic svg { width: 22px; height: 22px; }
.fx-low b { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 2px; }
.fx-low span { color: var(--text-secondary); font-size: .95rem; }
.fx-low strong { color: var(--primary-indigo); }

/* Escalera: plazo máximo según importe */
.fx-tiers { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; align-items: end; height: 150px; }
.fx-tiers li { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 6px; text-align: center; }
.fx-tier-bar { width: 100%; max-width: 54px; height: var(--h); border-radius: 10px 10px 4px 4px; background: rgba(99, 102, 241, .1); transition: background .3s, box-shadow .3s; }
.fx-tiers b { font: 700 .9rem var(--font-display); color: var(--text-muted); transition: color .3s; }
.fx-tiers small { font-size: .7rem; color: var(--text-muted); line-height: 1.2; }
.fx-tiers li.is-past .fx-tier-bar { background: rgba(6, 182, 212, .22); }
.fx-tiers li.is-on .fx-tier-bar { background: linear-gradient(180deg, var(--primary-cyan), var(--primary-indigo)); box-shadow: 0 10px 22px -10px rgba(99, 102, 241, .6); }
.fx-tiers li.is-on b { color: var(--primary-indigo); }
.fx-tiers li.is-on small { color: var(--text-primary); font-weight: 600; }

/* v1.4 – 7 plazos a elegir */
.fin-chips.fx-chips-3 { grid-template-columns: repeat(7, 1fr); gap: 6px; }
@media (max-width: 576px) { .fin-chips.fx-chips-3 { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================
   v1.5 – Pasos animados: se destacan del 1 al 4 en bucle
   ========================================================== */
.fin-steps-wrap.fx-cycling .fin-steps-line i { width: var(--prog, 0%); transition: width .9s cubic-bezier(0.16, 1, 0.3, 1); }
.fin-steps-wrap.fx-cycling .fin-step-n {
  background: #fff; color: var(--primary-cyan); border-color: var(--border-color);
  transition-delay: 0s !important;
}
.fin-steps-wrap.fx-cycling .fx-step .fin-step-n::after { display: none; }

.fx-step { border: 2px solid var(--border-color); transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .5s, border-color .5s, background .5s; }
.fx-step::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0;
  background: linear-gradient(90deg, var(--primary-cyan), var(--primary-indigo));
}
.fx-step .fx-step-big { transition: opacity .5s, transform .6s cubic-bezier(0.16, 1, 0.3, 1); }

/* Pasos ya completados */
.fin-steps-wrap.fx-cycling .fx-step.is-done .fin-step-n {
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-indigo)); color: #fff; border-color: transparent;
}
.fin-steps-wrap.fx-cycling .fx-step:not(.is-active):not(.is-done) { opacity: .72; }

/* Paso activo */
.fin-steps-wrap.fx-cycling .fx-step.is-active {
  opacity: 1;
  transform: translateY(-16px) scale(1.04);
  border-color: transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(135deg, var(--primary-cyan), var(--primary-indigo)) border-box;
  box-shadow: 0 34px 70px -30px rgba(99, 102, 241, .55);
  z-index: 2;
}
.fin-steps-wrap.fx-cycling .fx-step.is-active .fin-step-n {
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-indigo)); color: #fff; border-color: transparent;
  transform: scale(1.18);
  box-shadow: 0 14px 30px -10px rgba(99, 102, 241, .7);
}
.fin-steps-wrap.fx-cycling .fx-step.is-active .fin-step-n::after { display: block; }
.fin-steps-wrap.fx-cycling .fx-step.is-active .fin-step-n svg { animation: fxIconPop .6s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes fxIconPop { 0% { transform: scale(.4) rotate(-20deg); } 100% { transform: scale(1) rotate(0); } }
.fin-steps-wrap.fx-cycling .fx-step.is-active .fx-step-big {
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-indigo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .9; transform: translateY(6px) scale(1.08);
}
.fin-steps-wrap.fx-cycling .fx-step.is-active .fin-step-k { color: var(--primary-indigo); }
.fin-steps-wrap.fx-cycling .fx-step.is-active::after { animation: fxStepTimer var(--dur, 2.6s) linear forwards; }
.fin-steps-wrap.fx-paused .fx-step.is-active::after { animation: none; width: 100%; }
@keyframes fxStepTimer { from { width: 0; } to { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .fin-steps-wrap.fx-cycling .fx-step.is-active { transform: none; }
  .fin-steps-wrap.fx-cycling .fx-step.is-active::after { animation: none; width: 100%; }
}

/* ==========================================================
   v1.6 – Pasos aún más llamativos y más rápidos
   ========================================================== */
.fin-steps-wrap.fx-cycling .fx-step { transition: transform .45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .4s, background .4s, opacity .4s, color .3s; }
.fin-steps-wrap.fx-cycling .fx-step:not(.is-active):not(.is-done) { opacity: .55; transform: scale(.96); }

/* Paso activo: tarjeta rellena de color */
.fin-steps-wrap.fx-cycling .fx-step.is-active {
  transform: translateY(-18px) scale(1.07);
  border-color: transparent;
  background: linear-gradient(145deg, #06b6d4 0%, #4f8bf0 50%, #6366f1 100%);
  box-shadow: 0 30px 60px -20px rgba(99, 102, 241, .7), 0 0 0 6px rgba(6, 182, 212, .15);
}
.fin-steps-wrap.fx-cycling .fx-step.is-active h3,
.fin-steps-wrap.fx-cycling .fx-step.is-active p,
.fin-steps-wrap.fx-cycling .fx-step.is-active .fin-step-k { color: #fff; }
.fin-steps-wrap.fx-cycling .fx-step.is-active p { opacity: .92; }
.fin-steps-wrap.fx-cycling .fx-step.is-active .fin-step-n {
  background: #fff; color: var(--primary-indigo);
  box-shadow: 0 12px 30px -8px rgba(9, 9, 11, .35);
}
.fin-steps-wrap.fx-cycling .fx-step.is-active .fin-step-n::after { border-color: rgba(255, 255, 255, .7); }
.fin-steps-wrap.fx-cycling .fx-step.is-active .fx-step-big {
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  color: rgba(255, 255, 255, .22); opacity: 1;
}
.fin-steps-wrap.fx-cycling .fx-step.is-active::after { background: rgba(255, 255, 255, .75); height: 5px; }

/* Destello que cruza la tarjeta activa */
.fx-step::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 50%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, .45) 50%, transparent 100%);
  transform: skewX(-18deg); opacity: 0; pointer-events: none; z-index: 0;
}
.fin-steps-wrap.fx-cycling .fx-step.is-active::before { animation: fxShine .9s ease-out .1s; }
@keyframes fxShine { 0% { left: -60%; opacity: 1; } 100% { left: 130%; opacity: 0; } }
.fx-step > * { position: relative; z-index: 1; }
.fx-step > .fx-step-big { position: absolute; z-index: 0; }

/* Pasos completados: check verde */
.fin-steps-wrap.fx-cycling .fx-step.is-done .fin-step-k::after {
  content: " ✓"; color: #10b981; font-weight: 800;
}

/* Línea con brillo */
.fin-steps-wrap.fx-cycling .fin-steps-line i { box-shadow: 0 0 14px rgba(99, 102, 241, .7); transition-duration: .5s; }

/* ==========================================================
   v1.7 – Pasos fijos y llamativos (sin animación en bucle)
   ========================================================== */
.fx-step {
  --s1: #06b6d4; --s2: #0ea5e9;
  border: 0;
  color: #fff;
  background: linear-gradient(150deg, var(--s1) 0%, var(--s2) 100%);
  box-shadow: 0 26px 50px -24px var(--s2);
  transition: transform .45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .4s;
}
.fin-steps > .fx-step:nth-child(1) { --s1: #06b6d4; --s2: #0ea5e9; }
.fin-steps > .fx-step:nth-child(2) { --s1: #0ea5e9; --s2: #3b82f6; }
.fin-steps > .fx-step:nth-child(3) { --s1: #3b82f6; --s2: #6366f1; }
.fin-steps > .fx-step:nth-child(4) { --s1: #6366f1; --s2: #8b5cf6; }

.fx-step h3, .fx-step .fin-step-k { color: #fff; }
.fx-step p { color: rgba(255, 255, 255, .9); }
.fx-step .fin-step-k { letter-spacing: .12em; opacity: .9; }

.fx-step .fx-step-big {
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  color: rgba(255, 255, 255, .2);
}

/* Icono en círculo blanco */
.fx-step .fin-step-n,
.fin-steps-wrap.is-in .fx-step .fin-step-n {
  background: #fff; color: var(--s2); border-color: transparent;
  box-shadow: 0 12px 26px -10px rgba(9, 9, 11, .4);
  transition-delay: 0s;
}
.fin-steps-wrap.is-in .fx-step .fin-step-n::after { display: none; }

/* Decoración: círculos suaves */
.fx-step::after {
  content: ""; position: absolute; width: 180px; height: 180px; left: -70px; bottom: -90px;
  border-radius: 50%; background: rgba(255, 255, 255, .1); height: 180px;
  animation: none !important;
}

/* Hover: sube y cruza un destello */
.fx-step:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 34px 60px -22px var(--s2); border-color: transparent; }
.fx-step:hover::before { animation: fxShine .8s ease-out; }
.fx-step:hover .fin-step-n { transform: scale(1.1) rotate(-6deg); }

/* Línea de unión en degradado con brillo */
.fin-steps-wrap .fin-steps-line { height: 4px; background: rgba(99, 102, 241, .12); }
.fin-steps-wrap .fin-steps-line i { background: linear-gradient(90deg, #06b6d4, #3b82f6, #8b5cf6); box-shadow: 0 0 14px rgba(99, 102, 241, .6); }

/* v1.8 – Cinta en bucle infinito */
.fx-marquee-track { gap: 0; }
.fx-marquee-group { display: flex; align-items: center; flex: none; }
.fx-marquee-group > * { margin-right: 28px; }
