/*
Theme Name: Proquident - Theme
Author: Brandon García
Version: 3.7.0
*/

/* ============================================================
   PROQUIDENT — style.css
   Mobile-first: 375px → 768px → 1280px
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --color-primary: #2D2D86;
  /* azul oscuro */
  --color-secondary: #0057B7;
  /* azul medio */
  --color-accent: #52c2f0;
  /* naranja highlight */
  --color-green: #00c833;
  /* verde WhatsApp / tiendas */
  --color-text: #222222;
  --color-text-light: #666666;
  --color-bg: #ffffff;
  --color-bg-light: #FAFAFA;
  /* azul muy claro de fondo */
  --color-footer-top: #3C38B5;
  --color-footer-bottom: #1F2161;
  /* azul footer */

  /* Tipografía Global: Gotham (con fallback a Montserrat y sans-serif) */
  --font-main: 'Gotham', 'Montserrat', sans-serif;

  --container-max: 1200px;
  --container-pad: 1.25rem;
}

/* Utilitary Classes */
.desktop-only {
  display: none !important;
}

.mobile-only {
  display: block !important;
}

.howto--desktop {
  display: none;
}

.howto--mobile {
  display: block;
}

/* ── HowTo Mobile ONLY ────────────────────────────────────── */
.howto-m {
  padding: 3rem 0;
  background: var(--color-bg);
}

.howto-m__wrapper {
  position: relative;
  margin-top: 1rem;
  width: 100%;
}

.howto-m__arrow {
  position: absolute;
  top: 140px;
  z-index: 20;
  background: none;
  /* ELIMINADO FONDO BLANCO */
  border: none;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.howto-m__arrow--prev {
  left: 5px;
}

.howto-m__arrow--next {
  right: 5px;
}

.howto-m__arrow svg {
  width: 20px;
  fill: #666;
}

.howto-m__carousel {
  overflow: hidden;
  width: 100%;
}

.howto-m__track {
  display: flex;
  align-items: stretch;
  /* Estira todos los slides a la misma altura */
}

.howto-m__slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
  box-sizing: border-box;
  height: auto;
  /* Permite estirarse según el track */
}

.howto-m__image {
  width: 100%;
  max-width: 260px;
  margin-bottom: 1.5rem;
  /* Margen POSITIVO para separar */
  z-index: 5;
  transform: translateZ(0);
}

.howto-m__image img {
  width: 100%;
  height: auto;
  display: block;
}

.howto-m__card {
  background: #FFFFFF;
  border-radius: 40px;
  padding: 30px 25px;
  box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.06);
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  /* Esto hace que el card crezca y llene el slide parejo */
}

.howto-m__step-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 1.2rem;
  text-align: center;
}

.howto-m__dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 1rem;
}

.howto-m__dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #cbd5e0;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.howto-m__dot--active {
  background: var(--color-primary);
}

/* ── Tipografía Gotham (@font-face) ─────────────────────────── */
@font-face {
  font-family: 'Gotham';
  src: url('assets/fonts/subset-GothamPro.woff2') format('woff2'),
    url('assets/fonts/subset-GothamPro.woff') format('woff');
  font-weight: 400;
  /* Normal */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('assets/fonts/subset-GothamMedium.woff2') format('woff2'),
    url('assets/fonts/subset-GothamMedium.woff') format('woff');
  font-weight: 500;
  /* Medium */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('assets/fonts/subset-GothamBold.woff2') format('woff2'),
    url('assets/fonts/subset-GothamBold.woff') format('woff');
  font-weight: 700;
  /* Bold */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('assets/fonts/subset-GothamBlack.woff2') format('woff2'),
    url('assets/fonts/subset-GothamBlack.woff') format('woff');
  font-weight: 900;
  /* Black */
  font-style: normal;
  font-display: swap;
}

/* ── Reset & base ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ol {
  padding-left: 1.2rem;
}

/* Helper para saltos de línea inteligentes en desktop */
.br-desktop {
  display: none;
}

