/* ==========================================================================
   WEBFACTOR STUDIO - HOJA DE ESTILOS PRINCIPAL (CSS PURO Y MODERNO)
   Diseño: Mobile-First, Dark Luxury Tech, Glassmorphism, Micro-animaciones
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES DE DISEÑO & TOKENS DE COLOR
   -------------------------------------------------------------------------- */
:root {
  /* Paleta de Colores Futurista y Elegante */
  --bg-main: #07090e;
  --bg-surface: #0f141f;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(26, 34, 52, 0.85);
  --bg-glass: rgba(15, 20, 31, 0.8);
  
  /* Gradientes de Acento */
  --primary: #6366f1;         /* Indigo vibrante */
  --primary-glow: rgba(99, 102, 241, 0.35);
  --secondary: #06b6d4;       /* Cian Láser */
  --secondary-glow: rgba(6, 182, 212, 0.3);
  --accent: #8b5cf6;          /* Violeta Neón */
  --success: #10b981;         /* Esmeralda / WhatsApp */
  --warning: #f59e0b;         /* Ámbar de atención */
  
  --grad-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
  --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  --grad-border: linear-gradient(135deg, rgba(99, 102, 241, 0.5), rgba(6, 182, 212, 0.2), rgba(255, 255, 255, 0.05));
  
  /* Textos y Contrastes */
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(99, 102, 241, 0.5);

  /* Sombras y Luces */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px rgba(99, 102, 241, 0.3);
  --shadow-glow-cyan: 0 0 30px rgba(6, 182, 212, 0.3);

  /* Tipografías */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Transiciones y Curvas */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Contenedores y Medidas */
  --container-max: 1240px;
  --nav-height: 76px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
}

/* --------------------------------------------------------------------------
   2. RESET Y ESTILOS GLOBALES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Malla de Fondo con Gradiente Luminoso */
body::before {
  content: '';
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 800px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(6, 182, 212, 0.06) 45%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  bottom: 0;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* --------------------------------------------------------------------------
   3. TIPOGRAFÍA Y JERARQUÍAS
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
}

p {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
}

/* Efectos de Texto Gradiente Neón */
.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.text-cyan {
  color: var(--secondary);
}

.text-emerald {
  color: var(--success);
}

/* --------------------------------------------------------------------------
   4. LAYOUT Y CONTENEDORES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  position: relative;
}

@media (min-width: 1024px) {
  .section {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
}

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

/* --------------------------------------------------------------------------
   5. BOTONES Y LLAMADOS A LA ACCIÓN (CTAs)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.55), 0 0 20px rgba(6, 182, 212, 0.4);
}

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

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

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   6. HEADER & NAVBAR MODERNA CON BLUR
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background: transparent;
}

.header.scrolled {
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 1002;
}

.logo-img {
  height: 40px;
  width: auto;
}

/* Navegación de Escritorio */
.nav-menu {
  display: none;
}

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.8rem;
  }

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

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

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: width var(--transition-fast);
    border-radius: 2px;
  }

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

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

/* Botón Hamburguesa Móvil */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
}

@media (min-width: 992px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: #ffffff;
  border-radius: 4px;
  transition: all var(--transition-normal);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Menú Drawer Móvil */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 380px;
  height: 100vh;
  background: #0d121d;
  border-left: 1px solid var(--border-subtle);
  padding: 6rem 2rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-smooth);
  z-index: 1001;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
}

.mobile-nav.open {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 1000;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

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

.mobile-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-link:hover {
  color: var(--secondary);
}

/* --------------------------------------------------------------------------
   7. HERO SECTION DE ALTO IMPACTO
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero-section {
    padding-top: calc(var(--nav-height) + 5rem);
    padding-bottom: 6rem;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.95fr;
    gap: 4rem;
  }
}

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

@media (min-width: 992px) {
  .hero-content {
    text-align: left;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: #34d399;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: pulse-border 2.5s infinite;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
}

.hero-title {
  margin-bottom: 1.4rem;
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 580px;
}

@media (max-width: 991px) {
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 576px) {
  .hero-cta-group {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 992px) {
  .hero-cta-group {
    justify-content: flex-start;
  }
}

/* Indicadores de Confianza / Métricas Hero */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
}

@media (min-width: 640px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

@media (min-width: 992px) {
  .stat-item {
    text-align: left;
  }
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}

@media (min-width: 992px) {
  .stat-number {
    justify-content: flex-start;
  }
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* Escaparate Visual Hero */
.hero-visual-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition-normal);
}

.hero-visual-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
}

/* Barra superior de pestañas del mockup */
.mockup-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem 1rem 0.8rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.device-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-pill);
  padding: 2px;
  gap: 4px;
}

.device-btn {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.device-btn.active {
  background: var(--primary);
  color: #ffffff;
}

.hero-mockup-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-mockup-frame img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  transition: transform 0.6s ease;
}

.hero-visual-card:hover .hero-mockup-frame img {
  transform: scale(1.02);
}

/* Insignia Flotante en Hero */
.floating-feature-tag {
  position: absolute;
  bottom: -15px;
  left: 20px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid #10b981;
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  animation: float-slow 4s ease-in-out infinite;
}

