@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Paleta Corporativa (Extraída del logo logocompleto.png) */
  --blue-primary: #0b6cb4;
  --blue-dark: #0c4575;
  --blue-rgb: 11, 108, 180;
  
  --red-primary: #be1c24;
  --red-dark: #7a070e;
  --red-rgb: 190, 28, 36;
  
  --silver: #cbd2d6;
  --silver-light: #e1e5e8;
  --silver-rgb: 203, 210, 214;

  /* Fondos y Textos Premium (Estilo Dark / Hybrid de alta gama) */
  --bg-deep: #070b10;
  --bg-dark: #0c121a;
  --bg-card: rgba(12, 18, 26, 0.7);
  --bg-card-hover: rgba(20, 28, 40, 0.85);
  
  --bg-light: #f6f8fa;
  --bg-light-card: rgba(255, 255, 255, 0.75);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dark: #0f172a;
  --text-dark-muted: #4b5563;
  
  /* Fuentes */
  --font-title: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Gradientes */
  --grad-blue: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
  --grad-red: linear-gradient(135deg, var(--red-primary), var(--red-dark));
  --grad-mix: linear-gradient(135deg, var(--blue-primary), var(--red-primary));
  --grad-glow: radial-gradient(circle, rgba(var(--blue-rgb), 0.15) 0%, rgba(var(--red-rgb), 0.12) 50%, transparent 100%);
  
  /* Sombras y Bordes */
  --border-glow-blue: 1px solid rgba(var(--blue-rgb), 0.25);
  --border-glow-red: 1px solid rgba(var(--red-rgb), 0.25);
  --border-glass: 1px solid rgba(255, 255, 255, 0.08);
  --border-glass-light: 1px solid rgba(var(--blue-rgb), 0.08);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  --shadow-glass-light: 0 8px 32px 0 rgba(var(--blue-rgb), 0.05);
  --shadow-glow-blue: 0 0 25px rgba(var(--blue-rgb), 0.25);
  --shadow-glow-red: 0 0 25px rgba(var(--red-rgb), 0.25);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* ── RESET Y CONFIGURACIÓN GLOBAL ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar Personalizado */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--blue-primary), var(--red-primary));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--blue-primary);
}

/* ── ESTILOS REUTILIZABLES (UTILITIES) ── */
.section-padding {
  padding: 6.5rem 5% 5.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.gradient-text {
  background: var(--grad-mix);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.gradient-text-blue {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.gradient-text-red {
  background: var(--grad-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.section-tag {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.section-tag::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--grad-mix);
  display: inline-block;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 3.5rem;
}

/* Efecto Glassmorphism */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glass);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease, 
              box-shadow 0.4s ease, 
              background-color 0.4s ease;
}

/* Botones Premium */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-primary {
  background: var(--grad-blue);
  color: var(--text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(var(--blue-rgb), 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--grad-mix);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-blue);
}
.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: var(--grad-red);
  color: var(--text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(var(--red-rgb), 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--grad-mix);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-red);
}
.btn-secondary:hover::before {
  opacity: 1;
}

.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--blue-primary);
  transform: translateY(-3px);
}

/* ── CABECERA / NAVBAR ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: padding 0.4s ease, background-color 0.4s ease, border-color 0.4s ease;
  padding: 1.5rem 5%;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  padding: 0.8rem 5%;
  background-color: rgba(7, 11, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: auto;
  transition: height 0.4s ease;
}
header.scrolled .logo-img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-mix);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover {
  color: var(--text-main);
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--blue-primary);
}
.nav-links a.active::after {
  width: 100%;
  background: var(--blue-primary);
}

.nav-cta {
  font-size: 0.8rem;
  padding: 0.65rem 1.6rem;
}

.mobile-only {
  display: none !important;
}

/* ── HERO SECTION ── */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 5% 80px;
}

/* Luces abstractas del fondo Hero */
.hero-glow-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  mix-blend-mode: screen;
  animation: float-glow 20s infinite alternate ease-in-out;
}

.glow-orb-blue {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--blue-primary) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  animation-duration: 25s;
}

.glow-orb-red {
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--red-primary) 0%, transparent 70%);
  bottom: -10%;
  left: -5%;
  animation-duration: 18s;
  animation-delay: -5s;
}

