/* ==========================================================================
   REMA — Theme V2 (Fusión Visual ReadyPep + Identidad REMA: Navy #1F336B & Mint #5CC88E)
   Espaciado amplio, micro-etiquetas monoespaciadas, Bento Grid, tablas comparativas y tarjetas flotantes
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Colores Oficiales del Logo REMA */
  --color-primary: #1F336B;        /* Azul Marino "RE" */
  --color-primary-dark: #101B3B;
  --color-primary-light: #F0F3FA;
  --color-primary-tint: rgba(31, 51, 107, 0.05);
  
  --color-accent: #5CC88E;         /* Verde Menta "MA" */
  --color-accent-hover: #4FAF7C;
  --color-accent-light: #E8F7EF;
  --color-accent-tint: rgba(92, 200, 142, 0.12);
  
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8FAFB;
  --color-bg-card: #FFFFFF;
  
  --color-text: #1A2B3C;
  --color-text-secondary: #5A6B7C;
  --color-text-light: #8A9BAC;
  
  --color-border: rgba(31, 51, 107, 0.10);
  --color-border-soft: rgba(31, 51, 107, 0.06);

  /* Sombras y Elevación estilo ReadyPep */
  --shadow-sm: 0 2px 8px rgba(31, 51, 107, 0.04);
  --shadow-md: 0 10px 30px -4px rgba(31, 51, 107, 0.08), 0 2px 6px rgba(31, 51, 107, 0.02);
  --shadow-lg: 0 20px 45px -8px rgba(31, 51, 107, 0.14), 0 4px 12px rgba(31, 51, 107, 0.04);

  /* Tipografías Oficiales — Idénticas a ReadyPep */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--color-bg);
}

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

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

.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}

/* ==========================================================================
   Micro-Etiquetas Monoespaciadas (Sello Visual ReadyPep)
   ========================================================================== */
.mono-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--color-primary-tint);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  margin-bottom: 14px;
}

.mono-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
}

.mono-eyebrow--white {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.mono-eyebrow--white::before {
  background-color: var(--color-accent);
}

/* Botones Tipo Píldora de Alta Conversión */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.btn-pill--primary {
  background-color: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(92, 200, 142, 0.38);
}

.btn-pill--primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(92, 200, 142, 0.5);
}

.btn-pill--navy {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(31, 51, 107, 0.25);
}

.btn-pill--navy:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 51, 107, 0.35);
}

.btn-pill--outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
}

.btn-pill--outline:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
}

