/* ===== RENTAPACK — Secciones (v2) ===== */
/* Todas las secciones del home, sobre tokens definidos en styles.css */

/* ===== Eyebrow (etiqueta de sección) ===== */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}

.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 2px;
  background: var(--accent);
  transform: translateY(-50%);
}

.eyebrow--light {
  color: var(--accent-light);
}

.eyebrow--light::before {
  background: var(--accent-light);
}

section h2 {
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--ink);
  max-width: 720px;
}

/* ===========================================================
   PROBLEMAS
   =========================================================== */
.problems {
  padding: 6rem 0;
  background: var(--paper);
}

.problems__header {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.problems__header p {
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.problems__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.problem {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}

.problem:last-child {
  border-bottom: 1px solid var(--rule);
}

.problem__num {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  font-feature-settings: "tnum";
  padding-top: 0.25rem;
}

.problem__body h3 {
  font-size: 1.375rem;
  margin-bottom: 0.625rem;
  color: var(--ink);
}

.problem__body p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  max-width: 720px;
}

/* ===========================================================
   PRODUCTO (sistema en uso)
   =========================================================== */
.product {
  padding: 6rem 0;
  background: var(--paper-2);
}

.product__header {
  text-align: left;
  max-width: 720px;
  margin-bottom: 3rem;
}

.product__header p {
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.product__tabs {
  display: flex;
  gap: 0.25rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 0.375rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.product__tabs::-webkit-scrollbar { display: none; }

.product__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.product__tab i {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.product__tab:hover {
  color: var(--ink);
  background: var(--paper-2);
}

.product__tab.is-active {
  background: var(--ink);
  color: var(--paper);
}

.product__tab.is-active i {
  color: var(--accent-light);
}

.product__panels {
  position: relative;
}

.product__panel {
  display: none;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

.product__panel.is-active {
  display: grid;
}

.product__shot {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-md);
}

.product__shot img {
  width: 100%;
  height: auto;
  display: block;
}

.product__info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.875rem;
  color: var(--ink);
}

.product__info p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.product__info ul {
  margin: 0;
}

.product__info ul li {
  position: relative;
  padding-left: 1.5rem;
  padding-block: 0.375rem;
  color: var(--ink);
  font-size: 0.9375rem;
}

.product__info ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* ===========================================================
   EQUIPO MULTI-ROL
   =========================================================== */
.team-roles {
  padding: 6rem 0;
  background: var(--paper);
}

.team-roles__header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.team-roles__header p {
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

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

.role {
  position: relative;
  padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.role:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}

.role--highlight {
  background: var(--accent-tint);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(14, 165, 165, 0.08);
}

.role--highlight h3 {
  color: var(--ink);
}

.role--highlight p {
  color: var(--ink-soft);
}

.role--highlight .role__tasks li {
  color: var(--ink);
}

.role--highlight .role__tasks li::before {
  background: var(--accent);
}

.role__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent-tint);
  color: var(--accent-dark);
  border-radius: var(--radius-md);
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
}

.role--highlight .role__icon {
  background: var(--accent);
  color: var(--paper);
}

.role h3 {
  font-size: 1.125rem;
  margin-bottom: 0.625rem;
  color: var(--ink);
}

.role p {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.role__tasks {
  margin: 0;
}

.role__tasks li {
  position: relative;
  padding-left: 1.25rem;
  padding-block: 0.25rem;
  color: var(--ink);
  font-size: 0.875rem;
}

.role__tasks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.role__badge {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--paper);
  border-radius: var(--radius-sm);
}

/* Nota "y otros roles" / "y otros módulos" debajo del grid */
.team-roles__more,
.modules__more {
  margin: 2.5rem 0 0;
  padding: 1.25rem 1.5rem;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.team-roles__more strong,
.modules__more strong {
  color: var(--ink);
  font-weight: 600;
}

/* Inline code (vocabulario técnico tipo facturas:timbrar) */
code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 0.875em;
  padding: 0.125rem 0.375rem;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  color: var(--accent-dark);
  white-space: nowrap;
}

/* Sobre fondo oscuro (CFDI, roles--highlight) */
.role--highlight code,
.cfdi code,
.cta-final code {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--accent-light);
}

/* ===========================================================
   MÓDULOS
   =========================================================== */
.modules {
  padding: 6rem 0;
  background: var(--paper-2);
}

.modules__header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.modules__header p {
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

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

.module {
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

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

.module__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent-tint);
  color: var(--accent-dark);
  border-radius: var(--radius);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.module h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.module p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

/* ===========================================================
   DIFERENCIADORES — "Lo que solo RENTAPACK te da"
   =========================================================== */
.edge {
  padding: 6rem 0;
  background: var(--paper-3);
}

.edge__header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.edge__header p {
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.edge__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.edge__card {
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.edge__card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.edge__card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.edge__card p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

/* ===========================================================
   CFDI (diferenciador)
   =========================================================== */
.cfdi {
  padding: 6rem 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.cfdi::before {
  content: "";
  position: absolute;
  inset: -64px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
  animation: gridDriftReverse 36s linear infinite;
}

@keyframes gridDriftReverse {
  from { background-position: 64px 0; }
  to   { background-position: 0 64px; }
}

.cfdi::after {
  content: "";
  position: absolute;
  bottom: -300px;
  left: 50%;
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(14, 165, 165, 0.20) 0%, transparent 60%);
  pointer-events: none;
  transform-origin: center;
  animation: glowPulseLarge 11s ease-in-out infinite;
}

@keyframes glowPulseLarge {
  0%, 100% { opacity: 1;    transform: translateX(-50%) scale(1);    }
  50%      { opacity: 0.65; transform: translateX(-50%) scale(1.12); }
}

/* === CFDI FX layer (mismo lenguaje que el hero, adaptado a fondo navy) === */
.cfdi__fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 95% 80% at 50% 50%, #000 35%, transparent 90%);
          mask-image: radial-gradient(ellipse 95% 80% at 50% 50%, #000 35%, transparent 90%);
}

/* Beams: líneas teal-light brillantes sobre navy */
.cfdi__beam {
  position: absolute;
  pointer-events: none;
}

.cfdi__beam--h1,
.cfdi__beam--h2 {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(20, 194, 194, 0.9) 50%, transparent 100%);
  filter: drop-shadow(0 0 8px rgba(20, 194, 194, 0.7));
}

.cfdi__beam--h1 {
  top: 32%;
  left: -340px;
  width: 340px;
  animation: cfdiBeamH 13s linear infinite 1s;
}

.cfdi__beam--h2 {
  top: 68%;
  left: -280px;
  width: 280px;
  animation: cfdiBeamH 16s linear infinite 6s;
}

.cfdi__beam--v {
  top: -300px;
  left: 28%;
  width: 1px;
  height: 300px;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 194, 194, 0.9) 50%, transparent 100%);
  filter: drop-shadow(0 0 6px rgba(20, 194, 194, 0.65));
  animation: cfdiBeamV 14s linear infinite 4s;
}

@keyframes cfdiBeamH {
  0%   { transform: translateX(0);                   opacity: 0; }
  3%   { opacity: 1; }
  37%  { opacity: 1; }
  40%  { transform: translateX(calc(100vw + 340px)); opacity: 0; }
  100% { transform: translateX(calc(100vw + 340px)); opacity: 0; }
}

@keyframes cfdiBeamV {
  0%   { transform: translateY(0);                   opacity: 0; }
  3%   { opacity: 1; }
  37%  { opacity: 1; }
  40%  { transform: translateY(calc(100vh + 300px)); opacity: 0; }
  100% { transform: translateY(calc(100vh + 300px)); opacity: 0; }
}

/* Nodos teal-light parpadeantes */
.cfdi__node {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--accent-light);
  border-radius: 50%;
  filter: drop-shadow(0 0 7px rgba(20, 194, 194, 0.9));
  opacity: 0.25;
  animation: cfdiNodeBlink 5.5s ease-in-out infinite;
}

