/* ═══════════════════════════════════════════════════════════
   CAPIBYTE — main.css
   Versión limpia y depurada. Todas las animaciones de entrada
   son manejadas por GSAP (js/main.js). Este archivo solo
   define estilos visuales base.
═══════════════════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --green-900: #0a1f0a;
  --green-800: #102910;
  --green-700: #1a4a1a;
  --green-600: #216821;
  --green-500: #2d8a2d;
  --green-400: #3ab03a;
  --green-300: #5cc85c;
  --green-200: #a8e6a8;
  --green-100: #d4f5d4;
  --green-50: #f0faf0;
  --accent: #38c438;
  --accent-light: #4ddb4d;
  --white: #ffffff;
  --gray-50: #f8faf8;
  --gray-100: #eff3ef;
  --gray-200: #dde8dd;
  --gray-400: #9aaa9a;
  --text-dark: #0d1f0d;
  --text-mid: #2a3d2a;
  --text-light: #4a634a;
  --font-display: 'Coda', sans-serif;
  --font-body: 'Josefin Sans', sans-serif;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --r-sm: 8px;
  --r-md: 12px;
  --r-xl: 20px;
  --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

a,
button {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── SCROLL PROGRESS BAR ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--green-300));
  z-index: 10001;
  width: 0%;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(56, 196, 56, 0.6);
}

/* ── CUSTOM CURSOR (DESHABILITADO) ── */
.cursor-dot {
  display: none;
}

.cursor-outline {
  display: none;
}

.hover-active .cursor-dot {
  width: 0;
  height: 0;
}

.hover-active .cursor-outline {
  width: 64px;
  height: 64px;
  background: rgba(56, 196, 56, 0.08);
  border-color: var(--accent);
}

/* ── INTRO LOADER ── */
#intro-loader {
  position: fixed;
  inset: 0;
  background: var(--green-900);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.loader-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.loader-particle {
  position: absolute;
  background: var(--accent);
  border-radius: 50%;
  animation: particleFly var(--dur) var(--delay) linear infinite;
  opacity: 0;
  left: var(--x);
  bottom: -4px;
}

@keyframes particleFly {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0);
  }

  10% {
    opacity: 1;
    transform: translateY(-20px) scale(1);
  }

  90% {
    opacity: 0.3;
  }

  100% {
    opacity: 0;
    transform: translateY(-100vh) scale(0.5);
  }
}

.loader-logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.loader-capy-svg {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 0 24px rgba(58, 176, 58, 0.6));
}

.loader-brand-text {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
}

.loader-brand-text span {
  color: var(--accent);
}

.loader-tagline {
  font-size: 0.9rem;
  color: var(--green-300);
  letter-spacing: 4px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.loader-progress-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.loader-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-600), var(--accent));
  border-radius: 99px;
  width: 0%;
  transition: width 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── HERO BANNER ── */
#hero-banner {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(58, 176, 58, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(58, 176, 58, 0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 20s linear infinite;
}

@keyframes gridDrift {
  from {
    background-position: 0 0
  }

  to {
    background-position: 60px 60px
  }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45, 138, 45, 0.35) 0%, transparent 70%);
  top: -150px;
  left: -150px;
  animation: orbPulse 8s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(58, 176, 58, 0.2) 0%, transparent 70%);
  bottom: -100px;
  right: 10%;
  animation: orbPulse 10s ease-in-out 2s infinite;
}

@keyframes orbPulse {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.15)
  }
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.hero-banner-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 600;
  color: var(--green-700);
  letter-spacing: -3px;
  line-height: 1;
  display: flex;
  overflow: hidden;
  position: relative;
  padding: .2em 0;
}

.char {
  display: inline-block;
  will-change: transform, opacity;
}

.char:hover {
  transform: rotate(5deg) scale(.9) translateY(-20px) !important;
  transition: transform 0.3s !important;
}

.hero-banner-title::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 40%, rgba(56, 196, 56, 0.08) 50%, transparent 60%);
  background-size: 200%;
  animation: titleShimmer 4s linear 2.5s infinite;
}

@keyframes titleShimmer {
  from {
    background-position: 200% center
  }

  to {
    background-position: -200% center
  }
}

.hero-banner-sub {
  font-size: 1.05rem;
  color: var(--green-300);
  letter-spacing: 4px;
  text-transform: uppercase;
}

.hero-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 99px;
  border: none;
  box-shadow: 0 8px 32px rgba(58, 176, 58, 0.4);
  position: relative;
  overflow: hidden;
  transition: background 0.2s, box-shadow 0.3s, transform 0.3s;
}

.hero-banner-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.hero-banner-cta:hover::before {
  transform: translateX(100%);
}

.hero-banner-cta:hover {
  background: var(--accent-light);
  box-shadow: 0 12px 48px rgba(58, 176, 58, 0.6);
  transform: translateY(-3px);
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--green-400);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.scroll-hint-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--green-400), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {

  0%,
  100% {
    transform: scaleY(1);
    transform-origin: top
  }

  50% {
    transform: scaleY(0.3)
  }
}