/* ── Container ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ── Section title (shared) ─────────────────────────────────── */
.section-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-primary);
  text-align: center;
  text-transform: uppercase;
  line-height: 1.5rem;
  margin-bottom: 2rem;
}

/* ============================================================
   HERO / BANNER CARRUSEL
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

/* Desktop hero: panoramic ratio, hidden on mobile */
.hero--desktop {
  aspect-ratio: 1920 / 800;
  min-height: 500px;
}

/* Mobile hero: portrait ratio, hidden on desktop */
.hero--mobile {
  display: none;
  aspect-ratio: 1080 / 1600;
  min-height: 600px;
}

@media (max-width: 1279px) {
  .hero--desktop {
    display: none;
  }

  .hero--mobile {
    display: block;
  }
}

/* Track: Embla gestiona la animación vía rAF */
.hero__track {
  display: flex;
  height: 100%;
  will-change: transform;
}

.hero__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center bottom;
  /* Prioriza ver el producto abajo en móvil */
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.hero--desktop .hero__slide--2 {
  background-image: url('assets/Proquident-banner-secundario-final.webp');
  background-position: center center;
}

.hero--mobile .hero__slide--2 {
  background-image: url('assets/Proquident-banner-secundario-mobile.webp');
  background-position: center bottom;
}

/* Imagen real para slide 1 */
.hero__slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: 0;
  transition: transform .9s ease-out;
}

.hero__slide--1:hover .hero__slide-img {
  transform: scale(1.02);
}

/* Zoom suave en hover sobre el fondo del slide (solo slide--2 usa ::before) */
.hero__slide--2::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: inherit;
  background-repeat: no-repeat;
  transition: transform .9s ease-out;
}

.hero__slide--2:hover::before {
  transform: scale(1.02);
}

/* Overlay de texto — arriba, centrado horizontalmente */
.hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 1.2rem var(--container-pad) 2rem;
  max-width: calc(var(--container-max) + 2 * var(--container-pad));
  margin-inline: auto;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 1;
}

.hero__title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--color-primary);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  max-width: 100%;
}

.hero__title-accent {
  color: #52c2f0;
  font-weight: 700;
}

.hero__subtitle {
  font-size: 1rem;
  /* Más legible */
  color: var(--color-text-light);
  max-width: 100%;
  line-height: 1rem;
  margin-bottom: 1rem;
}

/* Dots — superpuestos sobre el hero, abajo al centro */
.hero__dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.hero__dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 48, 135, 0.3);
  cursor: pointer;
  transition: background 0.25s;
  padding: 0;
}

.hero__dot--active {
  background: var(--color-primary);
}

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits {
  padding: 3rem 0 2.5rem;
  background: #fafafa;
}

.benefits__carousel {
  overflow: hidden;
  margin-bottom: 1rem;
  padding: 2.2rem 0 1.2rem 0;
  margin-top: -1.2rem;
  margin-inline: calc(-1 * var(--container-pad));
}

.benefits__track {
  display: flex;
  will-change: transform;
}

.benefits__card {
  flex: 0 0 80%;
  margin-inline: 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 2rem;
  box-sizing: border-box;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.08);
  transition: translate 0.4s ease, box-shadow 0.4s ease;
}

.benefits__card:hover {
  translate: 0 -10px;
  box-shadow: 0px 15px 35px 0px rgba(0, 0, 0, 0.12);
}

.benefits__icon {
  width: 130px;
  /* +20% extra en iconos */
  height: 130px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefits__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.benefits__title {
  font-size: 1.188rem;
  font-weight: 900;
  color: var(--color-primary);
  text-transform: uppercase;
  line-height: 1.188rem;
  margin-bottom: 0.5rem;
}

.benefits__desc {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.25rem;
}

/* Dots para Benefits Mobile */
.benefits__dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.benefits__dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #cbd5e0;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
}

.benefits__dot--active {
  background: var(--color-primary);
}

/* ============================================================
   FORMULA ÚNICA
   ============================================================ */
