/* ================================================================
   VARIABLES — editar aquí para cambiar colores, fuentes y espacios
   ================================================================ */
:root {
  /* EDITAR: color de acento principal */
  --color-acento: #16A34A;          /* verde tecnológico — PENDIENTE: color definitivo */
  --color-acento-hover: #15803D;

  /* Fondos y textos */
  --color-fondo: #FFFFFF;
  --color-fondo-alt: #F8F9FB;       /* gris muy claro para secciones alternas */
  --color-texto: #111827;
  --color-texto-suave: #6B7280;
  --color-borde: #E5E7EB;

  /* Tipografía */
  --font-titulo: 'Sora', sans-serif;
  --font-cuerpo: 'Inter', sans-serif;
  --font-display: 'Bebas Neue', 'Sora', sans-serif;  /* titulares gigantes del hero */

  /* Espaciado */
  --espacio-xs: 0.5rem;
  --espacio-sm: 1rem;
  --espacio-md: 2rem;
  --espacio-lg: 4rem;
  --espacio-xl: 6rem;

  /* Contenedor máximo */
  --max-width: 1100px;

  /* Bordes */
  --radio: 0.75rem;
  --radio-lg: 1.25rem;

  /* Sombras */
  --sombra-sm: 0 1px 3px rgba(0,0,0,0.08);
  --sombra-md: 0 4px 16px rgba(0,0,0,0.10);
}


/* ================================================================
   RESET Y BASE
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-cuerpo);
  color: var(--color-texto);
  background: var(--color-fondo);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-titulo);
  line-height: 1.2;
  color: var(--color-texto);
}


/* ================================================================
   UTILIDADES
   ================================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--espacio-sm);
}

.section-header {
  text-align: center;
  margin-bottom: var(--espacio-md);
}


/* ================================================================
   BOTONES
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radio);
  font-family: var(--font-cuerpo);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  max-width: 100%;
}

.btn--primary {
  background: var(--color-acento);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-acento-hover);
  transform: translateY(-2px);
}

.btn--nav {
  background: var(--color-acento);
  color: #fff;
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}


/* ================================================================
   HEADER — transparente sobre el hero, sólido al hacer scroll
   (la clase .header--solid la agrega script.js)
   ================================================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  gap: 1rem;
  transition: background 0.3s, border-color 0.3s;
}
#header.header--solid {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--color-borde);
}
/* Cuando el menú móvil (overlay blanco) está abierto */
#header.menu-open {
  background: #fff;
  border-bottom-color: var(--color-borde);
}

/* EDITAR: nombre de la marca */
.header__logo .logo-text {
  font-family: var(--font-titulo);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}
#header.header--solid .logo-text,
#header.menu-open .logo-text {
  color: var(--color-acento);
}

.header__nav ul {
  display: none; /* oculto en móvil */
  gap: 1.75rem;
  align-items: center;
}

.header__nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}
.header__nav a:hover {
  color: #FFFFFF;
}
#header.header--solid .header__nav a {
  color: var(--color-texto-suave);
}
#header.header--solid .header__nav a:hover {
  color: var(--color-texto);
}
/* El botón verde del nav mantiene su texto blanco siempre */
.header__nav a.btn--nav,
#header.header--solid .header__nav a.btn--nav {
  color: #fff;
}

/* Botón hamburguesa */
.header__menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 6px;
  transition: background 0.2s;
}
.header__menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
#header.header--solid .header__menu-btn:hover,
#header.menu-open .header__menu-btn:hover {
  background: var(--color-fondo-alt);
}
.header__menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s, background 0.3s;
}
#header.header--solid .header__menu-btn span,
#header.menu-open .header__menu-btn span {
  background: var(--color-texto);
}
.header__menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.header__menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ================================================================
   MENÚ MÓVIL
   ================================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}
.mobile-menu a {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-texto);
}
.mobile-menu a:hover {
  color: var(--color-acento);
}


/* ================================================================
   HERO — showcase cinematográfico full-screen
   Fondo oscuro solo en esta sección. El resto de la página
   mantiene fondo claro.
   ================================================================ */

#hero {
  position: relative;
  background: #07120A;
  overflow: hidden;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
}

/* Fondo: anillos de energía + glows verdes */
.hc__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hc__bg::after {
  content: '';
  position: absolute;
  inset: -35%;
  background: repeating-radial-gradient(
    circle at 68% 40%,
    transparent 0 88px,
    rgba(74, 222, 128, 0.09) 88px 90px
  );
}
.hc__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hc__glow--a {
  width: 85vw;
  height: 85vw;
  max-width: 780px;
  max-height: 780px;
  background: radial-gradient(circle, rgba(22,163,74,0.24) 0%, transparent 65%);
  top: -22%;
  right: -15%;
}
.hc__glow--b {
  width: 60vw;
  height: 60vw;
  max-width: 500px;
  max-height: 500px;
  background: radial-gradient(circle, rgba(22,163,74,0.13) 0%, transparent 65%);
  bottom: -5%;
  left: -10%;
}

.hc {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

/* ── Slides: desplazamiento lateral + fade (sensación de "correr") ── */
.hc__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8vw);
  /* Estado saliente: desaparece rápido para evitar doble exposición */
  transition: opacity 0.3s ease, transform 0.4s ease;
}
/* Dirección inversa (navegar hacia atrás): entra desde la izquierda */
.hc--rev .hc__slide {
  transform: translateX(-8vw);
}
/* El slide saliente se desliza hacia el lado contrario */
.hc__slide.is-leaving {
  transform: translateX(-8vw);
}
.hc--rev .hc__slide.is-leaving {
  transform: translateX(8vw);
}
.hc__slide.is-active,
.hc--rev .hc__slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
  /* Estado entrante: entra suave cuando el saliente ya casi desapareció */
  transition: opacity 0.55s ease 0.12s, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}
