/* ------------------------------------------- */
/*  VARIABLES GLOBALES (colores, tipografías) */
/* ------------------------------------------- */
:root {
  /* Colores */
  --color-bg-overlay:    rgba(243, 244, 246, 0.75); /* overlay semitransparente en héroe */
  --color-white:         #ffffff;
  --color-primary:       #2563eb;
  --color-primary-hover: #1e4cbf;
  --color-text-dark:     #111827;
  --color-text-medium:   #374151;
  --color-outline:       #1f2937;
  --color-outline-hover: #111827;
  --color-bg-section:    #ffffff;
  --color-border-card:   #e0e0e0;
  --color-bg-card1:   #ffffff;
  --color-border1:    #2563EB;
  --color-bg-card2:   #F2F1F3;
  --color-bg-card3:   #2563EB;
  --color-bg-card4:   #1E1E7F;
  --color-bg-card5:   #0D0D3F;
  --color-text-light: #ffffff;
  --color-border-slide:  #2563EB;

  /* Tipografía */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Manrope', sans-serif;

  /* Tamaños (font-size) */
  --font-size-base:     16px;
  --font-size-md:       1rem;      /* 16px */
  --font-size-lg:       1.125rem;  /* 18px */
  --font-size-xl:       1.5rem;    /* 24px */
  --font-size-2xl:      2rem;      /* 32px */
  --font-size-3xl:      2.5rem;    /* 40px */
  --font-size-4xl:      3rem;      /* 48px */
  --font-size-5xl:      4rem;      /* 64px */
  --font-size-h2:   2rem;    /* 32px */
  --font-size-card: 1rem;    /* 16px */
  --font-size-title: 2rem;    /* 32px */
  --font-size-subtitle:  1rem;           /* 16px */
  --font-size-channel:   1rem;           /* 16px */
  --font-size-detail:    0.875rem;       /* 14px */
  --font-size-quote:     1.25rem;        /* 20px */
  --font-size-caption:   0.875rem;       /* 14px */

  /* Espaciados */
  --space-xs:  0.25rem; /* 4px */
  --space-sm:  0.5rem;  /* 8px */
  --space-md:  1rem;    /* 16px */
  --space-md-1:  1.5rem;    /* 24px */
  --space-lg:  2rem;    /* 32px */
  --space-xl:  3rem;    /* 48px */

  /* Bordes redondeados */
  --radius-md: 0.75rem; /* 12px */
  --radius-lg: 1rem;    /* 16px */
  --radius-card: 0.75rem; /* 12px */
  --shadow-card:      0 4px 12px rgba(0, 0, 0, 0.08);
  --radius-slide:   1rem; /* 16px bordes redondeados */
  --shadow-slide:   0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ------------------------------------------- */
/*  RESET / ESTILOS BASE                       */
/* ------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}
body {
  color: var(--color-text-dark);
  background-color: #ffffff;
  line-height: 1.5;
}
img {
  display: block;
  width: auto;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
h1, h2, h3, h4, h5, h6,
h1 span, h2 span, h3 span,
h1 strong, h2 strong, h3 strong {
  font-family: var(--font-heading);
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
}

body, p, span, li, a, button, input, textarea {
  font-family: var(--font-body);
}

/* ------------------------------------------- */
/*  HÉROE: fondo + overlay + contenido         */
/* ------------------------------------------- */
.hero-section {
  position: relative;
  background-image: url('../assets/images/hero-image.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius-lg);
  overflow: hidden;
  /*max-width: 1200px;*/
  margin: var(--space-md);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

/* Overlay semitransparente para legibilidad */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  /*background-color: var(--color-bg-overlay);*/
  z-index: 0;
}

/* Header dentro del héroe */
.hero-header {
  position: relative; /* para que quede encima del overlay */
  z-index: 1;
  padding: var(--space-md) var(--space-lg);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-img {
  height: 32px;
}
.main-nav .nav-list {
  display: flex;
  gap: var(--space-lg);
}
.nav-link {
  font-size: var(--font-size-md);
  color: var(--color-text-dark);
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: var(--color-primary);
}
.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-whatsapp {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-md);
}
.btn-whatsapp:hover {
  background-color: var(--color-primary-hover);
}

/* Contenido de texto del héroe */
.hero-content {
  position: relative; /* para estar encima del overlay */
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: var(--space-xl) var(--space-lg);
  min-height: 800px; /* ajusta a la altura deseada del héroe */
  gap: var(--space-lg);
}
.hero-text {
  max-width: 800px;
  color: var(--color-text-dark);
}
.badge {
  width: 110px;
  margin-bottom: var(--space-md);
}
.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}
.hero-title span {
  font-weight: 700;
}
.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-medium);
  margin-bottom: var(--space-lg);
}
.hero-buttons {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--font-size-md);
  border: none;
}
.btn-primary:hover {
  background-color: var(--color-primary-hover);
}
.btn-outline {
  background-color: transparent;
  color: var(--color-outline);
  border: 2px solid var(--color-outline);
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--font-size-md);
}
.btn-outline:hover {
  color: var(--color-outline-hover);
  border-color: var(--color-outline-hover);
}

