/* ==========================================================================
   ALPA SOLUTIONS - ESTILOS PRINCIPALES 
   ========================================================================== */

/* --- Importación de Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- Variables Globales --- */
:root {
  --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  
  /* Paleta de Colores (Modo Oscuro Refinado) */
  --bg-deep: #070a13;
  --bg-darker: #0b0f19;
  --bg-dark: #111827;
  --bg-card: rgba(17, 24, 39, 0.6);
  --bg-glass: rgba(255, 255, 255, 0.02);
  
  --color-cyan: #06b6d4;
  --color-blue: #6366f1;
  --color-cyan-glow: rgba(6, 182, 212, 0.15);
  --color-indigo: #6366f1;
  --color-indigo-glow: rgba(99, 102, 241, 0.15);
  --color-purple: #a855f7;
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dark: #6b7280;
  
  --border-glass: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(6, 182, 212, 0.3);
  
  /* Gradientes */
  --gradient-primary: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-indigo) 50%, var(--color-purple) 100%);
  --gradient-text: linear-gradient(135deg, #22d3ee 0%, #818cf8 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  
  /* Sombras y Efectos */
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --shadow-glow: 0 0 25px rgba(6, 182, 212, 0.2);
  --blur-effect: blur(12px);
  
  /* Espaciados y Bordes */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  --max-width: 1280px;
}

/* --- Reseteo de Estilos --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Fondo decorativo con luces abstractas */
body::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, rgba(0, 0, 0, 0) 80%);
  z-index: -2;
  pointer-events: none;
}

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

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

/* --- Contenedor Global --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Tipografía --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

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

/* --- Componentes Reutilizables --- */

/* Efecto Glassmorphism */
.glass-panel {
  background: var(--gradient-glass);
  backdrop-filter: var(--blur-effect);
  -webkit-backdrop-filter: var(--blur-effect);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glass);
  transition: var(--transition-normal);
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

/* Botones Premium */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-indigo) 0%, var(--color-purple) 50%, var(--color-cyan) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(6, 182, 212, 0.4);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  backdrop-filter: var(--blur-effect);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-cyan);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.15);
}

/* --- Cabecera / Navegación --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 10, 19, 0.7);
  backdrop-filter: var(--blur-effect);
  -webkit-backdrop-filter: var(--blur-effect);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-fast);
}

.header-scrolled {
  background: rgba(7, 10, 19, 0.9);
  padding: 0.5rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  fill: white;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-main);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
  padding: 11rem 0 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--color-cyan);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
}

.hero-slogan {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-svg {
  width: 100%;
  max-width: 450px;
  filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.2));
}

.hero-svg .animated-orbit {
  transform-origin: center;
  animation: rotateOrbit 20s linear infinite;
}

.hero-svg .animated-pulse {
  animation: pulseScale 4s ease-in-out infinite;
  transform-origin: center;
}

.hero-svg .animated-pulse-delayed {
  animation: pulseScale 4s ease-in-out infinite;
  animation-delay: 2s;
  transform-origin: center;
}

.hero-svg .floating-node {
  animation: floatNode 6s ease-in-out infinite;
}

.hero-svg .floating-node:nth-child(even) {
  animation-delay: 3s;
}

/* --- Animaciones CSS --- */
@keyframes rotateOrbit {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulseScale {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.08); opacity: 0.8; }
}

@keyframes floatNode {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* --- Section Global Settings --- */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section-title {
  font-size: 2.5rem;
  letter-spacing: -1px;
}

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

/* --- Grid de Servicios --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 182, 212, 0.25);
  box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
  transition: var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background: var(--gradient-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.service-icon-box svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.service-card-title {
  font-size: 1.3rem;
  font-weight: 600;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-cyan);
  margin-top: 0.5rem;
}

.service-card-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-card-link svg {
  transform: translateX(4px);
}

/* --- Sección Calculadora Interactiva --- */
.calculator-section {
  position: relative;
}

.calculator-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calc-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
}

.calc-label span:last-child {
  color: var(--color-cyan);
}

/* Estilos de inputs glassmorphism */
.calc-select, .calc-range {
  width: 100%;
}

.calc-select {
  background: rgba(11, 15, 25, 0.6);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%239ca3af'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2rem;
}

.calc-select:focus {
  border-color: var(--color-cyan);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.15);
}

/* Estilos del Switch personalizado */
.calc-switch-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 15, 25, 0.4);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
}

.calc-switch-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: .4s;
  border-radius: 34px;
  border: 1px solid var(--border-glass);
}

.slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-main);
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background: var(--gradient-primary);
  border-color: transparent;
}

input:checked + .slider::before {
  transform: translateX(24px);
  background-color: #ffffff;
}