.hc__slide .hc__visual {
  transform: scale(1.06);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.hc__slide.is-active .hc__visual {
  transform: scale(1);
}
/* Entrada del bloque editorial: sube y aparece al activarse el slide */
.hc__slide .hc__content {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.65s ease 0.18s, translate 0.65s ease 0.18s;
}
.hc__slide.is-active .hc__content {
  opacity: 1;
  translate: 0 0;
}
@media (prefers-reduced-motion: reduce) {
  .hc__slide { transition: none; transform: none; }
  .hc__slide .hc__visual { transform: none; transition: none; }
  .hc__slide .hc__content { opacity: 1; translate: 0 0; transition: none; }
  .hc__slide .hc__word { transition: none; }
}

/* Gradient oscuro para legibilidad del texto */
.hc__slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(4,10,6,0.96) 0%, rgba(4,10,6,0.5) 26%, transparent 46%),
    linear-gradient(to right, rgba(4,10,6,0.5) 0%, transparent 42%);
  z-index: 1;
  pointer-events: none;
}

/* ── Visual: escena full-bleed del slide ── */
.hc__visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 36%;
  z-index: 0;
  overflow: hidden;
}

/* Fragmentos de collage asomándose por los bordes */
.hc__shard {
  position: absolute;
  border-radius: 22px;
  border: 1px solid rgba(74, 222, 128, 0.14);
  background: linear-gradient(140deg, rgba(74,222,128,0.10), rgba(7,18,10,0) 70%);
  pointer-events: none;
}
.hc__shard--a {
  width: 58vw;
  height: 36vh;
  left: -20vw;
  top: 7%;
  transform: rotate(-9deg);
}
.hc__shard--b {
  width: 46vw;
  height: 30vh;
  right: -18vw;
  bottom: 6%;
  transform: rotate(7deg);
}
/* Tinte de los fragmentos por slide */
.hc__slide:nth-child(2) .hc__shard {
  border-color: rgba(59,130,246,0.16);
  background: linear-gradient(140deg, rgba(59,130,246,0.10), rgba(7,18,10,0) 70%);
}
.hc__slide:nth-child(3) .hc__shard {
  border-color: rgba(168,85,247,0.16);
  background: linear-gradient(140deg, rgba(168,85,247,0.10), rgba(7,18,10,0) 70%);
}

/* ── Banda verde diagonal que ancla la base del hero ── */
.hc::after {
  content: '';
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: clamp(-30px, -3vh, -20px);
  height: clamp(56px, 9vh, 100px);
  background: linear-gradient(90deg, #0B6B30, var(--color-acento) 55%, #2BC56B);
  transform: rotate(-2.2deg);
  box-shadow: 0 -12px 60px rgba(22, 163, 74, 0.3);
  z-index: 2;
  pointer-events: none;
}

/* ── Watermark tipográfico gigante detrás del visual ── */
.hc__word {
  position: absolute;
  top: 11%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 24vw, 17rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(74, 222, 128, 0.04);
  -webkit-text-stroke: 1px rgba(74, 222, 128, 0.13);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  /* Sale al instante: nunca se mezclan dos watermarks */
  opacity: 0;
  transition: opacity 0.2s ease;
}
/* Aparece con retardo, cuando el cruce de slides ya terminó */
.hc__slide.is-active .hc__word {
  opacity: 1;
  transition: opacity 0.8s ease 0.5s;
}

/* ── Contenido de texto: overlay editorial abajo-izquierda ── */
.hc__content {
  position: absolute;
  bottom: 5.8rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.8rem;
  max-width: 420px;
}

/* Categoría pill */
.hc__cat {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4ADE80;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  padding: 0.3rem 0.85rem;
  border-radius: 99px;
  width: fit-content;
}
.hc__slide:nth-child(2) .hc__cat {
  color: #93C5FD;
  background: rgba(59,130,246,0.1);
  border-color: rgba(59,130,246,0.25);
}
.hc__slide:nth-child(3) .hc__cat {
  color: #C4B5FD;
  background: rgba(168,85,247,0.1);
  border-color: rgba(168,85,247,0.25);
}

/* Título gigante estilo editorial (Bebas Neue, mayúsculas) */
.hc__titulo {
  font-family: var(--font-display);
  font-size: clamp(3rem, 13vw, 4.6rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: #FAFAF5;
  text-shadow: 0 4px 30px rgba(0,0,0,0.55);
}

/* Subtítulo */
.hc__sub {
  font-size: clamp(0.88rem, 3vw, 1rem);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  max-width: 380px;
}

/* Botón WhatsApp — pill blanca con glow verde */
.hc__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.7rem;
  background: #ffffff;
  color: #07120A;
  font-family: var(--font-cuerpo);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.3),
    0 6px 28px rgba(0,0,0,0.45),
    0 0 40px rgba(74,222,128,0.25);
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  margin-top: 0.25rem;
}
.hc__btn:hover {
  background: #4ADE80;
  color: #07120A;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(74,222,128,0.5),
    0 10px 36px rgba(0,0,0,0.5),
    0 0 60px rgba(74,222,128,0.45);
}

/* Nota */
.hc__nota {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.01em;
}

/* ── Panel gigante: protagonista del slide ── */
.hc__panel {
  position: relative;
  z-index: 1;
  background: #0E1A12;
  border-radius: clamp(14px, 2vw, 26px);
  overflow: hidden;
  box-shadow:
    0 0 0 1.5px rgba(74,222,128,0.45),
    0 50px 120px rgba(0,0,0,0.85),
    0 0 120px rgba(74,222,128,0.25);
  transform: rotate(-2.5deg);
  animation: hc-float 8s ease-in-out infinite;
}
.hc__slide:nth-child(2) .hc__panel {
  box-shadow:
    0 0 0 1.5px rgba(59,130,246,0.5),
    0 50px 120px rgba(0,0,0,0.85),
    0 0 120px rgba(59,130,246,0.28);
}
.hc__slide:nth-child(3) .hc__panel {
  box-shadow:
    0 0 0 1.5px rgba(168,85,247,0.5),
    0 50px 120px rgba(0,0,0,0.85),
    0 0 120px rgba(168,85,247,0.28);
}

