/* ============================================================
   Credcor — main.css
   Vanilla CSS conversion from ZIP React/Tailwind design.
   Palette: navy #0f172a | blue-700 #1d4ed8 | green-wa #25D366
   Fonts: Montserrat 800 (títulos) | Roboto 400/500 (texto)
   ============================================================ */

/* --- Font faces ------------------------------------------ */
@font-face {
  font-family: Montserrat;
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url(/assets/fonts/montserrat-800.woff2) format("woff2");
}
@font-face {
  font-family: Roboto;
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  src: url(/assets/fonts/roboto.woff2) format("woff2");
}

/* --- CSS variables --------------------------------------- */
:root {
  --navy:       #0f172a;
  --navy-mid:   #1e293b;
  --navy-lite:  #334155;
  --slate-50:   #f8fafc;
  --slate-100:  #f1f5f9;
  --slate-200:  #e2e8f0;
  --slate-300:  #cbd5e1;
  --slate-400:  #94a3b8;
  --slate-500:  #64748b;
  --slate-600:  #475569;
  --slate-700:  #334155;
  --slate-800:  #1e293b;
  --slate-900:  #0f172a;
  --slate-950:  #020617;
  --blue-50:    #eff6ff;
  --blue-100:   #dbeafe;
  --blue-400:   #60a5fa;
  --blue-500:   #3b82f6;
  --blue-600:   #2563eb;
  --blue-700:   #1d4ed8;
  --blue-800:   #1e40af;
  --blue-900:   #1e3a8a;
  --sky-300:    #7dd3fc;
  --sky-400:    #38bdf8;
  --emerald-400:#34d399;
  --emerald-500:#10b981;
  --emerald-600:#059669;
  --amber-400:  #fbbf24;
  --wa-green:   #25D366;
  --wa-dark:    #20ba59;
  --red-50:     #fef2f2;
  --red-200:    #fecaca;
  --red-700:    #b91c1c;
  --f-tit: Montserrat, "Arial Black", Arial, sans-serif;
  --f-txt: Roboto, Arial, Helvetica, sans-serif;
  --r-xl:  0.75rem;
  --r-2xl: 1rem;
  --r-3xl: 1.5rem;
  --shadow-card: 0 4px 24px rgba(15,23,42,.08);
  --shadow-xl:   0 10px 40px rgba(15,23,42,.16);
}

/* --- Reset & base --------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  font-family: var(--f-txt);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--slate-900);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 {
  font-family: var(--f-tit);
  font-weight: 800;
  line-height: 1.12;
  color: var(--slate-900);
  margin: 0;
}
p { margin: 0 0 1em; }
a { color: var(--blue-700); }
button { font-family: var(--f-txt); cursor: pointer; }
:focus-visible { outline: 3px solid #fbbf24; outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* --- Utilities ------------------------------------------ */
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 1rem; }
.sr  { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--f-tit); font-size: .7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .09em;
  background: var(--blue-100); color: var(--blue-800);
  padding: .25rem .75rem; border-radius: .375rem;
}
.section-badge.sky { background: transparent; color: var(--sky-400); }

/* --- Buttons -------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .75rem 1.375rem;
  font-family: var(--f-tit); font-weight: 800; font-size: .875rem;
  text-decoration: none; border-radius: .75rem; border: none;
  cursor: pointer; white-space: nowrap;
  transition: background .15s, transform .12s, box-shadow .15s;
}
.btn:active { transform: scale(.97); }
.btn-pri  { background: var(--blue-700); color: #fff; box-shadow: 0 4px 12px rgba(29,78,216,.2); }
.btn-pri:hover { background: var(--blue-800); }
.btn-dark { background: var(--slate-900); color: #fff; }
.btn-dark:hover { background: var(--slate-800); }
.btn-wa   { background: var(--wa-green); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-outline {
  background: #fff; color: var(--slate-700);
  border: 1.5px solid var(--slate-300);
}
.btn-outline:hover { background: var(--slate-100); }
.btn-ghost-blue { background: transparent; color: var(--blue-700); border: none; font-family: var(--f-tit); font-weight: 800; padding: 0; min-height: unset; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* Arrow icon inside btn */
.btn .ico { width: 1rem; height: 1rem; flex-shrink: 0; }

/* ============================================================
   HEADER
   ============================================================ */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--slate-200); }