/* Caja de Resultados de la Calculadora */
.calc-results {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}

.calc-results::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.result-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.result-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.result-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.result-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.result-price-glow {
  color: var(--color-cyan);
  text-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.result-period {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.calc-disclaimer {
  font-size: 0.8rem;
  color: var(--text-dark);
  line-height: 1.4;
}

/* --- Sección Contacto --- */
.contact-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
}

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

.contact-info-title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
}

.contact-info-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

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

.contact-method-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-indigo);
}

.contact-method-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-method-text h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-method-text p {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Formulario */
.contact-form {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

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

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-control {
  background: rgba(11, 15, 25, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: #ffffff;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
  width: 100%;
}

.form-control:focus {
  border-color: var(--color-indigo);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.15);
}

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

/* Feedback del Formulario */
.form-feedback {
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  margin-top: 0.5rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.form-feedback.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* --- Páginas Específicas / Subpáginas --- */

/* Hero de Subpáginas */
.subpage-hero {
  padding: 10rem 0 4rem 0;
  text-align: center;
}

.subpage-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 800px;
}

.subpage-title {
  font-size: 3.5rem;
  letter-spacing: -1.5px;
}

.subpage-lead {
  font-size: 1.25rem;
  color: var(--text-muted);
}

/* --- Estilos para servicios.html (Detalle) --- */
.plans-section {
  padding: 4rem 0;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.services-detailed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  align-items: stretch;
}

.plan-card,
.service-detail-card {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.plan-card.featured,
.service-detail-card.featured {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.1);
}

.plan-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--gradient-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
}

.service-detail-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  flex-grow: 1;
}

.service-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1.2rem;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.service-detail-card .plan-price {
  font-size: 2.2rem;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  line-height: 1;
  flex-shrink: 0;
}

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

.service-detail-card .plan-price span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.35rem;
}

.plan-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1.5rem;
}

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

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.plan-features li svg {
  width: 18px;
  height: 18px;
  fill: var(--color-cyan);
  flex-shrink: 0;
}

.plan-features li.disabled {
  color: var(--text-dark);
}

.plan-features li.disabled svg {
  fill: var(--text-dark);
}

/* Sección Proceso de Trabajo */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.process-step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  position: relative;
}

.process-step-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-darker);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-cyan);
  box-shadow: var(--shadow-glass);
}

.process-step:hover .process-step-num {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.process-step-title {
  font-size: 1.15rem;
  font-weight: 600;
}

.process-step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Estilos para clientes.html (Casos de Éxito) --- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.case-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.case-img-box {
  height: 200px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.case-img-box svg {
  width: 80px;
  height: 80px;
  opacity: 0.3;
}

.case-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}

.case-tag {
  color: var(--color-cyan);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.case-title {
  font-size: 1.35rem;
  line-height: 1.3;
}

.case-stats {
  display: flex;
  gap: 1.5rem;
  margin: 0.5rem 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.75rem 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-indigo);
}

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

.case-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Grid de Logotipos de Clientes */
.logo-cloud {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
  opacity: 0.85;
}

.client-logo {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 160px;
  height: 80px;
}

.client-logo svg {
  width: 100%;
  height: 100%;
  fill: var(--text-muted);
  transition: var(--transition-normal);
}

.client-logo:hover svg {
  fill: #ffffff;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

/* Testimonios */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
  font-size: 3.5rem;
  font-family: serif;
  color: rgba(6, 182, 212, 0.15);
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(6, 182, 212, 0.2);
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Estilos para nosotros.html (Sobre Nosotros) --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.value-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-indigo);
}

.value-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.value-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.value-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Equipo */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.team-card {
  text-align: center;
  overflow: hidden;
  padding: 2rem;
}

.team-avatar-box {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-glass);
}

.team-avatar-box svg {
  width: 60px;
  height: 60px;
  fill: var(--text-muted);
}

.team-name {
  font-size: 1.2rem;
  font-weight: 600;
}

.team-role {
  font-size: 0.85rem;
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* --- Pie de Página (Footer) --- */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 2rem 0;
  position: relative;
}

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

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

.footer-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.social-link:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(6, 182, 212, 0.2);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav-title {
  font-size: 1rem;
  font-weight: 600;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dark);
}

/* --- Media Queries --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-desc {
    max-width: 100%;
  }
  
  .hero-graphic {
    order: -1;
  }
  
  .hero-svg {
    max-width: 380px;
  }
  
  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 101;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: var(--blur-effect);
    -webkit-backdrop-filter: var(--blur-effect);
    border-left: 1px solid var(--border-glass);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    transition: right var(--transition-normal);
  }
  
  .nav.open {
    right: 0;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
  }
  
  .subpage-title {
    font-size: 2.75rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .calculator-wrapper {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}