@keyframes btnPulse {
  0% { box-shadow: 0 0 0 0 rgba(92, 200, 142, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(92, 200, 142, 0); }
  100% { box-shadow: 0 0 0 0 rgba(92, 200, 142, 0); }
}

.btn-pulse {
  animation: btnPulse 2.5s infinite;
}

/* ==========================================================================
   Header Flotante con Backdrop-blur
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-soft);
  transition: all 0.3s ease;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.header__logo img {
  height: 48px;
  width: auto;
  max-width: 175px;
  display: block;
  transition: transform 0.2s ease;
}

.header__logo:hover img {
  transform: scale(1.02);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header__links {
  display: none;
  list-style: none;
  gap: 24px;
}

@media (min-width: 1100px) {
  .header__links {
    display: flex;
  }
}

.header__link {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-text-secondary);
  transition: color 0.2s ease;
}

.header__link:hover {
  color: var(--color-primary);
}

.included-summary { margin-top: 28px; padding: 28px; border: 1px solid var(--color-border); border-radius: 22px; background: var(--color-primary-light); }
.included-summary h3 { font: 800 24px var(--font-heading); color: var(--color-primary); margin-bottom: 10px; }
.included-summary p { max-width: 68ch; line-height: 1.6; color: var(--color-text-secondary); }
.included-summary ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; list-style: none; margin-top: 22px; }
.included-summary li { display: flex; gap: 10px; font-size: 16px; }
.included-summary li::before { content: '✓'; color: #1a7a4c; font-weight: 800; }
.closing-cta { padding: 64px 0; background: var(--color-primary-light); text-align: center; }
.closing-cta h2 { font: 800 clamp(26px, 4vw, 36px)/1.2 var(--font-heading); color: var(--color-primary); max-width: 720px; margin: 0 auto 18px; }
.closing-cta p { font-size: 16px; color: var(--color-text-secondary); max-width: 680px; margin: 0 auto 24px; }
.footer__legacy-links { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 24px 0; font-size: 14px; }
@media (max-width: 600px) {
  .included-summary { padding: 22px; }
  .included-summary ul { grid-template-columns: 1fr; }
  .header__nav > .btn-pill { padding: 10px 14px !important; font-size: 12px !important; }
  .hero__cta-subtext { max-width: 30ch; text-align: center; }
}

/* ==========================================================================
   Hero Section (Fusión ReadyPep + Copy REMA)
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(100% 70% at 50% 0%, #F0F3FA 0%, #FFFFFF 100%);
  padding: clamp(40px, 6vw, 76px) 0 clamp(48px, 8vw, 92px);
  border-bottom: 1px solid var(--color-border-soft);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

@media (max-width: 959px) {
  .hero {
    padding: 32px 0 44px;
  }
  .hero__grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .hero__content {
    display: contents;
  }
  .hero__content .mono-eyebrow {
    order: 1;
    align-self: center;
    margin: 0 auto 14px;
  }
  .hero__title {
    order: 2;
    text-align: center;
    max-width: 380px;
    margin: 0 auto 18px;
    font-size: clamp(28px, 6.8vw, 36px);
    line-height: 1.12;
    letter-spacing: -0.04em;
  }
  .hero__video-card {
    order: 3;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 18px;
    box-shadow: 0 14px 34px rgba(31, 51, 107, 0.12);
  }
  .hero__description {
    order: 4;
    text-align: center;
    max-width: 340px;
    margin: 8px auto 24px;
    padding: 0 4px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text-secondary);
    text-wrap: balance;
  }
  .hero__cta-wrapper {
    order: 5;
    width: 100%;
    max-width: 340px;
    margin: 0 auto 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero__cta-wrapper .btn-pill {
    width: 100%;
    text-align: center;
    padding: 17px 24px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.015em;
  }
  .hero__cta-subtext {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
    font-size: 12.5px;
    color: var(--color-text-light);
  }
  .hero__trust-row {
    order: 6;
    padding-top: 18px;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--color-primary);
  margin-bottom: 18px;
}

.hero__title span {
  color: var(--color-accent);
}

.hero__description {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
  max-width: 560px;
}

.hero__cta-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}

.hero__cta-subtext {
  font-size: 12.5px;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  width: 100%;
  margin-left: 0;
  margin-top: 2px;
}

.hero__trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-primary);
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-border-soft);
  box-shadow: var(--shadow-sm);
}

/* VSL Video Container Vertical (9:16) */
.hero__video-card {
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: 24px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.hero__video-container {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 16;
  width: 100%;
}

.hero__video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__video-facade {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.hero__video-facade.hidden {
  opacity: 0;
  pointer-events: none;
}

.hero__play-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2.5px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.25s ease, background 0.25s ease;
  box-shadow: 0 10px 25px rgba(31, 51, 107, 0.4);
}

.hero__video-facade:hover .hero__play-btn {
  transform: scale(1.1);
  background: var(--color-accent);
}

.hero__play-btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  margin-left: 3px;
}

.hero__video-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px 6px;
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 700;
  text-align: center;
}

/* ==========================================================================
   Trust Bar
   ========================================================================== */
.trust-bar {
  padding: 28px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border-soft);
}

.trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 860px) {
  .trust-bar__inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-bar__icon {
  font-size: 26px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--color-primary-light);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.trust-bar__text {
  font-size: 13px;
  line-height: 1.35;
  color: var(--color-text-secondary);
}

.trust-bar__text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 14.5px;
  color: var(--color-primary);
}

/* ==========================================================================
   Testimonios Reales de REMA (Carrusel Continuo)
   ========================================================================== */
.testimonials {
  padding: clamp(56px, 8vw, 88px) 0;
  background-color: var(--color-bg-alt);
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-soft);
}

