/* ==========================================================================
   VARIABLES Y CONFIGURACIÓN INICIAL (Custom Properties)
   ========================================================================== */
:root {
  /* Paleta Slate e Índigo */
  --primary: #0ea5e9;
  --primary-hover: #0068b8;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-600: #475569;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --slate-400: #0081e8;
  --slate-500: #32a3ff;
  /* Fuentes y Bordes */
  --font-main: "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --transition: all 0.3s ease;
  --shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", "Inter", sans-serif;
  background-color: var(--slate-50);
  color: var(--slate-800);
  line-height: 1.6;
  margin: 0;
  padding-top: 80px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.grecaptcha-badge {
  width: 70px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  left: 3px !important;
  bottom: 95px !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  z-index: 9998 !important;
}

/* ==========================================================================
   SERVICES SECTION (Integrada y Optimizada para Desarrollo Web)
   ========================================================================== */
.services-section {
  max-width: 1250px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--slate-900);
  margin-bottom: 1rem;
  font-weight: 800;
}

.section-title p {
  color: var(--slate-600);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* Grid profesional */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* Tarjeta con efecto de elevación premium */
.card {
  background-color: white;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  border: 1px solid var(--slate-100);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(79, 70, 229, 0.3);
}

/* Icono con animación de rotación */
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(14, 165, 233, 0.1);
  color: #0ea5e9;
  border-radius: 12px;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.card:hover .card-icon {
  background-color: #0ea5e9;
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.card h3 {
  font-size: 1.4rem;
  color: var(--slate-900);
  margin-bottom: 1rem;
}

.card p {
  color: var(--slate-600);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Enlace "Saber más" integrado */
.card-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.card:hover .card-link {
  gap: 0.8rem;
}

/* ==========================================================================
   ABOUT SECTION (Uso de Grid con Imágenes y Contenido)
   ========================================================================== */
.about-section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 6rem 1rem;
}

.about-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 4rem;
  align-items: center;
}

/* NUEVO: Contenedor y estilos para la imagen de ilustración */
.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-about {
  max-width: 100%; /* Sigue siendo responsiva en ancho */
  height: auto; /* Por defecto */

  /* NUEVO: Forzamos una altura mayor sin deformar */
  height: 450px; /* Prueba subiendo este valor (ej. 480px, 500px) */
  object-fit: cover; /* Clave: ajusta y recorta sutilmente para rellenar */

  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

/* Efecto opcional: la imagen flota ligeramente al pasar el mouse */
.img-about:hover {
  transform: translateY(-5px);
}

.badge {
  color: var(--primary);
  background-color: rgba(79, 70, 229, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.about-content h2 {
  font-size: 2.5rem;
  color: #0f172a;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.about-features {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-features i {
  color: var(--primary);
  margin-right: 0.5rem;
}

/* ESTILOS EXCLUSIVOS PARA LAS RESEÑAS TIPO GOOGLE */
.google-reviews-section {
  padding: 80px 20px;
  background: #f8fafc;
}
.google-reviews-header {
  text-align: center;
  margin-bottom: 50px;
}
.google-rating-summary {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: white;
  padding: 15px 30px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}
.google-g-icon {
  font-size: 2rem;
  color: #4285f4;
  display: flex;
  align-items: center;
}
.stars-yellow {
  color: #fbbc05;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

/* CAMBIO AQUÍ: Usamos Flexbox centrado en lugar de Grid para que no se estire */
.google-reviews-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* CAMBIO AQUÍ: Le ponemos un ancho máximo a la tarjeta */
.google-review-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s;
  width: 100%;
  max-width: 400px;
  text-align: left;
}
.google-review-card:hover {
  transform: translateY(-5px);
}
.reviewer-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

/* CAMBIO AQUÍ: Ajuste perfecto para la foto real */
.reviewer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover; /* Evita que la foto se deforme */
  border: 2px solid #e2e8f0; /* Un borde sutil y elegante */
}

.reviewer-details h4 {
  margin: 0;
  font-size: 1rem;
  color: #0f172a;
}
.reviewer-details span {
  font-size: 0.8rem;
  color: #64748b;
}
.review-text {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.6;
}
.review-verified {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #10b981;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 15px;
}

/* ==========================================================================
   TECH STACK SECTION (Uso de Flexbox para Iconos)
   ========================================================================== */
.tech-stack {
  padding: 5rem 2rem;
  background-color: #4f46e508; /* Un fondo gris muy suave (slate-50) */
  text-align: center;
  border-top: 1px solid var(--slate-100);
}

.tech-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary); /* Tu color índigo */
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 3rem;
}

.tech-icons-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3.5rem; /* Espaciado generoso entre iconos */
}

.tech-icons-container i {
  color: var(--primary); /* Color neutro inicial */
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: default;
}

/* Ajuste opcional si sientes que el escalado es muy brusco con fa-4x */
.tech-icons-container i:hover {
  color: var(--primary-hover);
  transform: translateY(-8px) scale(1.05); /* Escala más sutil */
}

/* ==========================================================================
   PROCESS SECTION (Uso de Grid para Pasos del Proceso)
   ========================================================================== */