/* ── HEADER ── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0px);
  padding: 0 5%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.3s, transform 0.4s, border-bottom-color 0.4s;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border-bottom-color: var(--gray-100);
}

header.nav-hidden {
  transform: translateY(-100%);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
}

.nav-logo img {
  width: 38px;
  height: 38px;
  padding-right: .2em;
}

.nav-logo .accent {
  color: var(--accent);
}

header:not(.scrolled) .nav-logo {
  color: var(--green-700);
}

header:not(.scrolled) nav ul a {
  color: var(--green-600);
}

header nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
}

nav ul a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  position: relative;
  transition: color var(--transition);
}

nav ul a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 100%;
  height: 1px;
  background: var(--accent);
  transition: right 0.3s;
}

nav ul a:hover {
  color: var(--accent);
}

nav ul a:hover::after {
  right: 0;
}

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden;
  padding: 20px 0;
  background: var(--green-900);
  border-top: 1px solid rgba(58, 176, 58, 0.15);
  border-bottom: 1px solid rgba(58, 176, 58, 0.15);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

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

.marquee-item {
  padding: 0 40px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-600);
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.marquee-item .dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.marquee-item.highlight {
  color: var(--accent);
}

@keyframes marquee {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

/* ── SECCIONES COMPARTIDAS ── */
.section-title-wrap {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 16px;
}



.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -1.5px;
  line-height: 1.15;
  width: 700px;
  margin: auto;
}

.section-h2 em {
  color: var(--accent);
  font-style: normal;
}

/* ── BOTONES ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 99px;
  border: none;
  transition: background var(--transition), transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 6px 24px rgba(58, 176, 58, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(58, 176, 58, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-radius: 99px;
  border: 2px solid var(--gray-200);
  transition: all var(--transition);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--green-50);
}

/* ── HERO SECTION ── */
#hero {
  padding: 120px 5% 80px;
  background: var(--green-50);
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(58, 176, 58, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(58, 176, 58, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-100);
  color: var(--green-600);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 99px;
  margin-bottom: 20px;
  border: 1px solid var(--green-200);
}

.hero-badge span {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1
  }

  50% {
    transform: scale(1.6);
    opacity: 0.5
  }
}

.titulo {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.5px;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.titulo .highlight {
  color: var(--green-600);
  position: relative;
}

.titulo .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--green-300));
  border-radius: 2px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--green-300), var(--accent));
  background-size: 200%;
  animation: gradientSlide 3s linear infinite;
}

@keyframes gradientSlide {
  from {
    background-position: 0
  }

  to {
    background-position: 200%
  }
}

.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.card-label {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
}

.card-badge-green {
  background: var(--green-100);
  color: var(--green-600);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-big-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 20px;
}

.card-big-num span {
  color: var(--accent);
}

.live-chart-wrap {
  position: relative;
  margin-bottom: 16px;
}

.live-chart-svg {
  width: 100%;
  height: 100px;
  overflow: visible;
}

.chart-area-path {
  fill: url(#chartGrad);
  opacity: 0;
  transition: opacity 1s ease;
}

.chart-area-path.visible {
  opacity: 1;
}

.chart-line-path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.chart-line-path.visible {
  stroke-dashoffset: 0;
}

.chart-dot {
  fill: var(--accent);
  r: 4;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.chart-dot.visible {
  opacity: 1;
}

.chart-tooltip {
  position: absolute;
  background: var(--green-900);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  transform: translate(-50%, -130%);
}

.chart-tooltip::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--green-900);
  border-bottom: none;
}

.card-line {
  height: 2px;
  background: var(--gray-100);
  border-radius: 99px;
  margin-bottom: 20px;
  overflow: hidden;
}

.card-line-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--green-300));
  border-radius: 99px;
  transition: width 1.8s ease 0.5s;
}

.card-line-fill.animated {
  width: 78%;
}

.card-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.card-stat {
  text-align: center;
  background: var(--gray-50);
  padding: 12px 8px;
  border-radius: var(--r-md);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.card-stat strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  display: block;
  letter-spacing: -0.5px;
}

.card-stat small {
  font-size: 0.72rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.count-up {
  display: inline-block;
}

.float-tag {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 10px 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  border: 1px solid var(--gray-100);
  animation: floatBob 4s ease-in-out infinite;
}

.float-tag-1 {
  top: -4em;
  right: -10px;
  animation-delay: 0s;
}

.float-tag-2 {
  bottom: -5em;
  left: -10px;
  animation-delay: 1.5s;
}

.float-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes floatBob {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

/* ── DOLOR SECTION ── */
#dolor {
  padding: 4em 5%;
  background: var(--white);
}

.pain-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pain-card {
  border: 1px solid var(--gray-100);
  border-radius: var(--r-xl);
  padding: 28px;
  background: var(--gray-50);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.3s;
}

.pain-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
  border-color: var(--green-200);
}

.pain-icon {
  width: 8rem;
  margin-bottom: 16px;
}

.pain-h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.pain-p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  padding: 1em 0;
}

/* -- SOLUCION SECTION — ACORDEÓN FIJO (pin) --*/
#solution {
  position: relative;
}

