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

html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

:root {
  --verde:       #8de000;
  --verde-dark:  #76c400;
  --verde-light: #EAF4CC;
  --negro:       #0F0F0F;
  --gris-fondo:  #F5F5F0;
  --blanco:      #FFFFFF;
  --blanco-roto: #F8F6F1;
}

body {
  padding-top: 0;
}

/* ── HEADER ───────────────────────────────────────────────── */
#header-sticky {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 1.5rem 2rem;
}

#header-sticky.header-transparent {
  background-color: transparent;
  box-shadow: none;
}

#header-sticky.header-transparent .logo-pentica {
  filter: brightness(0) invert(1);
}

#header-sticky.header-solid {
  background-color: #FFFFFF;
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
  padding: 1rem 2rem;
}

#header-sticky.header-solid .logo-pentica {
  filter: none;
}

#header-sticky.header-transparent .cta-demo {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.8);
  color: #FFFFFF;
  padding: 10px 24px;
  border-radius: 16px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  text-decoration: none;
}

#header-sticky.header-transparent .cta-demo:hover {
  background: rgba(255,255,255,0.15);
}

#header-sticky.header-solid .cta-demo {
  background: #8de000;
  border: 2px solid #8de000;
  color: #0F0F0F;
  padding: 10px 24px;
  border-radius: 16px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url('../../img/salud/fondo.svg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 120px 2rem 80px;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.58) 40%,
    rgba(0,0,0,0.75) 100%
  );
  z-index: 1;
}

#hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  width: 100%;
}

#hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.7rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
  margin-bottom: 1.75rem;
}

#hero p.hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
  /*max-width: 560px;*/
  margin: 0 auto 2.5rem;
}

#hero .btn-cta-principal {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  padding: 18px 40px;
  background: #8de000;
  color: #0F0F0F;
  border-radius: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 32px rgba(127,191,0,0.35);
  transition: all 0.25s ease;
  display: inline-block;
  text-decoration: none;
  border: none;
  position: relative;
  overflow: hidden;
}

#hero .btn-cta-principal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

#hero .btn-cta-principal:hover::after {
  transform: translateX(0);
}

#hero .btn-cta-principal:hover {
  background: #6aaa00;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(127,191,0,0.45);
}

#hero .hero-logos {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  /*gap: 2rem;*/
  flex-wrap: wrap;
}

#hero .hero-logos p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: 100%;
  margin-bottom: 1rem;
}

#hero .logo-cliente-claro {
  filter: brightness(0) invert(1) opacity(0.5);
  height: 48px;
  width: auto;
  transition: opacity 0.2s;
}

#hero .logo-cliente-claro:hover {
  filter: brightness(0) invert(1) opacity(0.9);
}

.hero-logos {
  margin-top: 2.5rem;
  text-align: center;
}

.hero-logos-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
}

.hero-logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2rem;
}

.hero-logos-grid img,
.hero-logos-grid svg-placeholder {
  height: 52px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.65;
  transition: opacity 0.2s;
}

.hero-logos-grid img:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .hero-logos-grid {
    gap: 1rem 1.5rem;
  }
  .hero-logos-grid img {
    height: 26px;
  }
}

/* =============================================
   SECCIÓN PROBLEMA — Rediseño SaaS limpio
   ============================================= */

.seccion-problema {
  background-color: #F8F6F1;
  position: relative;
  overflow: hidden;
}

.seccion-problema::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cpath d='M 30 0 L 0 0 0 30' fill='none' stroke='%23D4D0C8' stroke-width='0.6'/%3E%3C/svg%3E");
  background-size: 30px 30px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.seccion-problema .max-w-6xl {
  position: relative;
  z-index: 1;
}

.seccion-problema .seccion-titulo {
  color: #0F0F0F;
}

.seccion-problema .seccion-sub {
  color: #444444;
}