/* Tamaños móviles por tipo de panel */
.hcp--auto,
.hcp--lp { width: min(86vw, 410px); }
.hcp--web { width: min(94vw, 580px); }

/* Flotación sutil — usa `translate` para no pisar el transform del tilt */
@keyframes hc-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hc__panel { animation: none; transform: none; }
}

/* ── Interior de los paneles (escala grande, fuentes fluidas) ── */

/* Barra superior común (ventana/navegador) */
.hcp__bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: clamp(0.6rem, 1.2vw, 1rem) clamp(0.8rem, 1.6vw, 1.4rem);
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hcp__dots { display: flex; gap: 6px; }
.hcp__dots i {
  display: block;
  width: clamp(8px, 1vw, 11px);
  height: clamp(8px, 1vw, 11px);
  border-radius: 50%;
  font-style: normal;
}
.hcp__dots i:nth-child(1) { background: #FC5F5A; }
.hcp__dots i:nth-child(2) { background: #FDBC40; }
.hcp__dots i:nth-child(3) { background: #34C749; }
.hcp__bar-title {
  flex: 1;
  font-size: clamp(0.72rem, 1.1vw, 0.95rem);
  color: rgba(255,255,255,0.55);
}
.hcp__badge {
  font-size: clamp(0.6rem, 0.9vw, 0.78rem);
  font-weight: 700;
  color: #4ADE80;
  background: rgba(74,222,128,0.12);
  border: 1px solid rgba(74,222,128,0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
  white-space: nowrap;
}
.hcp__url {
  flex: 1;
  text-align: center;
  font-size: clamp(0.66rem, 1vw, 0.85rem);
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 0.2rem 0.9rem;
}

/* ── Panel 1: conversación + flujo ── */
.hcp__body {
  padding: clamp(1rem, 2vw, 1.8rem);
  display: flex;
  flex-direction: column;
  gap: clamp(0.7rem, 1.4vw, 1.1rem);
}
.hcp__msg {
  max-width: 84%;
  padding: clamp(0.6rem, 1.2vw, 1rem) clamp(0.8rem, 1.4vw, 1.2rem);
  border-radius: 14px;
  font-size: clamp(0.78rem, 1.2vw, 1rem);
  line-height: 1.45;
}
.hcp__msg strong {
  display: block;
  font-size: clamp(0.58rem, 0.9vw, 0.72rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.hcp__msg--in {
  align-self: flex-start;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
}
.hcp__msg--in strong { color: rgba(255,255,255,0.45); }
.hcp__msg--out {
  align-self: flex-end;
  background: rgba(22,163,74,0.16);
  border: 1px solid rgba(74,222,128,0.25);
  color: #E8FFF0;
}
.hcp__msg--out strong { color: #4ADE80; }
.hcp__flow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: clamp(0.4rem, 1vw, 0.8rem);
  border-top: 1px dashed rgba(255,255,255,0.1);
}
.hcp__step {
  font-size: clamp(0.66rem, 1vw, 0.85rem);
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.4rem 0.7rem;
  border-radius: 9px;
  white-space: nowrap;
}
.hcp__step--ok {
  color: #4ADE80;
  background: rgba(22,163,74,0.14);
  border-color: rgba(74,222,128,0.3);
}
.hcp__arrow { color: rgba(74,222,128,0.6); }

/* ── Panel 2: página web (interior claro) ── */
.hcp__page { background: #F7F8FA; }
.hcp__page-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: clamp(0.6rem, 1.2vw, 1rem) clamp(0.9rem, 1.8vw, 1.6rem);
  border-bottom: 1px solid #E5E7EB;
}
.hcp__page-logo {
  font-family: var(--font-titulo);
  font-weight: 700;
  color: #111827;
  font-size: clamp(0.78rem, 1.2vw, 1.05rem);
}
.hcp__page-nav { display: flex; gap: 8px; }
.hcp__page-nav i {
  display: block;
  width: clamp(20px, 3vw, 34px);
  height: 5px;
  border-radius: 3px;
  background: #E5E7EB;
}
.hcp__page-hero {
  padding: clamp(1rem, 2.2vw, 2rem) clamp(0.9rem, 1.8vw, 1.6rem);
  background: linear-gradient(135deg, #F0FDF4, #fff);
  border-bottom: 1px solid #E5E7EB;
  display: flex;
  flex-direction: column;
  gap: clamp(0.45rem, 0.9vw, 0.7rem);
}
.hcp__ln { display: block; border-radius: 5px; }
.hcp__ln--xl { height: clamp(10px, 1.5vw, 16px); width: 72%; background: #D1D5DB; }
.hcp__ln--md { height: clamp(7px, 1.1vw, 11px);  width: 52%; background: #E5E7EB; }
.hcp__page-btn {
  width: fit-content;
  margin-top: clamp(0.3rem, 0.6vw, 0.5rem);
  font-size: clamp(0.66rem, 1vw, 0.85rem);
  font-weight: 700;
  background: var(--color-acento);
  color: #fff;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
}
.hcp__page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.5rem, 1vw, 0.9rem);
  padding: clamp(0.8rem, 1.6vw, 1.4rem) clamp(0.9rem, 1.8vw, 1.6rem);
}
.hcp__card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: clamp(0.5rem, 1vw, 0.9rem);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.hcp__card span { font-size: clamp(0.9rem, 1.4vw, 1.25rem); }
.hcp__card i {
  display: block;
  height: 6px;
  width: 85%;
  background: #E5E7EB;
  border-radius: 3px;
}

/* ── Panel 3: landing de conversión ── */
.hcp--lp {
  padding: clamp(1rem, 2vw, 1.7rem);
  display: flex;
  flex-direction: column;
  gap: clamp(0.6rem, 1.2vw, 1rem);
}
.hcp__lp-badge {
  width: fit-content;
  font-size: clamp(0.6rem, 0.9vw, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--color-acento);
  color: #fff;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
}
.hcp--lp .hcp__ln--xl { background: rgba(255,255,255,0.25); }
.hcp--lp .hcp__ln--md { background: rgba(255,255,255,0.14); }
.hcp__bens {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255,255,255,0.09);
}
.hcp__ben { display: flex; align-items: center; gap: 0.6rem; }
.hcp__ben span { font-size: clamp(0.85rem, 1.3vw, 1.1rem); }
.hcp__ben i {
  flex: 1;
  height: 7px;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
}
.hcp__proof {
  font-size: clamp(0.68rem, 1vw, 0.85rem);
  font-style: italic;
  color: rgba(255,255,255,0.4);
  border: 1px dashed rgba(255,255,255,0.16);
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
}
.hcp__cta {
  text-align: center;
  font-weight: 700;
  font-size: clamp(0.74rem, 1.1vw, 0.95rem);
  background: var(--color-acento);
  color: #fff;
  padding: clamp(0.5rem, 1vw, 0.8rem);
  border-radius: 9px;
}
.hcp__fields {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.hcp__field {
  font-size: clamp(0.66rem, 1vw, 0.82rem);
  color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 7px;
  padding: 0.45rem 0.7rem;
}

/* ── Controles: flechas circulares ── */
.hc__prev,
.hc__next {
  position: absolute;
  z-index: 10;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.75);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  padding: 0;
}
.hc__prev:hover,
.hc__next:hover {
  background: rgba(74,222,128,0.15);
  color: #4ADE80;
  border-color: rgba(74,222,128,0.4);
}
/* Móvil: a los lados, en la zona del visual */
.hc__prev { left: 0.6rem;  top: 40%; transform: translateY(-50%); }
.hc__next { right: 0.6rem; top: 40%; transform: translateY(-50%); }

/* ── Selector inferior: mini-tabs con barra de progreso ── */
.hc__tabs {
  position: absolute;
  bottom: 1.15rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.hc__tab {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  opacity: 0.55;
  transition: opacity 0.2s, background 0.2s, border-color 0.2s;
}
.hc__tab.is-active,
.hc__tab:hover {
  opacity: 1;
  background: rgba(74,222,128,0.12);
  border-color: rgba(74,222,128,0.4);
}
.hc__tab-ico { font-size: 1.15rem; line-height: 1; }
/* Móvil: solo icono; el texto aparece en desktop */
.hc__tab-info { display: none; }

/* Barra de progreso del auto-avance en la tab activa */
.hc__tab::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: #4ADE80;
}
.hc__tab.is-active::after {
  animation: hc-progress 4.5s linear forwards;
}
/* Pausado por interacción del usuario: barra llena atenuada */
.hc.is-paused .hc__tab.is-active::after {
  animation: none;
  width: 100%;
  opacity: 0.45;
}
@keyframes hc-progress {
  from { width: 0; }
  to   { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hc__tab.is-active::after { animation: none; width: 100%; }
}

/* ================================================================
   HERO — desktop (768px+): visual gigante derecha, texto editorial
   ================================================================ */
@media (min-width: 768px) {
  .hc__visual {
    padding-bottom: 0;
    align-items: center;
    justify-content: flex-end;
  }

  /* Panel gigante inclinado, recortado por el borde derecho */
  .hc__panel {
    margin-right: -6vw;
    transform: perspective(1600px) rotateY(-9deg) rotate(-3deg);
    transform-origin: center right;
  }
  .hcp--auto { width: min(46vw, 620px); }
  .hcp--lp   { width: min(43vw, 580px); }
  .hcp--web  { width: min(74vw, 1040px); margin-right: -10vw; }

  /* Watermark más arriba y más contenido en desktop */
  .hc__word {
    top: 7%;
    font-size: clamp(10rem, 17vw, 19rem);
  }

  .hc__content {
    bottom: 5rem;
    left: 5%;
    right: auto;
    max-width: 680px;
    gap: 1.1rem;
  }

  .hc__titulo {
    font-size: clamp(4.8rem, 8vw, 8.5rem);
  }
  .hc__sub {
    font-size: 1.05rem;
    max-width: 470px;
  }

  /* Flechas apiladas verticalmente al lado derecho */
  .hc__prev,
  .hc__next {
    width: 50px;
    height: 50px;
  }
  .hc__next {
    right: 2rem;
    top: calc(50% - 60px);
    transform: none;
    left: auto;
  }
  .hc__prev {
    right: 2rem;
    top: calc(50% + 10px);
    transform: none;
    left: auto;
  }

  /* Tabs completas (icono + categoría + título) abajo a la derecha */
  .hc__tabs {
    left: auto;
    right: 2rem;
    transform: none;
    bottom: 2rem;
    gap: 0.65rem;
  }
  .hc__tab {
    width: auto;
    height: auto;
    justify-content: flex-start;
    padding: 0.6rem 0.95rem;
  }
  .hc__tab-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
  }
  .hc__tab-cat {
    font-size: 0.55rem;
    font-weight: 600;
    color: #4ADE80;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .hc__tab-title {
    font-size: 0.74rem;
    font-weight: 700;
    color: rgba(255,255,255,0.92);
    font-family: var(--font-titulo);
    white-space: nowrap;
  }

  @media (prefers-reduced-motion: reduce) {
    .hc__panel { transform: none; }
  }
}

/* Pantallas anchas (1200px+): título aún más editorial */
@media (min-width: 1200px) {
  .hc__titulo {
    font-size: clamp(5rem, 8vw, 9.5rem);
  }
}


/* ================================================================
   SERVICIOS
   ================================================================ */
#servicios {
  padding: var(--espacio-lg) 1.25rem;
  background: var(--color-fondo-alt);
}

.servicios__header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--espacio-lg);
}

/* Pill de categoría de sección (reutilizable en otras secciones) */
.seccion-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-acento);
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.22);
  padding: 0.32rem 0.9rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}