.process-section {
  padding: 5rem 2rem;
  background-color: white;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.process-card {
  padding: 2rem;
  border-left: 3px solid var(--primary); /* Línea de acento a la izquierda */
  background: #f8fafc;
  transition: transform 0.3s ease;
}

.process-card:hover {
  transform: translateY(-5px);
}

.step-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.process-card h3 {
  margin-bottom: 1rem;
  color: var(--slate-900);
}

/* ==========================================================================
   VALUE PROPOSITION SECTION
   ========================================================================== */
.value-proposition {
  padding: 8rem 2rem;
  background-color: white;
  text-align: left;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.value-proposition h2 {
  font-size: 2.5rem;
  color: #0f172a;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.value-proposition p {
  font-size: 1.25rem;
  color: var(--slate-600);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  color: var(--slate-800);
}

.feature-item i {
  color: var(--primary); /* Tu color índigo */
}

.cta-section .btn-primary {
  background-color: var(--primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
  display: inline-block;
}

/* ==========================================================================
   VALUE PROPOSITION SECTION (Propuesta de Valor)
   ========================================================================== */
.value-prop-section {
  background-color: #4f46e508;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

.vp-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Cabecera */
.vp-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.vp-header h2 {
  font-size: 2.5rem;
  color: #0f172a; /* Slate 900 */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.vp-header p {
  font-size: 1.15rem;
  color: #475569; /* Slate 600 */
  line-height: 1.7;
}

/* Sistema de Grid para las tarjetas */
.vp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

/* Diseño de Tarjetas (Cards) */
.vp-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Estado final (revelado) */
.vp-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.vp-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: #bae6fd; /* Borde sutil celeste al pasar el mouse */
}

/* Iconos Premium */
.vp-icon {
  width: 60px;
  height: 60px;
  background: rgba(14, 165, 233, 0.1); /* Fondo celeste transparente */
  color: #0ea5e9; /* Sky 500 */
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.vp-card:hover .vp-icon {
  background: #0ea5e9;
  color: #ffffff;
  transform: scale(1.05);
}

/* Texto dentro de las tarjetas */
.vp-card p {
  color: #334155;
  line-height: 1.6;
  font-size: 1.05rem;
  margin: 0;
}

/* Resaltar la negrita que viene de tus traducciones */
.vp-card p strong {
  display: block; /* Pone el título arriba del texto */
  font-size: 1.2rem;
  color: #0f172a;
  margin-bottom: 10px;
}

/* Botón secundario centrado */
.vp-action {
  text-align: center;
}

.btn-outline-primary {
  display: inline-block;
  padding: 14px 32px;
  border: 2px solid #0ea5e9;
  color: #0ea5e9;
  background: transparent;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline-primary i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn-outline-primary:hover {
  background: #0ea5e9;
  color: #ffffff;
}

.btn-outline-primary:hover i {
  transform: translateX(5px); /* Flecha animada */
}

/* Ajustes Responsive */
@media (max-width: 768px) {
  .vp-header h2 {
    font-size: 2rem;
  }
  .vp-header p {
    font-size: 1rem;
  }
  .vp-card {
    padding: 30px 20px;
    align-items: center;
    text-align: center;
  }
  .vp-card p strong {
    display: inline;
  } /* En móvil se ve mejor seguido */
}

/* ==========================================================================
   SECCIÓN DE CONTACTO HIGH-END
   ========================================================================== */
.contact-premium-section {
  background-color: #f8fafc; /* Fondo gris súper claro */
  padding: 100px 20px;
  position: relative;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Cabecera */
.contact-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.badge-tech {
  display: inline-block;
  background: rgba(14, 165, 233, 0.1);
  color: #0ea5e9;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.contact-header h2 {
  font-size: 2.8rem;
  color: #0f172a;
  font-weight: 900;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.contact-header p {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.6;
}

/* Sistema de Cuadrícula */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr; /* El formulario toma un poco más de espacio */
  gap: 40px;
  align-items: stretch;
}

/* Tarjetas Base (Cards) */
.contact-info-card,
.contact-form-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.05); /* Sombra difuminada muy elegante */
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* --- COLUMNA IZQUIERDA (Info) --- */
.contact-info-card h3 {
  font-size: 1.8rem;
  color: #0f172a;
  margin-bottom: 10px;
}

.info-desc {
  color: #64748b;
  margin-bottom: 35px;
  line-height: 1.6;
}

.info-items-wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 35px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.icon-wrapper {
  width: 50px;
  height: 50px;
  background: #f0f9ff;
  color: #0ea5e9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.text-wrapper strong {
  display: block;
  color: #0f172a;
  font-size: 1.05rem;
  margin-bottom: 3px;
}

.text-wrapper span {
  color: #475569;
  font-size: 0.95rem;
}

.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  height: 180px;
  /* Sombra sutil interna para el mapa */
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* --- COLUMNA DERECHA (Formulario) --- */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.input-group {
  margin-bottom: 25px;
}

.input-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

/* Estilos de Inputs y Textarea */
.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  background-color: #f8fafc; /* Fondo gris claro en lugar de blanco */
  border: 1px solid #e2e8f0; /* Borde muy suave */
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 1rem;
  color: #334155;
  transition: all 0.3s ease;
  font-family: inherit;
}

/* Estado Focus (Cuando el usuario escribe) */
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  background-color: #ffffff;
  border-color: #0ea5e9;
  /* Anillo de resplandor azul corporativo */
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
  outline: none;
}

/* Estilo personalizado para el Select */
.select-wrapper {
  position: relative;
}

.select-wrapper select {
  appearance: none; /* Quita la flecha por defecto fea del navegador */
  cursor: pointer;
}

.select-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none; /* Para no interferir con el clic */
}

/* Botón Premium */
.btn-submit-premium {
  width: 100%;
  background: #0ea5e9;
  color: #ffffff;
  border: none;
  padding: 18px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-submit-premium:hover {
  background: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

/* Responsive Móvil */
@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr; /* Apila una columna sobre la otra */
  }

  .contact-info-card,
  .contact-form-card {
    padding: 30px 20px; /* Menos espacio interior en celular */
  }

  .form-row {
    grid-template-columns: 1fr; /* Inputs de 100% de ancho en celular */
    gap: 0;
  }
}
/* ==========================================================================
   NAVBAR (Uso de Flexbox)
   ========================================================================== */

/* Busca tu clase del menú y asegúrate de que tenga esto: */
.navbar {
  background-color: rgb(255 255 255);
  position: fixed !important; /* Siempre fijo */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  transition:
    padding 0.3s ease,
    background-color 0.3s ease; /* Transición suave, sin brincos */
}
/* Contenedor del logo y texto para alinearlos perfectamente */
/* Contenedor principal: alinea la imagen con los textos */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.brand-logo img {
  width: 178px;
  margin-top: 4px;
  object-fit: contain;
}

/* NUEVO: Contenedor para apilar el nombre y el eslogan verticalmente */
.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* NUEVO: Estilos para que el eslogan se vea profesional */
.slogan {
  font-size: 0.75rem;
  color: #797979;
  font-weight: 500;
  margin-top: 0.2rem;
  letter-spacing: 0.5px;
}

.nav-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0.6rem 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  font-weight: 500;
  color: var(--slate-600);
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #0042b6;
}

.btn-nav {
  background-color: var(--slate-900);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn-nav:hover {
  background-color: var(--primary);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 15px;
  font-weight: 600;
  font-size: 0.9rem;
}

.lang-switcher a {
  color: #555;
  text-decoration: none;
}

.lang-switcher a.active {
  color: #0056b3;
  border-bottom: 2px solid #0056b3;
}

.mobile-lang {
  text-align: center;
  margin-top: 20px;
  font-weight: bold;
}

.mobile-lang a {
  text-decoration: none;
  color: #333;
}

.mobile-menu-overlay {
  display: none;
  /* Fuerza a que esté oculto desde la carga inicial */
}

/* ==========================================================================
           SELECTOR DE IDIOMAS PREMIUM (Pill Toggle)
           ========================================================================== */
.lang-switcher-pro {
  display: flex;
  align-items: center;
  background-color: #f1f5f9;
  /* Fondo gris muy sutil (Slate-100) */
  border-radius: 30px;
  padding: 4px;
  gap: 4px;
  margin: 0 15px;
  border: 1px solid #e2e8f0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 25px;
  text-decoration: none;
  color: #64748b;
  /* Texto inactivo (Slate-500) */
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-btn:hover {
  color: #0ea5e9;
  /* Azul Soportfix al pasar el mouse */
}

.lang-flag {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

/* Estado Activo (El idioma seleccionado) */
.lang-btn.active {
  background-color: #ffffff;
  color: #0ea5e9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.lang-btn.active .lang-flag {
  transform: scale(1.1);
  /* Efecto de resalte en la bandera activa */
}

/* Ajuste para la versión móvil */
.mobile-lang .lang-switcher-pro {
  justify-content: center;
  margin: 20px auto 0;
  max-width: 180px;
}

/* ==========================================================================
   Efecto de scroll para la navbar
   ========================================================================== */
.navbar,
.nav-container,
.nav-logo {
  transition: all 0.4s ease-in-out;
}

/* El estilo cuando hacemos scroll hacia abajo */
.navbar.scrolled {
  background-color: rgb(255, 255, 255);
  /* Un poquito más sólido */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  /* Sombra elegante para separarlo del contenido */
}

/* Reducimos el padding (espacio vertical) para que sea más delgado */
.navbar.scrolled .nav-container {
  padding: 0.3rem 1rem;
}

/* Hacemos el logo sutilmente más pequeño */
.navbar.scrolled .nav-logo {
  width: 120px;
}

/* Reducimos el tamaño de la palabra Soportfix al hacer scroll */
.navbar.scrolled .logo {
  font-size: 1.2rem;
  transition: all 0.4s ease-in-out;
  /* Baja de su tamaño original para ajustarse a la nueva altura */
}

/* Reducimos el tamaño del eslogan */
.navbar.scrolled .slogan {
  font-size: 0.65rem;
  transition: all 0.4s ease-in-out;

  /* TIP PRO: Muchas agencias ocultan el eslogan al hacer scroll para que el menú sea ultra minimalista. 
       Si prefieres ese estilo, borra el font-size de arriba y usa: display: none; */
}

/* ==========================================================================
    ESTILOS BASE (Ocultos en Escritorio)
    ========================================================================== */
.mobile-actions,
.menu-backdrop,
.mobile-menu-overlay {
  display: none;
  /* Ocultos por defecto en computadoras */
}

/* ==========================================================================
    VISTA MÓVIL (Menor a 768px) - REDISEÑO UX/UI PROFESIONAL
    ========================================================================== */
@media (max-width: 768px) {
  /* Ocultamos el menú de escritorio y el botón original */
  .nav-menu,
  .btn-nav {
    display: none !important;
  }

  .mobile-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-right: 5px;
  }

  .brand-logo img {
    width: 190px;
  }

  .mobile-icon {
    color: var(--slate-900, #1e293b);
    font-size: 1.6rem;
    text-decoration: none;
    transition: color 0.3s;
  }

  .hamburger-btn {
    background: none;
    border: none;
    font-size: 1.7rem;
    /* Un poco más grande para el pulgar */
    color: var(--slate-900, #1e293b);
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    /* Siempre por encima del menú */
    position: relative;
  }

  /* --- NUEVO: FONDO OSCURO (BACKDROP) --- */
  .menu-backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
  }

  .menu-backdrop.active {
    opacity: 1;
    visibility: visible;
  }

  /* --- NUEVO: PANEL LATERAL MÓVIL --- */
  .mobile-menu-overlay {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    /* Inicia fuera de la pantalla a la derecha */
    width: 75%;
    /* Ocupa el 75% de la pantalla */
    max-width: 320px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    padding: 115px 2rem 8rem;
    /* Espacio arriba para no tapar el navbar */
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Animación muy fluida */
    z-index: 999;
    overflow-y: auto;
  }

  .mobile-menu-overlay.active {
    right: 0;
    /* Entra a la pantalla */
  }

  .mobile-menu-links {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .mobile-menu-links a {
    text-decoration: none;
    color: var(--slate-800, #334155);
    font-size: 1.15rem;
    font-weight: 600;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
    /* Espacio entre el ícono y el texto */
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    /* Línea separadora sutil */
  }

  .mobile-menu-links a i {
    color: var(--primary, #0056b3);
    /* Color de tu marca para los íconos */
    font-size: 1.2rem;
    width: 25px;
    /* Alineación perfecta de íconos */
    text-align: center;
  }

  .mobile-menu-links a:hover,
  .mobile-menu-links a.active {
    color: var(--primary, #0056b3);
  }

  /* Botón de cotizar dentro del menú móvil */
  .mobile-cta-container {
    margin-top: auto;
    /* Empuja el botón hacia abajo si hay espacio */
    padding-top: 1rem;
  }

  .btn-nav-mobile {
    display: block;
    text-align: center;
    background-color: var(--primary, #0056b3);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.3);
  }

  /* 1. Oculta el selector de idiomas de la barra superior en celulares */
  .nav-container > .lang-switcher-pro {
    display: none !important;
  }

  /* 2. Asegura que los iconos de acción tengan su propio espacio y no se encimen */
  .mobile-actions {
    display: flex !important;
    align-items: center;
    gap: 30px;
    margin-top: -3px;
    /* Espacio entre el correo, teléfono y menú */
  }

  /* 3. Evita que el logo empuje los elementos */
  .brand-container img {
    max-width: 140px;
    /* Reduce ligeramente el logo en móviles si es necesario */
    height: auto;
  }
}

/* ==========================================================================
   PRELOADER (Integrada y Optimizada para Navegación)
   ========================================================================== */
#preloaderSoportfix {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #030712;
  /* Fondo oscuro exacto de tu web */
  z-index: 999999;
  /* Asegura que tape todo (incluso el menú) */
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

.loader-ring {
  width: 140px;
  height: 140px;
  border: 3px solid rgba(171, 56, 248, 0.05);
  /* Rastro sutil */
  border-top: 3px solid #0284c7;
  /* Color principal Soportfix */
  border-radius: 50%;
  animation: girar 1s linear infinite;
  position: absolute;
}

/* El logo en el centro */
.loader-logo {
  width: 70px;
  /* Ajusta este tamaño según tu logo PNG */
  height: auto;
  animation: latir 2s ease-in-out infinite;
}

/* Animaciones */
@keyframes girar {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes latir {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
    filter: drop-shadow(0 0 0px transparent);
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
    filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.4));
  }

  100% {
    transform: scale(0.9);
    opacity: 0.7;
    filter: drop-shadow(0 0 0px transparent);
  }
}

/* Clase que aplicaremos con JavaScript para ocultarlo */
.preloader-oculto {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* ==========================================================================
   SECCIÓN PARALLAX HIGH-END (Cero Lag / Aceleración GPU)
   ========================================================================== */

/* 1. EL CONTENEDOR (Actúa como una ventana) */
.parallax-section,
.parallax-section-servicios {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* MAGIA: Esto recorta el contenido fijo para que solo se vea dentro de esta sección */
  clip-path: inset(0 0 0 0);
}

/* 2. LA CAPA DE IMAGEN (100% acelerada por hardware) */
.parallax-bg {
  position: fixed; /* Reemplaza al background-attachment */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -2; /* La mandamos al fondo */
  will-change: transform;
  transform: translateZ(
    0
  ); /* Obliga a la tarjeta gráfica a renderizarla inmediatamente */
}

/* 3. CAPA OSCURA (Overlay corporativo) */
.parallax-section::before,
.parallax-section-servicios::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6); /* Slate 900 */
  z-index: -1;
}

/* 4. TEXTOS DEL PARALLAX */
.parallax-section .content-parallax,
.parallax-section-servicios .content-parallax {
  position: relative;
  color: white;
  text-align: center;
  z-index: 1;
  padding: 0 20px;
}

.parallax-section .content-parallax h2,
.parallax-section-servicios .content-parallax h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.parallax-section .content-parallax p,
.parallax-section-servicios .content-parallax p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  color: #e2e8f0;
}

/* ==========================================================================
   RESPONSIVE MÓVIL (Scroll Nativo)
   ========================================================================== */
@media (max-width: 1023px) {
  .parallax-section,
  .parallax-section-servicios {
    min-height: 50svh;
    clip-path: none; /* Desactivamos la ventana en celular */
    overflow: hidden;
  }

  .parallax-bg {
    position: absolute; /* Cambia de fijo a absoluto en móviles para fluidez */
    height: 100%; /* Se ajusta a la sección en vez de a la pantalla */
    transform: none;
  }

  .parallax-section .content-parallax h2,
  .parallax-section-servicios .content-parallax h2 {
    font-size: 2rem;
  }
}

/* ==========================================================================
   FAQ SECTION (Diseño de Preguntas Frecuentes con Interactividad)
   ========================================================================== */
.faq-section {
  padding: 60px 20px;
  background-color: #f8f9fa; /* Un gris muy claro para separar del fondo blanco */
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-section h2 {
  text-align: center;
  color: #333;
  margin-bottom: 10px;
  font-size: 2.5rem;
  font-weight: 800;
}

.faq-subtitle {
  font-size: 1.1rem;
  text-align: center;
  color: #666;
  margin-bottom: 40px;
}

.faq-item {
  background: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.faq-question:hover {
  color: #0056b3; /* Cambia esto por el azul principal de Soportfix */
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background-color: #ffffff;
}

.faq-answer p {
  padding: 0 20px 20px 20px;
  margin: 0;
  color: #555;
  line-height: 1.6;
}

/* Clases dinámicas que agregará el JavaScript */
.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* ==========================================================================
   COTIZADOR SECTION (Diseño de Cotizador Interactivo con Tarjetas)
   ========================================================================== */
.cotizador-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.cotizador-container {
  max-width: 1170px;
  margin: 0 auto;
}

.cotizador-container h2 {
  font-size: 2.5rem;
  color: #333;
  font-weight: 800;
  text-align: center;
}

.cotizador-container p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
  text-align: center;
}

.cotizador-bloque {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.cotizador-bloque h3 {
  color: #0056b3;
  margin-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
}

.opciones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

/* Estilo de la Tarjeta */
.opcion-card {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 35px 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
}

.opcion-card input {
  display: none;
}

.opcion-card i {
  font-size: 2rem;
  color: #666;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.opcion-card h4 {
  font-size: 1.3rem;
  color: #004a99;
  margin-bottom: 5px;
}

.opcion-card p {
  font-size: 0.85rem;
  color: #777;
  margin: 10px;
}

.opcion-card:hover {
  border-color: #0056b3;
  background-color: #f0f8ff;
}

.opcion-card:has(input:checked) {
  border-color: #0056b3;
  background-color: #e6f2ff;
  box-shadow: 0 4px 8px rgba(0, 86, 179, 0.2);
}

.opcion-card:has(input:checked) i,
.opcion-card:has(input:checked) h4 {
  color: #0056b3;
}

/* Estilos para las listas dentro de los paquetes */
.lista-paquete {
  text-align: center;
  color: #555;
  margin-top: 10px;
  font-size: 0.9rem;
  margin: 20px;
}

.lista-paquete li {
  margin-bottom: 18px;
  line-height: 1.5;
}

.lista-paquete strong {
  color: #333;
}

/* Barra de progreso */
.progreso-cotizador {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  background: #e9ecef;
  border-radius: 30px;
  overflow: hidden;
}

.paso-indicador {
  flex: 1;
  text-align: center;
  padding: 10px;
  color: #666;
  font-weight: bold;
  transition: all 0.3s;
}

.paso-indicador.activo {
  background: #0056b3;
  color: white;
}

.paso-cotizador {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   SISTEMA DE NAVEGACIÓN Y PRECIO CENTRADO INLINE
   ========================================================================== */
.botones-pasos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

/* Repartimos el espacio en 3 columnas exactamente iguales */
.botones-pasos > div {
  flex: 1;
}

/* Alineación de la izquierda (Botón Atrás) */
.botones-pasos > div:first-child {
  display: flex;
  justify-content: flex-start;
}

/* Alineación del centro (Texto de Inversión y Precio) */
.botones-pasos > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Alineación de la derecha (Botón Siguiente / Enviar) */
.botones-pasos > div:last-child {
  display: flex;
  justify-content: flex-end;
}

/* Estilos informativos del precio */
.precio-paso-container {
  text-align: center;
}

.txt-inversion {
  display: block;
  font-size: 0.8rem;
  color: #777;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.precio-total-display {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0b132b; /* Tu color azul corporativo oscuro para máxima elegancia */
}

/* Estilos de los Botones de Acción */
.btn-siguiente,
.btn-atras,
.btn-cta {
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  transition: 0.3s;
  white-space: nowrap;
}

.btn-siguiente,
.btn-cta {
  background: #0056b3;
  color: white;
}

.btn-siguiente:hover,
.btn-cta:hover {
  background: #004494;
  color: #e2e2e2;
}

.btn-atras {
  background: #f1f1f1;
  color: #333;
}

.btn-atras:hover {
  background: #e2e2e2;
}

/* Inputs del paso 3 */
.formulario-final {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.input-cotizador {
  padding: 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.input-cotizador:focus {
  border-color: #0056b3;
  outline: none;
}

/* ==========================================================================
   ESTILOS DEL PASO 3: OBJETIVOS Y RUTA SUGERIDA
   ========================================================================== */
.objetivos-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.objetivo-pill {
  cursor: pointer;
  user-select: none;
}

.objetivo-pill input[type="checkbox"] {
  display: none; /* Ocultamos el checkbox real */
}

.pill-ui {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  color: var(--slate-800, #334155);
  font-weight: 500;
  transition: all 0.3s ease;
  background: #fff;
  font-size: 0.95rem;
}

/* Estado activo del Pill */
.objetivo-pill input[type="checkbox"]:checked + .pill-ui {
  background-color: var(--slate-900, #0f172a);
  border-color: var(--slate-900, #0f172a);
  color: #fff;
  /* Simulamos el puntito naranja del video con un pseudo-elemento */
  padding-left: 35px;
  position: relative;
}

.objetivo-pill input[type="checkbox"]:checked + .pill-ui::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: #f97316; /* Naranja estilo Soportfix/Video */
  border-radius: 50%;
}

/* Caja de Ruta Sugerida */
.ruta-box {
  background-color: #fdf8f6; /* Fondo beige muy sutil */
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  animation: fadeIn 0.4s ease;
}

.ruta-box h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #c2410c; /* Texto naranja oscuro */
  margin-bottom: 15px;
  font-weight: 700;
}

.ruta-item {
  margin-bottom: 15px;
}

.ruta-item strong {
  display: block;
  color: var(--slate-900);
  margin-bottom: 5px;
}

.ruta-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--slate-600);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Adaptación fluida para pantallas móviles */
@media (max-width: 600px) {
  .botones-pasos {
    flex-direction: column;
    gap: 15px;
  }
  .botones-pasos > div {
    width: 100%;
    justify-content: center !important;
  }
  .btn-siguiente,
  .btn-atras,
  .btn-cta {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   SECCIÓN PORTAFOLIO - SOPORTFIX
   ========================================================================== */

.portfolio-section {
  padding: 80px 0;
  background-color: #f8fafc; /* Slate muy claro para contraste */
}

/* ==========================================================================
   1. CORRECCIÓN ESTRUCTURAL: El Contenedor Base
   ========================================================================== */
.container-web {
  max-width: 1200px; /* Límite máximo de ancho */
  margin: 0 auto; /* Centrado automático en la pantalla */
  padding: 0 20px; /* Margen de seguridad para móviles */
}

/* Cabecera del Portafolio */
.portfolio-section .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.portfolio-section .section-title h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 10px;
}

.portfolio-section .section-title p {
  color: #64748b;
  font-size: 1.1rem;
}

/* ==========================================================================
   2. LA CUADRÍCULA (GRID)
   ========================================================================== */
.portfolio-grid {
  display: grid;
  /* Cambio auto-fit por columnas definidas para evitar estiramientos no deseados */
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ==========================================================================
   3. DISEÑO DE LA TARJETA Y EFECTOS HOVER
   ========================================================================== */
.portfolio-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(30, 41, 59, 0.05); /* Sombra suave Slate */
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    border-color 0.4s ease;
}

/* Efecto Hover High-End */
.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 41, 59, 0.12);
  border-color: rgba(14, 165, 233, 0.3); /* Destello sutil en azul/índigo */
}

/* ==========================================================================
   4. IMAGEN DE LA TARJETA (Consolidado)
   ========================================================================== */
.portfolio-img-box {
  height: 220px;
  position: relative;
  overflow: hidden;
  background-color: #1e293b; /* Fondo de respaldo Slate oscuro */
  display: block; /* Mejor que flex para imágenes dentro de enlaces a */
}

/* Capa de gradiente sutil sobre la imagen para dar profundidad */
.portfolio-img-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(30, 41, 59, 0) 50%,
    rgba(30, 41, 59, 0.3) 100%
  );
  z-index: 2;
  pointer-events: none; /* Permite clics hacia la imagen/enlace */
}

/* Control estructural de la imagen */
.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Recorta proporcionalmente */
  object-position: top center; /* Prioriza la parte superior de las páginas web */
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1;
}

/* Zoom de alta fidelidad al Hover */
.portfolio-card:hover .portfolio-img {
  transform: scale(1.06);
}

/* ==========================================================================
   5. CONTENIDO DE TEXTO Y ETIQUETAS
   ========================================================================== */
.portfolio-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Empuja los íconos de tecnología hacia abajo */
}

.portfolio-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.tag-system {
  background-color: rgba(14, 165, 233, 0.1);
  color: #0ea5e9;
}

.tag-ecommerce {
  background-color: rgba(231, 157, 82, 0.15);
  color: #ea580c; /* Color optimizado para mayor legibilidad */
}

.portfolio-card h3 {
  font-size: 1.35rem;
  color: #1e293b;
  margin: 0 0 12px 0;
  font-weight: 700;
}

.portfolio-card p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* ==========================================================================
   6. ICONOS DE TECNOLOGÍA
   ========================================================================== */
.portfolio-techs {
  display: flex;
  gap: 14px;
  color: #94a3b8;
  font-size: 1.25rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}

.portfolio-techs i {
  transition: color 0.3s ease;
  cursor: help;
}

/* Cambio de color al hover de la tarjeta */
.portfolio-card:hover .portfolio-techs i.fa-php {
  color: #777bb4;
}
.portfolio-card:hover .portfolio-techs i.fa-js {
  color: #f7df1e;
}
.portfolio-card:hover .portfolio-techs i.fa-database {
  color: #00758f;
}
.portfolio-card:hover .portfolio-techs i.fa-css3-alt {
  color: #1572b6;
}
.portfolio-card:hover .portfolio-techs i.fa-html5 {
  color: #e34f26;
}

/* ==========================================================================
   7. DISEÑO RESPONSIVO
   ========================================================================== */
@media (max-width: 991px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en Tablets */
  }
}

@media (max-width: 768px) {
  .portfolio-section {
    padding: 60px 0;
  }
  .portfolio-grid {
    grid-template-columns: 1fr; /* 1 columna en celulares */
    gap: 20px;
  }
}

/* ==========================================================================
   SECCIÓN PAQUETES (Pricing Cards)
   ========================================================================== */
.pricing-section {
  padding: 5rem 2rem;
  background-color: #f8fafc;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.pricing-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
  border: 1px solid #e2e8f0;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.pricing-card.popular {
  border: 2px solid #0ea5e9;
  transform: scale(1.03); /* Ligeramente más grande para destacar */
}

.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-10px);
}

.badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #0ea5e9;
  color: white;
  padding: 4px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-header h3 {
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 1rem 0;
}

.pricing-price span {
  font-size: 1rem;
  color: #64748b;
  font-weight: normal;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  flex-grow: 1; /* Empuja el botón hacia abajo */
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1rem;
  color: #475569;
  font-size: 0.95rem;
}

.pricing-features i {
  color: #10b981; /* Verde éxito */
  margin-top: 3px;
}

.pricing-precio {
  font-size: 3.5rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}
.pricing-precio-p {
  font-size: 1.15rem;
  color: #475569;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
           LEGAL PAGES STYLES (Aviso de Privacidad / Términos y Condiciones)
           ========================================================================== */

.legal-hero {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  text-align: center;
  padding: 70px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.legal-hero p {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

.legal-section {
  padding: 60px 20px;
  background-color: #f8fafc;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
}

.legal-card {
  background: #ffffff;
  padding: 50px 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(30, 41, 59, 0.03);
  border: 1px solid #e2e8f0;
}

.legal-date {
  font-size: 0.9rem;
  color: #0ea5e9;
  font-weight: 600;
  margin-bottom: 35px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.legal-block {
  margin-bottom: 35px;
}

.legal-block:last-child {
  margin-bottom: 0;
}

.legal-block h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 15px;
  letter-spacing: -0.3px;
}

.legal-block p {
  color: #475569;
  line-height: 1.75;
  font-size: 1.02rem;
  margin-bottom: 15px;
  text-align: justify;
}

.legal-block ul,
.legal-block ol {
  margin-bottom: 15px;
  padding-left: 25px;
}

.legal-block li {
  color: #475569;
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 8px;
}

.legal-block strong {
  color: #1e293b;
}

@media (max-width: 768px) {
  .legal-hero h1 {
    font-size: 2rem;
  }
  .legal-hero p {
    font-size: 1rem;
  }
  .legal-card {
    padding: 30px 20px;
  }
  .legal-block h2 {
    font-size: 1.2rem;
  }
  .legal-block p,
  .legal-block li {
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   HIGH-END STATIC HERO SECTION
   ========================================================================== */
.hero-static-section {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #0f172a; /* Slate 900 de respaldo */
}

/* Capa de la imagen */
.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* AQUÍ COLOCAS LA RUTA DE TU IMAGEN */
  background-image: url("https://web.soportfix.com/img/hero-fondo.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Filtro degradado para garantizar legibilidad */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Degradado oscuro: de azul corporativo a negro */
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.4) 0%,
    rgba(2, 6, 23, 0.65) 100%
  );
  z-index: 1;
}

/* Contenedor del texto */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 950px;
  padding: 0 20px;
  color: #ffffff;
}

/* Estilos de Tipografía */
.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgb(14 165 233 / 53%);
  border: 1px solid #0ab3ff;
  color: #ffffff;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-size: 1.3rem;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Botones */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn-premium {
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-premium.primary {
  background-color: #0ea5e9;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.btn-premium.primary:hover {
  background-color: #0284c7;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.6);
}

.btn-premium.secondary {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-premium.secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-3px);
}

/* Clases de Animación Escalonada (Cero Lag) */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUpAnim 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform;
}

@keyframes fadeInUpAnim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.4rem; /* Tamaño optimizado para móviles */
    line-height: 1.3; /* AQUÍ ESTÁ LA MAGIA: Aumentamos el espacio entre líneas */
    letter-spacing: -0.7px; /* Relajamos un poco las letras */
    margin-bottom: 15px;
  }
  .hero-description {
    font-size: 1.05rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .btn-premium {
    width: 100%;
  }
}

/* ==========================================================================
    ESTILOS PARA LA NUEVA IMAGEN DEL HERO (servicios.php)
    ========================================================================== */
.img-hero-custom {
  max-width: 100%; /* Totalmente responsiva */
  height: auto;

  /* Mismos estilos de bordes y sombras que tus otras imágenes para consistencia */
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  /* Animación suave al pasar el mouse (efecto UX) */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.img-hero-custom:hover {
  transform: translateY(-5px); /* Flota sutilmente */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12); /* Sombra más pronunciada al hover */
}

/* Pequeño ajuste para centrar verticalmente la imagen en el grid en laptops */
.hero-container {
  align-items: center;
}

/* ==========================================================================
   BANNER DE COOKIES (Diseño Moderno y No Intrusivo)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #0f172a; /* Slate 900 */
  color: #ffffff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 11000;
  font-family: Arial, sans-serif;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner a {
  color: #0ea5e9; /* Sky 500 */
  text-decoration: underline;
  font-weight: bold;
}

.cookie-banner button {
  background-color: #0ea5e9;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  margin-left: 20px;
  transition: background 0.3s;
}

.cookie-banner button:hover {
  background-color: #0284c7;
}

/* Responsive */
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
  .cookie-banner button {
    margin-left: 0;
    margin-top: 15px;
    width: 100%;
  }
}