.card-dolor-v2 {
  background: linear-gradient(135deg, #0A1F00 0%, #111C00 50%, #0F1500 100%) !important;
  border: 1px solid #2A3A1A;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  padding: 28px 24px 32px;
  min-width: 320px;
  max-width: 340px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-dolor-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(127, 191, 0, 0.15);
  border-color: #7FBF00;
}

/* Ondas diagonales — más densas, más juntas, más visibles */
.card-dolor-v2::after {
  content: '';
  position: absolute;
  inset: -20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='400' viewBox='0 0 500 400'%3E%3Cpath d='M-100 20 Q 50 0 150 20 Q 250 40 350 20 Q 450 0 600 20' fill='none' stroke='%237FBF00' stroke-width='1' stroke-opacity='0.18'/%3E%3Cpath d='M-100 45 Q 50 25 150 45 Q 250 65 350 45 Q 450 25 600 45' fill='none' stroke='%237FBF00' stroke-width='1' stroke-opacity='0.16'/%3E%3Cpath d='M-100 70 Q 50 50 150 70 Q 250 90 350 70 Q 450 50 600 70' fill='none' stroke='%237FBF00' stroke-width='1' stroke-opacity='0.15'/%3E%3Cpath d='M-100 95 Q 50 75 150 95 Q 250 115 350 95 Q 450 75 600 95' fill='none' stroke='%237FBF00' stroke-width='1' stroke-opacity='0.14'/%3E%3Cpath d='M-100 120 Q 50 100 150 120 Q 250 140 350 120 Q 450 100 600 120' fill='none' stroke='%237FBF00' stroke-width='1' stroke-opacity='0.13'/%3E%3Cpath d='M-100 145 Q 50 125 150 145 Q 250 165 350 145 Q 450 125 600 145' fill='none' stroke='%237FBF00' stroke-width='1' stroke-opacity='0.12'/%3E%3Cpath d='M-100 170 Q 50 150 150 170 Q 250 190 350 170 Q 450 150 600 170' fill='none' stroke='%237FBF00' stroke-width='1' stroke-opacity='0.11'/%3E%3Cpath d='M-100 195 Q 50 175 150 195 Q 250 215 350 195 Q 450 175 600 195' fill='none' stroke='%237FBF00' stroke-width='1' stroke-opacity='0.10'/%3E%3Cpath d='M-100 220 Q 50 200 150 220 Q 250 240 350 220 Q 450 200 600 220' fill='none' stroke='%237FBF00' stroke-width='1' stroke-opacity='0.09'/%3E%3Cpath d='M-100 245 Q 50 225 150 245 Q 250 265 350 245 Q 450 225 600 245' fill='none' stroke='%237FBF00' stroke-width='1' stroke-opacity='0.08'/%3E%3Cpath d='M-100 270 Q 50 250 150 270 Q 250 290 350 270 Q 450 250 600 270' fill='none' stroke='%237FBF00' stroke-width='1' stroke-opacity='0.07'/%3E%3Cpath d='M-100 295 Q 50 275 150 295 Q 250 315 350 295 Q 450 275 600 295' fill='none' stroke='%237FBF00' stroke-width='1' stroke-opacity='0.06'/%3E%3Cpath d='M-100 320 Q 50 300 150 320 Q 250 340 350 320 Q 450 300 600 320' fill='none' stroke='%237FBF00' stroke-width='1' stroke-opacity='0.05'/%3E%3Cpath d='M-100 345 Q 50 325 150 345 Q 250 365 350 345 Q 450 325 600 345' fill='none' stroke='%237FBF00' stroke-width='1' stroke-opacity='0.04'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  transform: rotate(-28deg) scale(1.8);
  transform-origin: center center;
  pointer-events: none;
  z-index: 0;
}

/* Contenido siempre encima de las ondas */
.card-dolor-v2 .card-dolor-icono,
.card-dolor-v2 .card-dolor-body {
  position: relative;
  z-index: 2;
}

/* Icono wrapper — verde oscuro más visible sobre gradiente */
.card-dolor-icono {
  width: 56px;
  height: 56px;
  background-color: #2A4A00;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-dolor-icono svg {
  width: 30px;
  height: 30px;
  stroke: #7FBF00;
}

/* Textos */
.card-dolor-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
  margin: 0;
}

