/* Source and licensing information for the line(s) below can be found at https://www.ban100.com.co/sites/all/themes/custom/credifinanciera/landing-cuenta-ahorros/css/cuenta-ahorros.css. */
/* =========================================================================
   Landing Cuenta de Ahorros 100Pre — Ban100
   CSS autocontenido y "namespaced" bajo .lp-ca para NO interferir con el
   resto del sitio (Bootstrap 4 / tema credifinanciera).
   Diseño basado en el Figma del cliente (Landing page cuenta de ahorros).
   ========================================================================= */

.lp-ca {
  /* Paleta de marca */
  --ca-purple: #5B1CD6;
  --ca-dark: #3B0FA0;
  --ca-purple-700: #4c17b3;
  --ca-purple-100: #EDE9FE;
  --ca-purple-50: #F7F5FF;
  --ca-lilac: #D8B4FE;
  --ca-yellow: #FFC54E;
  --ca-ink: #101828;
  --ca-gray-900: #111827;
  --ca-gray-700: #374151;
  --ca-gray-600: #4b5563;
  --ca-gray-500: #6b7280;
  --ca-gray-400: #9ca3af;
  --ca-gray-100: #f3f4f6;
  --ca-gray-50: #f9fafb;

  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--ca-gray-900);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* evita scroll horizontal accidental introducido por el landing */
}
.lp-ca .ca-hero__title,
.lp-ca .ca-section-title,
.lp-ca .ca-cta__title { overflow-wrap: break-word; word-break: normal; }

/* Reset acotado al landing */
.lp-ca *,
.lp-ca *::before,
.lp-ca *::after { box-sizing: border-box; }

.lp-ca img { max-width: 100%; display: block; }
.lp-ca a { text-decoration: none; color: inherit; }
.lp-ca h1, .lp-ca h2, .lp-ca h3, .lp-ca h4, .lp-ca p { margin: 0; }
.lp-ca button { font-family: inherit; cursor: pointer; }

/* Contenedor base */
.lp-ca .ca-container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 640px) { .lp-ca .ca-container { padding-inline: 24px; } }
@media (min-width: 1024px) { .lp-ca .ca-container { padding-inline: 32px; } }

/* Encabezados de sección reutilizables */
.lp-ca .ca-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 16px;
  background: var(--ca-purple-100);
  color: var(--ca-purple);
}
.lp-ca .ca-badge svg { width: 14px; height: 14px; }
.lp-ca .ca-section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ca-gray-900);
  margin-bottom: 12px;
}
.lp-ca .ca-section-title .hl { color: var(--ca-purple); }
.lp-ca .ca-section-lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ca-gray-600);
}