.servicios__header h2 {
  font-size: clamp(1.9rem, 5.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}

.servicios__header p {
  color: var(--color-texto-suave);
  font-size: 1.05rem;
}

/* Grid de cards — 1 columna en móvil */
.servicios__grid {
  display: grid;
  gap: 1.5rem;
  max-width: var(--max-width);
  margin-inline: auto;
}

/* Acento de color por servicio — mismo código de color que el hero */
#servicio-automatizaciones {
  --acc: #16A34A;
  --acc-soft: rgba(22, 163, 74, 0.09);
  --acc-borde: rgba(22, 163, 74, 0.3);
}
#servicio-webs {
  --acc: #2563EB;
  --acc-soft: rgba(37, 99, 235, 0.08);
  --acc-borde: rgba(37, 99, 235, 0.3);
}
#servicio-landings {
  --acc: #9333EA;
  --acc-soft: rgba(147, 51, 234, 0.08);
  --acc-borde: rgba(147, 51, 234, 0.3);
}

/* Card individual */
.servicio-card {
  position: relative;
  background: var(--color-fondo);
  border: 1px solid var(--color-borde);
  border-radius: var(--radio-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sombra-sm);
  transition: box-shadow 0.25s, transform 0.2s, border-color 0.25s;
}
/* Barra superior con el color del servicio */
.servicio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--acc), transparent 85%);
}
.servicio-card:hover {
  box-shadow: 0 16px 44px rgba(17, 24, 39, 0.10);
  border-color: var(--acc-borde);
  transform: translateY(-4px);
}