/* Top institutional bar */
.hdr-topbar {
  background: var(--slate-900); color: var(--slate-300);
  font-size: .75rem; padding: .375rem 1rem;
}
.hdr-topbar-in {
  max-width: 1280px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.hdr-topbar a { color: var(--slate-200); text-decoration: none; display: flex; align-items: center; gap: .375rem; }
.hdr-topbar a:hover { color: #fff; }
.hdr-topbar .sedes { display: flex; align-items: center; gap: 1.5rem; font-weight: 600; }
.hdr-topbar .sedes strong { color: #fff; }
.hdr-topbar .sep { color: var(--slate-700); }
.hdr-topbar .horario { color: var(--slate-400); font-size: .7rem; }

/* Main bar */
.hdr-main {
  max-width: 1280px; margin-inline: auto;
  padding-inline: 1rem;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 1rem;
}
.hdr-logo { display: block; line-height: 0; text-decoration: none; }
.hdr-logo img { height: 36px; width: auto; }
.hdr-logo-text { font-family: var(--f-tit); font-weight: 800; font-size: 1.4rem; color: var(--navy); letter-spacing: -.02em; }
.hdr-logo-text span { color: var(--blue-700); }

/* Nav links */
.hdr-nav { display: none; }
.hdr-nav a {
  font-size: .875rem; font-weight: 600; color: var(--slate-700);
  text-decoration: none; padding: .375rem .25rem;
  transition: color .12s;
}
.hdr-nav a:hover { color: var(--blue-700); }

/* CTA group */
.hdr-cta { display: flex; align-items: center; gap: .625rem; }
.hdr-btn-contact {
  display: none;
  align-items: center; gap: .375rem;
  font-size: .8rem; font-weight: 700; color: var(--slate-800);
  background: var(--slate-100); border: 1px solid var(--slate-200);
  padding: .625rem 1rem; border-radius: .75rem;
  text-decoration: none; transition: background .12s;
}
.hdr-btn-contact:hover { background: var(--slate-200); }
.hdr-btn-precal {
  display: inline-flex; align-items: center; gap: .375rem;
  font-family: var(--f-tit); font-size: .8rem; font-weight: 800; color: #fff;
  background: var(--blue-700);
  padding: .625rem 1.25rem; border-radius: .75rem; border: none;
  box-shadow: 0 4px 12px rgba(29,78,216,.18); cursor: pointer;
  transition: background .12s, transform .1s;
}
.hdr-btn-precal:hover { background: var(--blue-800); }

/* Hamburger */
.menu-btn {
  width: 44px; height: 44px; border: none; background: transparent;
  color: var(--slate-700); display: grid; place-items: center;
  border-radius: .5rem; padding: .5rem;
}
.menu-btn:hover { background: var(--slate-100); }
.menu-btn svg { width: 24px; height: 24px; }

/* Mobile drawer */
.hdr-drawer {
  display: none;
  background: #fff; border-bottom: 1px solid var(--slate-200);
  padding: 1.25rem 1rem; box-shadow: var(--shadow-xl);
}
.hdr-drawer.open { display: block; }
.hdr-drawer-sedes {
  background: var(--slate-50); border: 1px solid var(--slate-200);
  border-radius: .75rem; padding: .75rem; margin-bottom: 1rem;
  font-size: .75rem;
}
.hdr-drawer-sedes .row { display: flex; justify-content: space-between; align-items: center; padding: .25rem 0; }
.hdr-drawer-sedes .row span { font-weight: 700; color: var(--slate-900); }
.hdr-drawer-sedes .row a { font-family: monospace; font-weight: 700; color: var(--blue-700); text-decoration: none; }
.hdr-drawer-links { display: flex; flex-direction: column; gap: .25rem; margin-bottom: 1rem; }
.hdr-drawer-links a {
  padding: .5rem .75rem; border-radius: .5rem;
  font-weight: 600; color: var(--slate-700); text-decoration: none;
}
.hdr-drawer-links a:hover { background: var(--slate-100); }
.hdr-drawer-btns { display: flex; flex-direction: column; gap: .5rem; }
.hdr-drawer-btns .btn { justify-content: center; width: 100%; }

@media (min-width: 1024px) {
  .hdr-nav { display: flex; align-items: center; gap: 1.5rem; }
  .hdr-btn-contact { display: inline-flex; }
  .menu-btn { display: none; }
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  position: relative; background: #fff;
  border-bottom: 1px solid var(--slate-200); overflow: hidden;
}
.hero-slider-bg {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(239,246,255,.6), #fff, var(--slate-50));
  pointer-events: none;
}
.hero-slider-in {
  max-width: 1280px; margin-inline: auto;
  padding: 2.5rem 1rem 2rem;
  position: relative; z-index: 1;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 2rem; align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 1.5rem; }

.hero-tag-row { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.hero-count { font-size: .75rem; color: var(--slate-500); font-weight: 600; }

.hero-headlines h1 {
  font-size: clamp(1.8rem, 6vw, 3rem);
  color: var(--slate-900); line-height: 1.15; margin-bottom: .5rem;
}
.hero-headlines h1 .hl { color: var(--blue-700); display: block; margin-top: .25rem; }
.hero-desc { font-size: 1rem; color: var(--slate-600); line-height: 1.65; max-width: 42em; }

.hero-proofs {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .75rem; font-size: .8rem; font-weight: 600; color: var(--slate-700);
}
.hero-proof { display: flex; align-items: flex-start; gap: .5rem; }
.hero-proof .chk { width: 1rem; height: 1rem; flex-shrink: 0; color: var(--blue-700); margin-top: .1rem; }

.hero-ctas { display: flex; flex-direction: column; gap: .75rem; }

/* Slider nav */
.hero-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; border-top: 1px solid var(--slate-200);
}
.hero-dots { display: flex; align-items: center; gap: .5rem; }
.hero-dot {
  height: 8px; border-radius: 999px; border: none; padding: 0;
  background: var(--slate-300); cursor: pointer;
  transition: width .25s, background .2s;
  width: 8px;
}
.hero-dot.active { width: 2rem; background: var(--blue-700); }
.hero-dot:hover:not(.active) { background: var(--slate-400); }
.hero-arrows { display: flex; gap: .375rem; }
.hero-arrow {
  width: 32px; height: 32px; border-radius: .5rem;
  background: var(--slate-100); border: none; color: var(--slate-700);
  display: grid; place-items: center; cursor: pointer; transition: background .12s;
}
.hero-arrow:hover { background: var(--slate-200); }
.hero-arrow svg { width: 16px; height: 16px; }

/* Right image card */
.hero-card {
  background: #fff; border-radius: var(--r-3xl);
  border: 1px solid var(--slate-200); box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.hero-card-img {
  position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--slate-100);
}
.hero-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s;
}
.hero-card:hover .hero-card-img img { transform: scale(1.05); }
.hero-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.8) 0%, rgba(15,23,42,.2) 50%, transparent 100%);
}
.hero-card-pill {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  padding: .25rem .75rem; border-radius: .5rem;
  font-family: var(--f-tit); font-size: .75rem; font-weight: 800; color: var(--slate-900);
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.hero-card-stat {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem; color: #fff;
}
.hero-card-stat .lbl { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--sky-300); display: block; }
.hero-card-stat .val { font-family: var(--f-tit); font-size: 1.5rem; font-weight: 800; display: block; }
.hero-card-stat .sub { font-size: .75rem; color: var(--slate-300); display: block; }
.hero-card-bar {
  padding: 1rem; background: var(--slate-50); border-top: 1px solid var(--slate-100);
  display: flex; align-items: center; justify-content: space-between; font-size: .75rem;
}
.hero-card-bar .trust { display: flex; align-items: center; gap: .375rem; font-weight: 700; color: var(--slate-800); }
.hero-card-bar .trust svg { width: 16px; height: 16px; color: var(--blue-700); }
.hero-card-bar .cta-link { font-family: var(--f-tit); font-weight: 800; font-size: .75rem; color: var(--blue-700); text-decoration: underline; text-underline-offset: 2px; background: none; border: none; cursor: pointer; }

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 7fr 5fr; gap: 3rem; }
  .hero-ctas { flex-direction: row; }
  .hero-slider-in { padding: 4rem 1rem 3.5rem; }
}