.formula {
  padding: 3rem 0;
  background: var(--color-bg);
}

.formula__inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
  text-align: center;
}

.formula__text {
  display: contents;
  /* Permite reordenar hijos directos en el padre flex */
}

.formula__image {
  order: 4;
  /* Imagen del producto ahora debajo del botón */
  width: 100%;
  max-width: 450px;
  align-self: center;
  transition: transform .4s ease;
}

.formula__image:hover {
  transform: scale(1.05);
}

.formula__heading {
  order: 1;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-primary);
  text-transform: uppercase;
  line-height: 1.5rem;
}

.formula__highlight {
  font-size: 1.5rem;
  line-height: 1.5rem;
  color: #52c2f0;
  font-weight: 700;
}

.formula__desc {
  order: 2;
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.25rem;
}

.formula .btn--guide {
  order: 3;
  /* Botón ahora antes de la imagen */
  align-self: center;
}

.formula__refs {
  order: 5;
  /* Referencias al final siempre */
  margin-top: 1rem;
  color: #999999;
  border-top: 1px solid #e0e0e0;
  padding-top: 1rem;
}

.formula__refs small {
  display: block;
  font-size: 13px;
  line-height: 16px;
  font-weight: 400;
}

/* ── Botones ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: filter 0.2s;
}

.btn:hover {
  filter: brightness(0.92);
}

.btn--guide {
  background: var(--color-primary);
  color: #fff;
  font-size: 20px;
  line-height: 20px;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  gap: 0.2rem;
}

.btn__guide-icon {
  flex-shrink: 0;
}

.btn--whatsapp {
  background: var(--color-green);
  color: #fff;
  font-size: 16px;
  line-height: 16px;
  padding: 0.625rem 0.938rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.btn--whatsapp svg {
  width: 24px;
  /* Tamaño móvil */
  height: auto;
}

.btn__icon {
  font-size: 1rem;
}

.btn__whatsapp-icon {
  flex-shrink: 0;
}

/* ============================================================
   FIJACIÓN 12H
   ============================================================ */
.fixation {
  padding: 2.5rem 0;
  background: var(--color-bg-light);
}

.fixation__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.fixation__text {
  display: contents;
  /* Permitir reordenamiento con imagen exterior */
}

.fixation__image {
  order: 2;
  /* Imagen al medio en móviles */
  width: 100%;
  max-width: 450px;
  /* Ajustado para móviles */
}

.fixation__heading {
  order: 1;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-primary);
  text-transform: uppercase;
  line-height: 1.5rem;
}

.fixation__highlight {
  color: #52c2f0;
  font-weight: 700;
}

.fixation__asterisk {
  color: var(--color-accent);
  font-size: 1rem;
  vertical-align: super;
}

.fixation__footnote {
  order: 3;
  font-size: 0.813rem;
  color: var(--color-text-light);
  margin-top: 0;
  line-height: 1.5rem;
}

/* ============================================================
   CÓMO USAR — CARRUSEL
   ============================================================ */
.howto {
  padding: 3rem 0 2rem;
  background: var(--color-bg);
}

.howto__wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.howto__carousel {
  overflow: hidden;
  flex: 1;
  width: 100%;
}

/* Track: Embla gestiona la animación vía rAF */
.howto__track {
  display: flex;
}

.howto__slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 40px;
  /* Colchón de aire para que la sombra no se corte */
  box-sizing: border-box;
}

.howto__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 2rem 1rem 5.5rem;
  border: none;
  border-radius: 40px;
  background: #FFFFFF;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.05);
  /* Suavizado para texto nítido */
  -webkit-font-smoothing: antialiased;
  transform: translateZ(0);
}

.howto__steps {
  flex: 1;
}

.howto__step-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.howto__list {
  list-style: decimal;
  list-style-position: outside;
  padding-left: 1.2rem;
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-light);
}

.howto__list li::marker {
  font-weight: 500;
}

.howto__list li {
  line-height: 1rem;
  margin-bottom: 0.5rem;
}