.servicio-card__top {
  padding: 1.9rem 1.5rem 1.5rem;
  flex: 1;
}

/* Ícono en chip de color */
.servicio-card__icono {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--acc-soft);
  border: 1px solid var(--acc-borde);
  margin-bottom: 1rem;
}

/* Título del servicio */
.servicio-card__titulo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: var(--color-texto);
}

/* Descripción corta */
.servicio-card__desc {
  color: var(--color-texto-suave);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.1rem;
}

/* Bullets de resultados */
.servicio-card__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.servicio-card__bullets li {
  font-size: 0.88rem;
  color: var(--color-texto);
  padding-left: 1.3rem;
  position: relative;
  line-height: 1.45;
}

.servicio-card__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acc, var(--color-acento));
  flex-shrink: 0;
}

/* Placeholder del carrusel — espacio intencional, no contenido roto */
.carrusel-placeholder {
  background: var(--color-fondo-alt);
  border-top: 1px solid var(--color-borde);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 160px;
  text-align: center;
}

.carrusel-placeholder__icono {
  font-size: 1.6rem;
  opacity: 0.4;
  line-height: 1;
}

.carrusel-placeholder__titulo {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-acento);
  opacity: 0.7;
}

.carrusel-placeholder__texto {
  font-size: 0.8rem;
  color: var(--color-texto-suave);
  opacity: 0.75;
  max-width: 220px;
  line-height: 1.5;
}

/* Desktop: 3 columnas */
@media (min-width: 900px) {
  .servicios__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ================================================================
   DEMO FLUJO — Automatizaciones
   ================================================================ */
.demo-flujo {
  background: var(--color-fondo-alt);
  border-top: 1px solid var(--color-borde);
  padding: 1.5rem 1.25rem 1.25rem;
}

.demo-flujo__titulo {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-acento);
  margin-bottom: 1.25rem;
  text-align: center;
}

.demo-flujo__pasos {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Tarjeta de paso */
.flujo-paso {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--color-fondo);
  border: 1px solid var(--color-borde);
  border-radius: var(--radio);
  padding: 0.9rem 1rem;
}

.flujo-paso--final {
  border-color: rgba(22, 163, 74, 0.3);
  background: rgba(22, 163, 74, 0.04);
}

/* Ícono del paso */
.flujo-paso__icono {
  font-size: 1.3rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.1rem;
}

/* Texto del paso */
.flujo-paso__texto {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.flujo-paso__num {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-acento);
  letter-spacing: 0.06em;
  line-height: 1;
}

.flujo-paso__texto strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-texto);
  line-height: 1.2;
}

.flujo-paso__texto p {
  font-size: 0.78rem;
  color: var(--color-texto-suave);
  line-height: 1.45;
  margin-top: 0.1rem;
}

/* Conector entre pasos */
.flujo-conector {
  text-align: center;
  color: var(--color-acento);
  font-size: 1rem;
  opacity: 0.5;
  line-height: 1.4;
  padding: 0.1rem 0;
}

/* Nota de pie del demo */
.demo-flujo__nota {
  font-size: 0.68rem;
  color: var(--color-texto-suave);
  opacity: 0.6;
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
}


/* ================================================================
   DEMO WEB — Páginas web
   ================================================================ */
.demo-web {
  background: var(--color-fondo-alt);
  border-top: 1px solid var(--color-borde);
  padding: 1.5rem 1.25rem 1.25rem;
}

.demo-web__titulo {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-acento);
  margin-bottom: 1rem;
  text-align: center;
}

/* Carcasa del navegador */
.mockup-browser {
  border: 1.5px solid var(--color-borde);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--sombra-md);
  max-width: 320px;
  margin-inline: auto;
}

