/* Prestauto – Sistema Leasing · Landing */

:root {
  --action: #126BAA;        /* Verde-azul: CTA y acentos */
  --action-dark: #0E5689;
  --sky: #6FB7F7;           /* Azul muy claro */
  --columbia: #C4DCE7;      /* Columbia Blue */
  --ink: #343D44;           /* Arsénico */
  --white: #FFFFFF;
  --wa: #25D366;
  --wa-hover: #1EBE5A;
  --wa-ink: #FFFFFF;        /* texto sobre el verde de WhatsApp (decisión de marca) */
  --tint: #EEF5F9;          /* Columbia Blue al ~30 % para fondos alternos */
  --muted: #5C666E;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px -12px rgba(52, 61, 68, .25);
  --container: 1120px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 6.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--action); }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }
.narrow { max-width: 780px; }
.center { text-align: center; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.ico { width: 1.25em; height: 1.25em; flex: none; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .8em 1.4em;
  font: 700 1rem/1.2 var(--font);
  text-decoration: none; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: background-color .15s, transform .15s, box-shadow .15s;
}
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.btn-primary { background: var(--action); color: var(--white); box-shadow: 0 8px 20px -8px rgba(18, 107, 170, .6); }
.btn-primary:hover { background: var(--action-dark); transform: translateY(-1px); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--columbia); }
.btn-outline { border-color: var(--action); color: var(--action); background: transparent; min-height: 44px; padding: .6em 1.2em; }
.btn-outline:hover { background: var(--action); color: var(--white); }
.btn-lg { font-size: 1.08rem; padding: .95em 1.7em; }
.btn-sm { min-height: 40px; padding: .5em 1em; font-size: .92rem; }
.btn-block { width: 100%; }

.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--action); margin-bottom: .9em; }
.eyebrow-light { color: var(--sky); }
.microcopy { font-size: .9rem; color: var(--muted); margin: .7em 0 0; }
.microcopy-light { color: rgba(255, 255, 255, .85); }
.legal-note { font-size: .78rem; color: var(--muted); margin: 1em 0 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--columbia); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand img { width: 128px; height: auto; }
.nav { display: none; }
/* En móvil el menú se oculta; "Quiénes somos" queda como enlace suelto junto al botón */
.header-about { margin-left: auto; color: var(--ink); font-weight: 700; font-size: .85rem; text-decoration: none; white-space: nowrap; }
.header-about[aria-current="page"] { color: var(--action); }
@media (min-width: 900px) {
  .brand img { width: 150px; }
}
/* El menú completo (6 enlaces) solo cabe en una línea desde 1100 px; antes queda "Quiénes somos" suelto */
@media (min-width: 1100px) {
  .nav { display: flex; gap: 24px; }
  .nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
  .nav a:hover, .nav a[aria-current="page"] { color: var(--action); }
  .header-about { display: none; }
}