.howto__image {
  width: 100%;
  max-width: 220px;
  flex-shrink: 0;
}

/* Arrows */
.howto__arrow {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: var(--color-primary);
  cursor: pointer;
  line-height: 1;
  padding: 0 0.25rem;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.howto__arrow svg {
  width: 40px;
  height: auto;
  font-weight: 900;
  fill: var(--color-text-light);
  transition: transform 0.3s;
}

/* Dots */
.howto__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.howto__dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: none;
  background: #b0c4de;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s;
}

.howto__dot--active {
  background: var(--color-primary);
}

/* ============================================================
   VIDEO
   ============================================================ */
.video-section {
  padding: 3rem 0;
  background: var(--color-bg-light);
}

.video-section__wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 48, 135, 0.12);
}

.video-section__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   ENCUÉNTRALO EN — TIENDAS
   ============================================================ */
.stores {
  padding: 3rem 0;
  background: var(--color-bg);
}

.stores__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  gap: 1rem;
}

.stores__carousel {
  overflow: hidden;
  flex: 1;
  padding: 15px 0;
  /* Colchón para que el hover no se corte */
}

.stores__track {
  display: flex;
  align-items: center;
}

.stores__item {
  flex: 0 0 100%;
  /* 1 en móvil */
  width: 100%;
  padding: 0 15px;
  /* Espacio para que el logo no toque bordes */
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  /* Centrado vertical para que el link no se estire */
}

.stores__link {
  display: inline-block;
  width: fit-content;
  /* Se ajusta al ancho del logo */
  height: fit-content;
  /* Se ajusta al alto del logo */
  line-height: 0;
  align-self: center;
  /* No permite estirarse verticalmente */
  margin: 0 auto;
  /* Asegura centrado horizontal si inline-block falla */
}

.stores__img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
  will-change: transform;
}

.stores__link:hover .stores__img {
  transform: translateY(-4px) scale(1.03);
}

.stores__arrow {
  display: none;
  /* OCULTO EN MÓVIL POR PEDIDO */
  background: transparent;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  flex-shrink: 0;
  transition: opacity 0.3s;
}

.stores__arrow svg {
  width: 40px;
  height: 40px;
  fill: #666;
  /* Color de flecha sobrio */
}



/* ============================================================
   ADVISOR / WHATSAPP
   ============================================================ */
.advisor {
  padding: 2.5rem 0;
  background: var(--color-bg-light);
}

.advisor__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.advisor__text {
  display: contents;
  /* PARA PODER USAR ORDER EN SUS HIJOS EN MOBILE */
}

.advisor__heading {
  order: 1;
  /* PRIMERO EL TITULO */
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-primary);
  text-transform: uppercase;
  line-height: 1.5rem;
  text-align: center;
}

.btn--whatsapp-advisor {
  order: 2;
  /* LUEGO EL BOTON EN MOBILE */
  background: var(--color-green);
  color: #fff;
  font-size: 20px;
  line-height: 20px;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  gap: 0.8rem;
}

.advisor__image {
  order: 3;
  /* FINALMENTE LA IMAGEN MOBILE VERTICAL */
  width: 100%;
  max-width: 1008px;
}

.btn__icon {
  font-size: 1rem;
}