/* ------------------------------------------- */
/*  SECCIÓN “¿QUÉ ES GIRO FANTASMA?”            */
/* ------------------------------------------- */
.info-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-xl) var(--space-md);
  /*max-width: 1200px;*/
  margin: 0 auto; /* centra la sección en pantalla grande */
}

/* Lado izquierdo: texto */
.info-text {
  flex: 1;
  max-width: 600px;
  padding: var(--space-md-1);
}
.info-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-md);
}
.info-paragraph {
  font-size: var(--font-size-lg);
  color: var(--color-text-medium);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}
.info-paragraph strong {
  color: var(--color-text-dark);
}

/* Lado derecho: imagen y callout */
.info-image-wrapper {
  position: relative;
  flex: 1;
  max-width: 600px; /* ajusta según proporción de tu imagen */
  border-radius: var(--radius-lg);
  overflow: hidden; /* para que la imagen respete bordes redondeados */
  padding-right: var(--space-md-1);
}
.info-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Caja callout sobre la imagen */
.info-callout {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px var(--color-callout-shadow, rgba(0,0,0,0.1));
  display: flex;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
}
.callout-icon {
  width: 32px;
  height: 32px;
  margin-right: var(--space-sm);
  flex-shrink: 0;
}
.callout-text {
  font-size: var(--font-size-callout, 1rem);
  color: var(--color-text-dark);
  line-height: 1.4;
}

/* ------------------------------------------- */
/*  SECCIÓN “¿Cómo funciona?”                   */
/* ------------------------------------------- */
.how-it-works {
  background-color: var(--color-bg-section);
  padding: var(--space-lg) var(--space-md);
  /*max-width: 1200px;*/
  margin: var(--space-md);
}

/* Título centrado */
.hiw-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--color-text-dark);
}

/* ——— FILA 1: dos tarjetas ——————— */
.hiw-row-1 {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.hiw-row-1 .hiw-card {
  flex: 1; /* Cada tarjeta ocupa 50% del ancho disponible, con gap entre ellas */
}

/* ——— FILA 2: tres tarjetas ————— */
.hiw-row-2 {
  display: flex;
  gap: var(--space-lg);
}
.hiw-row-2 .hiw-card {
  flex: 1; /* Cada tarjeta ocupa 33.33% del ancho, con gap entre ellas */
}

/* ------------------------------------------- */
/*  ESTILOS COMUNES A CADA TARJETA (Card)      */
/* ------------------------------------------- */
.hiw-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-card);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: box-shadow 0.2s ease;
}

/* Efecto hover (opcional) */
.hiw-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Número de la tarjeta (arriba a la izquierda) */
.hiw-number {
  font-family: var(--font-heading);
  font-size: var(--font-size-3xl);
  font-weight: 400;
  color: var(--color-text-medium);
  margin-bottom: var(--space-sm);
}