/* Barra superior del navegador */
.mockup-browser__barra {
  background: #F3F4F6;
  border-bottom: 1px solid var(--color-borde);
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mockup-browser__puntos {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.mockup-browser__puntos i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-borde);
  font-style: normal;
}
.mockup-browser__puntos i:nth-child(1) { background: #FC5F5A; }
.mockup-browser__puntos i:nth-child(2) { background: #FDBC40; }
.mockup-browser__puntos i:nth-child(3) { background: #34C749; }

.mockup-browser__url {
  font-size: 0.68rem;
  color: var(--color-texto-suave);
  background: #fff;
  border: 1px solid var(--color-borde);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  flex: 1;
  text-align: center;
  font-family: var(--font-cuerpo);
}

/* Contenido de la página simulada */
.mockup-browser__pagina {
  display: flex;
  flex-direction: column;
}

.mockup-zona {
  padding: 0.6rem 0.75rem;
}

/* Header simulado */
.mockup-header {
  border-bottom: 1px solid var(--color-borde);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}

.mockup-logo-text {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-texto);
  font-family: var(--font-titulo);
}

.mockup-nav {
  display: flex;
  gap: 5px;
}
.mockup-nav span {
  display: block;
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: var(--color-borde);
}

/* Hero simulado */
.mockup-hero-zona {
  background: linear-gradient(135deg, #F0FDF4, #fff);
  border-bottom: 1px solid var(--color-borde);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
  padding: 0.9rem 0.75rem;
}

.mockup-hero-titulo {
  height: 8px;
  width: 80%;
  background: #D1D5DB;
  border-radius: 4px;
}
.mockup-hero-sub {
  height: 5px;
  width: 65%;
  background: #E5E7EB;
  border-radius: 4px;
}

.mockup-btn-wa {
  margin-top: 0.25rem;
  font-size: 0.6rem;
  font-weight: 700;
  background: var(--color-acento);
  color: #fff;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
}

/* Servicios simulados */
.mockup-servicios-zona {
  background: #F9FAFB;
  border-bottom: 1px solid var(--color-borde);
}

.mockup-seccion-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--color-texto-suave);
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mockup-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}

.mockup-card {
  background: #fff;
  border: 1px solid var(--color-borde);
  border-radius: 5px;
  padding: 0.4rem 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mockup-card span {
  font-size: 0.8rem;
}
.mockup-card div:nth-child(2) {
  height: 4px;
  background: #E5E7EB;
  border-radius: 3px;
  width: 90%;
}
.mockup-card div:nth-child(3) {
  height: 3px;
  background: #F3F4F6;
  border-radius: 3px;
  width: 70%;
}

/* CTA simulada */
.mockup-cta-zona {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem;
  background: #fff;
}

.mockup-cta-texto {
  height: 5px;
  width: 60%;
  background: #E5E7EB;
  border-radius: 4px;
}

.mockup-btn-wa--outline {
  background: transparent;
  color: var(--color-acento);
  border: 1px solid var(--color-acento);
}

/* Indicador responsive */
.mockup-responsive {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.mockup-responsive__icono {
  font-size: 0.85rem;
  line-height: 1;
}

.mockup-responsive__sep {
  color: var(--color-borde);
  font-size: 0.8rem;
}

.mockup-responsive__label {
  font-size: 0.72rem;
  color: var(--color-texto-suave);
  font-weight: 500;
}

.demo-web__nota {
  font-size: 0.68rem;
  color: var(--color-texto-suave);
  opacity: 0.6;
  text-align: center;
  margin-top: 0.75rem;
  font-style: italic;
}


/* ================================================================
   DEMO LANDING — Landing pages
   ================================================================ */
.demo-landing {
  background: var(--color-fondo-alt);
  border-top: 1px solid var(--color-borde);
  padding: 1.5rem 1.25rem 1.25rem;
}

.demo-landing__titulo {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-acento);
  margin-bottom: 1rem;
  text-align: center;
}

/* Carcasa de la landing */
.mockup-landing {
  border: 1.5px solid var(--color-borde);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--sombra-md);
  max-width: 320px;
  margin-inline: auto;
}

/* Zonas genéricas */
.lp-zona {
  padding: 0.75rem;
}

/* Líneas de texto simuladas */
.lp-linea {
  border-radius: 4px;
  background: #E5E7EB;
  margin-bottom: 0.3rem;
}
.lp-linea--titulo { height: 9px; width: 88%; }
.lp-linea--sub    { height: 6px; width: 72%; }
.lp-linea--corta  { width: 50%; }
.lp-linea--sm     { height: 5px; width: 75%; }
.lp-linea--xs     { height: 4px; width: 55%; background: #F3F4F6; }
.lp-linea--center { margin-inline: auto; }

/* 1. Hero */
.lp-hero {
  background: linear-gradient(135deg, #DCFCE7, #F0FDF4);
  border-bottom: 1px solid rgba(22, 163, 74, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.lp-hero__badge {
  display: inline-block;
  background: var(--color-acento);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-bottom: 0.2rem;
  width: fit-content;
}

/* 2. Beneficios */
.lp-beneficios {
  border-bottom: 1px solid var(--color-borde);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #FAFAFA;
}

.lp-beneficio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lp-beneficio span {
  font-size: 0.85rem;
  flex-shrink: 0;
  line-height: 1;
}

.lp-beneficio__texto {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

/* 3. Prueba social */
.lp-social {
  border-bottom: 1px solid var(--color-borde);
  background: #fff;
}

.lp-social__bloque {
  background: #F9FAFB;
  border: 1px dashed var(--color-borde);
  border-radius: 6px;
  padding: 0.5rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.lp-social__comillas {
  font-size: 1rem;
  color: var(--color-borde);
  line-height: 1;
}

.lp-social__label {
  font-size: 0.65rem;
  color: var(--color-texto-suave);
  font-style: italic;
  font-weight: 500;
}

.lp-social__sub {
  font-size: 0.58rem;
  color: var(--color-borde);
}

/* 4. CTA */
.lp-cta {
  border-bottom: 1px solid var(--color-borde);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}

.lp-btn-wa {
  font-size: 0.62rem;
  font-weight: 700;
  background: var(--color-acento);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 5px;
  display: inline-block;
}

.lp-cta__nota {
  font-size: 0.55rem;
  color: var(--color-texto-suave);
  letter-spacing: 0.01em;
}

/* 5. Mini formulario */
.lp-form {
  background: #F9FAFB;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.lp-form__campo {
  background: #fff;
  border: 1px solid var(--color-borde);
  border-radius: 5px;
  padding: 0.3rem 0.5rem;
}

.lp-form__label {
  font-size: 0.6rem;
  color: #D1D5DB;
}

.lp-form__enviar {
  background: var(--color-acento);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  text-align: center;
  padding: 0.3rem;
  border-radius: 5px;
}

.demo-landing__nota {
  font-size: 0.68rem;
  color: var(--color-texto-suave);
  opacity: 0.6;
  text-align: center;
  margin-top: 0.75rem;
  font-style: italic;
}


/* ================================================================
   QUIÉN SOY
   ================================================================ */
#quien-soy {
  padding: var(--espacio-lg) 1.25rem;
  background: var(--color-fondo);
}

.quien-soy__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Foto */
.quien-soy__foto {
  flex-shrink: 0;
}

.foto-placeholder {
  width: 150px;
  height: 150px;
  border-radius: 22px;
  background: linear-gradient(150deg, #07120A 0%, #0E2415 60%, #14532D 100%);
  border: 1px solid rgba(74, 222, 128, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-shadow: 0 12px 32px rgba(7, 18, 10, 0.25), 0 0 0 4px rgba(22, 163, 74, 0.06);
}

/* Chip con icono de energía/automatización */
.foto-placeholder__chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #4ADE80;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.foto-placeholder__iniciales {
  font-family: var(--font-titulo);
  font-size: 1.9rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  line-height: 1;
}

.foto-placeholder__label {
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* Texto */
.quien-soy__texto {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Pill tag */
.quien-soy__tag {
  display: inline-block;
  background: rgba(22, 163, 74, 0.08);
  color: var(--color-acento);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 99px;
  border: 1px solid rgba(22, 163, 74, 0.2);
  width: fit-content;
}

#quien-soy h2 {
  font-size: clamp(1.4rem, 4.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

#quien-soy p {
  color: var(--color-texto-suave);
  font-size: 0.97rem;
  line-height: 1.7;
}

/* Lista numerada de enfoque */
.quien-soy__enfoque {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-borde);
}

.quien-soy__enfoque li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--color-texto);
  line-height: 1.45;
}

.enfoque__num {
  font-family: var(--font-titulo);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-acento);
  background: rgba(22, 163, 74, 0.08);
  border-radius: 6px;
  padding: 0.15rem 0.45rem;
  flex-shrink: 0;
  margin-top: 0.05em;
}

/* Desktop: foto a la izquierda, texto a la derecha */
@media (min-width: 768px) {
  .quien-soy__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 3.5rem;
  }

  .foto-placeholder {
    width: 130px;
    height: 130px;
  }
}


/* ================================================================
   POR QUÉ ELEGIRME
   ================================================================ */
#por-que {
  padding: var(--espacio-lg) 1.25rem;
  background: var(--color-fondo-alt);
}

.por-que__header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--espacio-lg);
}

.por-que__header h2 {
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.6rem;
}

.por-que__header p {
  color: var(--color-texto-suave);
  font-size: 1rem;
  line-height: 1.6;
}

/* Grid de razones — 1 columna en móvil */
.razones {
  display: grid;
  gap: 1rem;
  max-width: 780px;
  margin-inline: auto;
}

/* Card de razón — layout horizontal: ícono + texto */
.razon {
  background: var(--color-fondo);
  border: 1px solid var(--color-borde);
  border-radius: var(--radio-lg);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  box-shadow: var(--sombra-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.razon:hover {
  box-shadow: var(--sombra-md);
  transform: translateY(-2px);
}

.razon__icono {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.razon__texto h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--color-texto);
}

.razon__texto p {
  font-size: 0.9rem;
  color: var(--color-texto-suave);
  line-height: 1.6;
}

/* Desktop: 2 columnas */
@media (min-width: 640px) {
  .razones {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ================================================================
   FAQ
   ================================================================ */
#faq {
  padding: var(--espacio-lg) 1.25rem;
  background: var(--color-fondo);
}

.faq__header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--espacio-lg);
}

.faq__header h2 {
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.6rem;
}

.faq__header p {
  color: var(--color-texto-suave);
  font-size: 1rem;
}

.faq__lista {
  max-width: 700px;
  margin-inline: auto;
}

/* Item individual */
.faq__item {
  border-bottom: 1px solid var(--color-borde);
}

.faq__item:first-child {
  border-top: 1px solid var(--color-borde);
}

/* Summary — fila clickeable */
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--color-texto);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary:hover {
  color: var(--color-acento);
}