/* Página interna: Quiénes somos */
.page-hero { background: var(--ink); color: var(--white); padding: 56px 0 48px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(111, 183, 247, .25) 0%, rgba(111, 183, 247, 0) 70%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .lead { color: rgba(255, 255, 255, .9); max-width: 46em; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 32px; }
.about-stats li { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); padding: 16px; }
.about-stats strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--sky); line-height: 1.1; }
.about-stats span { font-size: .85rem; color: rgba(255, 255, 255, .8); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.about-text p { color: var(--ink); font-size: 1.04rem; }
.about-quote { background: var(--tint); border-radius: var(--radius-lg); padding: 28px 24px; text-align: center; }
.about-quote img { width: 200px; margin: 0 auto 16px; }
.about-quote p { margin: 0; font-size: 1.2rem; font-weight: 800; color: var(--action); line-height: 1.3; }
.mv-grid { display: grid; gap: 16px; }
.mv-card { background: var(--white); border: 1px solid var(--columbia); border-radius: var(--radius-lg); padding: 24px 22px; }
.mv-card h3 { font-size: 1.3rem; }
.mv-card p { margin: 0; color: var(--muted); font-size: 1.04rem; }
.values { display: grid; gap: 14px; }
.values li { border: 1px solid var(--columbia); border-radius: var(--radius); padding: 22px 20px; }
.values p { margin: 0; color: var(--muted); }
@media (min-width: 700px) {
  .about-stats { grid-template-columns: repeat(4, 1fr); }
  .mv-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .values { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .page-hero { padding: 80px 0 72px; }
  .about-grid { grid-template-columns: 1.4fr .8fr; gap: 56px; }
  .about-quote { position: sticky; top: 96px; }
  .mv-card { padding: 32px; }
}
@media (min-width: 1000px) { .values { grid-template-columns: repeat(5, 1fr); gap: 16px; } }

/* Página interna: Política de privacidad */
.page-hero-sm { padding: 48px 0 40px; }
@media (min-width: 900px) { .page-hero-sm { padding: 64px 0 56px; } }
.legal-doc { font-size: 1rem; }
.legal-doc h2 { font-size: clamp(1.25rem, 3.6vw, 1.5rem); margin: 2em 0 .6em; padding-top: .2em; scroll-margin-top: 88px; }
.legal-doc p, .legal-doc li { color: var(--ink); line-height: 1.7; }
.legal-doc ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.legal-doc li { margin-bottom: .35em; }
.legal-toc { background: var(--tint); border: 1px solid var(--columbia); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 8px; }
.legal-toc-title { font-weight: 800; margin-bottom: .5em; }
.legal-toc ol { list-style: decimal; padding-left: 1.3em; display: grid; gap: 4px 28px; }
.legal-toc a { color: var(--action); text-decoration: none; font-weight: 600; }
.legal-toc a:hover { text-decoration: underline; }
@media (min-width: 700px) { .legal-toc ol { grid-template-columns: 1fr 1fr; } }
.legal-callout { background: var(--tint); border-left: 4px solid var(--action); border-radius: 8px; padding: 14px 16px; }
.legal-intro { font-size: 1.08rem; margin-bottom: 1.6em; }
.legal-doc ul.legal-contact { list-style: none; padding: 18px 20px; background: var(--tint); border: 1px solid var(--columbia); border-radius: var(--radius); }
.legal-contact li { margin-bottom: .5em; }
.legal-contact li:last-child { margin-bottom: 0; }
.legal-contact a { color: var(--action); font-weight: 600; }
mark.pendiente { background: #FFF1B8; color: var(--ink); padding: 0 .25em; border-radius: 4px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--tint) 0%, var(--white) 100%); padding: 40px 0 48px; overflow: hidden; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.lead { font-size: 1.08rem; color: var(--ink); max-width: 36em; }
.cta-block { margin: 1.6em 0 1.4em; }
.cta-block .btn { width: 100%; }

/* Foto de la modelo: apoyada en el borde inferior del hero, sobre un círculo de marca */
.hero { padding-bottom: 0; }
.hero-copy { padding-bottom: 8px; }
.hero-visual { position: relative; width: 100%; max-width: 480px; margin: 0 auto; align-self: end; }
.hero-visual::before {
  content: ""; position: absolute; left: 8%; right: 8%; bottom: 0; aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle at 50% 40%, var(--sky) 0%, var(--columbia) 70%);
}
/* La imagen trae margen transparente arriba y a los lados: se amplía un poco para que Gaby llene el espacio */
.hero-photo { position: relative; width: 108%; max-width: none; margin-left: -4%; height: auto; }
.hero-panel {
  position: absolute; left: 0; right: 0; bottom: 16px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px);
  border: 1px solid var(--columbia); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 10px 8px 12px;
}
.hero-panel-title {
  display: flex; align-items: center; justify-content: center; gap: .45em;
  margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--columbia);
  font-size: .85rem; font-weight: 700;
}
.hero-panel-title .ico { color: var(--action); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; }
.hero-stats li + li { border-left: 1px solid var(--columbia); }
.hero-stats strong { display: block; font-size: 1.45rem; font-weight: 800; color: var(--action); line-height: 1.1; }
.hero-stats span { font-size: .72rem; color: var(--muted); line-height: 1.25; display: block; margin-top: 2px; }

