/* ============================================================
   CocheEnRenta · styles.css
   Inspirado en habitampalma.es — clean, white, minimal
   ============================================================ */

/* ── VARIABLES ──────────────────────────────────────────────── */
:root {
  --blue:       #1E50A0;
  --blue-dark:  #16397A;
  --blue-faint: #EEF3FB;
  --green:      #1FA971;
  --green-faint:#E8F7F1;
  --ink:        #0D1526;
  --ink-60:     #555F72;
  --ink-30:     #A3ABB7;
  --bg:         #FFFFFF;
  --bg-light:   #F7F8FA;
  --border:     #E5E8EE;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --shadow-sm:  0 1px 4px rgba(0,0,0,.06), 0 2px 12px rgba(0,0,0,.04);
  --shadow-md:  0 4px 24px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.1);
  --font:       'Inter', system-ui, -apple-system, sans-serif;
  --nav-h:      68px;
  --max:        1200px;
}

/* ── RESET ──────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust:100%; }
body { font-family:var(--font); background:var(--bg); color:var(--ink);
       line-height:1.6; font-size:16px; overflow-x:hidden; }
img,svg { display:block; max-width:100%; }
a { color:inherit; text-decoration:none; }
button,input,select,textarea { font:inherit; }
button { cursor:pointer; border:none; background:none; }
ul { list-style:none; }
h1,h2,h3 { line-height:1.15; letter-spacing:-.02em; }

/* ── CONTAINER ──────────────────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECTIONS ───────────────────────────────────────────────── */
.section { padding: 96px 0; }
@media (max-width: 768px) { .section { padding: 64px 0; } }

/* ── TAGS ───────────────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--blue-faint);
  color: var(--blue);
  margin-bottom: 20px;
}
.tag--green { background: var(--green-faint); color: var(--green); }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  transition: background .18s, transform .15s, box-shadow .18s;
  white-space: nowrap;
}
.btn-primary:hover { background: #1c2d4a; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.btn-primary:active { transform: none; }
.btn-primary.loading .btn-text { opacity: .5; }
.btn-primary.loading .btn-spin { display: inline-block; }

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--ink);
  font-size: .95rem;
  font-weight: 500;
  transition: border-color .18s, background .18s, transform .15s;
  white-space: nowrap;
}
.btn-ghost-dark:hover { background: var(--bg-light); border-color: var(--ink-30); transform: translateY(-1px); }

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 700;
  transition: transform .15s, box-shadow .18s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.18); }

.btn-lg  { padding: 15px 32px; font-size: 1rem; }
.btn-xl  { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm  { padding: 9px 18px; font-size: .875rem; }
.w-full  { width: 100%; }
.jc-center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap .15s;
}
.link-arrow:hover { gap: 8px; }

/* Loading spinner */
.btn-spin { display: none; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.3);
            border-top-color: #fff; border-radius: 50%; animation: spin .6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal--delay  { transition-delay: .12s; }
.reveal--delay2 { transition-delay: .24s; }
.reveal--delay3 { transition-delay: .36s; }

/* ── NAV ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled { border-color: var(--border); box-shadow: 0 1px 16px rgba(0,0,0,.06); }

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__brand {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
}
.nav__brand em { font-style: normal; color: var(--blue); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav__links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-60);
  transition: color .15s;
}
.nav__links a:hover { color: var(--ink); }

.nav__cta {
  flex-shrink: 0;
  padding: 9px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  transition: background .15s, transform .15s;
}
.nav__cta:hover { background: #1c2d4a; transform: translateY(-1px); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.nav__hamburger span {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
  background: #fff;
}
.nav__mobile.active { display: flex; }
.nav__mobile a {
  padding: 10px 12px;
  font-size: .95rem;
  color: var(--ink);
  border-radius: var(--radius);
  font-weight: 500;
}
.nav__mobile a:hover { background: var(--bg-light); }
.nav__mobile .btn-primary { margin-top: 8px; justify-content: center; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta   { display: none; }
  .nav__hamburger { display: flex; margin-left: auto; }
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 80px;
  background: var(--bg);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--green-faint);
  color: var(--green);
  margin-bottom: 24px;
}

.hero__left h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.07;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero__left h1 em {
  font-style: normal;
  color: var(--ink-60);
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--ink-60);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: .82rem;
  color: var(--ink-60);
  font-weight: 500;
}

/* ── ESTIMADOR ──────────────────────────────────────────────── */
.estimador {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.estimador__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-60);
  background: var(--bg-light);
}
.estimador__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green-faint);
}
.estimador__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.estimador__label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.estimador__opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.est-opt {
  padding: 10px 8px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-60);
  background: #fff;
  transition: border-color .15s, background .15s, color .15s, transform .12s;
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
}
.est-opt:hover { border-color: var(--ink-30); color: var(--ink); transform: translateY(-1px); }
.est-opt.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.estimador__result {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.estimador__result-label {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-60);
}
.estimador__amount {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.03em;
}
.estimador__bar-wrap { display: flex; flex-direction: column; gap: 4px; }
.estimador__bar {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.estimador__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 999px;
  width: 45%;
  transition: width .5s cubic-bezier(.34,1.56,.64,1);
}
.estimador__bar-marks {
  display: flex;
  justify-content: space-between;
  font-size: .7rem;
  color: var(--ink-30);
}
.estimador__note {
  font-size: .73rem;
  color: var(--ink-30);
}
.estimador__footer {
  display: flex;
  gap: 8px;
  justify-content: center;
  font-size: .75rem;
  color: var(--ink-30);
  font-weight: 500;
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__left h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
}
@media (max-width: 560px) {
  .hero { padding-top: calc(var(--nav-h) + 36px); padding-bottom: 48px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn-ghost-dark { justify-content: center; }
}

/* ── STATS ──────────────────────────────────────────────────── */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
  background: var(--bg);
}
.stats__inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.stat__val {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat__n {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--ink);
  line-height: 1;
}
.stat__s {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.stat__l {
  font-size: .8rem;
  font-weight: 500;
  color: var(--ink-60);
  max-width: 140px;
  text-align: center;
}
.stat__sep {
  width: 1px;
  height: 48px;
  background: var(--border);
}
@media (max-width: 768px) {
  .stats__inner { gap: 24px; }
  .stat__sep { display: none; }
}

/* ── COMPARATIVA ────────────────────────────────────────────── */
.comparativa { background: var(--bg-light); }
.comp__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}
.comp__header h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.comp__header p  { color: var(--ink-60); font-size: 1.05rem; }

