/* =============================================
   DESIGN TOKENS / VARIABLES
   ============================================= */
:root {
  /* ── Marca ── */
  --primary:            #16a085;
  --primary-light:      #e6f7f3;
  --primary-dark:       #0e7a62;
  --accent:             #e8734a;
  --accent-gradient-end:#d4843a;

  /* ── Mapeo al sistema de diseño ── */
  --color-bg:           #f3f5f7;
  --color-surface:      #ffffff;
  --color-surface-2:    #f1f4f7;
  --color-surface-3:    #ebeef2;
  --color-border:       #dfe4ea;
  --color-border-hover: rgba(22, 160, 133, 0.4);
  --color-text:         hsl(210, 20%, 15%);
  --color-text-muted:   #6b7580;
  --color-text-faint:   #a0aab4;

  /* ── Acento principal (turquesa) ── */
  --accent:             #16a085;   /* sobreescribe el naranja como acento del sistema */
  --accent-dark:        #0e7a62;
  --accent-light:       #e6f7f3;
  --accent-glow:        hsl(168, 76%, 36%, 0.2);

  /* ── Acento secundario (naranja) ── */
  --accent-2:           #e8734a;
  --accent-2-dark:      #d4843a;
  --accent-2-light:     rgba(232, 115, 74, 0.1);

  /* ── Gradientes ── */
  --gradient-hero:      linear-gradient(135deg, hsl(168, 76%, 36%) 0%, hsl(180, 60%, 45%) 100%);
  --gradient-card:      linear-gradient(180deg, hsl(0, 0%, 100%) 0%, hsl(210, 20%, 98%) 100%);
  --gradient-accent:    linear-gradient(135deg, hsl(16, 85%, 60%) 0%, hsl(25, 90%, 55%) 100%);

  /* ── Sombras ── */
  --shadow-sm:          0 1px 3px hsl(210 20% 15% / 0.06);
  --shadow-md:          0 4px 20px -4px hsl(210 20% 15% / 0.08);
  --shadow-lg:          0 12px 32px -8px hsl(210 20% 15% / 0.15);
  --shadow-accent:      0 0 40px hsl(168 76% 36% / 0.2);
  --shadow-card:        0 4px 20px -4px hsl(210 20% 15% / 0.08);
  --shadow-card-hover:  0 12px 32px -8px hsl(210 20% 15% / 0.15);
  --shadow-glow:        0 0 40px hsl(168 76% 36% / 0.2);

  /* ── Utilidades ── */
  --color-success:      #059669;
  --color-error:        #dc2626;
  --color-whatsapp:     #25d366;
  --color-whatsapp-dark:#1aad52;

  /* ── Radios ── */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* ── Tipografía ── */
  --font-family:      'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs:     0.75rem;
  --font-size-sm:     0.875rem;
  --font-size-base:   1rem;
  --font-size-md:     1.125rem;
  --font-size-lg:     1.25rem;
  --font-size-xl:     1.5rem;
  --font-size-2xl:    2rem;
  --font-size-3xl:    2.5rem;
  --font-size-4xl:    3.25rem;
  --line-height-tight:   1.2;
  --line-height-snug:    1.4;
  --line-height-normal:  1.6;
  --line-height-relaxed: 1.75;

  /* ── Espaciado ── */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* ── Transiciones ── */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* ── Layout ── */
  --header-height: 72px;
  --max-width:     1200px;
}
/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--accent);
  color: var(--color-bg);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: var(--space-4);
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: var(--space-20);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
}