@media (min-width: 900px) {
  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-copy { padding-bottom: 80px; }
  .cta-block .btn { width: auto; }
  .hero-visual { max-width: 560px; margin-right: 0; }
  .hero-panel { left: -40px; right: 40px; bottom: 28px; padding: 12px 12px 14px; }
  .hero-panel-title { font-size: .92rem; }
  .hero-stats strong { font-size: 1.75rem; }
  .hero-stats span { font-size: .78rem; }
}

/* Barra de confianza */
.trust { border-top: 1px solid var(--columbia); border-bottom: 1px solid var(--columbia); background: var(--white); }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; padding-top: 24px; padding-bottom: 24px; }
.trust-grid li { display: flex; gap: 12px; align-items: flex-start; }
.trust-grid strong { display: block; font-size: .95rem; line-height: 1.3; }
.trust-grid div > span { font-size: .85rem; color: var(--muted); line-height: 1.4; display: block; }
.trust-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--columbia); color: var(--action); flex: none; }
@media (min-width: 900px) { .trust-grid { grid-template-columns: repeat(4, 1fr); padding-top: 28px; padding-bottom: 28px; } }

/* Secciones */
.section { padding: 56px 0; }
.section-tint { background: var(--tint); }
.section-title { text-align: center; max-width: 18em; margin-left: auto; margin-right: auto; margin-bottom: .9em; }
.section-sub { text-align: center; color: var(--muted); margin-top: -.6em; margin-bottom: 2em; }
@media (min-width: 900px) { .section { padding: 88px 0; } }

/* Calculadora */
.calc-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.calc-intro p { color: var(--muted); font-size: 1.05rem; }
.calc { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px 20px; border: 1px solid var(--columbia); }
.field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 10px; padding: 0; }
.money { display: flex; align-items: center; border: 2px solid var(--columbia); border-radius: 12px; padding: 0 14px; background: var(--white); }
.money:focus-within { border-color: var(--action); }
.money span { font-weight: 800; font-size: 1.3rem; color: var(--muted); }
.money input { flex: 1; min-width: 0; border: 0; outline: none; font: 800 1.5rem var(--font); color: var(--ink); padding: 10px 8px; background: transparent; }
.money input::-webkit-inner-spin-button { -webkit-appearance: none; }
.money input::placeholder { color: #A9B3BA; }
.money:has(input[aria-invalid="true"]) { border-color: #B3261E; }
.field-help { font-size: .85rem; color: var(--muted); margin: 8px 0 0; }
.field-hint { font-size: .88rem; background: var(--columbia); padding: 8px 12px; border-radius: 10px; margin: 10px 0 0; }
.field-error { background: #FDECEA; color: #8C1D18; font-weight: 600; }
.calc-result { background: var(--tint); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 18px; }
.calc-result-title { display: block; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.cuotas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cuotas li {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--white); border: 1px solid var(--columbia); border-radius: 12px; padding: 12px 6px;
}
.cuota-label { font-size: .78rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.cuotas small { font-size: .72rem; font-weight: 700; color: var(--muted); line-height: 1; }
.cuotas strong { font-size: clamp(1.05rem, 4.6vw, 1.45rem); font-weight: 800; color: var(--action); line-height: 1.2; overflow-wrap: anywhere; }
.cuotas-single { grid-template-columns: 1fr; }
.cuotas-single li { flex-direction: row; justify-content: center; align-items: baseline; gap: 8px; padding: 10px 12px; }
.cuotas-single small { font-size: 1rem; }
.cuotas-single strong { font-size: clamp(1.9rem, 8vw, 2.3rem); }
.cuotas-single .cuota-label { margin: 0; font-size: .95rem; }

/* Calculadora compacta */
#calculadora.section { padding: 40px 0; }
#calculadora .calc-intro h2 { margin-bottom: .35em; }
#calculadora .calc-intro p { margin: 0; }
#calculadora .calc { padding: 18px 16px; }
#calculadora .field { margin-bottom: 14px; }
#calculadora .field label { margin-bottom: 8px; }
#calculadora .money input { padding: 6px 8px; font-size: 1.35rem; }
#calculadora .field-help { margin-top: 6px; }
#calculadora .calc-result { padding: 12px 14px; margin-bottom: 0; }
#calculadora .calc-result-title { margin-bottom: 6px; font-size: .9rem; }
#calculadora .calc-avisos { margin: 12px 0 14px; gap: 2px; }
#calculadora .calc-avisos li { font-size: .78rem; }
@media (min-width: 900px) {
  #calculadora.section { padding: 56px 0; }
  #calculadora .calc-wrap { grid-template-columns: .8fr 1.2fr; gap: 48px; }
  #calculadora .calc {
    display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; align-items: start; padding: 22px 24px;
  }
  #calculadora .field { margin: 0; }
  #calculadora .calc-avisos, #calculadora .calc .btn { grid-column: 1 / -1; }
  #calculadora .calc-avisos { display: flex; flex-wrap: wrap; gap: 4px 16px; }
}
.calc-avisos { margin-top: 14px; display: grid; gap: 6px; }
.calc-avisos li { display: flex; gap: .5em; font-size: .82rem; line-height: 1.4; color: var(--ink); }
.calc-avisos span { flex: none; }
@media (min-width: 900px) {
  .calc-wrap { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .calc { padding: 32px; }
}

/* Pasos */
.steps { display: grid; gap: 16px; counter-reset: step; }
.steps li { position: relative; background: var(--white); border: 1px solid var(--columbia); border-radius: var(--radius); padding: 22px 20px 20px 76px; }
.step-n { position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--action); color: var(--white); font-weight: 800; }
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .steps li { padding: 24px 22px; }
  .step-n { position: static; margin-bottom: 16px; }
}

/* Requisitos */
.req-grid { display: grid; gap: 14px; }
.req { background: var(--white); border-radius: var(--radius); border: 1px solid var(--columbia); }
.req summary, .faq summary { display: flex; align-items: center; gap: 12px; cursor: pointer; list-style: none; font-weight: 700; }
.req summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.req summary { padding: 18px 20px; font-size: 1.05rem; }
.req summary .ico:first-child { color: var(--action); }
.chev { margin-left: auto; color: var(--muted); transition: transform .2s; }
details[open] > summary .chev { transform: rotate(180deg); }
.req .checklist { padding: 0 20px 20px; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--action) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center/14px no-repeat;
}
.checklist-light li::before { background-color: var(--sky); }
.benefit-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 28px 0; }
.benefit-strip li { background: var(--columbia); color: var(--ink); font-weight: 700; font-size: .9rem; padding: 8px 14px; border-radius: 999px; }
@media (min-width: 900px) {
  .req-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .req summary { pointer-events: none; }
  .req summary .chev { display: none; }
}