/* Chevron animado con CSS puro */
.faq__chevron {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  position: relative;
}
.faq__chevron::before,
.faq__chevron::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 9px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s;
}
.faq__chevron::before {
  left: 1px;
  transform: translateY(-50%) rotate(45deg);
}
.faq__chevron::after {
  right: 1px;
  transform: translateY(-50%) rotate(-45deg);
}
/* Rotar chevron cuando está abierto */
.faq__item[open] .faq__chevron::before {
  transform: translateY(-50%) rotate(-45deg);
}
.faq__item[open] .faq__chevron::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq__item[open] summary {
  color: var(--color-acento);
}

/* Respuesta */
.faq__respuesta {
  padding-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq__respuesta p {
  font-size: 0.93rem;
  color: var(--color-texto-suave);
  line-height: 1.7;
}

/* Botón de WhatsApp dentro del FAQ */
.faq__btn-wa {
  align-self: flex-start;
  font-size: 0.9rem;
  padding: 0.65rem 1.3rem;
}


/* ================================================================
   CTA FINAL
   ================================================================ */
#cta-final {
  padding: var(--espacio-xl) 1.25rem;
  background: linear-gradient(160deg, #F0FDF4 0%, #DCFCE7 100%);
  text-align: center;
}

.cta-final__inner {
  max-width: 620px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

#cta-final h2 {
  font-size: clamp(1.6rem, 5.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--color-texto);
}

.cta-final__sub {
  font-size: clamp(0.95rem, 3vw, 1.05rem);
  color: var(--color-texto-suave);
  line-height: 1.65;
  max-width: 500px;
}

/* Botón CTA — verde sólido sobre fondo claro */
.btn--cta {
  background: var(--color-acento);
  color: #fff;
  gap: 0.6rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.3);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn--cta:hover {
  background: var(--color-acento-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(22, 163, 74, 0.4);
}

.cta-final__nota {
  font-size: 0.8rem;
  color: var(--color-texto-suave);
  letter-spacing: 0.01em;
}


/* ================================================================
   FOOTER
   ================================================================ */
#footer {
  background: #F8FAF8;
  border-top: 1px solid var(--color-borde);
  padding: var(--espacio-md) 1.25rem;
}

.footer__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  padding-bottom: var(--espacio-md);
  border-bottom: 1px solid var(--color-borde);
}