.section-label {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.section-title {
  font-size: clamp(var(--font-size-xl), 3.5vw, var(--font-size-3xl));
  font-weight: 700;
  line-height: var(--line-height-tight);
  color: #f1f5f9;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: var(--font-size-md);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
  background: rgba(11, 17, 32, 0.97);
  box-shadow: var(--shadow-md);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.logo-text {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: #f1f5f9;
  color:var(--color-text);
  white-space: nowrap;
}

.logo-text span {
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: color var(--transition-base), background var(--transition-base);
}

.nav-link:hover {
  color: var(--color-text);
  background: var(--accent-light);
}

.nav-link--cta {
  color: var(--accent) !important;
  background: var(--accent-light);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: var(--space-2) var(--space-4);
  margin-left: var(--space-2);
}

.nav-link--cta:hover {
  background: var(--accent);
  color: var(--color-bg) !important;
  border-color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  padding: var(--space-2);
  transition: background var(--transition-base);
}

.nav-toggle:hover {
  background: var(--accent-light);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 600;
  line-height: 1;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background var(--transition-fast);
}

.btn:hover::before {
  background: rgba(255, 255, 255, 0.06);
}

.btn--primary {
  background: var(--accent);
  color: #0b1120;
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  border-color: var(--color-whatsapp);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.2);
}

.btn--whatsapp:hover {
  background: var(--color-whatsapp-dark);
  border-color: var(--color-whatsapp-dark);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.35);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-border-hover);
  color: var(--accent);
  background: var(--accent-light);
}

.btn--ghost {
  background: var(--accent-light);
  color: var(--accent);
  border-color: rgba(56, 189, 248, 0.2);
}

.btn--ghost:hover {
  background: rgba(56, 189, 248, 0.2);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-xs);
}

.btn--full {
  width: 100%;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: var(--space-20);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.hero-orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: orbFloat 8s ease-in-out infinite alternate;
}

.hero-orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
  bottom: -100px;
  left: 0;
  animation: orbFloat 10s ease-in-out infinite alternate-reverse;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, 20px) scale(1.05); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-16);
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--accent);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  width: fit-content;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, var(--font-size-4xl));
  font-weight: 800;
  line-height: var(--line-height-tight);
  letter-spacing: -0.03em;
  color: #f8fafc;
  margin-bottom: var(--space-6);
  max-width: 640px;
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}

.hero-subtitle {
  font-size: var(--font-size-md);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-8);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

/* Hero mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.mockup-frame {
  background: var(--color-surface-2);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-accent);
}

.mockup-bar {
  display: flex;
  gap: 6px;
  padding: 14px 16px;
  background: var(--color-surface-3);
  border-bottom: 1px solid var(--color-border);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
}

.mockup-dot:nth-child(1) { background: rgba(248, 113, 113, 0.5); }
.mockup-dot:nth-child(2) { background: rgba(251, 191, 36, 0.5); }
.mockup-dot:nth-child(3) { background: rgba(16, 185, 129, 0.5); }

.mockup-screen {
  position: relative;
  height: 280px;
  background: linear-gradient(135deg, #0c1525 0%, #111e35 50%, #0a1a2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mockup-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

.mockup-360 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  z-index: 1;
  text-align: center;
}

.mockup-360 span {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mockup-360 svg {
  animation: rotateSlow 12s linear infinite;
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.mockup-hotspots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hotspot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid rgba(255, 255, 255, 0.6);
  animation: hotspotPulse 2s ease-in-out infinite;
}

.hotspot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.4;
  animation: hotspotRing 2s ease-in-out infinite;
}

.hotspot--1 { top: 30%; left: 20%; animation-delay: 0s; }
.hotspot--2 { top: 55%; left: 65%; animation-delay: 0.7s; }
.hotspot--3 { top: 70%; left: 35%; animation-delay: 1.4s; }

@keyframes hotspotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.8; }
}

@keyframes hotspotRing {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(2); opacity: 0; }
}

.mockup-nav-arrows {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-8);
  z-index: 1;
}

.nav-arrow {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: white;
  font-size: var(--font-size-sm);
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.mockup-reflection {
  height: 30px;
  background: linear-gradient(to bottom, rgba(56, 189, 248, 0.06), transparent);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  margin-top: 1px;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* =============================================
   BENEFITS
   ============================================= */
.benefits {
  background: var(--color-surface);
  position: relative;
}

.benefits::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.benefit-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.benefit-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-accent);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.15);
}

.benefit-title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: var(--space-3);
  line-height: var(--line-height-snug);
}