/* Bloque que se fija en pantalla mientras se scrollea la sección */
.solution-pin {
  min-height: 100vh;
  max-width: 820px;
  margin: 0 auto;
  padding: 90px 5% 8vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.solution-pin .section-title-wrap {
  margin-bottom: 0;
}

/* Slot inferior donde las tarjetas se van apilando/mostrando */
.solution-stack {
  position: relative;
  margin-top: auto;
}

.solution-card {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 1.4em;
  padding: 8em;
  background: var(--green-400);
  color: white;
  border-radius: 20px;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(16, 41, 16, 0.22);
  will-change: transform, opacity;
  margin-bottom: 3em;
}

.solution-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.18) 50%, transparent 60%);
  background-size: 220% 100%;
  background-position: 200% center;
  pointer-events: none;
}

.solution-icon {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.solution-card .fa-circle-check {
  font-size: 2em;
  color: var(--white);
}

.solution-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.solution-h3 {
  font-family: var(--font-display);
  font-size: 1.35em;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
}

.solution-p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.55;
}

/* Puntitos indicadores de progreso del stack */
.solution-dots {
  position: absolute;
  left: 50%;
  bottom: -34px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.solution-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-200);
  transition: background 0.3s, transform 0.3s;
}

.solution-dots span.active {
  background: var(--accent);
  transform: scale(1.35);
}

@media (max-width: 560px) {
  .solution-card {
    padding: 1.7em 1.3em;
    gap: 1em;
  }
  .solution-icon { width: 52px; height: 52px; }
  .solution-h3 { font-size: 1.15em; }
}

/* ── SERVICES HORIZONTAL SLIDER ── */
#services {
  position: relative;
}

.services-sticky-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.services-track {
  display: flex;
  gap: 28px;
  padding: 0 5vw;
  will-change: transform;
  align-items: center;
  width: max-content;
}

.service-card {
  flex: 0 0 360px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.3s;
  height: 52vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(to top, rgba(56, 196, 56, 0.05), transparent);
  transition: height 0.4s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
  border-color: var(--green-200);
}

.service-card:hover::after {
  height: 100%;
}

.service-icon {
  width: 10em;
  height: 9em;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  transition: transform 0.4s;
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(-5deg);
}

.service-h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.2s;
  text-decoration: none;
  z-index: 99;
}

.service-link:hover {
  gap: 10px;
}

.services-progress-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 5vw;
  padding-top: 20px;
  padding-bottom: 20px;
}

.services-progress-bar {
  flex: 1;
  height: 2px;
  background: var(--gray-100);
  border-radius: 99px;
  overflow: hidden;
  max-width: 240px;
}

.services-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--green-300));
  border-radius: 99px;
  transition: width 0.1s linear;
}

.services-counter {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 1px;
}

.services-hint {
  font-size: 0.75rem;
  color: var(--green-400);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  gap: 8px;
}

.services-hint-arrow {
  animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {

  0%,
  100% {
    transform: translateX(0)
  }

  50% {
    transform: translateX(6px)
  }
}

/* ── METHOD SECTION ── */
#metodo {
  background: var(--green-50);
}

#metodo .section-title-wrap {
  padding: 100px 5% 60px;
}

.proceso-outer {
  position: relative;
  padding: 0 3% 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.proceso-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3em;
  align-items: start;
}

.proceso-num-sticky {
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
  user-select: none;
}

.proceso-big-num {
  font-family: var(--font-display);
  font-size: clamp(8rem, 18vw, 14rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(45, 138, 45, 0.18);
  transition: -webkit-text-stroke-color 0.6s;
  letter-spacing: -8px;
}

.proceso-big-num.highlighted {
  -webkit-text-stroke: 3px var(--accent);
  filter: drop-shadow(0 0 40px rgba(56, 196, 56, 0.25));
}

.proceso-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.proceso-step {
  padding: 80px 0 80px 60px;
  border-left: 1px solid var(--green-200);
  position: relative;
  opacity: 0.35;
  transition: opacity 0.5s;
}

.proceso-step.active {
  opacity: 1;
}

.proceso-step::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 80px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-300);
  border: 2px solid var(--green-50);
  transition: background 0.4s, transform 0.4s, box-shadow 0.4s;
}

.proceso-step.active::before {
  background: var(--accent);
  transform: scale(1.4);
  box-shadow: 0 0 20px rgba(56, 196, 56, 0.5);
}

.proceso-step-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.proceso-step-label::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--accent);
}

.proceso-step h4 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.proceso-step p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 28px;
}

.proceso-step-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-step-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 11px 22px;
  border-radius: 99px;
  border: none;
  transition: background 0.2s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 16px rgba(58, 176, 58, 0.3);
}

.btn-step-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(58, 176, 58, 0.45);
}

.btn-step-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text-mid);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 11px 20px;
  border-radius: 99px;
  border: 1.5px solid var(--gray-200);
  transition: all 0.2s;
}

.btn-step-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-step-secondary .arrow {
  transition: transform 0.2s;
}

.btn-step-secondary:hover .arrow {
  transform: translateX(4px);
}

/* ── PRICING SECTION ── */
#precios {
  padding: 100px 5%;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

#precios::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(56, 196, 56, 0.04), transparent);
  pointer-events: none;
}

.pricing-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.pricing-card {
  position: relative;
  border-radius: var(--r-xl);
  padding: 44px 36px 36px;
  overflow: hidden;
  border: 1.5px solid var(--gray-100);
  background: var(--white);
  transition: transform 0.5s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.5s, border-color 0.3s;
  cursor: pointer;
}