/* ==========================================================================
   DISEÑO RESPONSIVO (Móviles y Tablets)
   ========================================================================== */
@media (max-width: 768px) {
  /* 3. SECCIÓN DE SERVICIOS Y CUADRÍCULAS */
  /* Asumiendo que usas Grid para tus tarjetas de servicios */
  .servicios-grid,
  .metodologia-grid {
    grid-template-columns: 1fr; /* Cambia de varias columnas a 1 sola columna */
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .section-title h2 {
    font-size: 2.1rem;
    line-height: 1.4;
  }

  .card p {
    color: var(--slate-600);
    font-size: 1.1rem;
  }

  .services-section {
    padding: 4rem 1rem;
  }

  /* 5. SECCIÓN DE VALOR (Valor Proposición) */
  .value-proposition h2 {
    font-size: 2.1rem;
    line-height: 1.2;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
  }

  .value-proposition {
    padding: 4rem 2rem;
    background-color: white;
    text-align: left;
  }

  .value-proposition p {
    font-size: 1.1rem;
    color: var(--slate-600);
    margin-bottom: 3rem;
    line-height: 1.7;
  }

  /* 6. SECCIÓN DE ACERCA DE (About) */
  .about-section {
    padding: 6rem 1.2rem;
  }

  .about-content h2 {
    font-size: 2.1rem;
    line-height: 1.3;
  }

  .about-content p {
    font-size: 1.1rem;
  }

  .about-features {
    font-size: 1.1rem;
  }

  .img-about {
    height: auto; /* Dejamos que la altura se calcule sola en base al ancho */
    max-height: 400px; /* Le ponemos un tope para que no crezca exageradamente */
    object-fit: cover; /* Volvemos a cover, pero... */
    object-position: left center; /* ...aseguramos que se ancle a la izquierda, donde está el cohete y lo importante */
    width: 100%; /* Que ocupe todo el ancho de su columna */
    /* Eliminamos el background-color y el padding que causaban el problema del "cuadro" */
  }

  .section-title {
    font-size: 2.1rem;
  }

  .faq-section h2 {
    font-size: 2.1rem;
    line-height: 1.2;
  }

  .parallax-section .content-parallax p {
    font-size: 1.2rem;
    max-width: 400px;
    margin: 0 auto;
    margin: 20px;
  }

  h2 {
    font-size: 2.1rem;
    margin-bottom: 1rem;
    line-height: 1.3;
  }

  .contact-web-section {
    padding: 4rem 1rem;
    background-color: #f8fafc;
  }

  /* NUEVO: Ajustes para la sección de cotizador en móviles */
  .cotizador-section {
    padding: 70px 19px;
  }

  .cotizador-container h2 {
    font-size: 2.1rem;
    margin-top: 25px;
  }

  /* Ajustes para la barra de resultados en móviles */
  #precio-total {
    font-size: 1.3rem; /* Un poco más pequeño para que no robe tanto espacio vertical */
  }

  .lista-paquete {
    font-size: 1.1rem;
  }

  .opcion-card {
    padding: 35px 0px;
  }

  .lista-paquete li {
    margin-bottom: 24px;
    line-height: 1.6;
  }

  .opcion-card h4 {
    font-size: 1.6rem;
    margin-bottom: 5px;
  }

  .parallax-section-servicios .content-parallax {
    margin: 10px;
  }
}