.benefit-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* =============================================
   USE CASES
   ============================================= */
.use-cases {
  background: var(--color-bg);
}

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.usecase-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color var(--transition-base), background var(--transition-base), transform var(--transition-base);
  cursor: default;
}

.usecase-card:hover {
  border-color: var(--color-border-hover);
  background: var(--color-surface-2);
  transform: translateY(-2px);
}

.usecase-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: var(--space-4);
  border: 1px solid rgba(56, 189, 248, 0.15);
}

.usecase-title {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: var(--space-2);
}

.usecase-desc {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* =============================================
   DEMOS
   ============================================= */
.demos {
  background: var(--color-surface);
  position: relative;
}

.demos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.demos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.demo-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.demo-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-lg), 0 0 32px rgba(56, 189, 248, 0.08);
}

.demo-iframe-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-surface-3);
  overflow: hidden;
}

.demo-iframe-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  background: linear-gradient(135deg, var(--color-surface-3), var(--color-surface-2));
  cursor: pointer;
  transition: background var(--transition-base);
}

.demo-iframe-placeholder:hover {
  background: linear-gradient(135deg, var(--color-surface-2), var(--color-surface-3));
}

.demo-iframe-placeholder .placeholder-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.2);
  transition: transform var(--transition-base);
}

.demo-iframe-placeholder:hover .placeholder-icon {
  transform: scale(1.1);
}

.demo-iframe-placeholder .placeholder-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}

.demo-iframe-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.demo-info {
  padding: var(--space-6);
}

.demo-title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: var(--space-2);
}

.demo-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-4);
}

.demo-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works {
  background: var(--color-bg);
}

.steps-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.steps-track::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(56, 189, 248, 0.2), var(--accent), rgba(56, 189, 248, 0.2));
  opacity: 0.3;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--color-surface-2);
  border: 2px solid var(--color-border-hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  font-size: var(--font-size-base);
  font-weight: 800;
  color: var(--accent);
  position: relative;
  z-index: 1;
  transition: background var(--transition-base), box-shadow var(--transition-base);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.06);
}

.step-card:hover .step-number {
  background: var(--accent-light);
  box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.1), var(--shadow-accent);
}

.step-title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: var(--space-3);
}

.step-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* =============================================
   PLANS
   ============================================= */
.plans {
  background: var(--color-surface);
  position: relative;
}

.plans::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
}

.plan-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.plan-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.plan-card--featured {
  border-color: rgba(56, 189, 248, 0.35);
  background: linear-gradient(135deg, var(--color-surface-2), rgba(56, 189, 248, 0.04));
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.1);
}

.plan-card--featured:hover {
  border-color: var(--accent);
  box-shadow: 0 0 60px rgba(56, 189, 248, 0.2);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--color-bg);
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.plan-name {
  font-size: var(--font-size-lg);
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: var(--space-2);
}

.plan-tagline {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

.plan-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 1px;
}

/* =============================================
   ADD-ONS
   ============================================= */
.addons-section {
  margin-top: var(--space-16);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
}

.addons-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.addons-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 560px;
}

.addons-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.addon-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  background: var(--color-surface-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.addon-item:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-2px);
}

.addon-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 1px;
}

.addon-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.addon-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text);
  display: block;
}

.addon-desc {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* =============================================
   FAQ
   ============================================= */
.faq {
  background: var(--color-bg);
}

.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq-item--open {
  border-color: var(--color-border-hover);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  text-align: left;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: #f1f5f9;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-base), background var(--transition-base);
  line-height: var(--line-height-snug);
}

.faq-question:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.faq-item--open .faq-question {
  color: var(--accent);
  background: var(--accent-light);
}

.faq-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: var(--color-text-muted);
  transition: transform var(--transition-base), color var(--transition-base);
}

.faq-item--open .faq-icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-5);
}

.faq-answer[hidden] {
  display: none;
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  background: var(--color-surface);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-16);
  align-items: start;
}