.btn__whatsapp-icon {
  flex-shrink: 0;
  width: 28px;
  /* Tamaño base móvil */
  height: 28px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(to bottom, var(--color-footer-top), var(--color-footer-bottom));
  padding: 3rem 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 0 30px;
  width: 100%;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.footer__logo {
  height: 60px;
  width: auto;
}

.footer__legal {
  font-size: 1rem;
  /* Tamaño optimizado para movil */
  color: #FFFFFF;
  line-height: 1.188rem;
  text-align: justify;
}

.footer__social {
  display: flex;
  flex-direction: row;
  /* AHORA EN FILA PARA MOBILE */
  align-items: center;
  gap: 1.2rem;
}

.footer__social-label {
  font-size: 1.25rem;
  line-height: 1.5rem;
  color: #FFFFFF;
  font-weight: 500;
}

.footer__social-icons {
  display: flex;
  gap: 0.7rem;
}

.footer__social-link img {
  width: 40px;
  height: 40px;
}

.footer__social-link:hover img {
  opacity: 1;
}

/* ============================================================
   MEDIA QUERIES — 768px (tablet)
   ============================================================ */
@media (min-width: 768px) {

  :root {
    --container-pad: 2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  /* Hero */
  .hero__title {
    font-size: 2.2rem;
    max-width: 640px;
    /* Ampliado para evitar que rompa el texto */
  }

  .hero__subtitle {
    font-size: 0.9rem;
    max-width: 380px;
  }

  /* Benefits */
  .benefits__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .benefits__card:hover {
    translate: 0 0;
    transition: none;
  }

  /* Formula */
  .formula__inner {
    flex-direction: row;
    align-items: center;
    gap: 80px;
    /* Mas espacio entre texto e imagen para dar aire al diseño */
  }

  .formula__text {
    order: 1;
    flex: 0 0 540px;
    /* Ancho asegurado para tus oraciones */
  }

  .formula__image {
    order: 2;
    flex: 1;
    /* La imagen se expande en el resto del espacio */
    display: flex;
    justify-content: center;
  }

  .formula__heading {
    font-size: 2rem;
  }

  /* Fixation */
  .fixation__inner {
    flex-direction: row;
    justify-content: center;
  }

  .fixation__text {
    text-align: left;
  }

  .fixation__heading {
    font-size: 2rem;
  }

  /* HowTo */
  .howto__content {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }

  .howto__image {
    max-width: 260px;
  }

  /* Advisor */
  .advisor__inner {
    flex-direction: row;
    justify-content: center;
  }

  .advisor__text {
    text-align: left;
  }

  .advisor__heading {
    font-size: 2rem;
  }

  /* Footer */
  .footer__inner {
    padding: 0 80px;
    display: block;
    /* El flex lo maneja ahora .footer__bottom */
  }

  .footer__brand {
    width: 100%;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
  }

  .footer__bottom {
    display: flex;
    flex-direction: row;
    /* Fila obligada */
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 5rem;
  }

  .footer__legal {
    flex: 1;
    /* Ocupa el espacio disponible */
    max-width: 80%;
    /* Límite para que no aplaste a social */
    padding-right: 0;
    text-align: justify;
  }

  .footer__social {
    flex: 0 0 auto;
    /* Ocupa su ancho exacto y se queda ahí */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* 'Siguenos en' alineado a la izquierda con los iconos */
    gap: 0.75rem;
    color: #FFFFFF;
  }

  .footer__social-label {
    margin-bottom: 0;
    font-size: 1.563rem;
    font-weight: 500;
    color: #FFFFFF;
  }

  .footer__social-icons {
    display: flex;
    gap: 1rem;
  }

}

/* ============================================================
   MEDIA QUERIES — 1280px (desktop)
   ============================================================ */
@media (min-width: 1280px) {

  /* Habilitamos los saltos de línea forzados en desktop */
  .br-desktop {
    display: inline;
  }

  .howto--desktop {
    display: block;
  }

  .howto--mobile {
    display: none;
  }

  .hero--desktop {
    display: block;
  }

  .hero--mobile {
    display: none;
  }

  .benefits__card:hover {
    translate: 0 -10px;
    box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.08);
    transition: translate 0.4s ease, box-shadow 0.4s ease;
  }

  :root {
    --container-pad: 3rem;
  }

  /* ==========================================================
     BLINDAJE DE DESKTOP
     ========================================================== */

  /* --- Botones --- */
  .btn--guide {
    font-size: 22px;
    line-height: 22px;
    padding: 0.75rem 1rem;
    gap: 0.6rem;
  }

  .btn--whatsapp {
    font-size: 22px;
    line-height: 22px;
    padding: 0.75rem 1rem;
    gap: 0.6rem;
  }

  .btn--whatsapp svg {
    width: 35px;
    /* Tamaño blindado para PC */
  }

  /* --- Títulos Generales --- */
  .section-title {
    font-size: 40px;
    line-height: 40px;
    font-weight: 900;
    margin-bottom: 3rem;
    /* Blindaje de margen */
  }

  /* --- Beneficios --- */
  .benefits {
    padding: 4.5rem 0;
  }

  .benefits__carousel {
    overflow: visible;
    margin-inline: 0;
  }

  .benefits__track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .benefits__card {
    flex: 1;
    width: auto;
    padding: 2.5rem;
    margin-inline: 0;
    /* Quitamos márgenes de carrusel móvil */
  }

  .benefits__title {
    font-size: 1.25rem;
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .benefits__desc {
    font-size: 1rem;
    line-height: 1.4;
  }

  .benefits__dots {
    display: none;
    /* Ocultamos dots en desktop */
  }

  /* --- HowTo --- */
  .howto {
    padding: 2.5rem 0;
  }

  .howto__step-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .howto__list {
    font-size: 1rem;
  }

  .howto__list li {
    line-height: 1rem;
    margin-bottom: 0.5rem;
  }

  .hero__overlay {
    /* Margen absoluto y pegado al borde izquierdo (ignorando el centrado general) */
    justify-content: center;
    /* Centrado vertical en desktop */
    align-items: flex-start;
    /* Alineado a la izquierda */
    max-width: 100%;
    margin-inline: 0;
    padding-left: 120px;
    text-align: left;
    /* Volvemos a texto a la izquierda */
  }

  .hero__title {
    font-size: 45px;
    line-height: 45px;
    max-width: 800px;
    /* Ampliado para evitar saltos de línea indeseados en el span */
  }

  .hero__subtitle {
    font-size: 16px;
    line-height: 18px;
    color: #666666;
    max-width: 440px;
  }

  /* Benefits */
  .benefits {
    padding: 4rem 0 3.5rem;
  }

  .benefits__card {
    padding: 2rem 1.5rem;
    /* Menos padding lateral para que el texto respire y quepa en 2 líneas */
  }

  .benefits__icon {
    width: 158px;
    /* +20% extra en iconos grandes */
    height: 158px;
  }

  .benefits__title {
    font-size: 22px;
    line-height: 22px;
    font-weight: 900;
  }

  .benefits__desc {
    font-size: 18px;
    line-height: 20px;
    font-weight: 400;
  }

  /* Formula */
  .formula .container {
    max-width: 1400px;
  }

  .formula__inner {
    flex-direction: row;
    /* Volvemos a fila en desktop */
    justify-content: space-between;
    align-items: center;
    /* CENTRADO VERTICAL */
    text-align: left;
    gap: 80px;
  }

  .formula__text {
    display: block;
    /* Agrupamos todo a la izquierda */
    flex: 1;
    max-width: 650px;
    order: 1;
    /* Forzamos texto a la izquierda */
  }

  .formula__image {
    order: 2;
    /* Forzamos imagen a la derecha */
    flex: 0 0 auto;
    width: auto;
    max-width: 600px;
    display: flex;
    /* Aseguramos que pueda usar justify-content */
    justify-content: flex-end;
  }

  .formula__heading {
    order: unset;
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 1rem;
  }

  .formula__highlight {
    font-size: 40px;
    line-height: 40px;
    color: #52c2f0;
    font-weight: 700;
  }

  .formula__desc {
    order: unset;
    font-size: 16px;
    line-height: 18px;
    margin-bottom: 2rem;
  }

  .formula .btn--guide {
    order: unset;
  }

  .formula__refs {
    order: unset;
    margin-top: 3rem;
  }

  .formula__refs small {
    font-size: 14px;
    line-height: 16px;
  }

  /* Fixation */
  .fixation .container {
    max-width: 1400px;
  }

  .fixation {
    padding: 6rem 0;
  }

  .fixation__inner {
    flex-direction: row;
    /* Volvemos a fila en desktop */
    justify-content: space-between;
    align-items: center;
    /* Centrado vertical contra la imagen */
    text-align: left;
    gap: 80px;
  }

  .fixation__image {
    order: 1;
    /* Imagen a la izquierda */
    flex: 0 0 auto;
    width: auto;
    max-width: 800px;
    display: flex;
    justify-content: flex-start;
  }

  .fixation__text {
    display: block;
    /* Agrupamos texto a la derecha */
    flex: 1;
    max-width: 600px;
    order: 2;
    /* Texto a la derecha */
  }

  .fixation__heading {
    order: unset;
    font-size: 40px;
    line-height: 40px;
    font-weight: 900;
    margin-bottom: 2rem;
  }

  .fixation__footnote {
    order: unset;
    font-size: 18px;
    line-height: 24px;
    margin-top: 1.5rem;
  }

  /* HowTo */
  .howto .container {
    max-width: 1300px;
    /* Expande la pista un 20% más */
  }

  .howto {
    padding: 3rem 0;
    /* Padding parejo arriba y abajo */
  }

  .howto__image {
    max-width: 320px;
  }

  .stores__carousel {
    max-width: 900px;
    /* Estrechamos para que los logos se junten */
    margin: 0 auto;
  }

  .stores__arrow {
    display: flex;
  }

  .stores__track {
    gap: 10px;
    /* Separación real de 10px entre cada item */
  }

  .stores__item {
    flex: 0 0 calc(33.333% - 7px);
    /* Ajuste de ancho para compensar el gap */
    width: calc(33.333% - 7px);
  }

  .stores__img {
    max-width: 100%;
  }

  /* Advisor */
  .advisor .container {
    max-width: 1400px;
  }

  /* Advisor */
  .advisor {
    padding: 6rem 0;
  }

  .advisor__inner {
    flex-direction: row;
    justify-content: center;
    gap: 4rem;
  }

  .advisor__text {
    display: block;
    /* Restaurar en desktop */
    text-align: left;
    max-width: 450px;
  }

  .advisor__heading {
    order: unset;
    font-size: 2.5rem;
    line-height: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
  }

  .btn--whatsapp-advisor {
    order: unset;
    width: fit-content;
    font-size: 24px;
    line-height: 24px;
    /* Fuente más grande en desktop */
    padding: 0.625rem 1.563rem;
  }

  .btn--whatsapp-advisor .btn__whatsapp-icon {
    width: 35px;
    /* Icono más grande en desktop */
    height: 35px;
  }

  .advisor__image {
    order: unset;
    max-width: 715px;
    /* AUMENTADO 30% */
  }

  /* Footer */
  .footer {
    padding: 3rem 0;
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: start;
    align-items: flex-start;
    gap: 3rem;
  }

  .footer__legal {
    font-size: 1.313rem;
    line-height: 1.75rem;
  }

  .footer__logo {
    height: 90px;
  }

  .footer__social {
    flex-direction: column;
    /* Restaurar columna para desktop */
    align-items: flex-start;
    text-align: right;
  }

  .footer__social-link img {
    width: 50px;
    height: 50px;
  }

  /* Hereda el tamaño y line-height del móvil para no generar conflictos */

  .desktop-only {
    display: block !important;
  }

  .mobile-only {
    display: none !important;
  }
}

/* ── Animaciones de entrada al viewport ─────────────────────── */
.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-left.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* ── Fachada YouTube ────────────────────────────────────────── */
.yt-facade {
  position: relative;
  display: block;
  width: 100%;
  cursor: pointer;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.yt-facade__thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .3s ease;
}

.yt-facade:hover .yt-facade__thumb {
  opacity: .85;
}

.yt-facade__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 68px;
  height: 48px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease;
}

.yt-facade__play svg {
  width: 68px;
  height: 48px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4));
}

.yt-facade:hover .yt-facade__play {
  transform: scale(1.08);
}

.yt-facade__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}