@keyframes cfdiNodeBlink {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.5); }
}

/* Spotlight (desktop, sigue al cursor) — más visible sobre navy */
.cfdi__spotlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(20, 194, 194, 0.12) 0%, transparent 65%);
  pointer-events: none;
  transform: translate(var(--mx, -1000px), var(--my, -1000px)) translate(-50%, -50%);
  transition: opacity 0.4s ease;
  opacity: 0;
  will-change: transform;
}

.cfdi:hover .cfdi__spotlight { opacity: 1; }

@media (hover: none) {
  .cfdi__spotlight { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cfdi::before,
  .cfdi::after,
  .cfdi__beam,
  .cfdi__node { animation: none; }
  .cfdi__beam { opacity: 0; }
  .cfdi__spotlight { display: none; }
}

.cfdi > .container {
  position: relative;
  z-index: 1;
}

.cfdi__header {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.cfdi__header .eyebrow {
  color: var(--accent-light);
  padding-left: 0;
}

.cfdi__header .eyebrow::before {
  display: none;
}

.cfdi__header h2 {
  color: var(--paper);
  font-size: 2.25rem;
  margin-bottom: 1rem;
  max-width: none;
}

.cfdi__header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.0625rem;
  margin: 0 auto;
}

.cfdi__compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.cfdi__col {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cfdi__col--after {
  background: var(--accent-dark);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(8, 121, 121, 0.4);
}

.cfdi__col header {
  margin-bottom: 1.25rem;
}

.cfdi__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.875rem;
}

.cfdi__tag--accent {
  background: rgba(255, 255, 255, 0.2);
  color: var(--paper);
}

.cfdi__col h3 {
  color: var(--paper);
  font-size: 1.375rem;
  margin: 0;
}

.cfdi__col ul {
  margin: 0;
}

.cfdi__col ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.cfdi__col ul li i {
  flex-shrink: 0;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.cfdi__col--before ul li i {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
}

.cfdi__col--after ul li i {
  background: var(--paper);
  color: var(--accent-dark);
}

/* Grilla de features avanzadas del CFDI (6 cards sobre navy) */
.cfdi__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.cfdi__feature {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.cfdi__feature:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(14, 165, 165, 0.4);
}

.cfdi__feature .icon {
  color: var(--accent-light);
  margin-bottom: 0.75rem;
}

.cfdi__feature h4 {
  font-size: 0.9375rem;
  color: var(--paper);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.cfdi__feature p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .cfdi__features { grid-template-columns: repeat(2, 1fr); }
}

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

.cfdi__shot {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-xl);
}

.cfdi__shot img {
  width: 100%;
  display: block;
}

/* ===========================================================
   SEGURIDAD
   =========================================================== */
.security {
  padding: 6rem 0;
  background: var(--paper);
}

.security__header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.security__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.security__item {
  padding: 1.75rem 2rem 1.75rem 0;
  border-bottom: 1px solid var(--rule);
}

.security__item:nth-child(odd) {
  border-right: 1px solid var(--rule);
  padding-right: 2rem;
}

.security__item:nth-child(even) {
  padding-left: 2rem;
}

.security__item h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.security__item p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

.security__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.badge i {
  color: var(--accent);
  font-size: 0.75rem;
}

/* ===========================================================
   PRECIOS
   =========================================================== */
.pricing {
  padding: 6rem 0;
  background: var(--paper-2);
}

.pricing__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xl);
  align-items: center;
}