.glow-orb-silver {
  width: 30vw;
  height: 30vw;
  background: radial-gradient(circle, rgba(var(--silver-rgb), 0.3) 0%, transparent 70%);
  top: 40%;
  left: 30%;
  animation-duration: 30s;
  animation-delay: -10s;
}

/* Líneas tecnológicas de fondo */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  opacity: 0.5;
  mask-image: radial-gradient(circle at 60% 40%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 60% 40%, black, transparent 80%);
}

.hero-vertical-line {
  position: absolute;
  left: 5%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(var(--blue-rgb), 0.15) 20%, rgba(var(--red-rgb), 0.15) 80%, transparent);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--grad-mix);
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(3.2rem, 6.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text-main);
  margin-bottom: 1.8rem;
  letter-spacing: -0.03em;
  animation: slideUpFade 0.9s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
}

.hero-subtitle {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 550px;
  margin-bottom: 3.2rem;
  animation: slideUpFade 0.9s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: slideUpFade 0.9s 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 5%;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-title);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 2;
  animation: slideUpFade 0.8s 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.scroll-line-container {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.scroll-line-fill {
  width: 100%;
  height: 100%;
  background: var(--grad-blue);
  position: absolute;
  top: -100%;
  animation: scrollLineAnim 2.2s infinite ease-in-out;
}

/* ── STATS SECTION (Floating Bar) ── */
#stats-section {
  position: relative;
  z-index: 10;
  padding: 0 5%;
  margin-top: -60px;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.stat-item {
  background: var(--bg-card);
  padding: 2.2rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.stat-item:hover {
  background: var(--bg-card-hover);
}

.stat-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  display: inline-block;
  background: var(--grad-mix);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-num {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.stat-num.blue {
  color: var(--blue-primary);
}
.stat-num.red {
  color: var(--red-primary);
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

/* ── SERVICES (SERVICIOS) ── */
#servicios {
  position: relative;
}

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

.service-card {
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 4px; height: 100%;
  background: var(--grad-blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card.hover-red::before {
  background: var(--grad-red);
}

.service-card:hover {
  transform: translateY(-5px);
  background-color: var(--bg-card-hover);
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-card:hover.hover-blue {
  border-color: rgba(var(--blue-rgb), 0.25);
  box-shadow: var(--shadow-glow-blue);
}

.service-card:hover.hover-red {
  border-color: rgba(var(--red-rgb), 0.25);
  box-shadow: var(--shadow-glow-red);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
}

.service-card:hover .service-icon-box {
  background: var(--grad-blue);
  border-color: transparent;
  transform: scale(1.05);
}

.service-card.hover-red:hover .service-icon-box {
  background: var(--grad-red);
}

.service-name {
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.9rem;
}

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

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
}

.service-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.3s ease;
}

.service-list li svg {
  color: var(--blue-primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.service-card.hover-red .service-list li svg {
  color: var(--red-primary);
}

.service-card:hover .service-list li {
  color: var(--text-main);
}

.service-card:hover .service-list li svg {
  transform: translateX(2px);
}

/* ── PRICING SECTION (PLANES) ── */
#planes {
  background-color: var(--bg-dark);
  position: relative;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  align-items: stretch;
}

.plan-card {
  padding: 3.5rem 2.2rem 3rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.plan-card:hover {
  transform: translateY(-8px);
  background-color: var(--bg-card-hover);
}

.plan-card.featured {
  background: linear-gradient(180deg, rgba(12, 18, 26, 0.9) 0%, rgba(7, 11, 16, 0.95) 100%);
  border: 1px solid rgba(var(--blue-rgb), 0.3);
  box-shadow: 0 15px 40px rgba(var(--blue-rgb), 0.1);
}

.plan-card.featured::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-md);
  background: var(--grad-mix);
  z-index: -1;
  opacity: 0.3;
  transition: opacity 0.4s ease;
}

.plan-card.featured:hover::after {
  opacity: 0.7;
}

.plan-card.featured:hover {
  box-shadow: 0 20px 45px rgba(var(--blue-rgb), 0.25);
}

.plan-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--grad-mix);
  color: var(--text-main);
  font-family: var(--font-title);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(var(--red-rgb), 0.25);
}

.plan-name {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.plan-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.plan-price-box {
  margin-bottom: 2.2rem;
  display: flex;
  align-items: baseline;
}

.plan-price-currency {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-primary);
  margin-right: 0.2rem;
  align-self: flex-start;
  margin-top: 0.4rem;
}

.plan-card.featured .plan-price-currency {
  color: var(--red-primary);
}

.plan-price {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  letter-spacing: -0.03em;
}

.plan-price-period {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
  font-weight: 500;
}

.plan-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  width: 100%;
  margin-bottom: 2.2rem;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
  margin-bottom: 2.5rem;
}

.plan-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.4;
}