.contact-desc {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin-top: var(--space-4);
  margin-bottom: var(--space-8);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-link {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  transition: all var(--transition-base);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
}

.contact-link:hover {
  transform: translateX(4px);
  border-color: var(--color-border-hover);
}

.contact-link--whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.4);
  background: rgba(37, 211, 102, 0.06);
  color: var(--color-whatsapp);
}

.contact-link--email:hover {
  border-color: var(--color-border-hover);
  background: var(--accent-light);
  color: var(--accent);
}

.contact-link--calendar:hover {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.06);
  color: #818cf8;
}

.contact-link-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-link--whatsapp .contact-link-icon {
  background: rgba(37, 211, 102, 0.12);
  color: var(--color-whatsapp);
}

.contact-link--email .contact-link-icon {
  background: var(--accent-light);
  color: var(--accent);
}

.contact-link--calendar .contact-link-icon {
  background: rgba(99, 102, 241, 0.12);
  color: #818cf8;
}

.contact-link-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-link-label {
  font-weight: 700;
  font-size: var(--font-size-sm);
}

.contact-link-sub {
  font-size: var(--font-size-xs);
  font-weight: 400;
  color: var(--color-text-muted);
}

/* FORM */
.contact-form-wrap {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-row {
  display: grid;
  gap: var(--space-5);
}

.form-row--2 {
  grid-template-columns: 1fr 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-label span {
  color: var(--accent);
}

.form-input {
  background: var(--color-surface-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-size-sm);
  transition: border-color var(--transition-base), box-shadow var(--transition-base),
    background var(--transition-base);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: var(--color-text-faint);
}

.form-input:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
  background: var(--color-surface-2);
}

.form-input.input-error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: var(--space-10);
  cursor: pointer;
}

.form-select option {
  background: var(--color-surface-2);
  color: var(--color-text);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: var(--line-height-relaxed);
}

.form-error {
  font-size: var(--font-size-xs);
  color: var(--color-error);
  font-weight: 500;
  min-height: 16px;
  display: block;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.form-note {
  font-size: var(--font-size-xs);
  color: var(--color-text-faint);
  text-align: center;
  line-height: var(--line-height-relaxed);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-16);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
}

.footer-tagline {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  margin-bottom: var(--space-3);
  line-height: var(--line-height-relaxed);
}

.footer-legal {
  font-size: var(--font-size-xs);
  color: var(--color-text-faint);
  line-height: var(--line-height-relaxed);
  border-left: 2px solid var(--color-border);
  padding-left: var(--space-3);
  margin-top: var(--space-4);
}

.footer-nav-title {
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-base);
}

.footer-link:hover {
  color: var(--accent);
}

.footer-contact-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-base);
}

.footer-contact-link:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-5);
}

.footer-copy {
  font-size: var(--font-size-xs);
  color: var(--color-text-faint);
  text-align: center;
}

/* =============================================
   WHATSAPP FLOTANTE
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 900;
  width: 56px;
  height: 56px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity var(--transition-base), transform var(--transition-base);
  pointer-events: none;
  box-shadow: var(--shadow-md);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right: none;
  border-left-color: var(--color-border);
}

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.modal-overlay:not([hidden]) {
  opacity: 1;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-container {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(56, 189, 248, 0.1);
  transform: scale(0.96);
  transition: transform var(--transition-base);
}

.modal-overlay:not([hidden]) .modal-container {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.modal-title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: #f1f5f9;
}

.modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: background var(--transition-base), color var(--transition-base);
  flex-shrink: 0;
}

.modal-close:hover {
  background: rgba(248, 113, 113, 0.12);
  color: var(--color-error);
}

.modal-body {
  flex: 1;
  overflow: hidden;
  display: flex;
}

.modal-iframe-wrap {
  width: 100%;
  position: relative;
  aspect-ratio: 16 / 9;
}

.modal-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* =============================================
   DEMO TYPE BADGE
   ============================================= */