.pricing__intro h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--ink);
  max-width: none;
}

.pricing__intro p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.pricing__includes h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}

.pricing__includes ul {
  margin: 0;
}

.pricing__includes ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--ink);
  line-height: 1.5;
}

.pricing__includes ul li i {
  color: var(--accent);
  font-size: 0.75rem;
  margin-top: 0.35rem;
  flex-shrink: 0;
}

/* ===========================================================
   FAQ
   =========================================================== */
.faq {
  padding: 6rem 0;
  background: var(--paper);
}

.faq__header {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.faq__list {
  max-width: 820px;
  border-top: 1px solid var(--rule);
}

.faq__item {
  border-bottom: 1px solid var(--rule);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: var(--transition);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink-muted);
  transition: var(--transition);
  line-height: 1;
}

.faq__item[open] summary::after {
  content: "−";
  color: var(--accent);
}

.faq__item summary:hover {
  color: var(--accent);
}

.faq__item p {
  padding: 0 0 1.5rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 720px;
}

/* ===========================================================
   CTA FINAL (formulario)
   =========================================================== */
.cta-final {
  padding: 6rem 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

/* Grid sutil de fondo + glow esquina */
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 35%, transparent 85%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 35%, transparent 85%);
  pointer-events: none;
}

.cta-final::after {
  content: "";
  position: absolute;
  top: -250px;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 165, 0.15) 0%, transparent 60%);
  pointer-events: none;
  animation: ctaGlowPulse 10s ease-in-out infinite;
}

@keyframes ctaGlowPulse {
  0%, 100% { opacity: 1;    transform: scale(1);    }
  50%      { opacity: 0.6;  transform: scale(1.1);  }
}