.hiw-text {
  font-family: var(--font-heading);
  font-size: var(--font-size-3xl);
  font-weight: 500;
  color: var(--color-text-dark);
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

/* Contenedor de la imagen */
.hiw-image-container {
  flex: 1;           /* Para que la imagen empuje al texto hacia arriba si hiciera falta */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: auto;  /* Empujar imagen hacia abajo si el texto no ocupa toda la altura */
}

/* Imagen en sí (se adapta al ancho máximo de la tarjeta) */
.hiw-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-card) 0 0 var(--radius-card);
  /* Si quisieras bordes redondeados solo en las esquinas superiores
     modifica este valor; aquí lo dejamos “suave” en caso de que la imagen
     sobresalga un poco. */
}

/* ------------------------------------------- */
/*  SECCIÓN “¿Por qué confiar en esto?”         */
/* ------------------------------------------- */
.trust-section {
  padding: var(--space-xl) var(--space-lg);
  margin: var(--space-md);
  background-color: #FFFFFF;
}

/* Título centrado */
.trust-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--color-text-dark);
}

/* Contenedor de tarjetas */
.trust-cards {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  position: relative;
}

/* ------------------------------------------- */
/*  ESTILOS COMUNES A CADA TARJETA             */
/* ------------------------------------------- */
.trust-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* icono arriba, texto abajo */
  align-items: flex-start;        /* contenido alineado a la izquierda */

  flex: 1;
  max-width: 262px;  /* Ajusta el ancho deseado */
  height: 340px;     /* Altura fija para distribuir icono y texto */
  background-color: var(--color-bg-card1);
  border-radius: var(--radius-card);
  padding: var(--space-md);
  border: 2px solid transparent;
  box-shadow: var(--shadow-card);
  transform-origin: center center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

/* Hover: leve zoom */
.trust-card:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Icono de cada tarjeta (siempre arriba) */
.card-icon {
  width: 40px;
  height: 40px;
  /* margin-bottom opcional si quieres espacio extra, p. ej. 8px */
  margin-bottom: var(--space-sm);
}
.card-icon img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

/* Texto de cada tarjeta (siempre abajo) */
.card-text {
  font-size: var(--font-size-card);
  line-height: 1.4;
  color: var(--color-text-dark);
  margin-top: var(--space-sm); /* opcional: algo de separación */
}

/* ------------------------------------------- */
/*  ESTILOS POR TARJETA (Fondos, bordes, rotar) */
/* ------------------------------------------- */
.card-1 {
  background-color: var(--color-bg-card1);
  border-color: var(--color-border1);
  transform: rotate(-9deg);
}

.card-2 {
  background-color: var(--color-bg-card2);
  border: 1px solid #B0AEB3; /* gris medio */
  transform: rotate(5deg);
}

.card-3 {
  background-color: var(--color-bg-card3);
  color: var(--color-text-light);
  transform: rotate(-3deg);
}
.card-3 .card-text {
  color: var(--color-text-light);
}

.card-4 {
  background-color: var(--color-bg-card4);
  color: var(--color-text-light);
  transform: rotate(4deg);
}
.card-4 .card-text {
  color: var(--color-text-light);
}

.card-5 {
  background-color: var(--color-bg-card5);
  color: var(--color-text-light);
  transform: rotate(-8deg);
}
.card-5 .card-text {
  color: var(--color-text-light);
}

/* ------------------------------------------- */
/*  SECCIÓN “Cómo lo usan personas como tú”     */
/* ------------------------------------------- */
.usage-section {
  background-color: var(--color-bg-section);
  padding: var(--space-xl) var(--space-md);
  /*max-width: 1200px;*/
  margin: var(--space-md);
}

/* Título + subtítulo, centrado */
.usage-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}
.usage-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-sm);
}
.usage-subtitle {
  font-size: var(--font-size-2xl);
  color: var(--color-text-medium);
  line-height: 1.4;
}

/* ------------------------------------------- */
/*  CARRUSEL HORIZONTAL (USAGE-SLIDER)         */
/* ------------------------------------------- */
.usage-slider {
  position: relative;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; /* para suavizar en iOS */
  padding-bottom: var(--space-sm);    /* espacio para que no corte contorno */
}

/* Ocultar barra de scroll en Webkit (opcional) */
.usage-slider::-webkit-scrollbar {
  height: 0.5rem;
}
.usage-slider::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 0.25rem;
}
.usage-slider::-webkit-scrollbar-track {
  background: transparent;
}