.card-dolor-body p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: #9AAA88;
  line-height: 1.6;
  margin: 0;
}

.carrusel-dots .dot {
  background: #C8C4BC;
}

.carrusel-dots .dot.active {
  background: #8de000;
}

/* ── CARDS DE SOLUCIÓN ─────────────────────────────────────── */
.card-solucion-v2 {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

.card-solucion-v2:hover {
  transform: translateY(-8px);
}

.card-solucion-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,0.50) 0%,
    rgba(0,0,0,0.88) 100%
  );
  transition: background 0.4s ease;
}

.card-solucion-v2:hover .card-solucion-overlay {
  background: linear-gradient(
    160deg,
    rgba(0,30,0,0.55) 0%,
    rgba(0,0,0,0.90) 100%
  );
}

.card-solucion-v2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #8de000, #76c400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card-solucion-v2:hover::after {
  transform: scaleX(1);
}

.card-solucion-body {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.card-solucion-badge {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #8de000;
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.04em;
}

.card-solucion-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.6rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.card-solucion-body p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* ── ESCALA TIPOGRÁFICA UNIFICADA ──────────────────────────── */
.seccion-titulo,
.impacto-titulo,
.cta-titulo,
.testimoniales-titulo {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.seccion-titulo {
  font-size: clamp(1.8rem, 3.5vw, 2.2rem);
  color: #0F0F0F;
  margin-bottom: 1rem;
}

.seccion-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: #6B6B6B;
  font-weight: 400;
  line-height: 1.65;
  /*max-width: 560px;*/
  margin: 0 auto 3rem;
}

/* ── SECCIÓN IMPACTO EDITORIAL ─────────────────────────────── */
.impacto-eyebrow,
.testimoniales-eyebrow,
.cta-eyebrow,
.impacto-eyebrow-small {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.impacto-eyebrow {
  color: #8de000;
  margin-bottom: 1rem;
}

.impacto-titulo {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 2.5rem;
  max-width: 540px;
  color: #0F0F0F;
}

.impacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3px;
  background: #2A2A2A;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
  .impacto-grid {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

.impacto-item {
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.impacto-item--dark {
  background: #0F0F0F;
}

.impacto-item--verde {
  background: #0F0F0F;
  position: relative;
  border-left: 3px solid #8de000;
}

.impacto-numero {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #FFFFFF;
}

.impacto-numero--grande {
  font-size: clamp(3.2rem, 6vw, 4.8rem);
  font-weight: 800;
  color: #8de000;
}

.impacto-unidad {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.impacto-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  font-weight: 300;
}

.impacto-eyebrow-small {
  color: #8de000;
  margin-bottom: 0.5rem;
}

.impacto-cta-small {
  margin-top: 1.5rem;
}

.impacto-cta-small .cta-demo {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #8de000;
  text-decoration: none;
  border-bottom: 1px solid rgba(127,191,0,0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.impacto-cta-small .cta-demo:hover {
  border-color: #8de000;
}

.impacto-etiqueta-riesgo {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 68, 68, 0.789);
  margin-bottom: 1.5rem;
  display: block;
}

.impacto-cierre {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: #6B6B6B;
  text-align: center;
  margin-top: 2.5rem;
  line-height: 1.6;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.impacto-cierre strong {
  color: #0F0F0F;
  font-weight: 700;
}

/* ── CARRUSEL DE PROBLEMAS ─────────────────────────────────── */
.seccion-problema.py-20 {
  padding: 5rem 0;
}

.carrusel-wrapper {
  overflow: hidden;
  width: 100%;
  cursor: grab;
  user-select: none;
  padding: 1rem 0 2rem;
}

.carrusel-wrapper:active {
  cursor: grabbing;
}

.carrusel-track {
  display: flex;
  gap: 1.5rem;
  padding: 0 max(2rem, calc((100vw - 1152px) / 2));
  animation: carruselScroll 70s linear infinite;
  width: max-content;
}

.carrusel-wrapper:hover .carrusel-track {
  animation-play-state: paused;
}

.carrusel-track .card-dolor-v2 {
  width: 380px;
  flex-shrink: 0;
  min-height: 260px;
}

@media (max-width: 768px) {
  .carrusel-track .card-dolor-v2 {
    width: 280px;
    min-height: 220px;
  }
  .carrusel-track {
    animation-duration: 50s;
  }
  @keyframes carruselScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-1 * (280px * 6 + 1.5rem * 6))); }
  }
}

@keyframes carruselScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * (380px * 6 + 1.5rem * 6))); }
}