/* Para quién es */
.uses { display: grid; gap: 14px; }
.uses li { background: var(--white); border: 1px solid var(--columbia); border-radius: var(--radius); padding: 22px 20px; }
.uses p { margin: 0; color: var(--muted); }
.use-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--tint); color: var(--action); margin-bottom: 14px; }
.use-ico .ico { width: 24px; height: 24px; }
@media (min-width: 640px) { .uses { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .uses { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* Sistema Leasing para Empresas */
.section-dark { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.section-dark::after { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(111, 183, 247, .22) 0%, rgba(111, 183, 247, 0) 70%); pointer-events: none; }
.section-dark .lead { color: rgba(255, 255, 255, .88); }
.emp-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; position: relative; z-index: 1; }
.emp-ideal { color: rgba(255, 255, 255, .8); margin-bottom: 0; }

/* Nombre del producto destacado */
.emp-brand {
  display: inline-block; margin: 0 0 18px; padding: .45em .8em;
  font-size: clamp(1.35rem, 5.2vw, 2rem); font-weight: 800; line-height: 1.15; letter-spacing: -.01em;
  color: var(--ink); background: var(--white); border-radius: 14px;
  box-shadow: 0 0 0 4px rgba(111, 183, 247, .35);
}
.emp-brand span { color: var(--action); }

.emp-visual { position: relative; max-width: 300px; width: 100%; margin: 0 auto; }
.emp-visual::before {
  content: ""; position: absolute; left: 4%; right: 4%; bottom: 6%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(111, 183, 247, .55) 0%, rgba(111, 183, 247, 0) 70%);
}
.emp-visual img { position: relative; width: 100%; height: auto; }
/* En móvil se recorta a la altura de la cintura para no alargar la sección */
@media (max-width: 899px) {
  .emp-visual { max-width: 280px; }
  .emp-visual img { aspect-ratio: 500 / 540; object-fit: cover; object-position: top; }
  .emp-visual::before { bottom: 0; }
}

.emp-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-lg); padding: 24px 20px; }
.emp-card .checklist { margin-bottom: 22px; }
.emp-card .checklist li { font-weight: 600; }
.emp-card .microcopy { text-align: center; }