.pricing-big-num {
  position: absolute;
  font-family: var(--font-display);
  font-size: 14rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(56, 196, 56, 0.08);
  right: -20px;
  bottom: -30px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s;
  transform: translateY(30px) scale(0.9);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.pricing-card:hover .pricing-big-num {
  transform: translateY(0) scale(1);
  opacity: 1;
  -webkit-text-stroke: 2px rgba(56, 196, 56, 0.15);
}

.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(145deg, #fff 60%, var(--green-50));
  box-shadow: 0 20px 60px rgba(58, 176, 58, 0.15);
}

.pricing-card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.12);
  border-color: var(--green-300);
}

.pricing-card.featured:hover {
  box-shadow: 0 32px 80px rgba(58, 176, 58, 0.25);
}

.pricing-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.pricing-badge-placeholder {
  height: 28px;
  margin-bottom: 20px;
}

.pricing-plan-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.pricing-plan-type {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-light);
  position: relative;
  z-index: 1;
}

.pricing-price-wrap {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.pricing-currency {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-mid);
  padding-top: 8px;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -2px;
  line-height: 1;
}

.pricing-period {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.pricing-period-alt {
  font-size: 0.78rem;
  color: var(--green-600);
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  padding: 4px 10px;
  background: var(--green-50);
  border-radius: 6px;
  display: inline-block;
}

.pricing-divider {
  height: 1px;
  background: var(--gray-100);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.pricing-features li {
  font-size: 0.88rem;
  color: var(--text-mid);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.pricing-p {
  font-size: 0.8em;
  color: var(--text-light);
  line-height: 1.7;
  flex: 1;
  padding-bottom: 1em;
}

.check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-600);
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-top: 1px;
}

.check.inactive {
  background: var(--gray-100);
  color: var(--gray-400);
}

.disabled {
  color: var(--gray-400);
}

.pricing-cta {
  display: block;
  text-align: center;
  padding: 13px 24px;
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid var(--gray-200);
  color: var(--text-dark);
  transition: all 0.3s;
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
}

.pricing-card.featured .pricing-cta {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(58, 176, 58, 0.35);
}

.pricing-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(58, 176, 58, 0.3);
  border-color: var(--accent);
  color: var(--accent);
}

.pricing-card.featured .pricing-cta:hover {
  background: var(--accent-light);
  box-shadow: 0 12px 36px rgba(58, 176, 58, 0.5);
  color: var(--white);
}

/* Botón de agregar al pedido */
.btn-add-order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  border-radius: 99px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  border: 1.5px dashed var(--green-300);
  color: var(--green-600);
  background: transparent;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.btn-add-order:hover {
  background: var(--green-50);
  border-color: var(--accent);
  color: var(--accent);
  border-style: solid;
}

.btn-add-order.added {
  background: var(--green-100);
  border-color: var(--green-500);
  border-style: solid;
  color: var(--green-700);
}

.pricing-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pricing-note span {
  font-weight: 700;
  color: var(--green-600);
}

/* ═══════════════════════════════════════════════════════════════
   ADD-ONS — grilla de extras (estética de la web + carrito)
═══════════════════════════════════════════════════════════════ */
.addons {
  padding: 100px 5%;
  background: var(--white);
}

.addons-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.addons-sub {
  max-width: 640px;
  margin: 14px auto 0;
  text-align: center;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
}

.addons-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.addon-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-xl);
  padding: 30px 28px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1),
              box-shadow 0.4s, border-color 0.3s, background 0.3s;
}

.addon-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--green-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s;
}

.addon-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 55px rgba(10, 31, 10, 0.09);
  border-color: var(--green-200);
  background: var(--white);
}

.addon-card:hover::before {
  transform: scaleX(1);
}

.addon-card--wide {
  grid-column: span 2;
}

.addon-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.addon-ic {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--green-50);
  color: var(--accent);
  font-size: 1.5rem;
  transition: transform 0.45s cubic-bezier(0.34, 1.3, 0.64, 1), background 0.3s;
}

.addon-card:hover .addon-ic {
  transform: rotate(-6deg) scale(1.08);
  background: var(--green-100);
}

.addon-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}

.addon-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 18px;
}

.addon-desc strong {
  color: var(--text-mid);
  font-weight: 700;
}

.addon-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-600);
  margin-bottom: 16px;
  line-height: 1.1;
}

.addon-price span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
}

.addon-sep {
  height: 1px;
  background: var(--gray-200);
  margin-bottom: 14px;
}

.addon-ideal {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 22px;
}

.addon-ideal strong {
  color: var(--text-mid);
  font-weight: 700;
}

/* El botón usa .btn-add-order global; solo lo empujamos al pie */
.addon-btn.btn-add-order {
  margin-top: auto;
  padding: 12px;
  font-size: 0.85rem;
}

/* ── CTA de asesoría ── */
.addons-cta {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 26px 34px;
  background: var(--gray-50);
  border: 1px dashed var(--green-200);
  border-radius: var(--r-xl);
}

.addons-cta-ic {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-100);
  color: var(--green-600);
  font-size: 1.4rem;
}

.addons-cta-text {
  flex: 1 1 240px;
}

.addons-cta-text h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
}

.addons-cta-text p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 2px;
}