.footer__logo {
  font-family: var(--font-titulo);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-acento);
  display: block;
  margin-bottom: 0.35rem;
}

.footer__marca p {
  font-size: 0.875rem;
  color: var(--color-texto-suave);
  line-height: 1.5;
}

.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  list-style: none;
}

.footer__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-texto-suave);
  transition: color 0.2s;
}
.footer__nav a:hover {
  color: var(--color-acento);
}

.footer__copy {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-top: var(--espacio-sm);
  text-align: center;
}

.footer__copy p {
  font-size: 0.8rem;
  color: var(--color-texto-suave);
}

/* Desktop: footer en dos columnas */
@media (min-width: 640px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: flex-start;
  }

  .footer__nav ul {
    justify-content: flex-end;
  }
}


/* ================================================================
   MEDIA QUERIES — desktop (768px+)
   ================================================================ */
@media (min-width: 768px) {
  /* Header: mostrar nav, ocultar hamburguesa */
  .header__nav ul {
    display: flex;
  }
  .header__menu-btn {
    display: none;
  }

  /* Razones: mantener 2 columnas (4 cards = grid 2×2 equilibrado) */
  /* No se sobreescribe el grid de 640px — se mantiene repeat(2, 1fr) */
}


/* ================================================================
   SCROLL MARGIN — compensa el header sticky al navegar por anclas
   ================================================================ */
#servicios,
#como-empezamos,
#ideal-para,
#quien-soy,
#por-que,
#formas-empezar,
#faq,
#cta-final {
  scroll-margin-top: 70px;
}


/* ================================================================
   CÓMO EMPEZAMOS — proceso en 3 pasos
   ================================================================ */
#como-empezamos {
  padding: var(--espacio-lg) 1.25rem;
  background: var(--color-fondo);
}

.pasos__header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--espacio-md);
}
.pasos__header h2 {
  font-size: clamp(1.9rem, 5.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}
.pasos__header p {
  color: var(--color-texto-suave);
  font-size: 1.05rem;
}

.pasos__grid {
  display: grid;
  gap: 1rem;
  max-width: var(--max-width);
  margin-inline: auto;
  list-style: none;
}

.paso {
  background: var(--color-fondo);
  border: 1px solid var(--color-borde);
  border-radius: var(--radio-lg);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--sombra-sm);
}
.paso__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-family: var(--font-titulo);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-acento);
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.22);
  border-radius: 11px;
  margin-bottom: 0.85rem;
}
.paso h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.paso p {
  color: var(--color-texto-suave);
  font-size: 0.92rem;
  line-height: 1.6;
}

.pasos__cta {
  text-align: center;
  margin-top: 2rem;
}

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


/* ================================================================
   IDEAL PARA — chips de tipos de negocio
   ================================================================ */
#ideal-para {
  padding: var(--espacio-lg) 1.25rem;
  background: var(--color-fondo-alt);
}

.ideal__header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--espacio-md);
}
.ideal__header h2 {
  font-size: clamp(1.9rem, 5.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}
.ideal__header p {
  color: var(--color-texto-suave);
  font-size: 1.05rem;
}

.ideal__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  max-width: 820px;
  margin-inline: auto;
  list-style: none;
}
.ideal__chip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--color-fondo);
  border: 1px solid var(--color-borde);
  border-radius: 99px;
  padding: 0.7rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-texto);
}
.ideal__chip span {
  font-size: 1.15rem;
  line-height: 1;
}

.ideal__nota {
  text-align: center;
  color: var(--color-texto-suave);
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

@media (min-width: 560px) {
  .ideal__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 860px) {
  .ideal__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ================================================================
   FORMAS DE EMPEZAR — 3 puntos de entrada (sin precios)
   ================================================================ */
#formas-empezar {
  padding: var(--espacio-lg) 1.25rem;
  background: var(--color-fondo-alt);
}

.formas__header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--espacio-md);
}
.formas__header h2 {
  font-size: clamp(1.9rem, 5.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}
.formas__header p {
  color: var(--color-texto-suave);
  font-size: 1.05rem;
}

.formas__grid {
  display: grid;
  gap: 1.25rem;
  max-width: var(--max-width);
  margin-inline: auto;
}

.forma-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: var(--color-fondo);
  border: 1px solid var(--color-borde);
  border-radius: var(--radio-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--sombra-sm);
  transition: transform 0.2s, box-shadow 0.25s, border-color 0.25s;
}
.forma-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(17, 24, 39, 0.10);
  border-color: rgba(22, 163, 74, 0.3);
}

.forma-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.forma-card__desc {
  color: var(--color-texto-suave);
  font-size: 0.92rem;
  line-height: 1.55;
}

.forma-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.forma-card li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--color-texto);
}
.forma-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-acento);
  font-weight: 700;
}

/* Botón de cada tarjeta: outline por defecto */
.forma-card__btn {
  margin-top: auto;
  background: var(--color-fondo);
  color: var(--color-acento);
  border: 1.5px solid var(--color-acento);
  font-size: 0.92rem;
}
.forma-card__btn:hover {
  background: var(--color-acento);
  color: #fff;
  transform: translateY(-1px);
}

/* Tarjeta destacada: punto de partida recomendado */
.forma-card--destacada {
  border-color: rgba(22, 163, 74, 0.45);
  box-shadow: 0 12px 36px rgba(22, 163, 74, 0.12);
}
.forma-card--destacada .forma-card__btn {
  background: var(--color-acento);
  color: #fff;
}
.forma-card--destacada .forma-card__btn:hover {
  background: var(--color-acento-hover);
}
.forma-card__tag {
  width: fit-content;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-acento);
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.25);
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
}

@media (min-width: 900px) {
  .formas__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