.demo-type-badge {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

/* =============================================
   RESPONSIVE – TABLET (max 1024px)
   ============================================= */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-12);
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title,
  .hero-subtitle {
    max-width: 100%;
  }

  .hero-visual {
    order: -1;
  }

  .hero-mockup {
    max-width: 420px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .usecases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-track {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }

  .steps-track::before {
    display: none;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }

  .addons-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* =============================================
   RESPONSIVE – MOBILE (max 768px)
   ============================================= */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .container {
    padding-inline: var(--space-4);
  }

  .section {
    padding-block: var(--space-16);
  }

  /* Nav mobile */
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(11, 17, 32, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-4);
    transform: translateY(-110%);
    transition: transform var(--transition-slow);
    z-index: 999;
  }

  .main-nav.nav-open {
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-1);
  }

  .nav-link {
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-base);
  }

  .nav-link--cta {
    text-align: center;
    margin-left: 0;
    margin-top: var(--space-2);
  }

  /* Hero */
  .hero {
    padding-block: var(--space-16) var(--space-12);
    min-height: auto;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-mockup {
    max-width: 320px;
  }

  .mockup-screen {
    height: 200px;
  }

  /* Grids */
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .usecases-grid {
    grid-template-columns: 1fr;
  }

  .demos-grid {
    grid-template-columns: 1fr;
  }

  .steps-track {
    grid-template-columns: 1fr;
  }

  .form-row--2 {
    grid-template-columns: 1fr;
  }

  .addons-list {
    grid-template-columns: 1fr;
  }

  .addons-section {
    padding: var(--space-6) var(--space-5);
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-brand {
    grid-column: auto;
  }

  /* WhatsApp */
  .whatsapp-float {
    bottom: var(--space-4);
    right: var(--space-4);
    width: 50px;
    height: 50px;
  }

  /* Modal */
  .modal-iframe-wrap {
    aspect-ratio: 4 / 3;
  }

  .modal-container {
    max-height: 95vh;
    border-radius: var(--radius-lg);
  }
}

/* =============================================
   RESPONSIVE – SMALL MOBILE (max 480px)
   ============================================= */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .plan-card {
    padding: var(--space-6);
  }

  .contact-form-wrap {
    padding: var(--space-5);
  }

  .demo-actions {
    flex-direction: column;
  }

  .demo-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =============================================
   ANIMACIONES DE ENTRADA
   ============================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.5s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* =============================================
   PRINT
   ============================================= */
@media print {
  .site-header,
  .whatsapp-float,
  .modal-overlay,
  .hero-bg,
  .hero-scroll-indicator {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}


body {
  background-color: var(--color-bg);
  color: var(--color-text);
}

/* ── Tipografía general de headings ── */
.section-title,
.plan-name,
.benefit-title,
.usecase-title,
.step-title,
.demo-title,
.addons-title,
.modal-title,
.hero-title {
  color: hsl(210, 20%, 12%);
}

.faq-question {
  color: hsl(210, 20%, 12%);
}

/* ── Section label (badge de sección) ── */
.section-label {
  color: var(--primary);
  background: var(--primary-light);
  border-color: rgba(22, 160, 133, 0.2);
}

/* ── Hero ── */
.hero {
  background: linear-gradient(
    150deg,
    hsl(168, 40%, 95%) 0%,
    #f3f5f7 55%,
    hsl(168, 35%, 93%) 100%
  );
  position: relative;
}

.hero-orb--1 {
  background: radial-gradient(
    circle,
    rgba(22, 160, 133, 0.28) 0%,
    transparent 70%
  );
  opacity: 0.5;
}

.hero-orb--2 {
  background: radial-gradient(
    circle,
    rgba(232, 115, 74, 0.22) 0%,
    transparent 70%
  );
  opacity: 0.35;
}

.hero-grid {
  background-image:
    linear-gradient(rgba(22, 160, 133, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 160, 133, 0.06) 1px, transparent 1px);
}

.hero-badge {
  color: var(--primary);
  background: var(--primary-light);
  border-color: rgba(22, 160, 133, 0.22);
}

.hero-subtitle {
  color: var(--color-text-muted);
}

.scroll-line {
  background: linear-gradient(to bottom, var(--primary), transparent);
}

/* ── Hero mockup ── */
.mockup-frame {
  border-color: rgba(22, 160, 133, 0.18);
  box-shadow:
    0 12px 40px hsl(210 20% 15% / 0.12),
    0 0 40px hsl(168 76% 36% / 0.12);
}

.mockup-bar {
  background: var(--color-surface-3);
  border-bottom-color: var(--color-border);
}

.mockup-screen {
  background: linear-gradient(
    135deg,
    hsl(168, 40%, 93%) 0%,
    hsl(168, 30%, 96%) 50%,
    hsl(180, 35%, 93%) 100%
  );
}

.mockup-screen::before {
  background-image:
    linear-gradient(rgba(22, 160, 133, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 160, 133, 0.08) 1px, transparent 1px);
}

.mockup-360 span {
  color: var(--primary);
}

.hotspot {
  background: var(--primary);
}

.hotspot::after {
  border-color: var(--primary);
}

/* ── Botones ── */
.btn--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(22, 160, 133, 0.2);
}

.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 0 32px rgba(22, 160, 133, 0.35);
}