.comp__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.comp__col {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1.5px solid var(--border);
}
.comp__col--bad  { border-color: #fecaca; }
.comp__col--good { border-color: #86efac; }

.comp__col-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
}
.comp__col--bad  .comp__col-head { background: #fef2f2; border-color: #fecaca; }
.comp__col--good .comp__col-head { background: #f0fdf4; border-color: #86efac; }

.comp__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 800;
}
.comp__icon--bad  { background: #fee2e2; color: #ef4444; }
.comp__icon--good { background: #dcfce7; color: #16a34a; }

.comp__col-head h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.comp__list {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.comp__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--ink);
  line-height: 1.5;
}
.comp__list li svg { flex-shrink: 0; margin-top: 2px; }

.comp__photo-ph {
  margin: 0 28px 24px;
  height: 120px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  color: var(--ink-30);
  border: 1.5px dashed var(--border);
  background: var(--bg-light);
  text-align: center;
  padding: 12px;
}
.comp__photo-ph--bad  { background: #fef9f9; }
.comp__photo-ph--good { background: #f9fffe; }

.comp__cta { text-align: center; }

@media (max-width: 768px) {
  .comp__grid { grid-template-columns: 1fr; }
}

/* ── PASOS ──────────────────────────────────────────────────── */
.pasos { background: var(--bg); }
.pasos__head {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 56px;
}
.pasos__head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }

.pasos__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0 8px;
  margin-bottom: 48px;
}

.paso {
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.paso__n {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--blue);
  text-transform: uppercase;
}
.paso__icon { color: var(--ink); }
.paso h3 { font-size: 1rem; font-weight: 700; color: var(--ink); }
.paso p  { font-size: .875rem; color: var(--ink-60); line-height: 1.55; }

.paso__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--ink-30);
  padding: 0 4px;
  margin-top: 56px;
}

.pasos__cta { text-align: center; }

@media (max-width: 900px) {
  .pasos__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .paso__arrow { display: none; }
}

/* ── PARA QUIÉN ─────────────────────────────────────────────── */
.paraquien { background: var(--bg-light); }
.paraquien__head {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 56px;
}
.paraquien__head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }

.paraquien__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
}

.paraquien__card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.paraquien__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-bottom: 1px solid var(--border);
}
.paraquien__card--main .paraquien__img { height: 240px; }

.paraquien__img-ph {
  height: 160px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  color: var(--ink-30);
  text-align: center;
  padding: 12px;
}

.paraquien__body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.paraquien__body h3 { font-size: 1.05rem; font-weight: 700; }
.paraquien__body p  { font-size: .875rem; color: var(--ink-60); line-height: 1.55; flex: 1; }
.paraquien__body .btn-primary { margin-top: 8px; }

@media (max-width: 900px) {
  .paraquien__grid { grid-template-columns: 1fr; }
}

/* ── BENEFICIOS ─────────────────────────────────────────────── */
.beneficios { background: var(--bg); }
.beneficios__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.beneficios__left { position: sticky; top: calc(var(--nav-h) + 32px); }
.beneficios__left h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }
.beneficios__left p  { font-size: 1rem; color: var(--ink-60); line-height: 1.65; margin-bottom: 32px; }