@media (min-width: 900px) {
  .section-dark#empresarial { padding-bottom: 0; }
  .emp-grid {
    grid-template-columns: 1.1fr .9fr;
    grid-template-areas: "copy visual" "card visual";
    column-gap: 56px; row-gap: 28px; align-items: start;
  }
  .emp-copy { grid-area: copy; }
  .emp-card { grid-area: card; padding: 28px 32px; margin-bottom: 88px; }
  .emp-visual { grid-area: visual; align-self: end; max-width: 440px; }
}

/* Testimonios */
.testimonials { display: grid; gap: 16px; }
.testimonials li { background: var(--tint); border-radius: var(--radius); padding: 24px; }
.testimonials blockquote { margin: 0 0 12px; font-size: 1.05rem; font-weight: 600; }
.t-name, .t-use { margin: 0; font-size: .9rem; color: var(--muted); }
@media (min-width: 900px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--columbia); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { padding: 18px 20px; font-size: 1.02rem; }
.faq p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* Sucursales */
.branches { display: grid; gap: 16px; }
.branch { border: 1px solid var(--columbia); border-radius: var(--radius); padding: 24px 20px; }
.branch p { color: var(--muted); }
.branch-map { display: block; width: 100%; height: 180px; border: 0; border-radius: 12px; margin: 0 0 16px; background: var(--tint); }
.branch-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.link-wa { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; text-decoration: none; min-height: 44px; }
.link-wa:hover { text-decoration: underline; }
@media (min-width: 800px) { .branches { grid-template-columns: 1fr 1fr; gap: 20px; } .branch { padding: 28px; } }

/* Cierre */
.closing { background: var(--action); color: var(--white); padding: 64px 0; text-align: center; }
.closing h2 { max-width: 14em; margin: 0 auto .8em; }
.closing-inner { display: flex; flex-direction: column; align-items: center; }
.closing .btn { color: var(--action); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 56px 0 190px; font-size: .92rem; border-top: 4px solid var(--action); }
.footer-top { display: grid; gap: 36px; }
.footer-logo { display: inline-block; }
.footer-logo img { width: 170px; height: auto; }
.footer-tagline { margin: 14px 0 18px; max-width: 22em; color: rgba(255, 255, 255, .78); line-height: 1.5; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); color: var(--white); }
.social a:hover { background: var(--action); border-color: var(--action); }
.site-footer h3 { color: var(--white); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1em; }
.site-footer a { color: var(--white); text-decoration: none; }
.footer-list li { margin-bottom: 10px; }
.footer-list a { color: rgba(255, 255, 255, .78); transition: color .15s; }
.footer-list a:hover { color: var(--sky); }
.footer-address { font-style: normal; line-height: 1.6; margin-bottom: 12px; }
.footer-address strong { color: var(--white); }
.footer-map { font-weight: 700; color: var(--sky) !important; }
.footer-map:hover { text-decoration: underline; }
.footer-hours li { display: flex; flex-direction: column; margin-bottom: 12px; }
.footer-hours span { color: var(--white); font-weight: 600; }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; color: rgba(255, 255, 255, .6); }
.footer-note { margin: 0 0 18px; line-height: 1.5; }
.footer-bottom-row { display: flex; flex-direction: column; gap: 14px; }
.footer-bottom-row p { margin: 0; }
.footer-bottom-row a { color: rgba(255, 255, 255, .85); text-decoration: underline; text-underline-offset: 3px; }
.footer-parent { display: flex; align-items: center; gap: 10px; }
.footer-parent img { width: 130px; height: auto; }
.footer-bottom .credits { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); text-align: center; letter-spacing: .02em; color: rgba(255, 255, 255, .5); }
@media (min-width: 700px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .site-footer { padding: 64px 0 40px; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1.2fr .9fr; gap: 48px; }
  .footer-bottom-row { flex-direction: row; justify-content: space-between; align-items: center; }
}