.addons-cta-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(58, 176, 58, 0.35);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.addons-cta-btn:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(58, 176, 58, 0.5);
}

@media (max-width: 960px) {
  .addons-grid { grid-template-columns: repeat(2, 1fr); }
  .addon-card--wide { grid-column: span 2; }
}

@media (max-width: 600px) {
  .addons-grid { grid-template-columns: 1fr; }
  .addon-card--wide { grid-column: span 1; }
  .addons-cta { flex-direction: column; align-items: flex-start; }
  .addons-cta-btn { width: 100%; justify-content: center; }
}

/* ── MANTENIMIENTO ── */
.mant-section {
  margin-top: 80px;
  padding: 60px;
  background: var(--green-900);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.mant-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 0% 50%, rgba(45, 138, 45, 0.3), transparent);
  pointer-events: none;
}

.mant-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(58, 176, 58, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(58, 176, 58, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.mant-inner {
  position: relative;
  z-index: 1;
}

.mant-header {
  margin-bottom: 48px;
}

.mant-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mant-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1.15;
}

.mant-title em {
  color: var(--accent);
  font-style: normal;
}

.mant-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mant-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(58, 176, 58, 0.15);
  border-radius: var(--r-xl);
  padding: 36px;
  position: relative;
  transition: background 0.35s, border-color 0.35s, transform 0.4s;
}

.mant-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(58, 176, 58, 0.35);
  transform: translateY(-4px);
}

.mant-card.premium {
  border-color: rgba(56, 196, 56, 0.4);
  background: rgba(56, 196, 56, 0.08);
}

.mant-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--green-300);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
  margin-bottom: 20px;
  border: 1px solid rgba(58, 176, 58, 0.2);
}

.mant-card.premium .mant-plan-badge {
  background: rgba(56, 196, 56, 0.15);
  color: var(--accent);
  border-color: rgba(56, 196, 56, 0.4);
}

.mant-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.mant-price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1.5px;
  line-height: 1;
}

.mant-currency {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-400);
}

.mant-period {
  font-size: 0.78rem;
  color: var(--green-500);
  margin-bottom: 4px;
}

.mant-alt-price {
  font-size: 0.78rem;
  color: var(--green-400);
  padding: 4px 10px;
  background: rgba(56, 196, 56, 0.1);
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 28px;
}

.mant-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin-bottom: 24px;
}

.mant-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.mant-features li {
  font-size: 0.85rem;
  color: var(--green-300);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.mant-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(56, 196, 56, 0.15);
  color: var(--accent);
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-top: 1px;
  border: 1px solid rgba(56, 196, 56, 0.3);
}

.mant-cta {
  display: block;
  text-align: center;
  padding: 13px 24px;
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  border: 1.5px solid rgba(58, 176, 58, 0.3);
  color: var(--green-300);
  transition: all 0.3s;
  margin-bottom: 12px;
}

.mant-card.premium .mant-cta {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(58, 176, 58, 0.4);
}

.mant-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(56, 196, 56, 0.1);
}

.mant-card.premium .mant-cta:hover {
  background: var(--accent-light);
}

/* ── CARRITO FLOTANTE ── */
#cart-widget {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 8000;
  display: none;
  flex-direction: column;
  gap: 0;
}

#cart-widget.visible {
  display: flex;
}

#cart-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 8px 32px rgba(58, 176, 58, 0.45);
  cursor: pointer;
  transition: transform 0.3s, background 0.2s;
  align-self: flex-end;
}

#cart-toggle:hover {
  transform: scale(1.1);
  background: var(--accent-light);
}

#cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--text-dark);
  color: var(--white);
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  font-family: var(--font-display);
}

#cart-panel {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.16);
  border: 1px solid var(--gray-100);
  width: min(340px, calc(100vw - 80px));
  margin-bottom: 12px;
  max-height: 70vh;
  overflow-y: auto;
  display: none;
}

#cart-panel.open {
  display: block;
}

.cart-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-empty {
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
  padding: 24px 0;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 3px;
  font-size: 0.82rem;
  padding: 10px 12px;
  background: var(--gray-50);
  border-radius: var(--r-md);
  border: 1px solid var(--gray-100);
  flex-direction: column;
}

.cart-item-name {
  flex: 1;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}

.cart-item-price {
  flex-shrink: 1;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--green-600);
  font-size: 0.75rem;
  padding-top: 1px;
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0 2px;
  transition: color 0.2s;
  flex-shrink: 0;
}

.cart-item-remove:hover {
  color: #e53e3e;
}

.cart-divider {
  height: 1px;
  background: var(--gray-100);
  margin: 12px 0;
}

.cart-send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border-radius: 99px;
  background: #25D366;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.3s;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
}

.cart-send-btn:hover {
  background: #20b858;
  transform: translateY(-2px);
}

.cart-send-btn svg {
  width: 20px;
  height: 20px;
}

/* ── TESTIMONIALS ── */
#autoridad {
  padding: 100px 5%;
  background: var(--green-50);
}

.testimonials-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-xl);
  padding: 28px;
  position: relative;
  transition: transform 0.4s, box-shadow 0.4s;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 5rem;
  line-height: 1;
  color: var(--green-100);
  font-family: Georgia, serif;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.testimonial-stars span {
  color: #f59e0b;
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--green-700);
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ── CTA FINAL ── */
#cta-final {
  padding: 120px 5%;
  background: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(56, 196, 56, 0.07), transparent);
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-h2 em {
  color: var(--accent);
  font-style: normal;
}