.testimonials__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.testimonials__title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.testimonials__subtitle {
  font-size: 15.5px;
  color: var(--color-text-secondary);
}

.testimonials__track-wrapper {
  overflow: hidden;
  width: 100%;
}

.testimonials__track {
  display: flex;
  gap: 22px;
  animation: scrollTestimonials 40s linear infinite;
  width: max-content;
}

.testimonials__track:hover {
  animation-play-state: paused;
}

@keyframes scrollTestimonials {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-card {
  width: 290px;
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.testimonial-card__image {
  width: 100%;
  height: 290px;
  object-fit: cover;
}

.testimonial-card__body {
  padding: 18px;
}

.testimonial-card__name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
}

.testimonial-card__location {
  font-size: 12.5px;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
}

.testimonial-card__result {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: #1a7a4c;
  background: var(--color-accent-light);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 4px;
}

.testimonial-card__duration {
  font-size: 12px;
  color: var(--color-text-light);
}

/* ==========================================================================
   Bento Grid: "¿Qué incluye tu plan?" (Sello ReadyPep)
   ========================================================================== */
.section-included {
  padding: clamp(64px, 8vw, 100px) 0;
  background: #ffffff;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(36px, 5vw, 56px);
}

.section-head__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-head__subtitle {
  font-size: 15.5px;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

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

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bento-card {
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-border);
  border-radius: 20px;
  padding: 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.bento-card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.bento-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.bento-card__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   Interactive Metric / Progress Card
   ========================================================================== */
.weight-card {
  scroll-margin-top: 96px;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  border-radius: 28px;
  padding: clamp(32px, 5vw, 48px);
  color: #ffffff;
  margin: 44px auto 0;
  max-width: 980px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 800px) {
  .weight-card {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.weight-card__left h3 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #ffffff;
}

.weight-card__left p {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}

.weight-card__left .mono-eyebrow {
  margin-bottom: 16px;
}

.weight-card__left .weight-card__note {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 20px 0 0;
  max-width: 42ch;
}

.weight-card__left,
.weight-card__right {
  min-width: 0;
}

.weight-display {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 32px);
  text-align: center;
}

.weight-display__period {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
}

.weight-display__result {
  margin: 16px 0 20px;
}

.weight-display__qualifier {
  display: block;
  font-size: 16px;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.weight-display__numbers {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(76px, 10vw, 104px);
  line-height: 1;
  color: #ffffff;
}

.weight-display__count {
  min-width: 1ch;
  font-variant-numeric: tabular-nums;
}

.weight-display__unit {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.75);
}

.weight-display__track {
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.weight-display__track > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5CC88E, #a1ecc3);
  transform-origin: left center;
}

.weight-display__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
}

.weight-display__range-note {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.weight-display__milestone {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.weight-display__milestone strong {
  display: block;
  margin: 8px 0 4px;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-accent);
}

.weight-display__milestone strong span {
  font-size: 18px;
}

.weight-display__milestone > span:last-child {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 479px) {
  .weight-card {
    padding: 24px 20px;
    gap: 24px;
  }
  .weight-card__left .btn-pill {
    width: 100%;
    padding-inline: 16px;
  }
}

/* ==========================================================================
   Process (1 al 5 en Tarjetas Modernas)
   ========================================================================== */
.section-process {
  padding: clamp(64px, 8vw, 100px) 0;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border-soft);
}

.process__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .process__steps {
    grid-template-columns: repeat(5, 1fr);
  }
}

.process__step {
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: 18px;
  padding: 24px 18px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.process__step:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.process__step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
}

.process__step-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.process__step-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.process__step-text {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   GLP-1 Science Section
   ========================================================================== */
.glp1-section {
  padding: clamp(64px, 8vw, 100px) 0;
  background: #ffffff;
}

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

@media (min-width: 860px) {
  .glp1__inner {
    grid-template-columns: 1fr 1.1fr;
  }
}

.glp1__benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.glp1__benefit {
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-border);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  transition: border-color 0.2s ease;
}

.glp1__benefit:hover {
  border-color: var(--color-accent);
}