/* CTA secundario: naranja para contraste */
.btn--cta-orange {
  background: var(--gradient-accent);
  border: none;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(232, 115, 74, 0.2);
}

.btn--cta-orange:hover {
  filter: brightness(1.06);
  box-shadow: 0 0 32px rgba(232, 115, 74, 0.35);
}

.btn--outline {
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--outline:hover {
  border-color: rgba(22, 160, 133, 0.4);
  color: var(--primary);
  background: var(--primary-light);
}

.btn--ghost {
  background: var(--primary-light);
  color: var(--primary);
  border-color: rgba(22, 160, 133, 0.2);
}

.btn--ghost:hover {
  background: rgba(22, 160, 133, 0.15);
}

/* ── Header ── */
.site-header {
  background: rgba(243, 245, 247, 0.88);
  border-bottom: 1px solid var(--color-border);
}

.site-header.scrolled {
  background: rgba(243, 245, 247, 0.98);
  box-shadow: 0 1px 16px hsl(210 20% 15% / 0.07);
}

.logo-text span {
  color: var(--primary);
}

.nav-link:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-link--cta {
  color: var(--primary) !important;
  background: var(--primary-light);
  background-color: var(--accent-light);
  border-color: rgba(22, 160, 133, 0.25);
}

.nav-link--cta:hover {
  background: var(--primary);
  color: #ffffff !important;
  border-color: var(--primary);
}

.nav-link--active {
  color: var(--primary) !important;
  background: var(--primary-light) !important;
}

/* ── Nav mobile ── */
.main-nav {
  background: rgba(243, 245, 247, 0.98);
}

/* ── Sections alternadas ── */
.benefits     { background: #ffffff; }
.use-cases    { background: var(--color-bg); }
.demos        { background: #ffffff; }
.how-it-works { background: var(--color-bg); }
.plans        { background: #ffffff; }
.faq          { background: var(--color-bg); }
.contact      { background: #ffffff; }

/* Líneas decorativas superiores */
.benefits::before,
.demos::before,
.plans::before,
.contact::before {
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary),
    transparent
  );
  opacity: 0.25;
}

/* ── Benefit cards ── */
.benefit-card {
  background: var(--gradient-card);
  border-color: var(--color-border);
  box-shadow: var(--shadow-card);
}

.benefit-card:hover {
  border-color: rgba(22, 160, 133, 0.3);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.benefit-card::before {
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.benefit-icon {
  background: var(--primary-light);
  border-color: rgba(22, 160, 133, 0.15);
  color: var(--primary);
}

/* ── Use case cards ── */
.usecase-card {
  background: #ffffff;
  border-color: var(--color-border);
  box-shadow: var(--shadow-card);
}

.usecase-card:hover {
  border-color: rgba(22, 160, 133, 0.3);
  background: #ffffff;
  box-shadow: var(--shadow-card-hover);
}

.usecase-icon {
  background: var(--primary-light);
  border-color: rgba(22, 160, 133, 0.15);
  color: var(--primary);
}

/* ── Demo cards ── */
.demo-card {
  background: #ffffff;
  border-color: var(--color-border);
  box-shadow: var(--shadow-card);
}

.demo-card:hover {
  border-color: rgba(22, 160, 133, 0.3);
  box-shadow: var(--shadow-card-hover);
}

.demo-iframe-placeholder {
  background: linear-gradient(
    135deg,
    hsl(168, 30%, 95%) 0%,
    hsl(210, 20%, 97%) 100%
  );
}

.demo-iframe-placeholder:hover {
  background: linear-gradient(
    135deg,
    hsl(168, 30%, 92%) 0%,
    hsl(210, 20%, 95%) 100%
  );
}

.demo-iframe-placeholder .placeholder-icon {
  background: var(--primary-light);
  border-color: rgba(22, 160, 133, 0.2);
  color: var(--primary);
}

.demo-type-badge {
  color: var(--primary);
  background: var(--primary-light);
  border-color: rgba(22, 160, 133, 0.2);
}

/* ── Steps ── */
.step-number {
  background: #ffffff;
  border-color: rgba(22, 160, 133, 0.35);
  color: var(--primary);
  box-shadow: 0 0 0 4px rgba(22, 160, 133, 0.06);
}

.step-card:hover .step-number {
  background: var(--primary-light);
  box-shadow:
    0 0 0 6px rgba(22, 160, 133, 0.1),
    0 0 20px rgba(22, 160, 133, 0.18);
}

.steps-track::before {
  background: linear-gradient(
    90deg,
    var(--primary),
    rgba(22, 160, 133, 0.2),
    var(--primary),
    rgba(22, 160, 133, 0.2)
  );
  opacity: 0.25;
}

/* ── Plan cards ── */
.plan-card {
  background: var(--gradient-card);
  border-color: var(--color-border);
  box-shadow: var(--shadow-card);
}

.plan-card:hover {
  border-color: rgba(22, 160, 133, 0.3);
  box-shadow: var(--shadow-card-hover);
}

.plan-card--featured {
  border-color: rgba(22, 160, 133, 0.4);
  background: linear-gradient(
    160deg,
    hsl(168, 50%, 97%) 0%,
    #ffffff 100%
  );
  box-shadow:
    var(--shadow-card-hover),
    0 0 40px hsl(168 76% 36% / 0.12);
}

.plan-card--featured:hover {
  border-color: var(--primary);
  box-shadow:
    var(--shadow-card-hover),
    0 0 50px hsl(168 76% 36% / 0.2);
}

.plan-badge {
  background: var(--primary);
  color: #ffffff;
}

.plan-check {
  background: var(--primary-light);
  color: var(--primary);
}

/* Plan CTA featured usa naranja para contraste */
.plan-card--featured .btn--primary {
  background: var(--gradient-accent);
  border: none;
  box-shadow: 0 0 20px rgba(232, 115, 74, 0.25);
}

.plan-card--featured .btn--primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 0 32px rgba(232, 115, 74, 0.4);
}

/* ── Add-ons ── */
.addons-section {
  background: var(--color-surface-2);
  border-color: var(--color-border);
}

.addon-item {
  background: #ffffff;
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.addon-item:hover {
  border-color: rgba(22, 160, 133, 0.3);
}

.addon-icon {
  background: var(--primary-light);
  color: var(--primary);
}

/* ── FAQ ── */
.faq-item {
  background: #ffffff;
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.faq-item--open {
  border-color: rgba(22, 160, 133, 0.35);
}

.faq-question:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.faq-item--open .faq-question {
  color: var(--primary);
  background: var(--primary-light);
}

.faq-item--open .faq-icon {
  color: var(--primary);
}

/* ── Contacto ── */
.contact-link {
  background: var(--color-surface-2);
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.contact-link--whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.4);
  background: rgba(37, 211, 102, 0.05);
  color: var(--color-whatsapp);
}

.contact-link--email:hover {
  border-color: rgba(22, 160, 133, 0.4);
  background: var(--primary-light);
  color: var(--primary);
}

.contact-link--email .contact-link-icon {
  background: var(--primary-light);
  color: var(--primary);
}

.contact-link--calendar:hover {
  border-color: rgba(232, 115, 74, 0.35);
  background: rgba(232, 115, 74, 0.06);
  color: var(--accent-2);
}

.contact-link--calendar .contact-link-icon {
  background: rgba(232, 115, 74, 0.1);
  color: var(--accent-2);
}

/* ── Formulario ── */
.contact-form-wrap {
  background: var(--color-surface-2);
  border-color: var(--color-border);
  box-shadow: var(--shadow-card);
}

.form-input {
  background: #ffffff;
  border-color: var(--color-border);
  color: var(--color-text);
}

.form-input::placeholder {
  color: var(--color-text-faint);
}

.form-input:hover {
  border-color: rgba(22, 160, 133, 0.3);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 160, 133, 0.12);
  background: #ffffff;
  outline: none;
}

.form-input.input-error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* ── Modal ── */
.modal-overlay {
  background: rgba(15, 25, 20, 0.75);
}

.modal-container {
  background: #ffffff;
  border-color: var(--color-border);
  box-shadow:
    var(--shadow-lg),
    0 0 60px rgba(22, 160, 133, 0.1);
}

.modal-header {
  border-bottom-color: var(--color-border);
}

.modal-close:hover {
  background: rgba(220, 38, 38, 0.08);
  color: var(--color-error);
}

/* ── Focus global en modo claro ── */
:focus-visible {
  outline-color: var(--primary);
}

/* ── WhatsApp flotante ── */
.whatsapp-float {
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.whatsapp-float:hover {
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
  background: #ffffff;
  border-color: var(--color-border);
  color: var(--color-text);
  box-shadow: var(--shadow-md);
}

.whatsapp-tooltip::after {
  border-left-color: var(--color-border);
}

/* ── Footer ── */
.site-footer {
  background: hsl(210, 20%, 15%);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: var(--space-16);
}

.logo--footer .logo-text {
  color: #f3f5f7;
}

.logo--footer .logo-text span {
  color: #16a085;
}

.footer-tagline {
  color: rgba(243, 245, 247, 0.55);
  font-size: var(--font-size-sm);
  margin-top: var(--space-3);
  margin-bottom: var(--space-3);
  line-height: var(--line-height-relaxed);
}

.footer-legal {
  font-size: var(--font-size-xs);
  color: rgba(243, 245, 247, 0.3);
  line-height: var(--line-height-relaxed);
  border-left: 2px solid rgba(255, 255, 255, 0.08);
  padding-left: var(--space-3);
  margin-top: var(--space-4);
}

.footer-nav-title {
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(243, 245, 247, 0.4);
  margin-bottom: var(--space-4);
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  font-size: var(--font-size-sm);
  color: rgba(243, 245, 247, 0.55);
  transition: color var(--transition-base);
  text-decoration: none;
}

.footer-link:hover {
  color: #16a085;
}

.footer-contact-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: rgba(243, 245, 247, 0.55);
  transition: color var(--transition-base);
  text-decoration: none;
}

.footer-contact-link:hover {
  color: #16a085;
}

.footer-contact-link svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.footer-contact-link:hover svg {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-block: var(--space-5);
  margin-top: var(--space-12);
}

.footer-copy {
  font-size: var(--font-size-xs);
  color: rgba(243, 245, 247, 0.3);
  text-align: center;
}

/* Logo SVG en footer – usa el verde de la marca */
.logo--footer .logo-icon svg circle,
.logo--footer .logo-icon svg ellipse,
.logo--footer .logo-icon svg line {
  stroke: #16a085;
}

.logo--footer .logo-icon svg circle:last-child {
  fill: #16a085;
  stroke: none;
}

/* ── Animaciones ── */
@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(20px, 15px) scale(1.04); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}