.cta-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ============================================================
   BURBUJA DE WHATSAPP (fija, abajo a la izquierda)
   ============================================================ */
.wsp {
  position: fixed;
  left: 20px;
  bottom: 20px;
  /* Arriba de todo salvo del panel de sugerencias del buscador (300). */
  z-index: 250;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 16px;
  border-radius: 999px;
  background: #25D366;           /* verde oficial de WhatsApp */
  color: var(--blanco);
  font-size: 1.6rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  transition: transform .18s ease, box-shadow .18s ease;
}

.wsp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
  color: var(--blanco);
}

/* El texto está siempre en el DOM (para lectores de pantalla) pero colapsado:
   la burbuja arranca redonda y se ensancha al pasar el mouse. */
.wsp__globo {
  font-family: var(--f-texto);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width .25s ease, opacity .2s ease;
}

.wsp:hover .wsp__globo,
.wsp:focus-visible .wsp__globo {
  max-width: 140px;
  opacity: 1;
}

/* Sin hover (celular) la burbuja queda redonda: el texto ocuparía pantalla. */
@media (hover: none) {
  .wsp__globo { display: none; }
}

@media (max-width: 640px) {
  .wsp {
    left: 14px;
    bottom: 14px;
    height: 50px;
    padding: 0 13px;
    font-size: 1.45rem;
  }
}

/* Si alguien pidió menos animación, la burbuja no se mueve. */
@media (prefers-reduced-motion: reduce) {
  .wsp, .wsp__globo { transition: none; }
  .wsp:hover { transform: none; }
}

/* =====================================================================
   CONFIGURACIÓN DEL FORMULARIO DE CONTACTO
   ─────────────────────────────────────────
   El email de destino se define en js/main.js, variable:
   CONTACT_EMAIL = "velazcomicaela@gmail.com"
   Para cambiarlo, buscar esa variable en js/main.js
===================================================================== */
.cta-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.cta-input {
  flex: 1;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 99px;
  padding: 14px 20px;
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  font-family: var(--font-body);
  transition: border-color 0.3s;
}

.cta-input:focus {
  border-color: var(--accent);
}

.cta-input::placeholder {
  color: var(--gray-400);
}

.cta-btn {
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 99px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background 0.2s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 6px 24px rgba(58, 176, 58, 0.35);
  cursor: pointer;
}

.cta-btn:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(58, 176, 56, 0.5);
}

.cta-note {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 14px;
}

.cta-success {
  display: none;
  padding: 16px 24px;
  background: var(--green-100);
  border: 1px solid var(--green-300);
  border-radius: var(--r-md);
  color: var(--green-700);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 16px;
}

.cta-success.show {
  display: block;
}

/* ── FOOTER ── */
footer {
  background: var(--green-900);
  border-top: 1px solid rgba(58, 176, 58, 0.15);
  padding: 60px 5% 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(58, 176, 58, 0.12);
  margin-bottom: 32px;
}

.footer-brand h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.footer-brand h4 span {
  color: var(--accent);
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--green-400);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: rgba(58, 176, 58, 0.1);
  border: 1px solid rgba(58, 176, 58, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition);
  color:white;
}

.social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 0.85rem;
  color: var(--green-400);
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--white);
}

.newsletter-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.newsletter-sub {
  font-size: 0.78rem;
  color: var(--green-400);
  margin-bottom: 14px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(58, 176, 58, 0.25);
  border-radius: 99px;
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--white);
  outline: none;
  font-family: var(--font-body);
  transition: border-color var(--transition);
}

.newsletter-input::placeholder {
  color: var(--green-500);
}

.newsletter-input:focus {
  border-color: var(--accent);
}

.newsletter-btn {
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 99px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.78rem;
  white-space: nowrap;
  transition: background var(--transition);
  font-family: var(--font-body);
  cursor: pointer;
}

.newsletter-btn:hover {
  background: var(--accent-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--green-600);
}

.footer-contact {
  font-size: 0.78rem;
  color: var(--green-500);
}

.footer-contact a {
  color: var(--accent);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pain-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mant-cards {
    grid-template-columns: 1fr 1fr;
  }
}

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

  nav ul {
    display: none;
  }

  .proceso-layout {
    grid-template-columns: 1fr;
  }

  .proceso-num-sticky {
    position: relative;
    top: auto;
    transform: none;
    margin-bottom: -40px;
    z-index: 0;
  }

  .proceso-big-num {
    font-size: 6rem;
    letter-spacing: -4px;
  }

  .proceso-step {
    padding: 50px 0 50px 32px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero-banner-title {
    letter-spacing: -2px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cta-form {
    flex-direction: column;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    flex: 0 0 280px;
  }

  .mant-section {
    padding: 36px 24px;
  }

  .mant-cards {
    grid-template-columns: 1fr;
  }

  .addons-header {
    flex-direction: column;
    align-items: flex-start;
  }

  #cart-panel {
    width: 90vw;
    right: 0;
  }
}

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