/* ============================================================
   ANTI-FRAUD BADGE
   ============================================================ */
.antifraude { background: var(--slate-100); border-bottom: 1px solid var(--slate-200); padding: 1.5rem 0; }
.antifraude-card {
  display: flex; flex-direction: column; gap: 1rem;
  background: #fff; padding: 1.25rem 1.5rem;
  border-radius: 1rem; border: 1px solid var(--slate-300);
  box-shadow: var(--shadow-card);
}
.antifraude-icon {
  width: 44px; height: 44px; border-radius: .75rem;
  background: rgba(219,234,254,.8); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.antifraude-icon svg { width: 24px; height: 24px; color: #1e3a8a; }
.antifraude-body { flex: 1; }
.antifraude-body h4 {
  font-family: var(--f-tit); font-weight: 800; font-size: .875rem; color: var(--slate-900);
  margin: 0 0 .25rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
}
.antifraude-body h4 .badge {
  font-size: .625rem; background: var(--blue-100); color: var(--blue-800);
  font-weight: 800; padding: .125rem .5rem; border-radius: .25rem; text-transform: uppercase; letter-spacing: .05em;
}
.antifraude-body p { font-size: .75rem; color: var(--slate-600); line-height: 1.55; margin: 0; }
.antifraude-lock {
  flex-shrink: 0; display: flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 700; color: var(--slate-700);
  background: var(--slate-50); padding: .5rem .875rem; border-radius: .75rem; border: 1px solid var(--slate-200);
}
.antifraude-lock svg { width: 14px; height: 14px; color: var(--blue-700); }

@media (min-width: 768px) {
  .antifraude-card { flex-direction: row; align-items: center; }
}

/* ============================================================
   LOAN SIMULATOR
   ============================================================ */
.simulador { background: var(--slate-50); border-bottom: 1px solid var(--slate-200); padding: 4rem 0; }
.simulador-head { text-align: center; max-width: 48rem; margin: 0 auto 3rem; }
.simulador-head h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); margin: .75rem 0 .5rem; }
.simulador-head p { font-size: 1rem; color: var(--slate-600); margin: 0; }

.simulador-card {
  max-width: 56rem; margin: 0 auto;
  background: #fff; border-radius: var(--r-3xl);
  border: 1px solid var(--slate-200); box-shadow: var(--shadow-xl); overflow: hidden;
}
.simulador-inner {
  padding: 1.5rem;
  display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center;
}

/* Controls */
.sim-controls { display: flex; flex-direction: column; gap: 1.75rem; }
.sim-label-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.sim-field-label { font-family: var(--f-tit); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: var(--slate-700); }
.sim-amount-display { font-family: var(--f-tit); font-size: 1.75rem; font-weight: 800; color: var(--blue-700); }

/* Range slider */
.sim-range {
  width: 100%; height: 12px; border-radius: 999px;
  background: var(--slate-200); appearance: none;
  cursor: pointer; accent-color: var(--blue-700);
  outline: none; margin: .25rem 0;
}
.sim-range:focus { box-shadow: 0 0 0 3px rgba(29,78,216,.2); }
.sim-range-labels { display: flex; justify-content: space-between; font-size: .75rem; color: var(--slate-500); font-weight: 600; margin-top: .5rem; }
.sim-range-labels .max { color: var(--blue-800); font-weight: 700; }

/* Quick presets */
.sim-presets { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: .25rem; }
.sim-preset {
  font-size: .75rem; font-weight: 700; padding: .375rem .75rem;
  border-radius: .5rem; border: 1px solid var(--slate-200); background: var(--slate-50);
  color: var(--slate-700); cursor: pointer; transition: background .1s, border-color .1s;
}
.sim-preset:hover { background: var(--slate-100); }
.sim-preset.active { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }

/* Plazo buttons */
.sim-plazos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.sim-plazo {
  padding: .625rem .5rem; border-radius: .75rem; text-align: center;
  font-weight: 700; font-size: .875rem; border: 1px solid var(--slate-200);
  background: var(--slate-50); color: var(--slate-700); cursor: pointer;
  transition: background .1s, border-color .1s, color .1s;
}
.sim-plazo:hover { background: var(--slate-100); }
.sim-plazo.active { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }

/* System note */
.sim-note {
  font-size: .75rem; color: var(--slate-600);
  background: var(--slate-50); padding: .875rem; border-radius: .75rem;
  border: 1px solid var(--slate-200); line-height: 1.55;
}
.sim-note p { margin: 0 0 .25rem; }
.sim-note p:last-child { margin: 0; }

/* Results box */
.sim-result {
  background: var(--slate-900); color: #fff;
  border-radius: var(--r-3xl); padding: 1.5rem 2rem;
  box-shadow: 0 8px 32px rgba(15,23,42,.3);
  display: flex; flex-direction: column; gap: 1.5rem;
}
.sim-quota-label { font-size: .7rem; text-transform: uppercase; font-weight: 800; letter-spacing: .09em; color: var(--slate-400); }
.sim-quota-val { font-family: var(--f-tit); font-size: 2.5rem; font-weight: 800; color: #fff; line-height: 1; margin: .25rem 0; }
.sim-quota-sub { font-size: .75rem; color: var(--sky-300); font-weight: 600; }
.sim-rates { border-top: 1px solid var(--slate-800); padding-top: 1rem; display: flex; flex-direction: column; gap: .375rem; font-size: .75rem; color: var(--slate-300); }
.sim-rate-row { display: flex; justify-content: space-between; }
.sim-rate-row strong { color: #fff; }
.sim-rate-row.cftea { color: var(--sky-400); font-weight: 700; border-top: 1px solid var(--slate-800); padding-top: .5rem; margin-top: .25rem; }
.sim-apply-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--blue-600); color: #fff; border: none; border-radius: .75rem;
  font-family: var(--f-tit); font-weight: 800; font-size: 1rem;
  padding: 1rem 1.5rem; cursor: pointer;
  box-shadow: 0 4px 16px rgba(37,99,235,.3); transition: background .12s, transform .1s;
}
.sim-apply-btn:hover { background: var(--blue-500); }
.sim-apply-btn:active { transform: scale(.97); }
.sim-disclaimer {
  display: flex; align-items: flex-start; gap: .375rem;
  font-size: .7rem; color: var(--slate-400); line-height: 1.45;
}
.sim-disclaimer svg { width: 14px; height: 14px; color: var(--blue-400); flex-shrink: 0; margin-top: 1px; }