/* Botones */
.lp-ca .ca-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 0;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}
.lp-ca .ca-btn svg { width: 18px; height: 18px; }
.lp-ca .ca-btn:hover { transform: scale(1.05); }
.lp-ca .ca-btn--purple { background: var(--ca-purple); color: #fff; padding: 16px 32px; }
.lp-ca .ca-btn--purple:hover { box-shadow: 0 12px 28px rgba(91,28,214,.35); }
.lp-ca .ca-btn--dark { background: var(--ca-dark); color: #fff; padding: 16px 32px; }
.lp-ca .ca-btn--dark:hover { box-shadow: 0 12px 28px rgba(59,15,160,.35); }
.lp-ca .ca-btn--white { background: #fff; color: var(--ca-dark); padding: 14px 32px; font-weight: 700; }
.lp-ca .ca-btn--white:hover { box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.lp-ca .ca-btn--outline {
  background: transparent; color: #fff; padding: 14px 32px;
  border: 2px solid rgba(255,255,255,.45); font-weight: 600;
}
.lp-ca .ca-btn--outline:hover { background: rgba(255,255,255,.1); transform: none; }

/* =========================================================================
   1. HERO
   ========================================================================= */
.lp-ca .ca-hero {
  position: relative;
  overflow: hidden;
  background: #f8f9ff;
  padding-top: 0; /* el header del sitio es estático: no hay navbar fija que compensar */
  /* Aísla el stacking del hero: sus z-index internos (1/2/3) no compiten con el
     header, para que el mega menú del sitio se despliegue POR ENCIMA del banner. */
  isolation: isolate;
}
.lp-ca .ca-hero__inner { position: relative; min-height: 620px; }

/* Foto (lado derecho en desktop) */
.lp-ca .ca-hero__photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 59%;
  z-index: 1;
  display: none;
}
.lp-ca .ca-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* Blob morado */
.lp-ca .ca-hero__blob { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.lp-ca .ca-hero__blob-mobile { position: absolute; inset: 0; background: var(--ca-purple); }
.lp-ca .ca-hero__blob-desktop { position: absolute; inset: 0; width: 62%; height: 100%; display: none; }

.lp-ca .ca-hero__grid {
  position: relative;
  z-index: 3;
  max-width: 1280px;
  margin-inline: auto;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.lp-ca .ca-hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 24px;
  min-width: 0;
  max-width: 100%;
}
.lp-ca .ca-hero__title {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.12;
  margin: 40px 0 20px;
}
.lp-ca .ca-hero__title .hl { color: var(--ca-lilac); }
.lp-ca .ca-hero__desc {
  color: rgba(255,255,255,.92);
  line-height: 1.6;
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* Stats */
.lp-ca .ca-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 40px;
}
.lp-ca .ca-stat { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lp-ca .ca-stat__icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.16);
}
.lp-ca .ca-stat__icon svg { width: 28px; height: 28px; color: #fff; }
.lp-ca .ca-hero__stats .ca-stat:nth-child(3) .ca-stat__icon svg { width: 45px; height: 45px; color: #fff; }

/* Logo Bre-B (es ancho): se dimensiona por ancho manteniendo proporción */
.lp-ca .ca-stat__icon svg.ca-stat__breb { width: 36px; height: auto; }
.lp-ca .ca-stat__label { display: block; font-size: .9rem; color: #fff; font-weight: 700; }
.lp-ca .ca-stat__value { font-size: 1.45rem; color: #fff; font-weight: 700; line-height: 1.25; }
.lp-ca .ca-stat__sub { color: #fff; font-size: .9rem; }
.lp-ca .ca-stat:first-child .ca-stat__value{ font-size: 75px; }
.lp-ca .ca-hero__ctas { display: flex; flex-direction: column; gap: 16px; }
.lp-ca .ca-hero__fogafin { width: fit-content; margin-top: 32px; }
.lp-ca .ca-hero__fogafin img,
.lp-ca .ca-hero__fogafin svg { height: 52px; width: auto; border-radius: 8px; display: block; }

@media (min-width: 1024px) {
  .lp-ca .ca-hero__photo { display: block; }
  .lp-ca .ca-hero__blob-mobile { display: none; }
  .lp-ca .ca-hero__blob-desktop { display: block; }
  .lp-ca .ca-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lp-ca .ca-hero__text { padding: 96px 32px 96px 64px; }
  .lp-ca .ca-hero__stats { display: flex; flex-wrap: wrap; gap: 16px 28px; }
  .lp-ca .ca-hero__ctas { flex-direction: row; flex-wrap: wrap; }
  .lp-ca .ca-hero__ctas .ca-btn { width: auto; }
}
@media (max-width: 1023px) {
  .lp-ca .ca-hero__ctas .ca-btn { width: 100%; }
}

/* =========================================================================
   2. BENEFICIOS (carrusel)
   ========================================================================= */
.lp-ca .ca-benefits { padding: 56px 0; background: #fff; }
.lp-ca .ca-benefits__head { text-align: center; max-width: 56rem; margin: 0 auto 64px; }

.lp-ca .ca-carousel-wrap { position: relative; }
.lp-ca .ca-carousel { position: relative; margin-bottom: 0; overflow: hidden; }
.lp-ca .ca-carousel__track { display: flex; gap: 24px; will-change: transform; }
.lp-ca .ca-bcard {
  flex-shrink: 0;
  width: 280px;
  height: 280px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--ca-purple);
}
.lp-ca .ca-bcard__illus { position: absolute; top: 24px; left: 24px; }
.lp-ca .ca-bcard__illus svg { width: 72px; height: 72px; }
/* Contenido anclado a una posición fija desde arriba: así TODOS los títulos
   quedan a la misma altura aunque las descripciones tengan 2 o 3 líneas. */
.lp-ca .ca-bcard__content { position: absolute; left: 0; right: 0; top: 124px; padding: 0 24px 24px; }
.lp-ca .ca-bcard__title { font-weight: 700; font-size: 1.1rem; color: #fff; margin-bottom: 8px; min-height: 1.4em; }
/* Título con marca arriba (más grande) + subtítulo abajo (ej. card Bre-B) */
.lp-ca .ca-bcard__brand { display: block; font-size: 1.55rem; line-height: 1.1; }
.lp-ca .ca-bcard__sub { display: block; font-size: 1rem; font-weight: 600; line-height: 1.25; margin-top: 3px; }
.lp-ca .ca-bcard__desc { font-size: .875rem; line-height: 1.55; color: rgba(255,255,255,.92); }

/* Las ilustraciones SVG van en blanco sobre la tarjeta morada */
.lp-ca .ca-bcard__illus svg path,
.lp-ca .ca-bcard__illus svg rect,
.lp-ca .ca-bcard__illus svg circle,
.lp-ca .ca-bcard__illus svg line { stroke: #fff; }
.lp-ca .ca-bcard__illus svg [fill="#5B1CD6"],
.lp-ca .ca-bcard__illus svg [fill="url(#g1a)"] { fill: #fff; }

/* Flechas de navegación.
   Móvil/tablet (<1024px): barra centrada DEBAJO del carrusel (no tapan las cards).
   Escritorio (>=1024px): flotando a los lados, sobre el carrusel (diseño original). */
.lp-ca .ca-carousel__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 24px 0 40px;
}
.lp-ca .ca-carousel__btn {
  width: 48px; height: 48px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--ca-purple);
  border: 1px solid rgba(91,28,214,.15);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.lp-ca .ca-carousel__btn:hover { transform: scale(1.1); box-shadow: 0 12px 26px rgba(0,0,0,.18); }
.lp-ca .ca-carousel__btn svg { width: 24px; height: 24px; }

@media (min-width: 1024px) {
  .lp-ca .ca-carousel-wrap { margin-bottom: 48px; }
  /* La barra se vuelve una capa que cubre el carrusel; deja pasar el mouse
     salvo en los botones (para conservar el pause-on-hover del carrusel). */
  .lp-ca .ca-carousel__nav { position: absolute; inset: 0; margin: 0; pointer-events: none; }
  .lp-ca .ca-carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: auto;
  }
  .lp-ca .ca-carousel__btn:hover { transform: translateY(-50%) scale(1.1); }
  .lp-ca .ca-carousel__btn--prev { left: 0; }
  .lp-ca .ca-carousel__btn--next { right: 0; }
}

.lp-ca .ca-benefits__cta { text-align: center; }

/* =========================================================================
   3. SIMULADOR
   ========================================================================= */
.lp-ca .ca-sim { padding: 80px 0; background: #fff; }
.lp-ca .ca-sim__head { text-align: center; max-width: 56rem; margin: 0 auto 56px; }
.lp-ca .ca-sim__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
.lp-ca .ca-sim__controls {
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--ca-purple-100);
  background: #F7F5FF;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.lp-ca .ca-sim__controls h3 { font-weight: 700; margin-bottom: 8px; color: var(--ca-gray-900); }
.lp-ca .ca-sim__controls-sub { font-size: 12px; color: var(--ca-gray-600); font-weight: 500; margin-bottom: 24px; }

.lp-ca .ca-field { margin-bottom: 8px; }
.lp-ca .ca-field__row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 10px; }
.lp-ca .ca-field__label { font-size: 14px; color: var(--ca-gray-600); font-weight: 500; flex: 1; }
.lp-ca .ca-field__inputwrap { width: 170px; text-align: right; position: relative; }
.lp-ca .ca-field__input {
  width: 140px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ca-purple);
  background: #fff;
  border: 2px solid var(--ca-purple-100);
  border-radius: 8px;
  padding: 4px 12px;
  transition: border-color .2s ease;
}
.lp-ca .ca-field__input:focus { outline: none; border-color: #c4b5fd; }
.lp-ca .ca-field__hint { font-size: 12px; color: var(--ca-gray-500); margin-top: 4px; text-align: right; font-weight: 500; }

.lp-ca .ca-range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; border-radius: 999px; cursor: pointer;
  background: var(--ca-purple);
}
.lp-ca .ca-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--ca-purple); cursor: pointer;
  border: 3px solid #fff; box-shadow: 0 0 0 2px var(--ca-purple);
}
.lp-ca .ca-range::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--ca-purple); cursor: pointer;
  border: 3px solid #fff; box-shadow: 0 0 0 2px var(--ca-purple);
}
.lp-ca .ca-range__minmax { display: flex; justify-content: space-between; margin-top: 4px; }
.lp-ca .ca-range__minmax span { font-size: 12px; color: var(--ca-gray-400); }

.lp-ca .ca-sim__note { margin: 16px 0; padding: 12px; border-radius: 12px; background: var(--ca-purple-100); }
.lp-ca .ca-sim__note p { font-size: 12px; color: var(--ca-gray-600); font-weight: 500; }
.lp-ca .ca-sim__rate { margin-top: 16px; padding: 16px; border-radius: 16px; background: var(--ca-purple-100); }
.lp-ca .ca-sim__rate-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.lp-ca .ca-sim__rate-label { font-size: 12px; color: var(--ca-gray-500); margin-bottom: 2px; }
.lp-ca .ca-sim__rate-value { color: var(--ca-purple); font-weight: 700; font-size: 1.25rem; }
.lp-ca .ca-sim__rate svg { width: 28px; height: 28px; color: var(--ca-purple); }
.lp-ca .ca-sim__rate-link { display: inline-flex; align-items: center; font-size: 12px; color: var(--ca-purple); font-weight: 600; }
.lp-ca .ca-sim__rate-link:hover { text-decoration: underline; }

.lp-ca .ca-sim__results { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.lp-ca .ca-sim__cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
.lp-ca .ca-rcard { border-radius: 16px; padding: 16px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lp-ca .ca-rcard__icon { width: 36px; height: 36px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; background: #fff; }
.lp-ca .ca-rcard__icon svg { width: 18px; height: 18px; }
.lp-ca .ca-rcard__label { font-size: 12px; margin-bottom: 4px; color: var(--ca-gray-500); }
.lp-ca .ca-rcard__value { font-weight: 700; font-size: clamp(.8rem, 2vw, 1rem); line-height: 1.2; }
.lp-ca .ca-rcard--1 { background: #F3E8FF; }
.lp-ca .ca-rcard--1 .ca-rcard__value, .lp-ca .ca-rcard--1 .ca-rcard__icon svg { color: #7C3AED; }
.lp-ca .ca-rcard--2 { background: var(--ca-purple-100); }
.lp-ca .ca-rcard--2 .ca-rcard__value, .lp-ca .ca-rcard--2 .ca-rcard__icon svg { color: var(--ca-purple); }
.lp-ca .ca-rcard--3 { background: var(--ca-purple); }
.lp-ca .ca-rcard--3 .ca-rcard__icon { background: rgba(255,255,255,.2); }
.lp-ca .ca-rcard--3 .ca-rcard__icon svg { color: #fff; }
.lp-ca .ca-rcard--3 .ca-rcard__label { color: rgba(255,255,255,.8); }
.lp-ca .ca-rcard--3 .ca-rcard__value { color: #fff; }

.lp-ca .ca-sim__chart { border-radius: 24px; padding: 16px; border: 1px solid var(--ca-purple-100); box-shadow: 0 1px 2px rgba(0,0,0,.05); background: #fff; overflow: hidden; }
.lp-ca .ca-sim__chart h4 { font-weight: 600; color: var(--ca-gray-700); margin-bottom: 16px; }
.lp-ca .ca-chart { width: 100%; height: 240px; }
.lp-ca .ca-chart__legend { display: flex; gap: 20px; justify-content: center; padding-top: 12px; font-size: 12px; color: var(--ca-gray-600); }
.lp-ca .ca-chart__legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.lp-ca .ca-sim__disclaimer { font-size: 12px; color: var(--ca-gray-400); text-align: center; }
.lp-ca .ca-sim__cta { text-align: center; margin-top: 48px; }

@media (min-width: 640px) {
  .lp-ca .ca-sim__cards { grid-template-columns: repeat(3, 1fr); }
  .lp-ca .ca-sim__controls { padding: 32px; }
}
@media (min-width: 1024px) {
  .lp-ca .ca-sim__grid { grid-template-columns: 2fr 3fr; }
  .lp-ca .ca-sim__chart { padding: 24px; }
}

/* Tooltip del gráfico */
.lp-ca .ca-chart__tip {
  position: absolute;
  pointer-events: none;
  background: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
  border: 1px solid var(--ca-purple-100);
  font-size: 12px;
  opacity: 0;
  transition: opacity .15s ease;
  white-space: nowrap;
  z-index: 20;
}
.lp-ca .ca-chart__wrap { position: relative; }

/* =========================================================================
   4. APP SECTION
   ========================================================================= */
.lp-ca .ca-app { background: #fff; width: 100%; padding: 40px 24px; margin-bottom: 40px; }
.lp-ca .ca-app__inner { max-width: 1280px; margin-inline: auto; }
.lp-ca .ca-app__head { text-align: center; margin-bottom: 64px; }
.lp-ca .ca-app__title { font-weight: 800; font-size: clamp(1.5rem, 4vw, 44px); line-height: 1.2; margin-bottom: 8px; }
.lp-ca .ca-app__title .hl { color: var(--ca-purple); }
.lp-ca .ca-app__lead { color: var(--ca-gray-600); font-size: 1.125rem; line-height: 1.8; }

.lp-ca .ca-app__cards { display: flex; gap: 20px; margin-bottom: 64px; overflow-x: auto; scroll-behavior: smooth; -ms-overflow-style: none; scrollbar-width: none; }
.lp-ca .ca-app__cards::-webkit-scrollbar { display: none; }
.lp-ca .ca-appcard {
  background: var(--ca-purple-100);
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  width: 280px;
  height: 380px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.lp-ca .ca-appcard__phone {
  position: absolute;
  top: 48px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 380px;
  border-radius: 24px; overflow: hidden; border: 1px solid #9ca3af;
}
.lp-ca .ca-appcard__phone img { width: 100%; height: 100%; object-fit: cover; }
.lp-ca .ca-appcard__label {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 90px; background: #fff;
  display: flex; align-items: center; padding: 0 16px;
}
.lp-ca .ca-appcard__label p { font-weight: 700; font-size: 14px; color: var(--ca-ink); line-height: 1.3; letter-spacing: -.4px; }

.lp-ca .ca-app__download { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.lp-ca .ca-app__download h3 { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 700; color: var(--ca-purple); }
.lp-ca .ca-app__badges { display: flex; flex-direction: column; gap: 16px; }
.lp-ca .ca-store-badge { transition: transform .2s ease; }
.lp-ca .ca-store-badge:hover { transform: scale(1.05); }
.lp-ca .ca-store-badge svg, .lp-ca .ca-store-badge img { height: 56px; width: auto; }

@media (min-width: 1024px) {
  .lp-ca .ca-app__cards { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .lp-ca .ca-appcard { width: 100%; height: 474px; }
  .lp-ca .ca-appcard__phone { top: 80px; width: 270px; height: 517px; }
  .lp-ca .ca-appcard__label { height: 114px; padding: 0 28px; }
  .lp-ca .ca-appcard__label p { font-size: 17.6px; }
}
@media (min-width: 640px) {
  .lp-ca .ca-app__badges { flex-direction: row; }
}

/* =========================================================================
   5. FAQ
   ========================================================================= */
.lp-ca .ca-faq { padding: 80px 0; background: #F7F5FF; }
.lp-ca .ca-faq__inner { max-width: 56rem; margin-inline: auto; padding-inline: 16px; }
.lp-ca .ca-faq__head { text-align: center; margin-bottom: 56px; }
.lp-ca .ca-faq__head h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; margin-bottom: 4px; color: var(--ca-gray-900); }
.lp-ca .ca-faq__head h2 .hl { color: var(--ca-purple); }
.lp-ca .ca-faq__list { display: flex; flex-direction: column; gap: 12px; }
.lp-ca .ca-faq__item {
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #fff;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.lp-ca .ca-faq__item.is-open { border-color: var(--ca-purple); box-shadow: 0 4px 20px rgba(91,28,214,.1); }
.lp-ca .ca-faq__q {
  width: 100%; background: transparent; border: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; text-align: left;
}
.lp-ca .ca-faq__q span {
  color: var(--ca-gray-700); font-size: 14px; font-weight: 500; line-height: 1.5;
  transition: font-weight .2s ease;
}
.lp-ca .ca-faq__item.is-open .ca-faq__q span { font-weight: 700; }
.lp-ca .ca-faq__chev {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ca-gray-100); transition: all .4s ease;
}
.lp-ca .ca-faq__chev svg { width: 16px; height: 16px; color: var(--ca-gray-500); }
.lp-ca .ca-faq__item.is-open .ca-faq__chev { background: var(--ca-purple); transform: rotate(180deg); }
.lp-ca .ca-faq__item.is-open .ca-faq__chev svg { color: #fff; }
.lp-ca .ca-faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.lp-ca .ca-faq__item.is-open .ca-faq__a { grid-template-rows: 1fr; }
.lp-ca .ca-faq__a-inner { overflow: hidden; }
.lp-ca .ca-faq__a-pad { padding: 0 24px 20px; }
.lp-ca .ca-faq__a-pad > div { padding-top: 4px; border-top: 1px solid var(--ca-purple-100); }
.lp-ca .ca-faq__a-pad p { color: var(--ca-gray-600); font-size: 14px; line-height: 1.8; padding-top: 16px; }
.lp-ca .ca-faq__more { margin-top: 32px; text-align: center; }
.lp-ca .ca-faq__more button {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 0; padding: 8px 0; font-size: 14px;
  color: var(--ca-purple); font-weight: 600; border-bottom: 2px solid var(--ca-purple);
}
.lp-ca .ca-faq__more svg { width: 16px; height: 16px; transition: transform .3s ease; }
.lp-ca .ca-faq__more.is-expanded svg { transform: rotate(180deg); }
.lp-ca .ca-faq__item[hidden] { display: none; }

/* =========================================================================
   6. REGLAMENTO / DOCUMENTOS
   ========================================================================= */
.lp-ca .ca-reg { padding: 48px 0; background: #fff; margin-bottom: 40px; }
.lp-ca .ca-reg__head { text-align: center; margin: 0 auto 32px; }
.lp-ca .ca-reg__list-wrap { max-width: 56rem; margin: 0 auto 32px; }
.lp-ca .ca-reg__list { background: var(--ca-gray-50); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.lp-ca .ca-doc {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px; background: #fff; border-radius: 12px; transition: box-shadow .2s ease;
}
.lp-ca .ca-doc:hover { box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.lp-ca .ca-doc__info { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.lp-ca .ca-doc__icon { width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--ca-purple-100); }
.lp-ca .ca-doc__icon svg { width: 18px; height: 18px; color: var(--ca-purple); }
.lp-ca .ca-doc__text { min-width: 0; flex: 1; }
.lp-ca .ca-doc__title { color: var(--ca-gray-900); font-weight: 600; font-size: 14px; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-ca .ca-doc__desc { color: var(--ca-gray-500); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-ca .ca-doc__btn {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  padding: 8px 16px; border-radius: 999px; background: var(--ca-dark); color: #fff;
  font-weight: 600; font-size: 12px; transition: transform .2s ease;
}
.lp-ca .ca-doc__btn:hover { transform: scale(1.05); }
.lp-ca .ca-doc__btn svg { width: 14px; height: 14px; }
.lp-ca .ca-doc__btn--link::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lp-ca .ca-reg__fogafin {
  max-width: 56rem; margin: 0 auto;
  border-radius: 16px; padding: 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px;
  background: #F5F0FF; border: 1px solid var(--ca-lilac);
}
.lp-ca .ca-reg__fogafin-info { display: flex; align-items: center; gap: 12px; }
.lp-ca .ca-reg__fogafin-icon { width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #1B5E20; }
.lp-ca .ca-reg__fogafin-icon svg { width: 18px; height: 18px; color: #fff; }
.lp-ca .ca-reg__fogafin-title { color: var(--ca-gray-900); font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.lp-ca .ca-reg__fogafin-sub { color: var(--ca-gray-600); font-size: 12px; }
.lp-ca .ca-reg__fogafin-link { flex-shrink: 0; padding: 10px 20px; border-radius: 999px; background: var(--ca-purple); color: #fff; font-weight: 600; font-size: 14px; white-space: nowrap; transition: transform .2s ease; }
.lp-ca .ca-reg__fogafin-link:hover { transform: scale(1.05); }
@media (min-width: 768px) {
  .lp-ca .ca-reg__fogafin { flex-direction: row; padding: 24px; }
  .lp-ca .ca-doc__btn span { display: inline; }
}
@media (max-width: 639px) {
  .lp-ca .ca-doc__btn span { display: none; }
  .lp-ca .ca-doc__btn--link { gap: 0; padding: 8px; font-size: 0; }
}

/* =========================================================================
   7. CTA FINAL
   ========================================================================= */
.lp-ca .ca-cta {
  position: relative; overflow: hidden; padding: 80px 0;
  background: linear-gradient(135deg, var(--ca-dark) 0%, var(--ca-purple) 60%, #7C3AED 100%);
}
.lp-ca .ca-cta__circle { position: absolute; border-radius: 999px; background: #fff; opacity: .1; }
.lp-ca .ca-cta__circle--1 { top: -96px; right: -96px; width: 384px; height: 384px; }
.lp-ca .ca-cta__circle--2 { bottom: -64px; left: -64px; width: 256px; height: 256px; }
.lp-ca .ca-cta__inner { position: relative; max-width: 50rem; margin-inline: auto; padding-inline: 24px; text-align: center; }
.lp-ca .ca-cta__title { color: #fff; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.lp-ca .ca-cta__title .hl { color: var(--ca-lilac); }
.lp-ca .ca-cta__lead { color: rgba(255,255,255,.8); line-height: 1.8; max-width: 760px; margin: 0 auto 32px; text-wrap: balance; }
.lp-ca .ca-cta__perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 auto 40px; max-width: 42rem; text-align: left; }
.lp-ca .ca-cta__perk { display: flex; align-items: center; gap: 8px; }
.lp-ca .ca-cta__perk svg { width: 16px; height: 16px; color: var(--ca-lilac); flex-shrink: 0; }
.lp-ca .ca-cta__perk span { font-size: 14px; color: rgba(255,255,255,.88); }
.lp-ca .ca-cta__btn { padding: 20px 40px; font-size: 1rem; font-weight: 700; }
.lp-ca .ca-cta__note { margin-top: 16px; font-size: 12px; color: rgba(255,255,255,.45); }
@media (min-width: 640px) { .lp-ca .ca-cta__perks { grid-template-columns: repeat(4, 1fr); } }

/* Cuentas de ahorro anteriores */
.lp-ca .ca-legacy-accounts { padding: 48px 0 64px; background: #fff; }
.lp-ca .ca-legacy-accounts .ca-faq__head { margin-bottom: 28px; }
.lp-ca .ca-legacy-accounts .ca-legacy-accounts__notice { display: inline-block; margin-top: 12px; padding: 8px 14px; border-radius: 999px; background: var(--ca-purple-100); color: var(--ca-dark); font-size: 14px; font-weight: 600; }
.lp-ca .ca-legacy-accounts .ca-faq__a-pad p + p { margin-top: 8px; }
.lp-ca .ca-legacy-accounts .ca-faq__a-pad a { color: var(--ca-purple); text-decoration: underline; }

/* Utilidad scroll-margin para anclas con header fijo */
.lp-ca [id] { scroll-margin-top: 90px; }

/* =========================================================================
   INTEGRACIÓN CON EL LAYOUT DEL SITIO
   (reglas fuera de .lp-ca; el CSS solo carga en la página del landing, y
    además van acotadas a body.page-cuenta-ahorros para máxima seguridad)
   ========================================================================= */

/* El <main class="col"> de Bootstrap impone 15px de padding lateral.
   Lo anulamos para que el hero y el CTA sean full-bleed (100% ancho). */
body.page-cuenta-ahorros main#content.col,
body.page-cuenta-ahorros main.main-content.col {
  padding-left: 0;
  padding-right: 0;
}

/* Quita el espacio (mt-5 = 48px) del primer bloque del footer en esta página,
   para que el footer quede pegado al último componente (como en el Figma). */
body.page-cuenta-ahorros footer .first-footer.mt-5 { margin-top: 0 !important; }

/* Ocultar SOLO el botón suelto "Paga en línea" (PSE) de MÓVIL en este landing.
   El bloque #block-menusolicitarproductos se renderiza DOS veces con el mismo id:
   - copia de escritorio → dentro de .account-menu-cont (en el header) -> SE CONSERVA
   - copia de móvil (botón grande suelto) → dentro de .soliProductsMobile -> SE OCULTA
   Por eso apuntamos al contenedor único .soliProductsMobile y NO al id (que afecta
   ambas). Scoped a la clase de body de esta página: no toca el resto del sitio. */
body.page-cuenta-ahorros .soliProductsMobile { display: none !important; }

/* Miga de pan del landing */
body.page-cuenta-ahorros .ca-breadcrumb.breadcrumb {
  background: transparent;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px;
  font-size: 14px;
  list-style: none;
  display: flex;
  gap: 8px;
}
@media (min-width: 640px) { body.page-cuenta-ahorros .ca-breadcrumb.breadcrumb { padding-inline: 24px; } }
@media (min-width: 1024px) { body.page-cuenta-ahorros .ca-breadcrumb.breadcrumb { padding-inline: 32px; } }
body.page-cuenta-ahorros .ca-breadcrumb.breadcrumb li { color: #6b7280; }
body.page-cuenta-ahorros .ca-breadcrumb.breadcrumb li + li::before { content: "/"; padding-right: 8px; color: #9ca3af; }
body.page-cuenta-ahorros .ca-breadcrumb.breadcrumb a { color: #5B1CD6; }
body.page-cuenta-ahorros .ca-breadcrumb.breadcrumb a:hover { text-decoration: underline; }

/* =========================================================================
   AJUSTES RESPONSIVE / UX MÓVIL
   ========================================================================= */

/* --- Beneficios: en móvil, scroll nativo (swipe) y SIN loop automático --- */
@media (max-width: 1023px) {
  .lp-ca .ca-carousel.is-native {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .lp-ca .ca-carousel.is-native::-webkit-scrollbar { display: none; }
  .lp-ca .ca-carousel.is-native .ca-carousel__track {
    transform: none !important;
    transition: none !important;
  }
  .lp-ca .ca-carousel.is-native .ca-bcard { scroll-snap-align: center; }
}

/* --- Slider de la App: flechas indicadoras en móvil --- */
.lp-ca .ca-app__slider { position: relative; }
.lp-ca .ca-app__arrow {
  display: none;
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px; height: 44px;
  border: 0; border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(91,28,214,.22);
  align-items: center; justify-content: center;
  color: var(--ca-purple);
  transition: opacity .25s ease;
}
.lp-ca .ca-app__arrow svg { width: 22px; height: 22px; }
.lp-ca .ca-app__arrow--prev { left: 4px; }
.lp-ca .ca-app__arrow--next { right: 4px; }
@media (max-width: 1023px) {
  .lp-ca .ca-app__arrow { display: flex; }
}

/* --- Badges de tienda: mismo tamaño visual en móvil --- */
@media (max-width: 639px) {
  .lp-ca .ca-app__badges { align-items: center; }
  .lp-ca .ca-store-badge {
    display: flex; align-items: center; justify-content: center;
    width: 210px; height: 62px;
  }
  .lp-ca .ca-store-badge img { width: 100%; height: 100%; object-fit: contain; }
}

/* =========================================================================
   RITMO VERTICAL CONSISTENTE ENTRE SECCIONES (responsive)
   Móvil compacto (48px) · Escritorio generoso (80px). Sin dobles gaps.
   ========================================================================= */
.lp-ca .ca-benefits,
.lp-ca .ca-sim,
.lp-ca .ca-app,
.lp-ca .ca-faq,
.lp-ca .ca-reg,
.lp-ca .ca-cta {
  padding-top: 48px;
  padding-bottom: 48px;
}
/* Eliminar los margin-bottom que generaban doble espaciado */
.lp-ca .ca-app,
.lp-ca .ca-reg { margin-bottom: 0; }

/* Encabezados de sección: menos separación interna en móvil */
.lp-ca .ca-benefits__head,
.lp-ca .ca-sim__head,
.lp-ca .ca-app__head,
.lp-ca .ca-faq__head,
.lp-ca .ca-reg__head { margin-bottom: 36px; }

@media (min-width: 1024px) {
  .lp-ca .ca-benefits,
  .lp-ca .ca-sim,
  .lp-ca .ca-app,
  .lp-ca .ca-faq,
  .lp-ca .ca-reg,
  .lp-ca .ca-cta {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .lp-ca .ca-benefits__head,
  .lp-ca .ca-sim__head,
  .lp-ca .ca-app__head,
  .lp-ca .ca-faq__head { margin-bottom: 56px; }
  .lp-ca .ca-reg__head { margin-bottom: 36px; }
}

/* =========================================================================
   HERO — la foto va a sangre (object-fit: cover) llenando el lado derecho al
   59%, tal cual el diseño. Para que coincida con el Figma, la imagen del campo
   "HERO — Imagen" debe ser HORIZONTAL/ancha (banner ~16:9 / 2:1) con el sujeto
   al lado derecho-centro. Sin recortes artificiales de ancho.
   ========================================================================= */

/* =========================================================================
   FOCO ACCESIBLE
   Quita el marco (outline naranja del navegador) al hacer clic con mouse,
   y muestra un anillo morado solo en navegación con teclado (:focus-visible).
   ========================================================================= */
.lp-ca a:focus,
.lp-ca button:focus { outline: none; box-shadow: none; }
.lp-ca a:focus-visible,
.lp-ca button:focus-visible {
  outline: 2px solid #5B1CD6;
  outline-offset: 2px;
  border-radius: 10px;
}
.lp-ca .ca-faq__item:focus-within { outline: none; }

/* =========================================================================
   Espacio reducido entre Beneficios↔Simulador y Simulador↔App
   (estas secciones ya tienen su propio botón CTA al final, así que no necesitan
    tanto padding). No afecta el ritmo del resto de las secciones.
   ========================================================================= */
.lp-ca .ca-benefits { padding-bottom: 20px; }
.lp-ca .ca-sim { padding-top: 28px; padding-bottom: 20px; }
.lp-ca .ca-app { padding-top: 28px; }
@media (min-width: 1024px) {
  .lp-ca .ca-benefits { padding-bottom: 36px; }
  .lp-ca .ca-sim { padding-top: 44px; padding-bottom: 36px; }
  .lp-ca .ca-app { padding-top: 44px; }
}

/* =========================================================================
   Botón "volver arriba" (flotante) — tag GTM: ca_nav_scroll_top
   ========================================================================= */
.lp-ca .ca-totop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--ca-purple, #5B1CD6);
  color: #fff;
  box-shadow: 0 8px 22px rgba(91, 28, 214, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: .92;
  transition: opacity .2s ease, transform .2s ease;
}
.lp-ca .ca-totop[hidden] { display: none; }
.lp-ca .ca-totop:hover { opacity: 1; transform: translateY(-2px); }
.lp-ca .ca-totop svg { width: 22px; height: 22px; }
@media (max-width: 640px) {
  .lp-ca .ca-totop { right: 14px; bottom: 14px; width: 42px; height: 42px; }
  .lp-ca .ca-stat:first-child .ca-stat__value{ font-size: 32px; }
}

/* Source and licensing information for the above line(s) can be found at https://www.ban100.com.co/sites/all/themes/custom/credifinanciera/landing-cuenta-ahorros/css/cuenta-ahorros.css. */