/* Pista del carrusel */
.slider-track {
  display: flex;
  gap: var(--space-md);
  padding-left: var(--space-md);
  /* Para que el primer slide no quede pegado al borde, dejamos padding-left */
}

/* Cada slide */
.slide {
  flex: 0 0 75%; /* Ocupa el 90% del ancho del contenedor visible */
  max-width: 75%;
  background-color: #ffffff;
  border: 2px solid var(--color-border-slide);
  border-radius: var(--radius-slide);
  box-shadow: var(--shadow-slide);
  scroll-snap-align: start;
  display: flex;
  gap: var(--space-md);
  overflow: hidden;
}

/* Para que se note que hay “parte del siguiente slide”:
   con flex: 0 0 90% cada slide ocupa 90%; queda el 10% restante visible. */

/* ------------------------------------------- */
/*  INTERIOR DE CADA SLIDE                     */
/* ------------------------------------------- */
.slide-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: var(--space-md);
}

/* Encabezado del slide (logo/canal + detalle) */
.slide-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  margin-top: var(--space-md);
}

/* Logo / canal en el top */
.slide-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.slide-logo img {
  width: 90px;
  height: 28px;
  object-fit: contain;
}
.slide-channel {
  font-family: var(--font-heading);
  font-size: var(--font-size-md);
  font-weight: 400;
  color: var(--color-text-dark);
}

/* Detalle secundario */
.slide-detail {
  display: flex;
  flex-wrap: wrap;
  font-size: var(--font-size-detail);
  color: var(--color-text-medium);
  margin-top: var(--space-sm);
}
.slide-detail img {
  margin: auto var(--space-md);
}

.slide-detail .detail-text {
  margin-right: var(--space-xs);
}
.slide-detail .detail-sublabel {
  font-family: var(--font-heading);
  font-size: var(--font-size-md);
  font-weight: 400;
}

.detail-sublabel span {
  font-size: var(--font-size-xl);
  margin-right: var(--space-xs);
}

/* Cita textual (blockquote) */
.slide-quote {
  font-family: var(--font-heading);
  margin-top: auto;       /* Empuja el bloque de cita hacia abajo si hay espacio */
  font-size: var(--font-size-3xl);
  line-height: 1.4;
  color: var(--color-text-dark);
  font-style: normal;     /* Para que no aparezca cursiva, si no quieres cursiva */
  padding-right: var(--space-md);
}

/* ------------------------------------------- */
/*  LADO DERECHO DEL SLIDE: IMAGEN + PIE       */
/* ------------------------------------------- */
.slide-image-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.slide-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  padding: var(--space-md);
}
.slide-caption {
  font-family: var(--font-heading);
  margin-top: var(--space-xs);
  font-size: var(--font-size-xl);
  color: var(--color-text-dark);
  text-align: center;
  margin-bottom: var(--space-sm);
}

/* ───────────────────────────────────────────────────────────────────────── */
/* SECCIÓN “¿Y tú? ¿Cómo quieres empezar a ahorrar sin darte cuenta?”         */
/* ───────────────────────────────────────────────────────────────────────── */
.cta-section {
  background-color: #0B1120; /* Fondo oscuro */
  border-radius: var(--radius-lg);
  overflow: hidden;
  /*max-width: 1200px;*/
  margin: var(--space-xl) var(--space-md);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

/* -------- Lado izquierdo: texto y botones -------- */
.cta-text {
  flex: 1;
  max-width: 700px;
  color: var(--color-text-light); /* texto en blanco */
  padding: var(--space-xl) var(--space-lg);
  padding-right: 0;
}

.cta-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
}

.cta-subtitle {
  font-size: var(--font-size-2xl);
  line-height: 1.4;
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
  opacity: 0.85; /* un poco más tenue */
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

/* Botón principal: reutiliza .btn-primary pero ajusta si quieres más padding */
.cta-button {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--font-size-md);
  border: none;
  border-radius: var(--radius-md);
  transition: background-color 0.2s ease;
  max-width: fit-content;
  margin: 0;
}
.cta-button:hover {
  background-color: var(--color-primary-hover);
}

/* Nota bajo el botón */
.cta-note {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: 0;
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  opacity: 0.9;
}