/*
  Botones que abren WhatsApp: verde WhatsApp con texto blanco para destacarlos.
*/
.btn[data-wa] { background: var(--wa); color: var(--wa-ink); border-color: transparent; box-shadow: 0 8px 20px -8px rgba(37, 211, 102, .7); }
.btn[data-wa]:hover { background: var(--wa-hover); color: var(--wa-ink); }
.link-wa .ico { color: var(--wa-hover); }

/* ---------- Animaciones ---------- */
:root { --ease-out: cubic-bezier(.2, .7, .2, 1); }

/* Entrada al hacer scroll (solo con JS; main.js agrega .reveal y luego .is-in) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Entrada del hero y del encabezado de páginas internas al cargar */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes float-in { from { transform: translateY(28px) scale(.97); } to { transform: none; } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.js .hero-copy > *, .js .page-hero .container > * { animation: rise .55s var(--ease-out) both; }
.js .hero-copy > :nth-child(2), .js .page-hero .container > :nth-child(2) { animation-delay: .06s; }
.js .hero-copy > :nth-child(3), .js .page-hero .container > :nth-child(3) { animation-delay: .12s; }
.js .hero-copy > :nth-child(4), .js .page-hero .container > :nth-child(4) { animation-delay: .18s; }
.js .hero-copy > :nth-child(n+5) { animation-delay: .24s; }
.js .hero-photo { animation: float-in .8s var(--ease-out) both; }   /* solo movimiento: la foto es visible desde el inicio */
.js .hero-visual::before { animation: rise .8s var(--ease-out) both; }
.js .hero-panel { animation: rise .6s var(--ease-out) .35s both; }

/* Tarjetas: se elevan al pasar el mouse */
.uses > li, .steps > li, .values > li, .mv-card, .branch, .req, .faq details, .cuotas li {
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s;
}
@media (hover: hover) {
  .uses > li:hover, .steps > li:hover, .values > li:hover, .mv-card:hover, .branch:hover {
    transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sky);
  }
  .use-ico, .trust-ico { transition: transform .25s var(--ease-out); }
  .uses > li:hover .use-ico, .values > li:hover .use-ico, .mv-card:hover .use-ico, .branch:hover .use-ico { transform: scale(1.08) rotate(-4deg); }
  .btn[data-wa]:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(37, 211, 102, .8); }
  .social a:hover { transform: translateY(-2px); }
}
.btn:active { transform: translateY(0) scale(.98); }
.social a { transition: background-color .15s, transform .2s var(--ease-out); }

/* Preguntas frecuentes y requisitos: el contenido aparece suave al abrir */
details[open] > :not(summary) { animation: fade-down .3s var(--ease-out); }

/* Calculadora: pulso en la cifra al recalcular */
.cuotas strong.bump { animation: pop .35s var(--ease-out); }

/* Encabezado: sombra suave al bajar */
.site-header { transition: box-shadow .25s, background-color .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 20px -12px rgba(52, 61, 68, .35); }

/* Sin animaciones si el sistema pide reducir movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Botón flotante de WhatsApp (solo móvil, aparece al hacer scroll) */
.wa-float {
  position: fixed; left: 16px; right: 16px; bottom: calc(120px + env(safe-area-inset-bottom)); /* por encima del avatar del webchat de Botmaker (esquina inferior) */
  z-index: 60; display: flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 54px; border-radius: 999px; background: var(--wa); color: var(--wa-ink);
  font-weight: 800; font-size: 1.02rem; text-decoration: none;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .35);
  transform: translateY(calc(100% + 140px)); transition: transform .25s ease;
}
.wa-float .ico { width: 1.5em; height: 1.5em; }
.wa-float.is-visible { transform: translateY(0); }
@media (min-width: 900px) { .wa-float { display: none; } }
