/* ==========================================================================
   Section-specific styles
   ========================================================================== */

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--nav-height) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(4rem, 10vw, 7rem);
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 83, 6, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-text {
  max-width: 620px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-xs);
}

.hero-eyebrow .pulse {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  position: relative;
}

.hero-eyebrow .pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.5); opacity: 0; }
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: var(--weight-extrabold);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-6);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.hero-trust-icon {
  width: 18px;
  height: 18px;
  color: var(--color-success);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
}

.hero-mockup {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--color-bg);
  box-shadow:
    0 60px 120px -20px rgba(11, 95, 255, 0.3),
    0 30px 60px -30px rgba(15, 23, 42, 0.4);
  border: 1px solid var(--color-border);
  transform: perspective(1500px) rotateY(-6deg) rotateX(2deg);
  transition: transform var(--duration-slow) var(--ease-out);
}

.hero-mockup:hover {
  transform: perspective(1500px) rotateY(-3deg) rotateX(1deg) translateY(-8px);
}

.hero-mockup-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ==========================================================================
   Multiplataforma (cross-device)
   ========================================================================== */
.platform-section {
  background: var(--color-bg-soft);
  overflow: hidden;
}

.platform-content {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 360px);
  gap: var(--space-16);
  align-items: center;
}

.platform-lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
}

.platform-lead strong {
  color: var(--color-text-strong);
  font-weight: var(--weight-semibold);
}

.platform-devices {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.platform-device {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.platform-device-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.platform-device-icon svg {
  width: 22px;
  height: 22px;
}

.platform-device strong {
  display: block;
  font-size: var(--text-base);
  color: var(--color-text-strong);
  margin-bottom: 2px;
}

.platform-device-detail {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.platform-cta-copy {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--color-text-strong);
  margin-bottom: var(--space-6);
}

.platform-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.platform-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.platform-mockup {
  position: relative;
  max-width: 320px;
  margin-inline: auto;
}

.platform-mockup::before {
  content: '';
  position: absolute;
  inset: -15% -25%;
  background: radial-gradient(circle at 50% 40%, rgba(11, 95, 255, 0.14) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Marco de celular alrededor del mockup */
.phone-frame {
  position: relative;
  z-index: 1;
  padding: 10px 10px 12px;
  background: linear-gradient(160deg, #2d3748 0%, #0f172a 35%, #020617 100%);
  border-radius: 42px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 32px 64px -16px rgba(11, 95, 255, 0.35),
    0 24px 48px -24px rgba(0, 0, 0, 0.55);
}

.phone-frame-island {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 20px;
  background: #020617;
  border-radius: 999px;
  z-index: 3;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone-frame-screen {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: #0b1220;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.phone-frame-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  z-index: 2;
}

.platform-mockup-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.phone-frame-home {
  display: block;
  width: 96px;
  height: 4px;
  margin: 10px auto 2px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

/* ==========================================================================
   Differentiators belt
   ========================================================================== */
.differentiators {
  padding-block: var(--space-20);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}

.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.differentiator {
  text-align: center;
  padding: var(--space-4);
}

.differentiator-icon {
  width: 56px;
  height: 56px;
  margin-inline: auto;
  margin-bottom: var(--space-4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.differentiator-icon svg {
  width: 28px;
  height: 28px;
}

.differentiator-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-text-strong);
  margin-bottom: var(--space-2);
}

.differentiator-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

/* ==========================================================================
   Problem section
   ========================================================================== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  max-width: 920px;
  margin-inline: auto;
}

.problem-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  transition: all var(--duration-base) var(--ease-out);
}

.problem-card:hover {
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.problem-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-error-soft);
  color: var(--color-error);
}

.problem-card-icon svg {
  width: 22px;
  height: 22px;
}

.problem-card-text {
  font-size: var(--text-base);
  color: var(--color-text-strong);
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
}

/* ==========================================================================
   Modules
   ========================================================================== */
.modules-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-12);
  padding: var(--space-2);
  background: var(--color-bg-muted);
  border-radius: var(--radius-full);
  width: fit-content;
  margin-inline: auto;
}

.module-tab {
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
  border: none;
  background: transparent;
}

.module-tab:hover {
  color: var(--color-text-strong);
}

.module-tab.is-active {
  background: var(--color-bg);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  font-weight: var(--weight-semibold);
}

.module-panel {
  display: none;
  animation: fadeIn 0.4s var(--ease-out);
}

.module-panel.is-active {
  display: grid;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.module-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  box-shadow: var(--shadow-sm);
}

.module-info h3 {
  margin-bottom: var(--space-5);
}

.module-info p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
}

.module-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.module-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text-strong);
}

.module-feature-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.module-feature-check svg {
  width: 14px;
  height: 14px;
}

.module-visual {
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.module-visual-icon {
  width: 120px;
  height: 120px;
  color: var(--color-primary);
  opacity: 0.85;
}

.module-visual-icon svg {
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   AI Section (Conciliacion)
   ========================================================================== */
.ai-section {
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

.ai-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(255, 83, 6, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.ai-section::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(11, 95, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.ai-section .section-eyebrow {
  background: rgba(255, 83, 6, 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(255, 83, 6, 0.25);
}

.ai-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.ai-text h2 {
  margin-bottom: var(--space-6);
}

.ai-text h2 .text-gradient-accent {
  display: inline-block;
}

.ai-text p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
  color: #CBD5E1;
}

.ai-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-8);
  padding-block: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: var(--weight-extrabold);
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.ai-stat-label {
  font-size: var(--text-sm);
  color: #94A3B8;
}

.ai-visual {
  position: relative;
}

.ai-flow {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  backdrop-filter: blur(8px);
}

.ai-flow-step {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  position: relative;
  align-items: center;
}

.ai-flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 36px;
  width: 2px;
  height: 18px;
  background: linear-gradient(to bottom, rgba(255, 83, 6, 0.6), transparent);
}

.ai-flow-step-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 83, 6, 0.15);
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ai-flow-step-icon svg {
  width: 22px;
  height: 22px;
}

.ai-flow-step-text {
  flex: 1;
}

.ai-flow-step-title {
  font-weight: var(--weight-semibold);
  color: #FFFFFF;
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.ai-flow-step-desc {
  font-size: var(--text-sm);
  color: #94A3B8;
}

.ai-flow-step-time {
  font-size: var(--text-xs);
  color: var(--color-accent);
  font-weight: var(--weight-semibold);
  font-family: var(--font-mono);
  background: rgba(255, 83, 6, 0.1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Integrations
   ========================================================================== */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-4);
  max-width: 960px;
  margin-inline: auto;
}

.integration-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 110px;
  transition: all var(--duration-base) var(--ease-out);
  text-align: center;
}

.integration-card:hover {
  border-color: var(--color-primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.integration-card-logo {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-strong);
}

.integration-card-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-strong);
}

/* ==========================================================================
   Security
   ========================================================================== */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.security-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--duration-base) var(--ease-out);
}

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

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2);
  background: var(--color-bg-muted);
  border-radius: var(--radius-full);
  margin-inline: auto;
  margin-top: var(--space-6);
}