.cta-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* -------- Lado derecho: imagen -------- */
.cta-image-wrapper {
  flex: 1;
  max-width: 700px; /* Ajusta a tu gusto */
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
  /* Si quieres un ligero borde o sombra sobre la imagen, puedes descomentarlo: */
  /* box-shadow: 0 4px 12px rgba(0,0,0,0.1); */
}

/* ───────────────────────────────────────────────────────────────────────── */
/* SECCIÓN “¿Quién ya lo está usando?”                                        */
/* ───────────────────────────────────────────────────────────────────────── */
.users-section {
  background-color: var(--color-bg-section); /* Blanco por defecto; cámbialo si quieres otro fondo */
  padding: var(--space-xl) var(--space-lg);
  /*max-width: 1200px;*/
  margin: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.users-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg);
}

/* -------- Lado izquierdo: título + texto -------- */
.users-text {
  flex: 1;
  max-width: 600px;
}

.users-title {
  font-size: var(--font-size-4xl);
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: var(--space-md);
}

.users-paragraph {
  font-size: var(--font-size-xl);
  color: var(--color-text-medium);
  line-height: 1.3;
}
.users-paragraph strong {
  color: var(--color-text-dark);
}

/* -------- Lado derecho: slider de opiniones -------- */
.users-slider-wrapper {
  position: relative;
  flex: 1;
  max-width: 600px; /* Ajusta según el ancho deseado para el slider */
  display: flex;
  align-items: center;
}

/* Flechas (arrow-left y arrow-right) */
.users-slider-arrow {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--color-text-medium);
  cursor: pointer;
  padding: var(--space-sm);
  position: relative;
  z-index: 1;
  transition: color 0.2s ease;
}
.users-slider-arrow:hover {
  color: var(--color-text-dark);
}
.arrow-left {
  margin-right: var(--space-sm);
}
.arrow-right {
  margin-left: var(--space-sm);
}

/* Contenedor del slider (scrollable + scroll-snap) */
.users-slider {
  display: flex;
  gap: var(--space-xs);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--space-sm);
  /* Para que las flechas no queden pegadas al scroll, añade un pequeño padding lateral: */
  padding-left: var(--space-sm);
  padding-right: var(--space-sm);
  flex: 1; /* Ocupa el espacio restante entre las flechas */
}

/* Ocultar barra de scroll en WebKit (opcional) */
.users-slider::-webkit-scrollbar {
  height: 0.5rem;
}
.users-slider::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 0.25rem;
}
.users-slider::-webkit-scrollbar-track {
  background: transparent;
}

/* Cada slide */
.users-slide {
  flex: 0 0 100%; /* Ocupa el 100% del ancho disponible en el contenedor padre */
  max-width: 100%;
  background-color: var(--color-bg-section);
  border: 2px solid var(--color-border-slide);
  border-radius: var(--radius-slide);
  box-shadow: var(--shadow-slide);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-md);
}

/* Texto del testimonio */
.users-quote {
  font-family: var(--font-heading);
  font-size: var(--font-size-3xl);
  line-height: 1.4;
  color: var(--color-text-dark);
  margin-bottom: var(--space-lg);
}

/* Contenedor del autor (avatar + nombre + rol) */
.users-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Avatar */
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

/* Nombre y rol del autor */
.author-info {
  display: flex;
  flex-direction: column;
}
.author-name {
  font-size: var(--font-size-md);
  font-weight: 600;
  color: var(--color-text-dark);
}
.author-role {
  font-size: var(--font-size-detail);
  color: var(--color-text-medium);
}

/* ───────────────────────────────────────────────────────────────────────── */
/* SECCIÓN “Preguntas frecuentes” (acordeón)                                 */
/* ───────────────────────────────────────────────────────────────────────── */
.faq-section {
  background-color: var(--color-bg-section); /* Blanco o el color que prefieras */
  padding: var(--space-xl) var(--space-lg);
  /*max-width: 1200px;*/
  margin: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.faq-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg);
}

/* ─── Columna izquierda (emoji + título) ─────────────────────────────────── */
.faq-sidebar {
  flex: 1;
  max-width: 400px; /* Ajusta según diseño */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
}