.cta-final__fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta-final__beam {
  position: absolute;
  top: 38%;
  left: -300px;
  width: 300px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(20, 194, 194, 0.85) 50%, transparent 100%);
  filter: drop-shadow(0 0 6px rgba(20, 194, 194, 0.6));
  animation: ctaBeam 15s linear infinite 3s;
}

@keyframes ctaBeam {
  0%   { transform: translateX(0);                   opacity: 0; }
  3%   { opacity: 1; }
  32%  { opacity: 1; }
  35%  { transform: translateX(calc(100vw + 300px)); opacity: 0; }
  100% { transform: translateX(calc(100vw + 300px)); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-final::after,
  .cta-final__beam { animation: none; }
  .cta-final__beam { opacity: 0; }
}

.cta-final > .container {
  position: relative;
  z-index: 1;
}

.cta-final__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.cta-final__intro h2 {
  color: var(--paper);
  font-size: 2.25rem;
  margin-bottom: 1rem;
  max-width: none;
}

.cta-final__intro p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.0625rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.cta-final__bullets {
  margin: 0;
}

.cta-final__bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
}

.cta-final__bullets li i {
  color: var(--accent-light);
  font-size: 0.75rem;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 165, 0.2);
  border-radius: 50%;
}

.cta-final__form {
  background: var(--paper);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.field {
  margin-bottom: 1.125rem;
}

.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 0.375rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  transition: var(--transition);
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3e%3cpath d='M1 1l5 5 5-5' stroke='%234B5C73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.25rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 165, 0.15);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}

.cta-final__form .btn {
  margin-top: 0.5rem;
}

.cta-final__legal {
  margin: 0.875rem 0 0;
  font-size: 0.75rem;
  color: var(--ink-muted);
  text-align: center;
  line-height: 1.5;
}

.cta-final__legal i {
  font-size: 0.6875rem;
  color: var(--accent);
  margin-right: 0.375rem;
}

.cta-final__legal a {
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule);
  transition: var(--transition);
}

.cta-final__legal a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ===========================================================
   FOOTER
   =========================================================== */
.footer {
  background: #050E1B;
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
  pointer-events: none;
}

.footer > .container {
  position: relative;
  z-index: 1;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand .logo,
.logo--footer {
  color: var(--paper);
  margin-bottom: 1rem;
}

.footer__brand .logo:hover {
  color: var(--paper);
}

.footer__brand .logo span {
  color: var(--accent-light);
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  max-width: 360px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__contact a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: var(--transition);
}

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

.footer__wa i {
  margin-right: 0.375rem;
  color: #25D366;
}

.footer__col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 1rem;
}

.footer__col ul {
  margin: 0;
}

.footer__col ul li {
  margin-bottom: 0.625rem;
}

.footer__col ul li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: var(--transition);
}

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

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__bottom p {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

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

.footer__rfc {
  color: rgba(255, 255, 255, 0.4) !important;
  font-style: italic;
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1024px) {
  .problems, .product, .team-roles, .modules, .cfdi, .security, .pricing, .faq, .cta-final {
    padding: 4.5rem 0;
  }

  section h2 { font-size: 1.75rem; }

  .team-roles__grid,
  .modules__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product__panel.is-active {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pricing__card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.25rem;
  }

  .cta-final__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .problems, .product, .team-roles, .modules, .cfdi, .security, .pricing, .faq, .cta-final {
    padding: 3.5rem 0;
  }

  .problem {
    grid-template-columns: 56px 1fr;
    gap: 1rem;
    padding: 1.5rem 0;
  }

  .problem__num {
    font-size: 1rem;
  }

  .problem__body h3 {
    font-size: 1.125rem;
  }

  .team-roles__grid,
  .modules__grid,
  .cfdi__compare,
  .security__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .security__grid {
    border-top: none;
  }

  .security__item {
    padding: 1.25rem 0 !important;
    border-right: none !important;
    border-bottom: 1px solid var(--rule);
  }

  .pricing__card {
    padding: 1.5rem;
  }

  .cta-final__form {
    padding: 1.5rem;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .cfdi__header h2,
  .cta-final__intro h2 {
    font-size: 1.625rem;
  }
}

@media (max-width: 480px) {
  .product__tabs {
    border-radius: var(--radius);
  }

  .product__tab span {
    display: none;
  }

  .product__tab i {
    font-size: 1rem;
  }

  .product__tab {
    padding: 0.625rem 0.875rem;
  }

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