.glp1__benefit-icon {
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.glp1__benefit-text {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-primary);
}

.glp1__benefit-sub {
  font-size: 12px;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   Tabla Comparativa (Protocolo REMA vs Medicamento Solo)
   ========================================================================== */
.section-compare {
  padding: clamp(64px, 8vw, 100px) 0;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border-soft);
}

.compare-table-wrapper {
  max-width: 800px;
  margin: 36px auto 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid var(--color-border);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.compare-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  align-items: center;
  border-bottom: 1px solid var(--color-border-soft);
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-row--head {
  background: var(--color-primary-light);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

.compare-row--head .compare-col--rema {
  background: var(--color-primary);
  color: #ffffff;
  padding: 16px 12px;
  text-align: center;
}

.compare-col {
  padding: 14px 18px;
  font-size: 14px;
}

.compare-col--feature {
  color: var(--color-text);
  font-weight: 600;
}

.compare-col--rema {
  background: rgba(92, 200, 142, 0.08);
  text-align: center;
  font-weight: 800;
  color: #1a7a4c;
}

.compare-col--solo {
  text-align: center;
  color: #94a3b8;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.section-faq {
  padding: clamp(64px, 8vw, 100px) 0;
  background: #ffffff;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(31, 51, 107, 0.2);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-icon {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-accent);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   Botón Flotante de WhatsApp
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 997;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  animation: waFloatPulse 2s infinite;
}

.whatsapp-float:hover {
  animation: none;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float::after {
  content: 'Evaluar para WhatsApp';
  position: absolute;
  right: 72px;
  background: #fff;
  color: var(--color-text);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-heading);
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.whatsapp-float:hover::after {
  opacity: 1;
}

@keyframes waFloatPulse {
  0% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .whatsapp-float.shifted {
    bottom: 82px; /* Sube fluidamente sobre la barra fija para JAMÁS superponerse */
  }
  .whatsapp-float::after {
    display: none;
  }
}

/* ==========================================================================
   Mobile Sticky Bottom Bar (Aparece solo al pasar el Hero)
   ========================================================================== */
.sticky-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border);
  padding: 10px 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
  .sticky-bottom-bar {
    display: block;
  }
  .sticky-bottom-bar.is-visible {
    transform: translateY(0);
  }
}

.sticky-bottom-bar .btn-pill {
  width: 100%;
  text-align: center;
  padding: 15px 20px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-primary-dark);
  color: #ffffff;
  padding: 56px 0 32px;
  font-size: 13.5px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer__brand-logo {
  width: 145px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  display: block;
  margin-bottom: 16px;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 12px;
  line-height: 1.55;
  max-width: 360px;
}

.footer__col h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #ffffff;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer__col a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 1.6;
}

/* ==========================================================================
   Transiciones y Animaciones Fluidas (Zero-Bloat, Aceleradas por GPU)
   ========================================================================== */