.faq-icon {
  font-size: 2.5rem; /* Tamaño del emoji */
  line-height: 1;
}

.faq-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.2;
}

/* ─── Columna derecha (lista de preguntas) ───────────────────────────────── */
.faq-items {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* Cada “item” del acordeón */
.faq-item {
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-white);
  /* Para sombra sutil en hover (opcional) */
  transition: box-shadow 0.2s ease;
}
.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ─── Botón que muestra la pregunta ──────────────────────────────────────── */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  background: none;
  border: none;
  font-size: var(--font-size-md);
  color: var(--color-text-dark);
  cursor: pointer;
  position: relative;
}

/* Cuando el cursor pasa por encima de la pregunta */
.faq-question:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

/* Flecha en el extremo derecho */
.faq-arrow {
  transition: transform 0.2s ease;
  color: var(--color-primary);
}

/* ─── Contenedor de la respuesta (oculto por defecto) ──────────────────── */
.faq-answer {
  max-height: 0;                /* Está cerrado inicialmente */
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 var(--space-lg);   /* padding horizontal, vertical: 0 */
  background-color: var(--color-white);
  font-size: var(--font-size-md);
  color: var(--color-text-medium);
  line-height: 1.6;
}

/* Cuando el item esté “activo” (abierto), agregamos estas dos reglas: */
.faq-item.active .faq-answer {
  padding: var(--space-md) var(--space-lg);
  max-height: 500px; /* Suficiente para contener el texto; si tu respuesta es más grande, aumenta este valor */
}
.faq-item.active .faq-arrow {
  transform: rotate(90deg);
  /* La flecha apunta hacia abajo (rotada 90 °) en estado abierto */
}