.pricing-toggle-btn {
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
}

.pricing-toggle-btn.is-active {
  background: var(--color-bg);
  color: var(--color-text-strong);
  box-shadow: var(--shadow-sm);
  font-weight: var(--weight-semibold);
}

.pricing-toggle-discount {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-accent-dark);
  background: var(--color-accent-soft);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: var(--space-1);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}

.pricing-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  border-color: var(--color-primary);
  background: linear-gradient(180deg, var(--color-primary-soft) 0%, var(--color-bg) 30%);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

.pricing-card--featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  box-shadow: var(--shadow-md);
}

.pricing-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-text-strong);
}

.pricing-tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.pricing-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.pricing-price-main {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.pricing-vat {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.pricing-currency {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-strong);
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--weight-extrabold);
  color: var(--color-text-strong);
  letter-spacing: var(--tracking-tighter);
  line-height: 1;
}

.pricing-period {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-strong);
}

.pricing-feature-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-success-soft);
  color: var(--color-success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.pricing-feature-check svg {
  width: 12px;
  height: 12px;
}

.pricing-feature--muted {
  color: var(--color-text-subtle);
}

.pricing-feature--muted .pricing-feature-check {
  background: var(--color-bg-muted);
  color: var(--color-text-subtle);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-out);
}

.faq-item.is-open {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text-strong);
  transition: color var(--duration-fast) var(--ease-out);
}

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

.faq-toggle-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-bg-muted);
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-base) var(--ease-out);
}

.faq-toggle-icon svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-base) var(--ease-out);
}

.faq-item.is-open .faq-toggle-icon {
  background: var(--color-primary);
  color: white;
}

.faq-item.is-open .faq-toggle-icon svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-in-out);
}

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta-final {
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 83, 6, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

.cta-final-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
}

.cta-final h2 {
  color: white;
  margin-bottom: var(--space-5);
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta-final p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
}

.cta-final .form-inline .input {
  background: rgba(255, 255, 255, 0.95);
  border-color: transparent;
}

.cta-final .form-inline .input:focus {
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 83, 6, 0.4);
}

.cta-final-note {
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   Generic page hero (subpages)
   ========================================================================== */
.page-hero {
  padding-top: calc(var(--nav-height) + var(--space-16));
  padding-bottom: var(--space-16);
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
}

.page-hero h1 {
  margin-bottom: var(--space-5);
}

.page-hero p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

/* ==========================================================================
   Comparison table (precios page)
   ========================================================================== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-4) var(--space-6);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
}

.comparison-table th {
  background: var(--color-bg-soft);
  font-weight: var(--weight-semibold);
  color: var(--color-text-strong);
}

.comparison-table th:not(:first-child),
.comparison-table td:not(:first-child) {
  text-align: center;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .check {
  color: var(--color-success);
}

.comparison-table .x-mark {
  color: var(--color-text-subtle);
}

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-xl);
}
