/* ==========================================================================
   AEROVIX - AI FOR HVAC | MODERN HIGH-CONVERTING DESIGN SYSTEM
   ========================================================================== */

/* --- 1. CSS VARIABLES / DESIGN TOKENS --- */
:root {
  /* Brand Core Colors (HVAC Cold & Warm Tech Balance) */
  --color-primary: #0F172A;        /* Deep Navy Slate */
  --color-primary-light: #1E293B;  /* Slate Surface */
  --color-primary-dark: #0B1120;   /* Midnight */
  
  --color-cyan: #00B4D8;           /* Cold AC Cyan */
  --color-cyan-hover: #0096C7;
  --color-cyan-light: #E0F2FE;
  --color-cyan-glow: rgba(0, 180, 216, 0.25);
  
  --color-orange: #FF6B35;         /* Heating Warmth & High-Conversion CTA */
  --color-orange-hover: #E85D04;
  --color-orange-light: #FFF2EB;
  --color-orange-glow: rgba(255, 107, 53, 0.35);

  --color-success: #10B981;        /* Active green */
  --color-success-light: #ECFDF5;
  --color-danger: #EF4444;         /* Emergency red */
  --color-danger-light: #FEF2F2;

  /* Neutral Surface & Text */
  --bg-body: #090E1A;              /* Modern Dark Tech Background */
  --bg-card-dark: #111827;
  --bg-card-hover: #1A2234;
  --bg-light-section: #F8FAFC;
  --text-light-dark: #0F172A;
  
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-cyan: rgba(0, 180, 216, 0.3);
  --border-orange: rgba(255, 107, 53, 0.3);
  
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Shadows & Elevation */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  --shadow-glow-cyan: 0 0 30px rgba(0, 180, 216, 0.25);
  --shadow-glow-orange: 0 10px 25px rgba(255, 107, 53, 0.35);

  /* Layout */
  --container-max: 1200px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* --- 2. CSS RESET & GLOBAL BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-center {
  text-align: center;
}

/* Section Header Typography */
.section-header {
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-tag-cyan {
  background: rgba(0, 180, 216, 0.12);
  color: #38BDF8;
  border: 1px solid rgba(0, 180, 216, 0.3);
}

.section-tag-orange {
  background: rgba(255, 107, 53, 0.12);
  color: #FB923C;
  border: 1px solid rgba(255, 107, 53, 0.3);
}

.section-tag-danger {
  background: rgba(239, 68, 68, 0.12);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.gradient-text {
  background: linear-gradient(135deg, #00B4D8 0%, #38BDF8 50%, #FF6B35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- 3. BUTTONS & CTAS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.4rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
  min-height: 44px; /* Optimal touch target */
}

.btn-primary {
  background: linear-gradient(135deg, #FF6B35 0%, #F97316 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #E85D04 0%, #EA580C 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.45);
}

.shadow-orange {
  box-shadow: var(--shadow-glow-orange);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 1.8rem;
  font-size: 1.05rem;
  min-height: 50px;
}

.btn-xl {
  padding: 1.15rem 2.4rem;
  font-size: 1.15rem;
  border-radius: var(--radius-lg);
  min-height: 56px;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

.play-icon {
  width: 1.1rem;
  height: 1.1rem;
  fill: #00B4D8;
  flex-shrink: 0;
}

/* ==========================================================================
   BARRA DE ANUNCIO EN VIVO
   ========================================================================== */
.announcement-bar {
  background: linear-gradient(90deg, #0B132B 0%, #172554 50%, #0B132B 100%);
  border-bottom: 1px solid rgba(0, 180, 216, 0.2);
  padding: 0.5rem 0;
  font-size: 0.84rem;
  position: relative;
  z-index: 50;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  text-align: center;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-success);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.announcement-text {
  color: #E2E8F0;
}

.announcement-text strong {
  color: #FFFFFF;
}

.announcement-link {
  color: #38BDF8;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.announcement-link:hover {
  color: #7DD3FC;
}

/* ==========================================================================
   1. HEADER / NAVEGACIÓN
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 14, 26, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(9, 14, 26, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.6rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-symbol {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #00B4D8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.main-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover {
  color: #FFFFFF;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #00B4D8;
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  align-items: center;
}

.hamburger-bar {
  width: 24px;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5.5rem 0;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: 10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  transform: translateZ(0);
}

.hero-glow-2 {
  position: absolute;
  top: 25%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(90px);
  pointer-events: none;
  transform: translateZ(0);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #E2E8F0;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 1.4rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-subtitle strong {
  color: #FFFFFF;
}

.hero-cta-wrapper {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

/* Microcopy de confianza bajo CTAs del Hero */
.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.trust-mini-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg-body);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-left: -8px;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar-1 { background-color: #0284C7; }
.avatar-2 { background-color: #EA580C; }
.avatar-3 { background-color: #0D9488; }
.avatar-4 { background-color: #475569; }

.proof-text {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.proof-text .stars {
  color: #FBBF24;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 0.2rem;
}

.proof-text strong {
  color: #F1F5F9;
}

/* SMARTPHONE MOCKUP & CHAT SIMULATION */
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 100%;
  max-width: 380px;
  background: #0F172A;
  border-radius: 42px;
  border: 6px solid #1E293B;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 180, 216, 0.25);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transform: translateZ(0);
}

/* Dynamic Island */
.phone-notch {
  background: #020617;
  width: 120px;
  height: 24px;
  border-radius: 12px;
  margin: 10px auto 6px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.notch-speaker {
  width: 40px;
  height: 4px;
  background: #1E293B;
  border-radius: 2px;
}

.notch-camera {
  width: 8px;
  height: 8px;
  background: #0F172A;
  border: 1px solid #334155;
  border-radius: 50%;
}

/* Chat Header */
.chat-header {
  background: #1E293B;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-avatar-status {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.chat-bot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00B4D8 0%, #0284C7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
}

.chat-contact-info {
  display: flex;
  flex-direction: column;
}

.contact-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
}

.contact-status {
  font-size: 0.72rem;
  color: #38BDF8;
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
}

.tag-ghl {
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(0, 180, 216, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(0, 180, 216, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

/* Chat Feed */
.chat-body {
  padding: 1rem;
  background: #0B1120;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.84rem;
}

.chat-date-divider {
  text-align: center;
  margin: 0.2rem 0;
}

.chat-date-divider span {
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: #94A3B8;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.chat-bubble {
  max-width: 86%;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  position: relative;
  line-height: 1.4;
  word-wrap: break-word;
}

.user-msg {
  align-self: flex-end;
  background: #0284C7;
  color: #FFFFFF;
  border-bottom-right-radius: 3px;
}

.bot-msg {
  align-self: flex-start;
  background: #1E293B;
  color: #F1F5F9;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom-left-radius: 3px;
}

.bubble-time {
  display: block;
  font-size: 0.64rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: right;
  margin-top: 0.3rem;
}

.triage-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(239, 68, 68, 0.2);
  color: #FCA5A5;
  border: 1px solid rgba(239, 68, 68, 0.4);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}

.slot-options {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.slot-badge {
  background: rgba(0, 180, 216, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(0, 180, 216, 0.35);
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slot-badge:hover {
  background: #00B4D8;
  color: #FFFFFF;
}

.calendar-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 8px;
  padding: 0.6rem;
  margin-bottom: 0.45rem;
}

.cal-header {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #34D399;
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 0.3rem;
}

.cal-details {
  font-size: 0.73rem;
  color: #CBD5E1;
  margin-bottom: 0.15rem;
}

/* Floating Tech Notification */
.floating-tech-alert {
  position: absolute;
  bottom: 50px;
  left: -20px;
  right: -20px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid #FF6B35;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 107, 53, 0.25);
  border-radius: var(--radius-md);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 20;
  backdrop-filter: blur(10px);
}

.alert-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.2);
  color: #FF6B35;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.alert-info {
  display: flex;
  flex-direction: column;
  font-size: 0.76rem;
  color: #E2E8F0;
}

.alert-info strong {
  color: #FFA07A;
}

/* Chat Input Bottom */
.chat-input-bar {
  background: #1E293B;
  padding: 0.65rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fake-input {
  flex-grow: 1;
  background: #0F172A;
  border-radius: var(--radius-full);
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  color: #64748B;
}

.fake-mic {
  color: #94A3B8;
  flex-shrink: 0;
}

/* ==========================================================================
   BARRA DE INTEGRACIONES & CONFIANZA
   ========================================================================== */
.trust-bar-section {
  padding: 2.2rem 0;
  background: #0B1120;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.trust-label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.partner-badge {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.ghl-badge { color: #38BDF8; }
.wa-badge { color: #25D366; }
.cal-badge { color: #4285F4; }
.sms-badge { color: #F87171; }
.stripe-badge { color: #A78BFA; }

.partner-desc {
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* ==========================================================================
   3. SECCIÓN PROBLEMA / AGITACIÓN
   ========================================================================== */
.problem-section {
  padding: 6.5rem 0;
  background: linear-gradient(180deg, #090E1A 0%, #0D1322 100%);
  position: relative;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.problem-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.problem-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5);
}

.problem-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.danger-red {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
}

.warning-orange {
  background: rgba(249, 115, 22, 0.15);
  color: #F97316;
}

.cold-blue {
  background: rgba(0, 180, 216, 0.15);
  color: #00B4D8;
}

.problem-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.9rem;
  line-height: 1.35;
}

.problem-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.problem-stat {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #F87171;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.problem-solution-bridge {
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.bridge-text {
  font-size: 1.05rem;
  color: #E2E8F0;
  max-width: 800px;
}

.bridge-text strong {
  color: #38BDF8;
}

/* ==========================================================================
   4. SECCIÓN CÓMO FUNCIONA (TIMELINE)
   ========================================================================== */
.solution-section {
  padding: 6.5rem 0;
  background: #090E1A;
  position: relative;
}

.steps-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.step-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-cyan);
  box-shadow: 0 15px 30px -10px rgba(0, 180, 216, 0.2);
}

.step-number-badge {
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.step-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 180, 216, 0.12);
  color: #00B4D8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  flex-shrink: 0;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.step-highlight {
  font-size: 0.78rem;
  font-weight: 700;
  color: #38BDF8;
  background: rgba(0, 180, 216, 0.08);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-block;
}

/* ==========================================================================
   5. BENEFICIOS / FEATURES GRID
   ========================================================================== */
.features-section {
  padding: 6.5rem 0;
  background: linear-gradient(180deg, #090E1A 0%, #0F172A 100%);
}

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

.feature-card {
  background: #131D31;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 180, 216, 0.4);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 180, 216, 0.15);
}

.feature-icon-bubble {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.2) 0%, rgba(255, 107, 53, 0.15) 100%);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  flex-shrink: 0;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.8rem;
  line-height: 1.35;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.feature-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.feature-checklist li {
  font-size: 0.85rem;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.check-icon {
  color: var(--color-success);
  font-weight: 800;
}

/* ==========================================================================
   CALCULADORA INTERACTIVA DE ROI
   ========================================================================== */
.calculator-section {
  padding: 5.5rem 0;
  background: #090E1A;
}

.calculator-box {
  background: linear-gradient(145deg, #111827 0%, #172238 100%);
  border: 1px solid rgba(255, 107, 53, 0.35);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 107, 53, 0.15);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.calc-title {
  font-size: 2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.8rem;
}

.calc-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.calc-control-group {
  margin-bottom: 2rem;
}

.calc-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
  color: #E2E8F0;
  margin-bottom: 0.8rem;
  gap: 1rem;
}

.calc-val-badge {
  background: rgba(255, 107, 53, 0.15);
  color: #FF6B35;
  border: 1px solid rgba(255, 107, 53, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #1E293B;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FF6B35;
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.6);
  cursor: pointer;
  border: 2px solid #FFFFFF;
}

.calc-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FF6B35;
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.6);
  cursor: pointer;
  border: 2px solid #FFFFFF;
}

.calc-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.calc-result-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.calc-result-card.danger {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.calc-result-card.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.result-caption {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.result-amount {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.calc-result-card.danger .result-amount {
  color: #F87171;
}

.calc-result-card.success .result-amount {
  color: #34D399;
}

.result-note {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.calc-cta-center {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.calc-microcopy {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ==========================================================================
   6. PRUEBA SOCIAL Y TESTIMONIOS
   ========================================================================== */
.testimonials-section {
  padding: 6.5rem 0;
  background: linear-gradient(180deg, #0D1322 0%, #090E1A 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.testimonial-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.featured-testimonial {
  border-color: rgba(255, 107, 53, 0.4);
  background: linear-gradient(145deg, #131E33 0%, #111827 100%);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 107, 53, 0.15);
}

.featured-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #FF6B35;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.stars-gold {
  color: #FBBF24;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: #E2E8F0;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.author-profile {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.2rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.author-meta {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

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

/* Metrics Banner */
.metrics-banner {
  background: #111827;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.2rem 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.metric-val {
  font-size: 2.5rem;
  font-weight: 800;
  color: #38BDF8;
  line-height: 1;
}

.metric-lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   7. SECCIÓN DE PRECIOS / OFERTA ESTRATÉGICA
   ========================================================================== */
.pricing-section {
  padding: 6.5rem 0;
  background: #090E1A;
}

.pricing-card-center {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.pricing-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
}

.pricing-box {
  background: #111827;
  border: 2px solid rgba(255, 107, 53, 0.4);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 107, 53, 0.2);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  position: relative;
  z-index: 2;
}

.pricing-header {
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
}

.plan-type {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FB923C;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.plan-name {
  font-size: 2.3rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0.5rem 0 0.8rem 0;
}

.plan-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 1.5rem auto;
}

.plan-price-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.plan-badge-highlight {
  background: rgba(0, 180, 216, 0.12);
  color: #38BDF8;
  border: 1px solid rgba(0, 180, 216, 0.35);
  font-size: 1.1rem;
  font-weight: 800;
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-full);
}

.price-detail {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.inclusions-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

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

.inclusion-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #E2E8F0;
  line-height: 1.5;
}

.check-green {
  color: var(--color-success);
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1.2;
}

.pricing-action-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.pricing-guarantee-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   8. PREGUNTAS FRECUENTES (FAQ ACORDEÓN)
   ========================================================================== */
.faq-section {
  padding: 6.5rem 0;
  background: linear-gradient(180deg, #090E1A 0%, #0F172A 100%);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(0, 180, 216, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.faq-question {
  width: 100%;
  padding: 1.3rem 1.6rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  color: #FFFFFF;
  min-height: 48px;
}

.faq-title {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  padding-right: 1rem;
}

.faq-toggle-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: #00B4D8;
  transition: transform var(--transition-fast);
  line-height: 1;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  color: #FF6B35;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.6rem;
}

.faq-item.active .faq-answer {
  max-height: 320px;
  padding: 0 1.6rem 1.4rem 1.6rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-answer strong {
  color: #E2E8F0;
}

/* ==========================================================================
   9. CTA FINAL + FORMULARIO DE CONVERSIÓN
   ========================================================================== */
.final-cta-section {
  padding: 6.5rem 0;
  background: #090E1A;
  position: relative;
}

.cta-wrapper-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.cta-main-heading {
  font-size: 2.3rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.cta-subheading {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.cta-perks {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.perk-icon {
  font-size: 1.2rem;
  line-height: 1.2;
}

.perk-desc {
  font-size: 0.9rem;
  color: #CBD5E1;
  line-height: 1.5;
}

.perk-desc strong {
  color: #FFFFFF;
}

.trust-guarantee-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Form Styles */
.form-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

.form-card-header {
  margin-bottom: 1.8rem;
}

.form-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}

.form-subtitle {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #E2E8F0;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon input {
  width: 100%;
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  color: #FFFFFF;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
  min-height: 44px;
}

.input-with-icon input:focus,
.custom-select:focus {
  outline: none;
  border-color: #00B4D8;
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.25);
  background: #172238;
}

.input-with-icon input::placeholder {
  color: #64748B;
}

.field-icon {
  position: absolute;
  left: 0.85rem;
  font-size: 0.95rem;
  pointer-events: none;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.col-half {
  flex: 1;
}

.custom-select {
  width: 100%;
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: #FFFFFF;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 44px;
}

.custom-select option {
  background: #0F172A;
  color: #FFFFFF;
}

.error-msg {
  display: none;
  font-size: 0.76rem;
  color: #F87171;
  margin-top: 0.2rem;
}

.form-group.has-error input {
  border-color: #EF4444;
}

.form-group.has-error .error-msg {
  display: block;
}

/* Botón con Spinner */
.btn-submit {
  position: relative;
  margin-top: 0.5rem;
}

.btn-spinner {
  display: none;
  width: 1.25rem;
  height: 1.25rem;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.btn-submit.loading .btn-text {
  visibility: hidden;
}

.btn-submit.loading .btn-spinner {
  display: block;
  position: absolute;
}

.form-footer-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* Success State */
.form-success-state {
  text-align: center;
  padding: 2rem 1rem;
  animation: fadeIn 0.4s ease;
}

.success-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem auto;
}

.success-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.8rem;
}

.success-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

/* ==========================================================================
   10. FOOTER CON CONTACTO Y REDES
   ========================================================================== */
.site-footer {
  background: #060A13;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 4rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-about {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-partner-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  color: #38BDF8;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.25);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a,
.footer-links span {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #38BDF8;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-contact-info li {
  font-size: 0.86rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-contact-info a:hover {
  color: #FFFFFF;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #111827;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  transition: all var(--transition-fast);
}

.social-link:hover {
  color: #FFFFFF;
  background: #1E293B;
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-legal-links a:hover {
  color: #94A3B8;
}

.sep {
  color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   BOTÓN FLOTANTE DE ACCESO RÁPIDO A DEMO
   ========================================================================== */
.floating-cta-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 99;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #FF6B35 0%, #EA580C 100%);
  color: #FFFFFF;
  padding: 0.75rem 1.3rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform var(--transition-fast);
  position: relative;
  min-height: 48px;
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.03);
}

.float-pulse {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.6);
  animation: radar-pulse 2s infinite;
  pointer-events: none;
}

@keyframes radar-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.6); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 14px rgba(255, 107, 53, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 107, 53, 0); }
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #111827;
  border: 1px solid #10B981;
  color: #FFFFFF;
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

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

.animate-pop {
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.9) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.animate-bounce-subtle {
  animation: floatSubtle 4s ease-in-out infinite alternate;
}

@keyframes floatSubtle {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* ==========================================================================
   ACCESIBILIDAD Y REDUCED MOTION (Velocidad y rendimiento)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .float-pulse {
    display: none;
  }

  .animate-bounce-subtle {
    animation: none;
  }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE DESIGN MOBILE FIRST)
   ========================================================================== */

/* Tablet & Smaller Desktop (< 1024px) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-wrapper {
    justify-content: center;
  }

  .hero-trust-badges {
    justify-content: center;
  }

  .hero-social-proof {
    justify-content: center;
  }

  .problem-grid,
  .features-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics-banner {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

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

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

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

/* Mobile Devices (< 768px) - Rendimiento y velocidad optimizados */
@media (max-width: 768px) {
  .hero-glow-1,
  .hero-glow-2,
  .pricing-glow {
    filter: blur(40px); /* Menor carga para GPU móvil */
    width: 300px;
    height: 300px;
  }

  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 4.6rem;
    left: 0;
    right: 0;
    background: rgba(9, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
  }

  .main-nav.active {
    max-height: 450px;
  }

  .main-nav .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
    padding: 0.5rem 0;
  }

  .header-cta-group .btn {
    display: none;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-mockup-wrapper {
    padding: 0 10px;
  }

  .floating-tech-alert {
    left: 8px;
    right: 8px;
    bottom: 16px;
    padding: 0.6rem 0.8rem;
  }

  .problem-grid,
  .features-grid,
  .testimonials-grid,
  .steps-timeline {
    grid-template-columns: 1fr;
  }

  .calc-results-grid {
    grid-template-columns: 1fr;
  }

  .calculator-box {
    padding: 2rem 1.2rem;
  }

  .calc-title {
    font-size: 1.6rem;
  }

  .pricing-box {
    padding: 2rem 1.5rem;
  }

  .plan-name {
    font-size: 1.8rem;
  }

  .cta-wrapper-card {
    padding: 2rem 1.2rem;
  }

  .cta-main-heading {
    font-size: 1.8rem;
  }

  .form-row {
    flex-direction: column;
    gap: 1.2rem;
  }

  .form-card {
    padding: 1.5rem 1.2rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  .floating-cta-btn {
    bottom: 16px;
    left: 16px;
  }

  .float-text {
    display: none;
  }

  .float-btn {
    padding: 0.75rem;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    justify-content: center;
  }
}