/* ───────────────────────────────────────────────────────────────────────── */
/* SECCIÓN “No somos un banco” (Diferenciador)                                 */
/* ───────────────────────────────────────────────────────────────────────── */
.difference-section {
  background-color: var(--color-bg-section); /* Blanco por defecto (puedes cambiarlo) */
  padding: var(--space-xl) var(--space-lg);
  /*max-width: 1200px;*/
  margin: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.difference-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

/* ─── Lado izquierdo: texto ───────────────────────────────────────────────── */
.difference-text {
  flex: 1;
  max-width: 600px; /* Evita que el texto se extienda demasiado en pantallas muy grandes */
}

.difference-subtitle {
  font-family: var(--font-heading);
  font-size: var(--font-size-md);
  color: var(--color-text-medium);
  margin-bottom: var(--space-xs);
}

.difference-title {
  font-size: var(--font-size-3xl);
  font-weight: 400;
  color: var(--color-text-dark);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.difference-title strong {
  font-weight: 700;
}

.difference-button {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--font-size-md);
  border: none;
  border-radius: var(--radius-md);
  transition: background-color 0.2s ease;
  margin-bottom: var(--space-lg);
}

.difference-button:hover {
  background-color: var(--color-primary-hover);
}

.difference-paragraph {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  color: var(--color-text-dark);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.difference-list {
  font-family: var(--font-heading);
  list-style: disc;
  padding-left: var(--space-lg);
  margin: 0; /* Para eliminar márgenes inconsistentes de <ul> */
}

.difference-list li {
  font-size: var(--font-size-xl);
  color: var(--color-text-dark);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

/* ─── Lado derecho: imagen ───────────────────────────────────────────────── */
.difference-image-wrapper {
  flex: 1;
  max-width: 600px; /* Para que no ocupe más de la mitad en pantallas grandes */
  display: flex;
  justify-content: center;
  align-items: center;
}

.difference-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  /* Si quieres una sombra sutil en la imagen, descomenta: */
  /* box-shadow: var(--shadow-card); */
}

/* ───────────────────────────────────────────────────────────────────────── */
/* SECCIÓN “Esto no es un banco” (CTA con fondo degradado azul)               */
/* ───────────────────────────────────────────────────────────────────────── */
.cta2-section {
  margin: var(--space-lg) 0;           /* separa de secciones anteriores y siguientes */
  padding: 0 var(--space-sm);          /* padding horizontal ligero en móvil */
}

.cta2-container {
  background: linear-gradient(90deg, #1E50F0 0%, #217BFF 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /*max-width: 1200px;*/
  margin: var(--space-md);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

/* ─── LADO IZQUIERDO: TEXTO Y BOTÓN ──────────────────────────────────────── */
.cta2-text {
  flex: 1;
  color: var(--color-white);
  padding: var(--space-xl) var(--space-lg);
  max-width: 600px;
}

.cta2-title {
  font-size: var(--font-size-5xl);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.cta2-subtitle {
  font-size: var(--font-size-2xl);
  line-height: 1.5;
  margin-bottom: var(--space-lg);
  opacity: 0.9;                         /* sutilmente más tenue que el blanco puro */
}

/* Botón principal “Empezar a girar mi plata ahora” */
.btn-cta2 {
  display: inline-block;
  background-color: var(--color-text-dark); /* negro oscuro */
  color: var(--color-white);
  padding: var(--space-md-1) var(--space-lg);
  font-size: var(--font-size-md);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: background-color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.btn-cta2:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: translateY(-2px);
}

/* ─── LADO DERECHO: IMAGEN ────────────────────────────────────────────────── */
.cta2-image-wrapper {
  flex: 1;
  max-width: 680px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta2-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* ───────────────────────────────────────────────────────────────────────── */
/* FOOTER: Retiro Seguro                                                      */
/* ───────────────────────────────────────────────────────────────────────── */
.footer-section {
  background-color: var(--color-bg-section); /* generalmente #ffffff */
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-lg);
}

.footer-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg);
  /*max-width: 1200px;*/
  margin: var(--space-md);
  flex-wrap: wrap; /* para que en pantallas chicas baje contenido */
}

/* ─── COLUMNA IZQUIERDA: BRANDING + MENÚ ─────────────────────────────────── */
.footer-left {
  flex: 1 1 500px; /* ocupa al menos 500px, y puede crecer */
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-left h2 {
  margin-top: var(--space-lg);
  font-family: var(--font-body);
  font-weight: 700;
}

/* Logo + nombre */
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.footer-logo {
  width: 240px;
  height: auto;
}
.footer-brand-name {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-text-dark);
}

/* Tagline */
.footer-tagline {
  font-size: var(--font-size-md);
  color: var(--color-text-medium);
  line-height: 1.5;
  max-width: 500px;
}

.footer-menu {
  max-width: 650px;
}

/* Menú de enlaces */
.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  column-count: 2;
  column-gap: var(--space-lg);
}

.footer-menu li {
  break-inside: avoid;
  margin-bottom: var(--space-md);
}

.footer-menu a {
  font-size: var(--font-size-md);
  color: var(--color-text-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-menu a:hover {
  color: var(--color-primary);
}

/* Copyright */
.footer-copy {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-md);
  color: var(--color-text-medium);
}
.footer-logo-small {
  width: 240px;
  height: auto;
}

/* ─── COLUMNA DERECHA: LOGO GRÁFICO + BADGE ──────────────────────────────── */
.footer-right {
  flex: 1 1 300px; /* ocupa al menos 300px, y puede crecer */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

/* Logo grande (puede ser más grande si quieres) */
.footer-logo-large {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-logo-graphic {
  width: 270px;
  height: auto;
  /* Si quieres que sea más grande o más chico, ajusta este width */
}

/* Badge de Google Play */
.footer-badge-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-badge {
  width: 150px;
  height: auto;
  transition: transform 0.2s ease;
}
.footer-badge:hover {
  transform: translateY(-2px);
}

/* ------------------------------------------- */
/*   PANTALLAS MEDIAS: entre 768px y 1024px    */
/* ------------------------------------------- */
@media (min-width: 768px) and (max-width: 1024px) {
  /* HERO */
  .hero-content {
    padding: 3rem 2rem;        /* menos padding lateral */
    min-height: auto;          /* deja que crezca según contenido */
  }
  .hero-title {
    font-size: 2.5rem;         /* 40px en lugar de 48px */
    margin-bottom: 1rem;
    text-align: left;
  }
  .hero-subtitle {
    font-size: 1.125rem;       /* 18px */
  }
  .badge {
    width: 120px;
  }
  .hero-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  /* SECCIÓN “Qué es Giro Fantasma” */
  .info-section {
    padding: 3rem 2rem;
  }
  .info-title {
    font-size: 1.75rem;        /* 28px */
  }
  .info-paragraph {
    font-size: 1rem;           /* 16px */
  }
  .info-callout {
    bottom: 2rem;
    right: 2rem;
    max-width: 240px;
  }
  .callout-icon {
    width: 28px;
    height: 28px;
  }

  /* CÓMO FUNCIONA (2 filas de cards) */
  .hiw-row-1 .hiw-card,
  .hiw-row-2 .hiw-card {
    max-width: calc(50% - 1rem);
  }
  .hiw-card {
    padding: 1rem;
  }
  .hiw-number {
    font-size: 1.125rem;
  }
  .hiw-text {
    font-size: 0.9375rem;
  }

  /* POR QUÉ CONFIAR (las 5 cards) */
  .trust-card {
    max-width: 200px;
    height: 300px;
    padding: 1rem;
  }
  .card-icon {
    width: 32px;
    height: 32px;
  }
  .card-text {
    font-size: 0.875rem;
  }

  /* TESTIMONIOS SLIDER */
  .slide {
    flex: 0 0 80%;
    max-width: 80%;
  }
  .slide-content {
    padding: 1rem;
  }
  .slide-quote {
    font-size: 1.125rem;
  }
  .slide-caption {
    font-size: 0.8125rem;
  }

  /* FOOTER/MENU */
  .footer-menu ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
  }
}

/* ------------------------------------------- */
/*   MÓVIL: pantallas < 768px                 */
/* ------------------------------------------- */
@media (max-width: 767px) {
  /* GENERAL */
  body {
    font-size: 14px;
  }

  /* HERO */
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
  }
  .hero-title {
    font-size: 1.75rem;  /* 28px */
    margin-bottom: 0.75rem;
  }
  .hero-subtitle {
    font-size: 1rem;     /* 16px */
    margin-bottom: 1rem;
  }
  .badge {
    width: 100px;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
  .hero-buttons .btn {
    width: 100%;
  }

  /* SECCIÓN “Qué es Giro Fantasma” */
  .info-section {
    padding: 2rem 1rem;
    text-align: center;
  }
  .info-title {
    font-size: 1.5rem;   /* 24px */
  }
  .info-paragraph {
    font-size: 0.9375rem;/* 15px */
  }
  .info-image-wrapper {
    margin-top: 1rem;
  }
  .info-callout {
    bottom: 1rem;
    right: 50%;
    transform: translateX(50%);
    max-width: 90%;
  }

  /* CÓMO FUNCIONA */
  .hiw-row-1,
  .hiw-row-2 {
    flex-direction: column;
    gap: 1rem;
  }
  .hiw-card {
    max-width: 100%;
  }
  .hiw-number {
    font-size: 1rem;
  }
  .hiw-text {
    font-size: 0.875rem;
  }

  /* POR QUÉ CONFIAR */
  .trust-cards {
    flex-direction: column;
    gap: 1.5rem;
  }
  .trust-card {
    max-width: 100%;
    height: auto;
    padding: 1rem;
    transform: none !important; /* quita rotaciones para legibilidad */
    text-align: center;
  }
  .card-icon {
    margin: 0 auto 0.5rem;
  }
  .card-text {
    font-size: 0.875rem;
  }

  /* TESTIMONIOS SLIDER */
  .slide {
    flex: 0 0 100%;
    max-width: 100%;
    flex-direction: column;
    gap: 0.5rem;
  }
  .slider-track {
    gap: 0.5rem;
    padding-left: 0.5rem;
  }
  .slide-content {
    padding: 0.75rem;
  }
  .slide-quote {
    font-size: 1rem;
  }
  .slide-img {
    border-radius: 0; /* opcional */
  }
  .slide-caption {
    font-size: 0.75rem;
  }

  /* CTA */
  .cta-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  .cta-button {
    width: 100%;
  }
  .cta-note {
    margin-top: 0;
  }

  /* FOOTER/MENU */
  .footer-menu ul {
    column-count: 1;
    column-gap: 0;
  }
  .footer-menu li {
    margin-bottom: 0.75rem;
  }
}