.carrusel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D0D0D0;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}

.dot.active {
  background: #8de000;
  transform: scale(1.3);
}

/* ── SECCIÓN 1.103 ─────────────────────────────────────────── */
.seccion-1103 {
  position: relative;
  background-color: #0F0F0F;
  background-image: url('../../img/1104-municipios.svg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 8rem 2rem;
  text-align: center;
  overflow: hidden;
}

.seccion-1103-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
  z-index: 1;
}

.seccion-1103-content {
  position: relative;
  z-index: 2;
}

.seccion-1103-numero {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(6rem, 18vw, 14rem);
  font-weight: 800;
  color: #8de000;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  text-shadow: 0 0 80px rgba(127,191,0,0.25);
}

.seccion-1103-label {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.seccion-1103-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

.seccion-1103-sub strong {
  color: #FFFFFF;
  font-weight: 700;
  display: block;
  margin-top: 1rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

/* ── CTA FINAL ─────────────────────────────────────────────── */
.cta-final-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../../img/salud/fondo2.svg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 6rem 2rem;
  text-align: center;
}

.cta-final-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.85) 0%,
    rgba(15,40,0,0.75) 100%
  );
}

.cta-final-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.cta-eyebrow {
  color: #8de000;
  margin-bottom: 1.5rem;
}

.cta-titulo {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

.cta-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-final-btn {
  font-family: 'DM Sans', sans-serif;
  display: inline-block;
  background: #8de000;
  color: #0F0F0F !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 20px 48px;
  border-radius: 16px;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 40px rgba(127,191,0,0.4);
  transition: all 0.25s ease;
  border: none;
}

.cta-final-btn:hover {
  background: #6aaa00;
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(127,191,0,0.5);
}

.cta-trust {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-top: 1.5rem;
  letter-spacing: 0.05em;
}

/* ── TESTIMONIALES ─────────────────────────────────────────── */
.seccion-testimoniales {
  background: #0F0F0F;
  padding: 6rem 0;
}

.testimoniales-eyebrow {
  color: #8de000;
  text-align: center;
  margin-bottom: 1rem;
}

.testimoniales-titulo {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 3.5rem;
  color: #FFFFFF;
  text-align: center;
}

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

@media (max-width: 900px) {
  .testimoniales-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background: #1A1A1A;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid #2A2A2A;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: border-color 0.3s, transform 0.3s;
}

.testimonial-card:hover {
  border-color: #8de000;
  transform: translateY(-4px);
}

.testimonial-estrellas {
  color: #8de000;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.testimonial-texto {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  font-style: italic;
  font-weight: 300;
  flex: 1;
  margin: 0;
}

.testimonial-autor {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid #2A2A2A;
  padding-top: 1.5rem;
}

.testimonial-foto {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #8de000;
  flex-shrink: 0;
}

.testimonial-nombre {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #FFFFFF;
}

.testimonial-cargo {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

.testimoniales-disclaimer {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.2);
  text-align: center;
  margin-top: 3rem;
  font-style: italic;
}

/* Fondo de secciones — alternar */
.seccion-problema {
  background: #F8F6F1;
  padding: 6rem 2rem;
}

.seccion-solucion {
  background: #FFFFFF;
  padding: 6rem 2rem;
}

.seccion-testimoniales {
  padding: 6rem 0;
}

.seccion-impacto {
  background: #FFFFFF;
  padding: 6rem 2rem;
}

/* Número "1.103" destacado */
.numero-municipios {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 800;
  color: #8de000;
  letter-spacing: -0.05em;
  line-height: 1;
  display: block;
  text-align: center;
  margin: 2rem 0 0.5rem;
}

.numero-municipios-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: #888;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 400;
}