.floating-feature-tag .icon-pulse {
  color: #10b981;
  font-size: 1.1rem;
}

.floating-feature-tag span {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   8. CLIENTES Y TECNOLOGÍAS (TRUST LOGOS CAROUSEL)
   -------------------------------------------------------------------------- */
.tech-banner {
  padding: 2rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(15, 20, 31, 0.3);
}

.tech-banner-label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.8rem 2.8rem;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  opacity: 0.7;
}

.tech-item:hover {
  color: #ffffff;
  opacity: 1;
  transform: translateY(-2px);
}

.tech-item svg {
  width: 22px;
  height: 22px;
}

/* --------------------------------------------------------------------------
   9. SERVICIOS (TARJETAS GLASSMORPHISM CON LUZ NEÓN)
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(99, 102, 241, 0.15);
}

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

.service-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  color: var(--secondary);
  font-size: 1.5rem;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-wrap {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}

.service-title {
  margin-bottom: 0.8rem;
}

.service-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.service-feature svg {
  width: 16px;
  height: 16px;
  color: #10b981;
  flex-shrink: 0;
}

.service-card-action {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition-fast);
}

.service-card:hover .service-card-action {
  gap: 0.7rem;
  color: #a5b4fc;
}

/* --------------------------------------------------------------------------
   10. COTIZADOR INTERACTIVO EN TIEMPO REAL (COMPONENTES CLAVE)
   -------------------------------------------------------------------------- */
.calculator-section {
  background: radial-gradient(circle at 50% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
}

.calculator-wrapper {
  background: var(--bg-card);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

@media (min-width: 768px) {
  .calculator-wrapper {
    padding: 3rem;
  }
}

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

@media (min-width: 992px) {
  .calc-grid {
    grid-template-columns: 1.35fr 0.95fr;
    gap: 3.5rem;
  }
}

.calc-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #ffffff;
}

.step-number {
  width: 26px;
  height: 26px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
}

/* Opciones de tipo de proyecto (Botones tipo tarjeta) */
.project-types-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

@media (min-width: 576px) {
  .project-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.type-radio-label {
  display: block;
  cursor: pointer;
}

.type-radio-label input {
  display: none;
}

.type-card {
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.type-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(99, 102, 241, 0.4);
}

.type-radio-label input:checked + .type-card {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.type-card-name {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.type-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Opciones de características adicionales (Checkboxes) */
.features-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

@media (min-width: 576px) {
  .features-checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.checkbox-label:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(6, 182, 212, 0.4);
}

.checkbox-label input {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}

.checkbox-label span {
  font-size: 0.9rem;
  font-weight: 500;
  color: #e2e8f0;
}

/* Urgencia / Tiempo de entrega */
.urgency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.urgency-label input {
  display: none;
}

.urgency-card {
  padding: 0.8rem 0.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.urgency-label input:checked + .urgency-card {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--secondary);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.urgency-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

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

/* Tarjeta de Resumen en Vivo del Cotizador */
.calc-summary-box {
  background: #0b0f17;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  position: relative;
}

.calc-summary-box::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--grad-primary);
}

.summary-header-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.summary-price-display {
  margin-bottom: 1.5rem;
}

.price-currency {
  font-size: 1.5rem;
  color: var(--text-muted);
  vertical-align: top;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.price-note {
  font-size: 0.8rem;
  color: #10b981;
  font-weight: 600;
  margin-top: 0.4rem;
}

.summary-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.2rem 0;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.summary-item strong {
  color: #ffffff;
}

.calc-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* --------------------------------------------------------------------------
   11. PORTAFOLIO Y CASOS DE ÉXITO
   -------------------------------------------------------------------------- */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(99, 102, 241, 0.2);
}

.project-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0f172a;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.05);
}

.project-badge-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: #38bdf8;
}

.project-info {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.project-metrics-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.2rem;
  width: fit-content;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  color: #94a3b8;
}

.project-links {
  display: flex;
  gap: 0.8rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

/* --------------------------------------------------------------------------
   12. TABLA COMPARATIVA (POR QUÉ ELEGIRNOS)
   -------------------------------------------------------------------------- */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

.comparison-table th,
.comparison-table td {
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}

.comparison-table th {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  color: #ffffff;
}

.comparison-table th.col-highlight {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border-top: 3px solid var(--primary);
}

.comparison-table td.col-highlight {
  background: rgba(99, 102, 241, 0.06);
  font-weight: 600;
  color: #ffffff;
}

.check-icon {
  color: #10b981;
  font-weight: bold;
}

.cross-icon {
  color: #ef4444;
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   13. PROCESO DE TRABAJO (PASO A PASO)
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  position: relative;
}

@media (min-width: 640px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  transition: all var(--transition-normal);
}

.process-step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.4);
}