.plan-features li svg {
  flex-shrink: 0;
  color: var(--blue-primary);
  margin-top: 0.15rem;
}

.plan-card.featured .plan-features li svg {
  color: var(--red-primary);
}

.plan-btn {
  width: 100%;
}

/* ── ABOUT US (NOSOTROS) ── */
#nosotros {
  position: relative;
  background-color: var(--bg-deep);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5.5rem;
  align-items: center;
}

.about-left {
  position: relative;
}

.about-values {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  margin-top: 2.8rem;
}

.value-item {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.value-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(var(--blue-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  border: 1px solid rgba(var(--blue-rgb), 0.15);
}

.value-item:nth-child(2n) .value-icon-wrapper {
  background: rgba(var(--red-rgb), 0.1);
  color: var(--red-primary);
  border-color: rgba(var(--red-rgb), 0.15);
}

.value-title {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.value-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Composición Visual Premium en el lado derecho */
.about-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 450px;
}

.about-visual-container {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual-bg-orb {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--blue-rgb), 0.15) 0%, rgba(var(--red-rgb), 0.1) 70%, transparent 100%);
  filter: blur(30px);
  z-index: 0;
  animation: pulse-slow 6s infinite alternate ease-in-out;
}

.about-box-glass {
  position: absolute;
  border-radius: var(--radius-md);
  border: var(--border-glass);
  background: rgba(12, 18, 26, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  box-shadow: var(--shadow-glass);
}

.about-box-glass:nth-child(1) {
  width: 280px;
  height: 280px;
  z-index: 1;
  top: 10px; left: 10px;
  border-color: rgba(var(--blue-rgb), 0.15);
  animation: float-y 5s infinite alternate ease-in-out;
}

.about-box-glass:nth-child(2) {
  width: 240px;
  height: 240px;
  z-index: 2;
  top: 50px; left: 50px;
  border-color: rgba(var(--red-rgb), 0.15);
  background: rgba(12, 18, 26, 0.55);
  animation: float-y 5s infinite alternate-reverse ease-in-out;
  animation-delay: -2s;
}

.about-box-glass:nth-child(3) {
  width: 180px;
  height: 180px;
  z-index: 3;
  top: 90px; left: 90px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(7, 11, 16, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  animation: float-y 4s infinite alternate ease-in-out;
  animation-delay: -1s;
}

.about-brand-letter {
  font-family: var(--font-title);
  font-size: 4.8rem;
  font-weight: 900;
  line-height: 1;
  background: var(--grad-mix);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-brand-sub {
  font-family: var(--font-title);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

.about-brand-line {
  width: 30px;
  height: 2px;
  background: var(--grad-mix);
  margin-top: 0.2rem;
}

/* ── CONTACT SECTION (CONTACTO) ── */
#contacto {
  background-color: var(--bg-dark);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5.5rem;
  align-items: start;
}

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

.contact-text {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2.8rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-bottom: 3rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 1.6rem;
}

.contact-card:hover {
  transform: translateX(5px);
  border-color: rgba(var(--blue-rgb), 0.2);
  background-color: var(--bg-card-hover);
}

.contact-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(var(--blue-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  border: 1px solid rgba(var(--blue-rgb), 0.15);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-icon-wrapper {
  background: var(--grad-blue);
  color: var(--text-main);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(var(--blue-rgb), 0.3);
}

.contact-card.card-red .contact-icon-wrapper {
  background: rgba(var(--red-rgb), 0.08);
  color: var(--red-primary);
  border-color: rgba(var(--red-rgb), 0.15);
}

.contact-card.card-red:hover .contact-icon-wrapper {
  background: var(--grad-red);
  color: var(--text-main);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(var(--red-rgb), 0.3);
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.contact-link {
  font-size: 1.05rem;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--blue-primary);
}

.contact-card.card-red .contact-link:hover {
  color: var(--red-primary);
}

.whatsapp-button-inline {
  background: #25D366;
  color: #fff;
  border: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
  padding: 1rem 2.2rem;
  align-self: flex-start;
}
.whatsapp-button-inline:hover {
  background: #1ebe57;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transform: translateY(-3px);
}

/* Formulario Premium */
.contact-form-card {
  padding: 3.5rem 3rem;
  border: var(--border-glass);
  background: rgba(12, 18, 26, 0.6);
}

.form-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

.form-group label {
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.form-input, .form-select, .form-textarea {
  background: rgba(7, 11, 16, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-main);
  outline: none;
  transition: all 0.3s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue-primary);
  background: rgba(7, 11, 16, 0.8);
  box-shadow: 0 0 15px rgba(var(--blue-rgb), 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1.1rem;
  padding-right: 2.8rem;
  cursor: pointer;
}

.form-group:focus-within label {
  color: var(--blue-primary);
}

/* Success Card */
.form-success-card {
  display: none;
  background: rgba(var(--blue-rgb), 0.05);
  border: 1px dashed rgba(var(--blue-rgb), 0.3);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  text-align: center;
  animation: fadeIn 0.4s ease forwards;
}

.success-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(var(--blue-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  margin: 0 auto 0.8rem;
  font-size: 1.4rem;
  border: 1px solid rgba(var(--blue-rgb), 0.2);
}

.success-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

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

/* Botón flotante de WhatsApp */
.whatsapp-floating {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-floating::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  z-index: -1;
  animation: pulse-ring 2s infinite ease-out;
}

.whatsapp-floating:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
  background: #1ebe57;
}

/* ── PIE DE PÁGINA (FOOTER) ── */
footer {
  background-color: var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5rem 5% 2.5rem;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

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

.footer-logo-img {
  height: 44px;
  width: auto;
  align-self: flex-start;
}

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

.footer-col-title {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 1.6rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 24px;
  height: 2px;
  background: var(--grad-mix);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-links-list a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.footer-links-list a:hover {
  color: var(--blue-primary);
  transform: translateX(4px);
}

.footer-contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.footer-contact-info li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.4;
}

.footer-contact-info li svg {
  color: var(--blue-primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.footer-contact-info a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-info a:hover {
  color: var(--blue-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
}

.footer-legal-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal-links a:hover {
  color: var(--blue-primary);
}

/* ── ANIMACIONES Y REVEAL ── */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-glow {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(8%, 12%) scale(1.1);
  }
  100% {
    transform: translate(-5%, -8%) scale(0.95);
  }
}

@keyframes float-y {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-12px);
  }
}

@keyframes pulse-slow {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.1);
    opacity: 1;
  }
}

@keyframes scrollLineAnim {
  0% {
    top: -100%;
  }
  50% {
    top: 100%;
  }
  100% {
    top: 100%;
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hamburger Menú (Móviles) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: all 0.3s ease;
}

/* ── MEDIA QUERIES (RESPONSIVE) ── */
@media (max-width: 1024px) {
  /* Cabecera compacta y logo al centro en pantallas < 10 pulgadas */
  .nav-container {
    position: relative;
    justify-content: space-between;
  }
  
  .logo-link {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1002;
  }
  
  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-dark);
    border-left: var(--border-glass);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-cta-wrapper {
    display: none;
  }
  
  .nav-links .nav-cta.mobile-only {
    display: inline-flex !important;
    margin-top: 1.5rem;
  }

  /* Animación del menú hamburguesa */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Grid Layouts compactados */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .plan-card.featured {
    grid-column: span 2;
    order: -1; /* Muestra el recomendado arriba */
  }

  #stats-section {
    margin-top: -30px;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .about-right {
    height: auto;
    margin-top: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

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

@media (max-width: 580px) {
  .stats-container {
    grid-template-columns: 1fr;
  }
  
  .plans-grid {
    grid-template-columns: 1fr;
  }
  
  .plan-card.featured {
    grid-column: span 1;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }

  .contact-form-card {
    padding: 2.5rem 1.8rem;
  }
}