@media (hover: none) {
  body {
    cursor: auto;
  }

  a,
  button {
    cursor: pointer;
  }

  .cursor-dot,
  .cursor-outline {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   BILLING TOGGLE — anual / mensual
═══════════════════════════════════════════════════════════════ */
.billing-toggle-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  margin: 40px auto 16px;
  flex-wrap: wrap;
}

/* Contenedor para alinear verticalmente el botón y su descripción */
.billing-btn-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.billing-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 99px;
  border: 2px solid var(--gray-200);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-mid);
  background: var(--white);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.billing-btn:hover {
  border-color: var(--green-300);
  color: var(--text-dark);
}

.billing-btn.active {
  background: var(--green-900);
  color: var(--white);
  border-color: var(--green-900);
  box-shadow: 0 8px 28px rgba(10, 31, 10, 0.25);
}

/* Estilo para las etiquetas de descripción (sin fondo, debajo del botón) */
.billing-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
}

/* Etiqueta del botón activo */
.billing-btn.active+.billing-badge {
  color: var(--accent);
}

/* Etiqueta del botón inactivo */
.billing-btn:not(.active)+.billing-badge {
  color: var(--text-light);
  opacity: 0.7;
}

/* Etiqueta específica para la mensualidad */
.billing-badge.mensual {
  color: var(--green-600);
}

/* Etiqueta de la mensualidad si el botón está inactivo */
.billing-btn:not(.active)+.billing-badge.mensual {
  color: var(--text-light);
  opacity: 0.7;
}

.billing-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 20px;
  background: var(--green-50);
  border-radius: var(--r-md);
  border: 1px solid var(--green-200);
  display: none;
}

.billing-note.show {
  display: block;
}

/* Transición suave al cambiar precio */
.pricing-price-wrap,
.pricing-period {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.pricing-price-wrap.fade-out,
.pricing-period.fade-out {
  opacity: 0;
  transform: translateY(-6px);
}

/* ═══════════════════════════════════════════════════════════════
   MODAL — elegir mantenimiento
═══════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(10, 31, 10, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.modal-box {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.25);
  animation: modalSlideUp 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}

@keyframes modalSlideUp {
  from {
    transform: translateY(40px);
    opacity: 0
  }

  to {
    transform: translateY(0);
    opacity: 1
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  border: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  color: var(--text-mid);
}

.modal-close:hover {
  background: var(--gray-200);
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.modal-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.modal-header p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.modal-header p strong {
  color: var(--green-700);
}

.modal-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.modal-option {
  cursor: pointer;
}

.modal-option input[type="radio"] {
  display: none;
}

.modal-option-card {
  border: 2px solid var(--gray-100);
  border-radius: var(--r-xl);
  padding: 18px 20px;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.modal-option input:checked+.modal-option-card {
  border-color: var(--accent);
  background: var(--green-50);
  box-shadow: 0 4px 20px rgba(56, 196, 56, 0.12);
}

.modal-option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.modal-option-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-dark);
}

.modal-option-price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green-600);
}

.modal-check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
  color: transparent;
  transition: all 0.25s;
  flex-shrink: 0;
}

.modal-option input:checked+.modal-option-card .modal-check-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.modal-option-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-option-features li {
  font-size: 0.78rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-option-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 800;
  font-size: 0.65rem;
}

.modal-confirm {
  width: 100%;
  padding: 15px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 6px 24px rgba(56, 196, 56, 0.4);
  margin-bottom: 12px;
}

.modal-confirm:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(56, 196, 56, 0.5);
}

.modal-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* ═══════════════════════════════════════════════════════════════
   BLOG PREVIEW SECTION
═══════════════════════════════════════════════════════════════ */
#blog-preview {
  padding: 100px 5%;
  background: var(--white);
}

.blog-preview-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  margin-top: 56px;
}

/* Post destacado */
.blog-preview-featured {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  background: var(--white);
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.4s;
  cursor: pointer;
}

.blog-preview-featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
}

.blog-preview-featured-img {
  height: 220px;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-600) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-preview-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(10, 31, 10, 0.6) 100%);
}

.blog-preview-emoji {
  font-size: 4rem;
  position: relative;
  z-index: 1;
}

.blog-preview-featured-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-preview-tag {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-600);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
}

.blog-preview-featured-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.blog-preview-excerpt {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  flex: 1;
}

.blog-preview-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--gray-400);
  flex-wrap: wrap;
}

.blog-preview-read {
  color: var(--accent);
  font-weight: 700;
  margin-left: auto;
}

.blog-preview-featured:hover .blog-preview-read {
  text-decoration: underline;
}

/* Lista de posts cortos */
.blog-preview-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-preview-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--r-xl);
  border: 1px solid var(--gray-100);
  background: var(--gray-50);
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s, background 0.3s;
}

.blog-preview-item:not(.coming-soon):hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
  border-color: var(--green-200);
  background: var(--white);
}

.blog-preview-item-img {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--green-900), var(--green-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.blog-preview-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.blog-preview-item-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
}

.coming-soon .blog-preview-item-title {
  color: var(--text-light);
}

.coming-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--gray-100);
  color: var(--gray-400);
}