.beneficios__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.beneficios__list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.ben__check {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.beneficios__list li strong { display: block; font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.beneficios__list li p { font-size: .875rem; color: var(--ink-60); line-height: 1.55; margin: 0; }

@media (max-width: 900px) {
  .beneficios__inner { grid-template-columns: 1fr; gap: 40px; }
  .beneficios__left { position: static; }
}

/* ── GARANTÍAS ──────────────────────────────────────────────── */
.garantias { background: var(--bg-light); }
.garantias__head {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 56px;
}
.garantias__head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.garantias__head p  { font-size: 1rem; color: var(--ink-60); }

.garantias__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.garantia {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.garantia__n {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.garantia h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.garantia p  { font-size: .875rem; color: var(--ink-60); line-height: 1.55; }

.garantias__disc {
  text-align: center;
  font-size: .78rem;
  color: var(--ink-30);
  max-width: 560px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .garantias__grid { grid-template-columns: 1fr; }
}

/* ── CTA BANNER ─────────────────────────────────────────────── */
.cta-banner {
  background: var(--ink);
  padding: 80px 0;
}
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-banner__inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.cta-banner__inner p {
  font-size: 1rem;
  color: rgba(255,255,255,.65);
}

@media (max-width: 768px) {
  .cta-banner__inner { flex-direction: column; text-align: center; }
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq { background: var(--bg); }
.faq__head {
  text-align: center;
  max-width: 480px;
  margin: 0 auto 56px;
}
.faq__head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.faq__head p  { color: var(--ink-60); font-size: 1rem; }

.faq__list {
  max-width: 720px;
  margin: 0 auto;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:last-child { border-bottom: none; }

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  text-align: left;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  transition: background .15s;
}
.faq__q:hover { background: var(--bg-light); }
.faq__q[aria-expanded="true"] { background: var(--bg-light); }
.faq__q[aria-expanded="true"] .faq__arr { transform: rotate(180deg); }

.faq__arr {
  flex-shrink: 0;
  color: var(--ink-60);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}

.faq__a {
  padding: 0 28px 20px;
  background: var(--bg-light);
}
.faq__a p {
  font-size: .9rem;
  color: var(--ink-60);
  line-height: 1.65;
}

/* ── FORMULARIO ─────────────────────────────────────────────── */
.form-section { background: var(--bg-light); }

.form-wrap {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
}

.form-wrap__left {
  background: var(--ink);
  padding: 56px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-wrap__left .tag--green { background: rgba(31,169,113,.2); color: #6ee7b7; }
.form-wrap__left h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.form-wrap__left p {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
  margin-bottom: 8px;
}
.form-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}

.form-wrap__right { padding: 48px 40px; }

.captacion-form { display: flex; flex-direction: column; gap: 16px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .01em;
}
.req { color: var(--blue); }
.opt { font-weight: 400; color: var(--ink-30); }

.form-field input {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.form-field input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(13,21,38,.06);
}
.form-field input.error { border-color: #ef4444; }
.form-field input.error:focus { box-shadow: 0 0 0 3px rgba(239,68,68,.1); }
.field-err { font-size: .78rem; color: #ef4444; font-weight: 500; min-height: 18px; }

/* File drop */
.file-drop { position: relative; }
.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
}
.file-drop__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 16px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg-light);
  cursor: pointer;
  transition: border-color .15s, background .15s;
  color: var(--ink-60);
  text-align: center;
}
.file-drop:hover .file-drop__inner { border-color: var(--ink-30); background: #f0f1f4; }
.file-drop__inner span { font-size: .85rem; font-weight: 500; }
.file-hint { font-size: .75rem; color: var(--ink-30); }

.form-err-g {
  padding: 12px 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  font-size: .85rem;
  color: #b91c1c;
  font-weight: 500;
}

.form-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.form-note { font-size: .78rem; color: var(--ink-30); text-align: center; }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 40px 20px;
}
.form-success h3 { font-size: 1.3rem; font-weight: 700; }
.form-success p  { color: var(--ink-60); font-size: .95rem; }

@media (max-width: 900px) {
  .form-wrap { grid-template-columns: 1fr; }
  .form-wrap__left { padding: 40px 28px; }
  .form-wrap__right { padding: 36px 28px; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer__tagline {
  font-size: .85rem;
  color: var(--ink-60);
  margin-top: 8px;
}
.footer__nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__nav a {
  font-size: .875rem;
  color: var(--ink-60);
  transition: color .15s;
}
.footer__nav a:hover { color: var(--ink); }
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer__bottom p { font-size: .78rem; color: var(--ink-30); }

/* ── WHATSAPP FLOTANTE ──────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.5); }
.wa-float__pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37,211,102,.25);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { opacity: .8; transform: scale(1); }
  60%  { opacity: 0;  transform: scale(1.6); }
  100% { opacity: 0;  transform: scale(1.6); }
}

/* ── STICKY CTA ─────────────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 40;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  transform: translateY(100%);
  transition: transform .3s ease;
  border-top: 1px solid rgba(255,255,255,.1);
}
.sticky-cta.visible { transform: none; }
.sticky-cta span { font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.85); }

@media (max-width: 560px) {
  .sticky-cta { flex-direction: column; text-align: center; gap: 10px; padding: 14px 20px; }
  .wa-float   { bottom: 80px; }
}