/* Keyframes de Entrada de Carga (Hero / Above-The-Fold) */
@keyframes rmaHeroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rmaHeroScale {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(14px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes rmaHeaderSlide {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Secuencia Escalonada al Cargar la Página */
.site-header {
  animation: rmaHeaderSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__content .mono-eyebrow {
  animation: rmaHeroFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.hero__title {
  animation: rmaHeroFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.14s both;
}

.hero__description {
  animation: rmaHeroFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.hero__cta-wrapper {
  animation: rmaHeroFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.30s both;
}

.hero__trust-row {
  animation: rmaHeroFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
}

.hero__video-card {
  animation: rmaHeroScale 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

/* Transiciones de Revelado al Scroll (Scroll Reveal) */
/* Transiciones de Revelado al Scroll (Scroll Reveal & Fade-In) */
html.js .reveal-on-scroll,
html.js .fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html.js .reveal-on-scroll.is-revealed,
html.js .reveal-on-scroll.visible,
html.js .fade-in.visible,
html.js .fade-in.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

html.js .fade-in-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html.js .fade-in-left.visible,
html.js .fade-in-left.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

html.js .fade-in-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html.js .fade-in-right.visible,
html.js .fade-in-right.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

html.js .scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html.js .scale-in.visible,
html.js .scale-in.is-revealed {
  opacity: 1;
  transform: scale(1);
}

/* Revelado Escalonado para Hijos (Grids, Pasos, Tarjetas) */
html.js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html.js .reveal-stagger.is-revealed > * {
  opacity: 1;
  transform: translateY(0);
}

html.js .reveal-stagger.is-revealed > *:nth-child(1) { transition-delay: 0.06s; }
html.js .reveal-stagger.is-revealed > *:nth-child(2) { transition-delay: 0.14s; }
html.js .reveal-stagger.is-revealed > *:nth-child(3) { transition-delay: 0.22s; }
html.js .reveal-stagger.is-revealed > *:nth-child(4) { transition-delay: 0.30s; }
html.js .reveal-stagger.is-revealed > *:nth-child(5) { transition-delay: 0.38s; }
html.js .reveal-stagger.is-revealed > *:nth-child(6) { transition-delay: 0.46s; }

/* Entrada Suave del Botón de WhatsApp */
html.js .whatsapp-float {
  opacity: 0;
  transform: scale(0.6) translateY(24px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

html.js .whatsapp-float.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

html.js .whatsapp-float.is-visible:hover {
  transform: scale(1.08) translateY(0);
}

/* Mobile: mantener las transiciones igual de notorias, suaves y placenteras */
@media (max-width: 768px) {
  html.js .reveal-on-scroll,
  html.js .fade-in {
    transform: translateY(26px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  }
  html.js .reveal-stagger > * {
    transform: translateY(22px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  html.js .reveal-stagger.is-revealed > *:nth-child(1) { transition-delay: 0.04s; }
  html.js .reveal-stagger.is-revealed > *:nth-child(2) { transition-delay: 0.10s; }
  html.js .reveal-stagger.is-revealed > *:nth-child(3) { transition-delay: 0.16s; }
  html.js .reveal-stagger.is-revealed > *:nth-child(4) { transition-delay: 0.22s; }
  html.js .reveal-stagger.is-revealed > *:nth-child(5) { transition-delay: 0.28s; }
  html.js .reveal-stagger.is-revealed > *:nth-child(6) { transition-delay: 0.34s; }
}

/* Respeto a Configuración de Accesibilidad (Movimiento Reducido) */
@media (prefers-reduced-motion: reduce) {
  .site-header,
  .hero__content .mono-eyebrow,
  .hero__title,
  .hero__description,
  .hero__cta-wrapper,
  .hero__trust-row,
  .hero__video-card,
  html.js .reveal-on-scroll,
  html.js .reveal-stagger > *,
  html.js .whatsapp-float {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   Sección de Exámenes de Laboratorio (Seguridad Clínica)
   ========================================================================== */
.section-lab {
  padding: clamp(56px, 8vw, 92px) 0;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border-soft);
}

.lab__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

@media (min-width: 960px) {
  .lab__grid {
    grid-template-columns: 1fr 1.05fr;
  }
}

@media (max-width: 959px) {
  .lab__content {
    order: 1;
  }
  .lab__visual {
    order: 2;
  }
}

.lab__visual {
  position: relative;
}

.lab__image-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--color-border);
  background: var(--color-bg-alt);
}

.lab__image-card img {
  width: 100%;
  height: clamp(240px, 40vw, 420px);
  object-fit: cover;
  display: block;
}

.lab__image-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  padding: 12px 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}

.lab__image-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--color-accent-light);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.lab__image-badge-text {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
}

.lab__image-badge-sub {
  font-size: 11.5px;
  color: var(--color-text-secondary);
}

.lab__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.lab__title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--color-primary);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.lab__desc {
  font-size: clamp(14.5px, 1.7vw, 16px);
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.lab__tests-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
  margin-bottom: 28px;
}

@media (min-width: 540px) {
  .lab__tests-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

.lab__test-item {
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-border);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lab__test-item:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}

.lab__test-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--color-accent-light);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.lab__test-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lab__test-name {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
}

.lab__test-detail {
  font-size: 11.5px;
  color: var(--color-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 480px) {
  .lab__test-detail {
    white-space: normal;
  }
}