/* ── SECCIÓN LOGOS CLIENTES ───────────────────────────────── */
.seccion-logos-clientes {
  background: #F8F6F1;
  padding: 4rem 2rem;
  text-align: center;
  border-top: 1px solid #EBEBEB;
  border-bottom: 1px solid #EBEBEB;
}

.logos-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 2rem;
}

.logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.logo-cliente-gris {
  height: 28px;
  width: auto;
  filter: grayscale(100%) opacity(0.45);
  transition: filter 0.25s ease;
}

.logo-cliente-gris:hover {
  filter: grayscale(0%) opacity(1);
}

/* Compensación para header fixed en anclas */
section[id] {
  scroll-margin-top: 80px;
}

/* Legacy (por si algo los usa) */
.btn-cta-principal {
  background-color: var(--verde);
  color: var(--negro);
  font-weight: 700;
  border-radius: 16px;
  padding: 16px 32px;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.1s;
}

.btn-cta-principal:hover {
  background-color: var(--verde-dark);
  transform: translateY(-1px);
}

.card-solucion {
  border-top: 4px solid var(--verde);
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
  background: var(--blanco);
  padding: 2rem;
}

.card-dolor {
  border-radius: 10px;
  border: 1px solid #E5E5E0;
  background: var(--blanco);
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.logo-cliente-oscuro {
  filter: brightness(0) invert(1) opacity(0.7);
}

.testimonio {
  border-left: 4px solid var(--verde);
  padding-left: 1.5rem;
  font-style: italic;
  color: #E0E0E0;
}

.input-pentica {
  border: 1.5px solid #E0E0E0;
  border-radius: 8px;
  padding: 12px 16px;
  width: 100%;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
}

.input-pentica:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(127,191,0,0.1);
}

/* ═══════════════════════════════════════════════════════════
   SECCIÓN ESCENARIOS SECTORIALES
   ═══════════════════════════════════════════════════════════ */

.seccion-escenarios {
  background: #0F0F0F;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.escenarios-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 2rem;
}

.escenarios-header {
  text-align: center;
  margin-bottom: 3rem;
}

.escenarios-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8de000;
  margin-bottom: 0.75rem;
}

.escenarios-titulo {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ── CARRUSEL ESCENARIOS — Fix definitivo ─────────────────── */

.escenarios-carrusel-wrapper {
  position: relative;
  width: calc(100% + 6rem);   /* compensa los márgenes negativos de las flechas */
  margin-left: -3rem;
  box-sizing: border-box;
  padding: 0 3rem;
}

.escenarios-track-container {
  overflow: hidden;
  width: 100%;
  border-radius: 4px;
}

.escenarios-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  transition: transform 2.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Cada par ocupa exactamente el 100% del container */
.escenarios-par {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  min-width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .escenarios-par {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .escenarios-carrusel-wrapper {
    width: calc(100% + 5rem);
    margin-left: -2.5rem;
    padding: 0 2.5rem;
  }
}

/* Cards */
.escenario-card {
  background: #1A1A1A;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #2A2A2A;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
  min-height: 220px;
}

.escenario-card:hover {
  border-color: #8de000;
  transform: translateY(-3px);
}

.escenario-svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
}

.escenario-cita {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  font-style: italic;
  font-weight: 300;
  flex: 1;
  margin: 0;
  border-left: 2px solid #8de000;
  padding-left: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.escenario-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8de000;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid #2A2A2A;
}

/* Flechas — absolutas respecto al wrapper, centradas */
.escenarios-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1A1A1A;
  border: 1px solid #3A3A3A;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  z-index: 20;
  flex-shrink: 0;
}

.escenarios-arrow:hover {
  background: #8de000;
  border-color: #8de000;
  color: #0F0F0F;
}

/* Las flechas están dentro del padding de 3rem — siempre visibles */
.escenarios-prev { left: 0.25rem; }
.escenarios-next { right: 0.25rem; }

/* Dots */
.escenarios-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
}