.step-num-badge {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.step-desc {
  font-size: 0.88rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   14. TESTIMONIOS CON AVATARES
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
}

.stars-rating {
  color: #f59e0b;
  margin-bottom: 1rem;
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.7;
  color: #e2e8f0;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-client {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.client-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
}

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

/* --------------------------------------------------------------------------
   15. PREGUNTAS FRECUENTES (FAQ ACORDEÓN)
   -------------------------------------------------------------------------- */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

.faq-question {
  width: 100%;
  padding: 1.3rem 1.6rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  background: transparent;
  border: none;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform var(--transition-fast);
  color: var(--secondary);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.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: 300px;
  padding: 0 1.6rem 1.4rem 1.6rem;
}

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

/* --------------------------------------------------------------------------
   16. SECCIÓN DE CONTACTO & FORMULARIO
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }
}

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

.contact-card-method {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.contact-card-method:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateX(4px);
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.1);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-method-title {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.contact-method-detail {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Redes Sociales Grid */
.social-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  transition: all var(--transition-fast);
}

.social-pill-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
}

/* Formulario de Contacto */
.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

@media (min-width: 576px) {
  .contact-form-box {
    padding: 2.5rem;
  }
}

.form-group {
  margin-bottom: 1.4rem;
}

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

@media (min-width: 576px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.4rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(7, 9, 14, 0.8);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.25);
  background: rgba(15, 20, 31, 0.9);
}

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

/* --------------------------------------------------------------------------
   17. BOTÓN FLOTANTE DE WHATSAPP CON CHAT INTERACTIVO
   -------------------------------------------------------------------------- */
.whatsapp-widget-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.whatsapp-trigger-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
}

.whatsapp-trigger-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

/* Pulso animado detrás del botón */
.whatsapp-trigger-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}

.whatsapp-popup-chat {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 310px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  animation: popIn 0.25s ease-out forwards;
}

.whatsapp-popup-chat.open {
  display: flex;
}

.popup-header {
  background: #075e54;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
}

.popup-header-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.popup-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #128c7e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.popup-title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.1;
}

.popup-status {
  font-size: 0.72rem;
  color: #bbf7d0;
}

.popup-close-btn {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  cursor: pointer;
}

.popup-body {
  padding: 1rem;
  background: #0b1120;
}

.popup-message-bubble {
  background: #1e293b;
  padding: 0.8rem;
  border-radius: 10px;
  font-size: 0.85rem;
  color: #f1f5f9;
  line-height: 1.4;
  margin-bottom: 0.8rem;
  border-left: 3px solid #25d366;
}

.popup-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.quick-reply-btn {
  padding: 0.5rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: #38bdf8;
  font-size: 0.78rem;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quick-reply-btn:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

/* --------------------------------------------------------------------------
   18. TOAST NOTIFICACIONES VISUALES
   -------------------------------------------------------------------------- */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  border: 1px solid #10b981;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  color: #ffffff;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 2000;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
}

/* --------------------------------------------------------------------------
   19. FOOTER DE PIE DE PÁGINA
   -------------------------------------------------------------------------- */
.footer {
  background: #05070b;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-col-desc {
  font-size: 0.92rem;
  margin: 1.2rem 0;
  max-width: 320px;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

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

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

.footer-links-list a:hover {
  color: var(--secondary);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

.copyright-text {
  font-size: 0.85rem;
  color: var(--text-subtle);
}

/* --------------------------------------------------------------------------
   20. ANIMACIONES KEYFRAMES
   -------------------------------------------------------------------------- */
@keyframes pulse-border {
  0%, 100% { border-color: rgba(16, 185, 129, 0.3); }
  50% { border-color: rgba(16, 185, 129, 0.7); box-shadow: 0 0 15px rgba(16, 185, 129, 0.2); }
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

/* --------------------------------------------------------------------------
   21. ESTILOS PARA PÁGINAS INDIVIDUALES (ARQUITECTURA MULTI-PÁGINA)
   -------------------------------------------------------------------------- */
.page-hero {
  padding-top: calc(var(--nav-height) + 3.5rem);
  padding-bottom: 3.5rem;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.18) 0%, transparent 65%);
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 992px) {
  .page-hero {
    padding-top: calc(var(--nav-height) + 5rem);
    padding-bottom: 4.5rem;
  }
}

.page-hero-title {
  margin-bottom: 1rem;
}

.page-hero-desc {
  max-width: 680px;
  margin: 0 auto 1.5rem auto;
  font-size: 1.1rem;
  line-height: 1.7;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-subtle);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--secondary);
}

.breadcrumbs span {
  color: #a5b4fc;
}

.nav-link.active-page {
  color: #ffffff !important;
}

.nav-link.active-page::after {
  width: 100% !important;
}

.mobile-link.active-page {
  color: var(--secondary) !important;
}

/* Tablas detalladas de planes en página de servicios */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .pricing-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(99, 102, 241, 0.2);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.12) 0%, rgba(15, 20, 31, 0.9) 100%);
  border-color: var(--primary);
  box-shadow: 0 0 35px rgba(99, 102, 241, 0.3);
}

.pricing-badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: #ffffff;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-plan-name {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.pricing-plan-price {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  margin: 1rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.pricing-plan-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.5rem 0 2rem 0;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.pricing-feature-item svg {
  width: 18px;
  height: 18px;
  color: #10b981;
  flex-shrink: 0;
}