@media (min-width: 1024px) {
  .simulador-inner { grid-template-columns: 7fr 5fr; gap: 3rem; padding: 2.5rem; }
  .sim-plazos { grid-template-columns: repeat(6, 1fr); }
}

/* ============================================================
   REQUIREMENTS
   ============================================================ */
.requisitos { background: #fff; border-bottom: 1px solid var(--slate-200); padding: 4rem 0; }
.req-head { max-width: 48rem; margin: 0 auto 3.5rem; text-align: center; }
.req-head h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); margin: .75rem 0 .5rem; }
.req-head p { font-size: 1rem; color: var(--slate-600); margin: 0; }

.req-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.req-card {
  background: var(--slate-50); border: 1px solid var(--slate-200);
  border-radius: var(--r-3xl); padding: 1.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.req-card:hover { border-color: var(--blue-700); background: #fff; box-shadow: var(--shadow-xl); }
.req-icon {
  width: 48px; height: 48px; border-radius: 1rem;
  background: var(--blue-700); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(29,78,216,.2); margin-bottom: 1rem;
}
.req-icon svg { width: 24px; height: 24px; }
.req-title { font-size: 1.1rem; font-weight: 700; color: var(--slate-900); margin-bottom: .5rem; }
.req-desc { font-size: .875rem; color: var(--slate-600); line-height: 1.6; margin: 0; }
.req-note {
  padding-top: 1rem; border-top: 1px solid rgba(226,232,240,.8);
  margin-top: 1rem; font-size: .75rem; font-weight: 600; color: var(--blue-700);
}

.req-banner {
  margin-top: 3rem; background: var(--slate-900); color: #fff;
  border-radius: var(--r-3xl); padding: 1.5rem 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  box-shadow: var(--shadow-xl); text-align: center;
}
.req-banner h4 { font-size: 1.1rem; margin: 0 0 .25rem; }
.req-banner p { font-size: .875rem; color: var(--slate-300); margin: 0; }

@media (min-width: 768px)  { .req-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .req-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px)  { .req-banner { flex-direction: row; justify-content: space-between; text-align: left; } }

/* ============================================================
   LOAN DESTINATIONS
   ============================================================ */
.destinos { background: #fff; border-bottom: 1px solid var(--slate-200); padding: 4rem 0; }
.destinos-head {
  display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem;
}
.destinos-head-copy h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); margin: .75rem 0 .5rem; }
.destinos-head-copy p { font-size: 1rem; color: var(--slate-600); margin: 0; }
.destinos-head-tag {
  display: inline-block; font-size: .75rem; font-weight: 700;
  color: var(--slate-700); background: var(--slate-100);
  padding: .5rem 1rem; border-radius: .75rem; border: 1px solid var(--slate-200);
  align-self: flex-start;
}

.destinos-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.destino-card {
  cursor: pointer; border-radius: var(--r-3xl); overflow: hidden;
  border: 1px solid var(--slate-200); background: var(--slate-50);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.destino-card:hover { border-color: var(--blue-700); background: #fff; box-shadow: var(--shadow-xl); }
.destino-img {
  position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--slate-100);
}
.destino-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.destino-card:hover .destino-img img { transform: scale(1.05); }
.destino-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.8) 0%, rgba(15,23,42,.2) 50%, transparent 100%);
}
.destino-badge {
  position: absolute; top: 1rem; left: 1rem;
  display: inline-flex; align-items: center; gap: .375rem;
  padding: .25rem .75rem; border-radius: .5rem;
  background: var(--blue-700); color: #fff; font-family: var(--f-tit); font-size: .75rem; font-weight: 800;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.destino-arrow {
  position: absolute; bottom: 1rem; right: 1rem;
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; display: flex; align-items: center; justify-content: center;
  color: var(--slate-900); box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transition: background .2s, color .2s;
}
.destino-card:hover .destino-arrow { background: var(--blue-700); color: #fff; }
.destino-arrow svg { width: 20px; height: 20px; }
.destino-body { padding: 1.5rem; }
.destino-tag { font-size: .7rem; font-weight: 700; color: var(--blue-700); text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: .5rem; }
.destino-title { font-size: 1.2rem; font-weight: 700; color: var(--slate-900); margin: 0 0 .5rem; transition: color .2s; }
.destino-card:hover .destino-title { color: var(--blue-700); }
.destino-desc { font-size: .875rem; color: var(--slate-600); line-height: 1.6; margin: 0 0 .75rem; }
.destino-link { display: flex; align-items: center; gap: .25rem; font-family: var(--f-tit); font-size: .75rem; font-weight: 800; color: var(--blue-700); transition: transform .2s; }
.destino-card:hover .destino-link { transform: translateX(4px); }

@media (min-width: 768px) { .destinos-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .destinos-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonios {
  background: var(--slate-900); color: #fff;
  padding: 4rem 0; position: relative; overflow: hidden;
}
.testimonios-head {
  display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem;
}
.testimonios-head-copy h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); color: #fff; margin: .5rem 0; }
.testimonios-head-copy p { font-size: 1rem; color: var(--slate-300); margin: 0; }
.testimonios-rating {
  background: var(--slate-800); border: 1px solid var(--slate-700);
  padding: 1rem; border-radius: 1rem;
  display: flex; align-items: center; gap: 1rem;
  flex-shrink: 0; box-shadow: 0 4px 16px rgba(0,0,0,.2); align-self: flex-start;
}
.rating-num {
  width: 48px; height: 48px; border-radius: .75rem;
  background: rgba(59,130,246,.2); border: 1px solid rgba(59,130,246,.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-tit); font-size: 1.4rem; font-weight: 800; color: var(--blue-400); font-variant-numeric: tabular-nums;
}
.rating-stars { display: flex; gap: .25rem; }
.rating-star { width: 16px; height: 16px; color: var(--amber-400); fill: var(--amber-400); }
.rating-count { font-size: .75rem; color: var(--slate-300); font-weight: 600; display: block; margin-top: .25rem; }
.rating-maps { font-size: .75rem; font-weight: 700; color: var(--sky-400); text-decoration: none; padding-left: .75rem; border-left: 1px solid var(--slate-700); display: flex; align-items: center; gap: .25rem; }
.rating-maps:hover { color: var(--sky-300); }
.rating-maps svg { width: 14px; height: 14px; }

/* Testimonial card */
.test-card {
  max-width: 56rem; margin: 0 auto;
  background: rgba(30,41,59,.95); border: 1px solid var(--slate-700);
  border-radius: var(--r-3xl); padding: 1.5rem 1.75rem;
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
}
.test-inner {
  display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center;
}
.test-person { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.test-avatar {
  position: relative; width: 128px; height: 128px;
  border-radius: 1rem; overflow: hidden;
  border: 2px solid var(--blue-500); box-shadow: 0 8px 24px rgba(0,0,0,.4);
  background: var(--slate-700);
}
.test-avatar img { width: 100%; height: 100%; object-fit: cover; }
.test-verified {
  position: absolute; bottom: -6px; right: -6px;
  background: var(--emerald-500); color: #fff; border-radius: 50%;
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.test-verified svg { width: 14px; height: 14px; }
.test-name { font-size: 1.1rem; font-weight: 700; color: #fff; margin: 0; }
.test-role { font-size: .75rem; color: var(--slate-400); display: block; }
.test-city { font-size: .75rem; color: var(--sky-400); font-weight: 500; display: block; margin-top: .2rem; }
.test-amount-box {
  width: 100%; background: var(--slate-900); border: 1px solid var(--slate-700);
  padding: .625rem; border-radius: .75rem; text-align: center;
}
.test-amount-box .lbl { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-400); display: block; }
.test-amount-box .val { font-family: monospace; font-size: 1rem; font-weight: 800; color: var(--emerald-400); display: block; }

/* Quote side */
.test-quote { display: flex; flex-direction: column; gap: 1rem; }
.test-quote-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.test-stars { display: flex; gap: .25rem; }
.test-date { font-size: .75rem; color: var(--slate-400); font-variant-numeric: tabular-nums; }
.test-text {
  font-size: 1rem; color: var(--slate-200); line-height: 1.7;
  font-style: italic; position: relative;
}
.test-meta { font-size: .75rem; display: flex; flex-direction: column; gap: .375rem; border-top: 1px solid rgba(71,85,105,.6); padding-top: .75rem; }
.test-meta .row { display: flex; gap: .5rem; align-items: baseline; color: var(--slate-300); }
.test-meta .row strong { color: #fff; }
.test-meta .dest { color: var(--sky-300); font-weight: 600; }
.test-meta svg { width: 14px; height: 14px; color: var(--blue-400); flex-shrink: 0; }
.test-ctas { display: flex; align-items: center; gap: .75rem; padding-top: .75rem; }
.test-cta-precal {
  display: inline-flex; align-items: center; gap: .375rem;
  font-family: var(--f-tit); font-size: .75rem; font-weight: 800;
  background: var(--blue-700); color: #fff; padding: .5rem 1rem; border-radius: .75rem;
  text-decoration: none; transition: background .12s;
}
.test-cta-precal:hover { background: var(--blue-600); }
.test-cta-wa {
  display: inline-flex; align-items: center; gap: .375rem;
  font-size: .75rem; font-weight: 700; color: var(--slate-300);
  background: rgba(71,85,105,.4); padding: .5rem .875rem; border-radius: .75rem;
  text-decoration: none; transition: background .12s, color .12s;
}
.test-cta-wa:hover { background: rgba(71,85,105,.7); color: #fff; }
.test-cta-wa svg { width: 14px; height: 14px; color: var(--sky-400); }

/* Slider controls */
.test-controls {
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--slate-700);
  display: flex; align-items: center; justify-content: space-between;
}
.test-dots { display: flex; gap: .5rem; align-items: center; }
.test-dot {
  height: 10px; border-radius: 999px; border: none;
  background: var(--slate-600); cursor: pointer;
  transition: width .25s, background .2s; width: 10px;
}
.test-dot.active { width: 2rem; background: var(--blue-500); }
.test-dot:hover:not(.active) { background: var(--slate-500); }
.test-arrows { display: flex; gap: .5rem; }
.test-arrow-prev, .test-arrow-next {
  width: 40px; height: 40px; border-radius: .75rem; border: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer; transition: background .12s;
}
.test-arrow-prev { background: var(--slate-700); }
.test-arrow-prev:hover { background: var(--slate-600); }
.test-arrow-next { background: var(--blue-700); }
.test-arrow-next:hover { background: var(--blue-600); }
.test-arrow-prev svg, .test-arrow-next svg { width: 20px; height: 20px; }

@media (min-width: 768px) {
  .testimonios-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .test-inner { grid-template-columns: 4fr 8fr; }
  .test-quote { border-top: 0; border-left: 1px solid var(--slate-700); padding-left: 2rem; }
}

/* ============================================================
   PREQUALIFICATION FORM
   ============================================================ */
.form-section {
  background: rgba(241,245,249,.8); border-bottom: 1px solid var(--slate-200);
  padding: 4rem 0;
}
.form-card {
  max-width: 48rem; margin: 0 auto;
  background: #fff; border-radius: var(--r-3xl);
  border: 1px solid var(--slate-200); box-shadow: var(--shadow-xl); overflow: hidden;
}

/* Form header (navy) */
.form-head {
  background: var(--slate-900); padding: 1.5rem 2rem; color: #fff;
}
.form-head-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.form-step-badge {
  display: inline-flex; align-items: center; gap: .375rem;
  font-family: var(--f-tit); font-size: .65rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .09em;
  background: rgba(30,58,138,.6); border: 1px solid rgba(59,130,246,.3);
  color: var(--sky-300); padding: .25rem .75rem; border-radius: .375rem;
  margin-bottom: .5rem; display: block;
}
.form-head h3 { font-size: 1.5rem; color: #fff; margin: 0 0 .25rem; }
.form-head p { font-size: .875rem; color: var(--slate-300); margin: 0; }
.form-step-counter { font-size: .7rem; color: var(--slate-400); font-weight: 700; text-align: right; white-space: nowrap; }
.form-step-counter strong { font-family: monospace; font-size: 1.5rem; color: #fff; display: block; }
.form-progress { margin-top: 1.25rem; height: 8px; background: var(--slate-800); border-radius: 999px; overflow: hidden; }
.form-progress-bar { height: 100%; background: var(--blue-500); border-radius: 999px; transition: width .4s; width: 50%; }

/* Form body */
.form-body { padding: 1.5rem 2rem; }
.form-error-box {
  margin-bottom: 1.5rem; padding: 1rem; border-radius: .75rem;
  background: var(--red-50); border: 1px solid var(--red-200); color: var(--red-700);
  font-size: .875rem; display: flex; align-items: flex-start; gap: .75rem;
}
.form-error-box svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.form-step-title { font-size: 1rem; font-weight: 800; color: var(--slate-900); margin: 0 0 .25rem; }
.form-step-sub { font-size: .75rem; color: var(--slate-500); margin: 0 0 1.25rem; }

/* Fields */
.campo { margin-bottom: 1rem; display: flex; flex-direction: column; }
.campo label { font-family: var(--f-tit); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: var(--slate-700); margin-bottom: .375rem; }
.campo input:not([type=checkbox]):not([type=hidden]),
.campo select {
  width: 100%; min-height: 48px; padding: .75rem 1rem;
  font: 400 .875rem/1.3 var(--f-txt); color: var(--slate-900); background: #fff;
  border: 1.5px solid var(--slate-300); border-radius: .75rem; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.campo input:focus, .campo select:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.campo input[aria-invalid=true], .campo select[aria-invalid=true] { border-color: var(--red-700); border-width: 2px; }
.campo-hint { font-size: .7rem; color: var(--slate-500); margin-top: .375rem; }
.campo-err { color: var(--red-700); font-size: .8rem; font-weight: 600; margin-top: .375rem; }

/* Grid 2 cols */
.campos-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 640px) { .campos-grid { grid-template-columns: 1fr 1fr; gap: 0 1rem; } }

/* Consent checkbox */
.campo-check {
  display: grid; grid-template-columns: 24px 1fr;
  column-gap: .75rem; align-items: flex-start; padding-top: .75rem;
  border-top: 1px solid var(--slate-200);
}
.campo-check input[type=checkbox] { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--blue-700); }
.campo-check label { font-size: .8rem; color: var(--slate-600); line-height: 1.5; font-weight: 400; cursor: pointer; }
.campo-check label button { background: none; border: none; color: var(--blue-700); font-weight: 700; cursor: pointer; text-decoration: underline; font-size: inherit; padding: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Step actions */
.form-actions { padding-top: .75rem; display: flex; flex-direction: column; gap: 1rem; }
.form-actions-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.form-ssl { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--slate-500); }
.form-ssl svg { width: 16px; height: 16px; color: var(--blue-700); }
.form-back { display: inline-flex; align-items: center; gap: .25rem; font-size: .75rem; font-weight: 700; color: var(--slate-600); background: none; border: none; cursor: pointer; }
.form-back:hover { color: var(--blue-700); }
.form-back svg { width: 14px; height: 14px; }
.form-submit {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--blue-700); color: #fff; border: none; border-radius: .75rem;
  font-family: var(--f-tit); font-weight: 800; font-size: 1rem;
  padding: 1rem 2rem; cursor: pointer;
  box-shadow: 0 4px 16px rgba(29,78,216,.25); transition: background .12s, transform .1s;
  width: 100%;
}
.form-submit:hover { background: var(--blue-800); }
.form-submit:active { transform: scale(.97); }
.form-submit:disabled { opacity: .65; cursor: progress; }
@media (min-width: 640px) { .form-submit { width: auto; } }
.form-fail {
  background: var(--red-50); color: #7a1712; border-radius: .75rem;
  padding: .75rem 1rem; margin-top: .75rem; font-size: .875rem;
}
.form-fail a { color: #7a1712; font-weight: 600; }

/* ============================================================
   BRANCHES
   ============================================================ */
.sucursales { background: #fff; border-bottom: 1px solid var(--slate-200); padding: 4rem 0; }
.sucursales-head { max-width: 48rem; margin: 0 auto 3rem; text-align: center; }
.sucursales-head h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); margin: .75rem 0 .5rem; }
.sucursales-head p { font-size: 1rem; color: var(--slate-600); margin: 0; }

/* Branch tabs */
.branch-tabs { display: flex; justify-content: center; margin-bottom: 2rem; }
.branch-tab-group { display: inline-flex; padding: 6px; border-radius: 1rem; background: var(--slate-100); border: 1px solid var(--slate-200); }
.branch-tab {
  display: flex; align-items: center; gap: .5rem;
  padding: .75rem 1.5rem; border-radius: .75rem; border: none;
  font-family: var(--f-tit); font-size: .875rem; font-weight: 800;
  color: var(--slate-600); background: transparent; cursor: pointer;
  transition: background .15s, color .15s, box-shadow .15s;
}
.branch-tab svg { width: 16px; height: 16px; }
.branch-tab:hover { color: var(--slate-900); }
.branch-tab.active { background: var(--blue-700); color: #fff; box-shadow: 0 4px 12px rgba(29,78,216,.2); }

/* Branch card */
.branch-card {
  max-width: 56rem; margin: 0 auto;
  background: var(--slate-50); border: 1px solid var(--slate-200);
  border-radius: var(--r-3xl); padding: 1.5rem 2rem; box-shadow: 0 4px 24px rgba(15,23,42,.06);
}
.branch-inner { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.branch-info { display: flex; flex-direction: column; gap: 1.25rem; }
.branch-type { font-family: var(--f-tit); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: var(--blue-700); margin-bottom: .25rem; }
.branch-name { font-size: 1.5rem; font-weight: 800; color: var(--slate-900); margin: 0; }
.branch-details { display: flex; flex-direction: column; gap: .75rem; font-size: .875rem; color: var(--slate-700); }
.branch-detail { display: flex; align-items: flex-start; gap: .75rem; }
.branch-detail svg { width: 20px; height: 20px; color: var(--blue-700); flex-shrink: 0; margin-top: 1px; }
.branch-detail .lbl { font-weight: 700; color: var(--slate-900); display: block; }
.branch-detail a { color: var(--blue-700); font-family: monospace; font-size: 1rem; font-weight: 800; text-decoration: underline; }
.branch-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.branch-trust {
  background: #fff; border-radius: 1rem; padding: 1.5rem;
  border: 1px solid var(--slate-200); box-shadow: 0 2px 8px rgba(0,0,0,.04);
  display: flex; flex-direction: column; gap: 1rem;
}
.branch-trust-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--slate-100); padding-bottom: .75rem; font-size: .75rem; }
.branch-trust-head .badge { display: flex; align-items: center; gap: .375rem; color: var(--blue-700); font-weight: 700; }
.branch-trust-head .badge svg { width: 16px; height: 16px; }
.branch-trust-head .code { font-family: monospace; font-size: .7rem; color: var(--slate-400); }
.branch-trust p { font-size: .75rem; color: var(--slate-600); line-height: 1.6; margin: 0; }
.branch-trust p strong { font-size: .875rem; color: var(--slate-900); }
.branch-trust-note {
  background: var(--blue-50); border: 1px solid var(--blue-100);
  border-radius: .75rem; padding: .875rem; font-size: .75rem; color: #1e3a8a; font-weight: 500;
}

@media (min-width: 768px) { .branch-inner { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: #fff; padding: 4rem 0; }
.faq-inner { max-width: 56rem; margin: 0 auto; padding-inline: 1rem; }
.faq-head { text-align: center; margin-bottom: 3rem; }
.faq-head h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); margin: .75rem 0 .5rem; }
.faq-head p { font-size: 1rem; color: var(--slate-600); margin: 0; }
.faq-badge { display: inline-flex; align-items: center; gap: .375rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: var(--blue-50); color: var(--blue-700); padding: .25rem .875rem; border-radius: 999px; }
.faq-badge svg { width: 14px; height: 14px; }

.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  border: 1px solid var(--slate-200); border-radius: 1rem; overflow: hidden;
  background: rgba(248,250,252,.5); transition: border-color .2s;
}
.faq-item.open { border-color: var(--blue-200); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem; text-align: left;
  font-family: var(--f-tit); font-weight: 800; font-size: 1rem; color: var(--slate-900);
  background: transparent; border: none; cursor: pointer; gap: 1rem;
  transition: color .15s;
}
.faq-q:hover { color: var(--blue-700); }
.faq-item.open .faq-q { color: var(--blue-700); }
.faq-chevron { width: 20px; height: 20px; flex-shrink: 0; color: var(--slate-500); transition: transform .2s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--blue-600); }
.faq-a {
  display: none; padding: 0 1.25rem 1.25rem;
  font-size: .925rem; color: var(--slate-600); line-height: 1.7;
  border-top: 1px solid rgba(226,232,240,.6); padding-top: .75rem;
  background: #fff;
}
.faq-item.open .faq-a { display: block; }

.faq-cta {
  margin-top: 2.5rem; padding: 1.5rem;
  background: var(--slate-100); border-radius: 1rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center;
}
.faq-cta h4 { font-size: .875rem; font-weight: 700; color: var(--slate-900); margin: 0; }
.faq-cta p { font-size: .75rem; color: var(--slate-600); margin: 0; }
.btn-wa-sm {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--emerald-600); color: #fff; border-radius: .75rem;
  font-weight: 700; font-size: .8rem; padding: .625rem 1.25rem;
  text-decoration: none; border: none; cursor: pointer; transition: background .12s;
}
.btn-wa-sm:hover { background: var(--emerald-500); }
.btn-wa-sm svg { width: 16px; height: 16px; }
@media (min-width: 640px) { .faq-cta { flex-direction: row; justify-content: space-between; text-align: left; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--slate-950); color: var(--slate-400);
  font-size: .75rem; border-top: 1px solid var(--slate-800);
}
.footer-main { max-width: 1280px; margin-inline: auto; padding: 3rem 1rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer-brand h3 { font-family: var(--f-tit); font-size: 1.25rem; font-weight: 800; color: #fff; margin: 0 0 .75rem; }
.footer-brand h3 span { color: var(--blue-400); }
.footer-brand p { color: var(--slate-400); line-height: 1.6; margin: 0 0 .75rem; }
.footer-brand .legal { color: var(--slate-300); font-weight: 600; }
.footer-brand .legal span { color: var(--slate-400); font-weight: 400; display: block; }
.footer-col h4 { font-size: .8rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .75rem; }
.footer-sedes { display: flex; flex-direction: column; gap: .75rem; }
.footer-sede { display: flex; flex-direction: column; gap: .125rem; }
.footer-sede .sede-name { display: flex; align-items: center; gap: .375rem; font-weight: 700; color: #fff; }
.footer-sede .sede-name svg { width: 14px; height: 14px; color: var(--blue-400); }
.footer-sede .sede-addr { color: var(--slate-400); padding-left: 1.25rem; }
.footer-sede a { color: var(--sky-400); font-family: monospace; font-weight: 700; text-decoration: none; padding-left: 1.25rem; display: block; }
.footer-sede a:hover { color: var(--sky-300); }
.footer-horario { font-size: .7rem; color: var(--slate-400); margin-top: .5rem; }
.footer-sep { border: none; border-top: 1px solid var(--slate-800); margin: .5rem 0; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a, .footer-links button {
  color: var(--slate-400); text-decoration: none; background: none; border: none; cursor: pointer;
  font-size: .75rem; text-align: left; padding: 0; transition: color .12s;
}
.footer-links a:hover, .footer-links button:hover { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.footer-links .arrepentimiento { color: var(--sky-300); display: flex; align-items: center; gap: .375rem; font-weight: 700; }
.footer-links .arrepentimiento:hover { color: var(--sky-200); }
.footer-links .arrepentimiento svg { width: 12px; height: 12px; }
.footer-rates {
  padding: .875rem; background: var(--slate-900);
  border-radius: 1rem; border: 1px solid var(--slate-800);
  display: flex; flex-direction: column; gap: .375rem; font-size: .7rem; color: var(--slate-300);
}
.footer-rate-row { display: flex; justify-content: space-between; }
.footer-rate-row strong { color: #fff; font-family: monospace; }
.footer-rate-row.cftea { color: var(--sky-400); font-weight: 700; border-top: 1px solid var(--slate-800); padding-top: .375rem; margin-top: .25rem; }
.footer-rate-note { font-size: .65rem; color: var(--slate-400); border-top: 1px solid var(--slate-800); padding-top: .375rem; margin-top: .25rem; }

/* Footer disclaimer */
.footer-disclaimer { border-top: 1px solid rgba(30,41,59,.8); padding-top: 2rem; margin-top: 2rem; display: flex; flex-direction: column; gap: .5rem; font-size: .7rem; color: var(--slate-400); line-height: 1.6; }
.footer-disclaimer p { margin: 0; }
.footer-disclaimer strong { color: var(--slate-300); }

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(2,6,23,.8); padding-top: 1.5rem; margin-top: 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  font-size: .7rem; color: var(--slate-500); text-align: center;
}
.footer-bottom-links { display: flex; align-items: center; gap: 1rem; }
.footer-bottom-links a { color: var(--slate-500); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--slate-300); }

@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }

/* ============================================================
   STICKY BOTTOM BAR (mobile)
   ============================================================ */
.sticky-bar {
  display: flex;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 30;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-top: 1px solid var(--slate-200);
  padding: .625rem 1rem; box-shadow: 0 -4px 24px rgba(15,23,42,.12);
}
.sticky-bar-inner { display: flex; align-items: center; gap: .625rem; max-width: 28rem; margin: 0 auto; width: 100%; }
.sticky-bar-inner .btn-dark { flex: 1; justify-content: center; font-size: .75rem; padding: .75rem .5rem; }
.sticky-bar-inner .btn-pri  { flex: 1; justify-content: center; font-size: .75rem; padding: .75rem .5rem; }
@media (min-width: 768px) { .sticky-bar { display: none; } }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.float-wa {
  position: fixed; bottom: 5rem; right: 1rem; z-index: 50;
  display: flex; flex-direction: column; align-items: flex-end; gap: .5rem;
}
.float-wa-tooltip {
  background: #fff; border-radius: 1rem; box-shadow: 0 8px 32px rgba(0,0,0,.15);
  border: 1px solid var(--slate-200); padding: .875rem 1rem;
  max-width: 280px; font-size: .75rem; color: var(--slate-800);
  position: relative;
}
.float-wa-tooltip .close {
  position: absolute; top: .5rem; right: .5rem;
  background: none; border: none; color: var(--slate-400); cursor: pointer; padding: 2px;
}
.float-wa-tooltip .close:hover { color: var(--slate-600); }
.float-wa-tooltip .close svg { width: 14px; height: 14px; }
.float-wa-online { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--slate-900); margin-bottom: .375rem; }
.float-wa-pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--emerald-500); flex-shrink: 0; animation: pulse 1.5s infinite; }
.float-wa-tooltip p { color: var(--slate-600); line-height: 1.5; margin: 0 0 .625rem; }
.float-wa-tooltip .btn-wa-sm { width: 100%; justify-content: center; }
.float-wa-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa-green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4); border: none; cursor: pointer;
  transition: background .15s, transform .15s;
  position: relative; text-decoration: none;
}
.float-wa-btn:hover { background: var(--wa-dark); transform: scale(1.1); }
.float-wa-btn:active { transform: scale(.95); }
.float-wa-btn svg { width: 32px; height: 32px; fill: #fff; color: var(--wa-green); }
.float-wa-dot {
  position: absolute; top: -2px; right: -2px;
  width: 14px; height: 14px; background: var(--emerald-400); border-radius: 50%;
  border: 2px solid #fff; animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .7; transform: scale(1.2); }
}
@media (min-width: 640px) { .float-wa { bottom: 1.5rem; right: 1.5rem; } }
@media (min-width: 640px) { .float-wa-btn { width: 64px; height: 64px; } }
@media (min-width: 640px) { .float-wa-btn svg { width: 36px; height: 36px; } }

/* ============================================================
   COOKIE / CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: var(--slate-900); color: var(--slate-200);
  padding: 1rem 1.5rem; font-size: .8rem;
  display: flex; align-items: center; flex-wrap: wrap; gap: .75rem;
  border-top: 1px solid var(--slate-700);
}
.cookie-banner.hidden { display: none; }
.cookie-banner p { margin: 0; flex: 1; min-width: 200px; color: var(--slate-300); }
.cookie-banner a { color: var(--sky-400); text-underline-offset: 2px; }
.cookie-btns { display: flex; gap: .5rem; }
.cookie-accept {
  background: var(--blue-700); color: #fff; border: none; border-radius: .5rem;
  padding: .5rem 1.25rem; font-family: var(--f-tit); font-weight: 800; font-size: .75rem; cursor: pointer;
}
.cookie-reject { background: var(--slate-700); color: var(--slate-200); border: none; border-radius: .5rem; padding: .5rem .875rem; font-size: .75rem; cursor: pointer; }

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.gracias { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 4rem 1rem; background: var(--slate-50); }
.gracias-card { max-width: 40rem; width: 100%; background: #fff; border-radius: var(--r-3xl); padding: 2.5rem; box-shadow: var(--shadow-xl); border: 1px solid var(--slate-200); text-align: center; }
.gracias-icon { width: 72px; height: 72px; border-radius: 50%; background: rgba(16,185,129,.15); margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center; }
.gracias-icon svg { width: 40px; height: 40px; color: var(--emerald-500); }
.gracias-card h1 { font-size: 2rem; color: var(--slate-900); margin: 0 0 .5rem; }
.gracias-card p { color: var(--slate-600); font-size: 1rem; margin: 0 0 1.5rem; }
.gracias-steps { text-align: left; background: var(--slate-50); border-radius: 1rem; padding: 1.25rem; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.gracias-step { display: flex; gap: .75rem; align-items: flex-start; }
.gracias-step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-700); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--f-tit); font-size: .8rem; font-weight: 800; flex-shrink: 0; }
.gracias-step-txt strong { display: block; font-size: .875rem; color: var(--slate-900); margin-bottom: .125rem; }
.gracias-step-txt span { font-size: .8rem; color: var(--slate-600); }