.escenario-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #333;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}

.escenario-dot.active {
  background: #8de000;
  transform: scale(1.35);
}

/* Ocultar restos de estilos de autor */
.escenario-autor,
.escenario-foto,
.escenario-nombre,
.escenario-cargo { display: none !important; }

.escenarios-disclaimer {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.18);
  text-align: center;
  margin-top: 2rem;
  font-style: italic;
}

/* ── FOOTER MÍNIMO (retail) ─────────────────────────────────── */
.footer-minimo {
  background: #0F0F0F;
  padding: 2.5rem 2rem;
  text-align: center;
  border-top: 1px solid #1A1A1A;
}

.footer-contenido p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  margin: 0.25rem 0;
}

/* ── SECCIÓN PLANES Y PRECIOS ──────────────────────────────── */
.seccion-planes {
  background: #F8F6F1;
  padding: 6rem 2rem;
}

.planes-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.planes-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.planes-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8de000;
  margin-bottom: 0.75rem;
}

.planes-titulo {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #0F0F0F;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.planes-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: #6B6B6B;
  font-weight: 400;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

.planes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .planes-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

.plan-card {
  background: #FFFFFF;
  border: 1.5px solid #E5E5E0;
  border-radius: 20px;
  padding: 2rem 1.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.plan-card:hover {
  border-color: #8de000;
  box-shadow: 0 8px 32px rgba(141, 224, 0, 0.12);
  transform: translateY(-4px);
}

.plan-card--destacado {
  border-color: #8de000;
  box-shadow: 0 8px 40px rgba(141, 224, 0, 0.18);
  transform: translateY(-6px);
}

.plan-card--destacado:hover {
  transform: translateY(-10px);
}

.plan-badge-recomendado {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #8de000;
  color: #0F0F0F;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.plan-nombre {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0;
}

.plan-desde {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: #999;
  font-weight: 400;
  margin: 0.5rem 0 0;
}

.plan-precio {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 0.25rem;
}

.plan-valor {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #0F0F0F;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-moneda {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #999;
}

.plan-periodo {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: #999;
  margin: 0.25rem 0 0;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.plan-features li {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: #444;
  font-weight: 400;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.plan-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  display: block;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}

.plan-btn--primary {
  background: #8de000;
  color: #0F0F0F !important;
  border: 2px solid #8de000;
}

.plan-btn--primary:hover {
  background: #76c400;
  border-color: #76c400;
  transform: translateY(-2px);
}

.plan-btn--outline {
  background: transparent;
  color: #0F0F0F !important;
  border: 2px solid #D0D0D0;
}

.plan-btn--outline:hover {
  border-color: #8de000;
  color: #0F0F0F !important;
}

.planes-nota {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: #888;
  text-align: center;
  margin-top: 2.5rem;
}

.planes-nota-link {
  color: #8de000;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(141, 224, 0, 0.4);
  transition: border-color 0.2s;
}

.planes-nota-link:hover {
  border-color: #8de000;
}

/* =============================================
   RESPONSIVE MOBILE — Solo < 768px
   NO afecta desktop
   ============================================= */

@media (max-width: 768px) {

  /* ─── HEADER ─── */
  header,
  .header,
  nav {
    padding: 12px 16px;
  }

  /* Ocultar botón "Agenda tu demo" del header en mobile (ya está la barra fija abajo) */
  #header-sticky .cta-demo {
    display: none !important;
  }

  /* Centrar logo Péntica en mobile */
  #header-sticky .max-w-6xl,
  #header-sticky > div {
    justify-content: center;
  }

  .header-logo img,
  nav img {
    height: 28px;
    width: auto;
  }

  .btn-demo,
  .cta-header,
  header a[href*="demo"],
  nav a[href*="demo"] {
    font-size: 0.75rem;
    padding: 8px 14px;
    border-radius: 20px;
  }

  /* ─── HERO ─── */
  #hero {
    background-attachment: scroll !important;
    min-height: 100svh !important;
    padding: 100px 20px 140px !important;
    overflow: hidden !important;
  }

  #hero .hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  #hero,
  .hero,
  .seccion-hero {
    min-height: 100svh;
    padding: 80px 20px 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  /* Overlay más oscuro para que se lea el texto pero se vea la imagen */
  #hero::before,
  .hero::before,
  .hero-overlay {
    opacity: 0.72 !important;
  }

  #hero h1,
  .hero h1 {
    font-size: clamp(1.5rem, 6.5vw, 2rem) !important;
    line-height: 1.2;
    margin-bottom: 16px;
    max-width: 100% !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  #hero p,
  .hero p,
  .hero-sub {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 100% !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  #hero .btn-cta,
  .hero .btn-cta,
  .hero a[href*="demo"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 16px 24px;
    font-size: 0.95rem;
  }

  /* Botón hero — outline en mobile */
  #hero .btn-cta-principal,
  #hero a.btn-cta-principal,
  #hero .cta-demo,
  #hero a.cta-demo {
    background: transparent !important;
    background-color: transparent !important;
    color: #8de000 !important;
    border: 2px solid #8de000 !important;
    box-shadow: none !important;
  }

  #hero .btn-cta-principal:active,
  #hero a.btn-cta-principal:active {
    background: rgba(141, 224, 0, 0.1) !important;
  }

  /* Logos hero — scroll horizontal */
  .hero-logos,
  .logos-section {
    margin-top: 32px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
    max-width: 100%;
  }

  .hero-logos-label {
    max-width: 100%;
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .hero-logos::-webkit-scrollbar {
    display: none;
  }

  .hero-logos-grid,
  .logos-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 20px;
    width: max-content;
    padding: 0 20px;
  }

  .hero-logos-grid img,
  .logos-grid img {
    height: 28px;
    width: auto;
    opacity: 0.75;
    flex-shrink: 0;
  }

  /* Escenarios — corregir wrapper en mobile */
  .escenarios-carrusel-wrapper {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .escenarios-track-container {
    overflow: hidden !important;
    width: 100% !important;
  }

  .escenarios-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  .escenarios-par {
    min-width: 100% !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    grid-template-columns: unset !important;
  }

  .escenario-card {
    width: 100% !important;
    min-width: 0 !important;
    min-height: auto !important;
  }

  .escenarios-arrow {
    display: none !important;
  }

  /* Dots escenarios más grandes para touch */
  .escenarios-dots {
    margin-top: 20px !important;
    gap: 10px !important;
    display: flex !important;
    justify-content: center !important;
  }

  .escenario-dot {
    width: 10px !important;
    height: 10px !important;
  }

  /* Sección 1.103 — mapa proporcional */
  .seccion-1103 {
    padding: 48px 20px !important;
    min-height: auto !important;
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center center !important;
  }

  .seccion-1103-content {
    position: relative !important;
    z-index: 2 !important;
    text-align: center !important;
    padding: 0 !important;
  }

  .seccion-1103-numero {
    font-size: clamp(4rem, 22vw, 6rem) !important;
    line-height: 1 !important;
  }

  .seccion-1103-label {
    font-size: 0.85rem !important;
    letter-spacing: 0.12em !important;
    margin-bottom: 16px !important;
  }

  .seccion-1103-sub {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }

  /* Carrusel problema — fix overflow y padding */
  .seccion-problema {
    padding: 48px 0 !important;
    overflow: hidden !important;
  }

  .seccion-problema .max-w-6xl {
    padding: 0 16px;
    margin-bottom: 32px;
  }

  .seccion-problema .seccion-titulo {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  .seccion-problema .seccion-sub {
    font-size: 0.875rem;
  }

  .carrusel-wrapper {
    overflow: hidden !important;
    width: 100% !important;
    padding: 0 !important;
    cursor: default !important;
  }

  .carrusel-track {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: scroll !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 16px !important;
    padding: 8px 20px 20px !important;
    animation: none !important;
    animation-play-state: paused !important;
    transform: translateX(0) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .carrusel-track::-webkit-scrollbar {
    display: none !important;
  }

  .card-dolor-v2 {
    min-width: calc(100vw - 56px) !important;
    max-width: calc(100vw - 56px) !important;
    scroll-snap-align: center !important;
    flex-shrink: 0 !important;
  }

  .card-dolor-v2.carrusel-clone {
    display: none !important;
  }

  .carrusel-dots {
    margin-top: 12px !important;
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  .carrusel-dots .dot {
    width: 8px !important;
    height: 8px !important;
    cursor: pointer !important;
  }

  /* ─── SECCIÓN 1.103 ─── */
  .seccion-1103,
  section:has(.numero-grande) {
    padding: 48px 20px;
    text-align: center;
  }

  .numero-grande {
    font-size: clamp(4rem, 20vw, 6rem) !important;
    line-height: 1;
  }

  /* Sección solución — columna en mobile */
  .seccion-solucion {
    padding: 48px 16px !important;
  }

  .seccion-solucion .grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  .card-solucion-v2 {
    width: 100% !important;
    min-height: 260px !important;
  }

  .seccion-solucion h2 {
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
    margin-bottom: 24px !important;
    text-align: center !important;
  }

  /* ─── TESTIMONIALES ─── */
  .seccion-testimoniales,
  .testimoniales-wrapper {
    padding: 48px 16px;
  }

  .testimoniales-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px;
  }

  .testimonial-card {
    width: 100% !important;
    padding: 20px;
  }

  .testimonial-card p {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  /* Impacto — fix padding mobile */
  .seccion-impacto {
    padding: 48px 0 !important;
  }

  .seccion-impacto .max-w-5xl {
    padding: 0 16px !important;
  }

  .impacto-grid {
    grid-template-columns: 1fr !important;
    gap: 3px !important;
    border-radius: 12px !important;
  }

  .impacto-item {
    padding: 2rem 1.5rem !important;
  }

  .impacto-titulo {
    font-size: 1.3rem !important;
    line-height: 1.3 !important;
    margin-bottom: 24px !important;
  }

  .impacto-numero {
    font-size: clamp(2.5rem, 12vw, 4rem) !important;
    line-height: 1;
  }

  .impacto-item p,
  .impacto-descripcion {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  /* CTA final — mobile */
  .cta-final-section {
    padding: 48px 20px 80px !important;
    min-height: auto !important;
    background-attachment: scroll !important;
  }

  .cta-titulo {
    font-size: 1.6rem !important;
    line-height: 1.25 !important;
    margin-bottom: 16px !important;
  }

  .cta-sub {
    font-size: 0.9rem !important;
    margin-bottom: 24px !important;
  }

  .cta-final-btn {
    display: block !important;
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 auto !important;
    padding: 16px 20px !important;
    font-size: 0.9rem !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  /* ─── FOOTER ─── */
  footer {
    padding: 40px 20px 100px; /* padding-bottom extra para la barra CTA fija */
  }

  footer .footer-grid,
  footer .footer-columns {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px;
  }

  footer a {
    padding: 6px 0;
    display: inline-block;
    font-size: 0.875rem;
  }

  /* Sección planes — mobile */
  .seccion-planes {
    padding: 48px 16px 80px !important;
  }

  .planes-grid {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }

  .plan-card--destacado {
    transform: translateY(0) !important;
    order: -1;
  }

  .plan-card:hover,
  .plan-card--destacado:hover {
    transform: translateY(0) !important;
  }

  .plan-valor {
    font-size: 2rem !important;
  }

  /* ─── BARRA CTA FIJA — SOLO MOBILE ─── */
  .mobile-cta-bar {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

} /* fin @media (max-width: 768px) */


/* ─── BARRA CTA FIJA — BASE (oculta en desktop) ─── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(15, 15, 15, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid #2A2A2A;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
}

.mobile-cta-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #8de000;
  color: #0F0F0F !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  padding: 15px 24px;
  border-radius: 12px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, transform 0.1s ease;
}

.mobile-cta-bar-icon {
  flex-shrink: 0;
  color: #0F0F0F;
}

.mobile-cta-bar a:active {
  transform: scale(0.98);
  background: #6aA800;
}