@media (max-width: 768px) {
  .blog-preview-grid {
    grid-template-columns: 1fr;
  }

  .billing-toggle-wrap {
    flex-direction: column;
  }

  .modal-box {
    padding: 28px 20px;
  }
}
/* ═══════════════════════════════════════════════════════════════
   FAQ — acordeón de preguntas frecuentes
═══════════════════════════════════════════════════════════════ */
.faq {
  padding: 100px 5%;
  background: var(--gray-50);
}

.faq-inner {
  max-width: 820px;
  margin: 0 auto;
}

.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item.open {
  border-color: var(--green-200);
  box-shadow: 0 16px 40px rgba(10, 31, 10, 0.06);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  padding: 22px 26px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.faq-q:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  border-radius: var(--r-xl);
}

.faq-ico {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.faq-ico::before,
.faq-ico::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  border-radius: 2px;
}

.faq-ico::before { width: 14px; height: 2px; }
.faq-ico::after  { width: 2px; height: 14px; transition: transform 0.35s ease; }

.faq-item.open .faq-ico::after {
  transform: translate(-50%, -50%) scaleY(0);
}

/* Animación de apertura sin JS de altura: grid 0fr → 1fr */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a-inner {
  overflow: hidden;
}

.faq-a p {
  padding: 0 26px 24px;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq-a p strong {
  color: var(--text-mid);
}

@media (max-width: 560px) {
  .faq-q { font-size: 0.98rem; padding: 18px 20px; }
  .faq-a p { padding: 0 20px 20px; }
}

/* ═══════════════════════════════════════════════════════════════
   SISTEMAS SAAS — paneles full-screen con parallax (estilo Pete Barr)
═══════════════════════════════════════════════════════════════ */
.saas {
  background: var(--white);
}

.saas-title-wrap .section-h2 {
  width: auto;
  max-width: 880px;
}

.saas-panel {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8vh 0;
  border-top: 1px solid var(--gray-100);
}

.saas-panel.featured {
  background: var(--green-50);
}

.saas-panel-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 5vw;
  align-items: center;
  padding: 0 2vw;
}

.saas-panel--rev .saas-text  { order: 2; }
.saas-panel--rev .saas-media { order: 1; }

/* ── Columna de texto ── */
.saas-text { position: relative; }

.saas-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.saas-icon {
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 10px;
}

.saas-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -1px;
  line-height: 1.05;
}

.saas-tag {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 6px 0 16px;
}

.saas-desc {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 20px;
}

.saas-desc strong { color: var(--text-mid); }

.saas-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin-bottom: 22px;
}

.saas-features li {
  position: relative;
  padding-left: 26px;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.4;
}

.saas-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

.saas-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.saas-price strong { color: var(--green-600); font-size: 1.5rem; }

.saas-ideal {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.saas-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.saas-add.btn-add-order {
  width: auto;
  padding: 13px 26px;
  font-size: 0.9rem;
}

.saas-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--green-700);
  text-decoration: none;
  transition: gap 0.25s, color 0.25s;
}

.saas-cta:hover { gap: 12px; color: var(--accent); }

/* ── Columna de imágenes: cluster en capas con parallax ── */
.saas-media {
  position: relative;
  height: 66vh;
  max-height: 600px;
  min-height: 420px;
  overflow: visible;
}

.saas-img {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: 0 34px 74px rgba(10, 31, 10, 0.22);
  background: white;
  will-change: transform;
}

.saas-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}



/* Formas decorativas que se mueven en contra de las imágenes */
.saas-shape {
  position: absolute;
  pointer-events: none;
  will-change: transform;
}

.saas-shape--circle {
  width: 64%;
  aspect-ratio: 1;
  right: -2%;
  bottom: 4%;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--green-200), var(--green-100));
  z-index: 0;
}

.saas-shape--dots {
  width: 128px;
  height: 128px;
  top: 3%;
  left: -2%;
  background-image: radial-gradient(var(--green-400) 2px, transparent 2.6px);
  background-size: 18px 18px;
  opacity: 0.5;
  z-index: 5;
}

/* Piezas de imagen (se superponen) */
.saas-img--main {
  width: 74%;
  aspect-ratio: 4 / 3;
  left: 0;
  top: 16%;
  z-index: 1;
  border: 1px solid var(--green-100);
}

.saas-img--bot {
  width: 42%;
  aspect-ratio: 4 / 3;
  right: 1%;
  bottom: 3%;
  z-index: 2;
  border: 5px solid #fff;
  background: linear-gradient(135deg, var(--green-50), #fff);
}

.saas-img--top {
  width: 50%;
  aspect-ratio: 16 / 11;
  top: -3%;
  right: 0%;
  z-index: 3;
  border: 5px solid #fff;
}

@media (max-width: 900px) {
  .saas-panel { min-height: auto; padding: 64px 0; }
  .saas-panel-inner { grid-template-columns: 1fr; gap: 40px; }
  .saas-text  { order: 0 !important; }
  .saas-media { order: 1 !important; height: 52vh; min-height: 320px; }
}

@media (max-width: 560px) {
  .saas-features { grid-template-columns: 1fr; }
  .saas-media { height: 50vh; min-height: 300px; }
  .saas-img--main { width: 80%; }
  .saas-img--top { width: 34%; }
  .saas-img--bot { width: 48%; }
  .saas-shape--dots { width: 96px; height: 96px; }
}
