/* CSS Document */

:root {
  /* PALETA DE COLORES 'ORANGE TECH' (Adaptada) */
  --bg-dark: #121212;      /* Negro/Gris muy oscuro */
  --bg-navy: #1a1a1a;      /* Gris oscuro */
  --bg-slate: #252525;     /* Gris medio */
  
  /* ACENTOS */
  --accent-cyan: #ff9e42;  /* Naranja claro (reemplaza al cyan) */
  --accent-blue: #ff6b00;  /* Naranja fuerte principal (reemplaza al azul) */
  --accent-glow: rgba(255, 107, 0, 0.4); /* Resplandor naranja */

  --text-light: #f8fafc;
  --text-muted: #d1d5db;
  
  --card-bg: rgba(30, 30, 30, 0.85);
  --card-border: rgba(255, 107, 0, 0.2);
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  /* Cambio del degradado de fondo azulado a uno gris oscuro neutro */
  background: radial-gradient(circle at top center, #2a2a2a, var(--bg-dark) 60%);
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
}

/* HEADER */
header {
  padding: 15px 20px;
  background: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
}

.iso-box {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  border-radius: 10px;
  box-shadow: 0 0 15px var(--accent-glow);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Flecha de Crecimiento */
.iso-box::after {
  content: '';
  width: 10px;
  height: 10px;
  border-top: 3px solid white;
  border-right: 3px solid white;
  transform: rotate(-15deg);
  margin-top: 4px;
  margin-left: -2px;
}

.logo-text {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

/* NAV - DESKTOP */
nav { display: none; }

/* MENU TOGGLE (BOTÓN HAMBURGUESA MEJORADO) */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  
  width: 40px;
  height: 40px;
  
  /* Fondo Degradado */
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  
  border: none;
  border-radius: 8px;
  cursor: pointer;
  z-index: 1100;
  
  /* Sombra Glow */
  box-shadow: 0 0 10px var(--accent-glow); 
  transition: transform 0.2s ease;
}

.menu-toggle:active {
  transform: scale(0.95);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--card-border);
  flex-direction: column;
  padding: 10px 0;
}

.mobile-menu.active { display: flex; }

.mobile-menu a {
  color: var(--text-light);
  text-decoration: none;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 1.1rem;
}

/* HERO */
.hero {
  text-align: center;
  padding: 100px 20px;
  position: relative;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin: 0 0 15px 0;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(to right, #fff, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- CAMBIO MOBILE: Subtítulo Hero más grande --- */
.hero p {
  color: var(--text-muted);
  font-size: 1.35rem; /* AUMENTADO PARA MOBILE (antes 1.1) */
  margin-bottom: 30px;
  line-height: 1.5;
}

/* BOTONES */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 20px var(--accent-glow);
  transition: transform 0.2s, box-shadow 0.2s;
  
  /* NUEVO: AUMENTADO TAMAÑO DE TEXTO BOTONES (PARA TODOS) */
  font-size: 1.2rem; 
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--accent-glow);
}

.btn-small {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.85rem;
  transition: all 0.3s;
}

.btn-small:hover {
  background: var(--accent-cyan);
  color: var(--bg-dark);
  border-color: var(--accent-cyan);
}

/* Botones con Icono */
.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 12px; /* Gap aumentado un poco */
}

.btn-icon svg {
  /* ÍCONO MÁS GRANDE PARA ACOMPAÑAR EL TEXTO */
  width: 24px; 
  height: 24px;
  fill: currentColor;
}

/* LAYOUT & CARDS */
main {
  padding: 20px;
  max-width: 1000px;
  margin: auto;
}

.section-title {
  font-size: 2.0rem;
  margin-bottom: 25px;
  font-weight: 700;
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
}

/* Títulos de Tarjeta (incluyendo preguntas del FAQ) */
.card h3 {
  margin-top: 0;
  color: var(--text-light);
  font-size: 1.3rem;
}

/* --- CAMBIO MOBILE: Párrafos de tarjeta más grandes --- */
.card p {
  font-size: 1.35rem; /* AUMENTADO PARA MOBILE (antes 1.2) */
  line-height: 1.6;
}

/* --- ESTILOS ESPECÍFICOS PARA FAQ --- */
.card h4 { 
  font-size: 1.3rem; 
  color: var(--text-light);
  margin: 0 0 10px 0; 
}

#faq .card p {
  font-size: 1.35rem; /* AUMENTADO PARA MOBILE (antes 1.2) */
  color: var(--text-muted);
  margin: 0;
}

#faq .card {
   padding: 20px; 
}

/* --- CAMBIO MOBILE: Texto general más grande --- */
.text-muted {
  color: var(--text-muted);
  font-size: 1.35rem; /* AUMENTADO PARA MOBILE (antes 1.2) */
}

.mb-20 { margin-bottom: 20px; }
.mt-60 { margin-top: 60px; }

.divider {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 60px 0;
}

/* --- CAMBIO MOBILE: Footer más grande --- */
footer {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 1.3rem; /* AUMENTADO PARA MOBILE (antes 1.1) */
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 60px;
  line-height: 1.6;
}

/* NUEVO: Estilos para enlaces dentro del Footer */
footer a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

footer a:hover {
  color: var(--accent-cyan);
}

/* AGREGADO FOOTER (LOGOS) */
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.footer-partners {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
}

.partner-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* --- CAMBIO MOBILE: Etiquetas footer más grandes --- */
.partner-label {
  font-size: 1.1rem; /* AUMENTADO PARA MOBILE (antes 0.9) */
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
}

.partner-logo {
  height: 45px;
  width: auto;
  object-fit: contain;
  filter: brightness(0.9);
  transition: filter 0.3s;
}

.partner-logo:hover {
  filter: brightness(1.2);
}

/* BOTÓN FLOTANTE WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 2000;
  transition: transform 0.3s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ESTILOS PARA SECCIÓN NOSOTROS (STATS) - MOBILE BASE */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.stats-container {
  display: grid;
  /* Forzamos 2 columnas en mobile en lugar de 3 */
  grid-template-columns: repeat(2, 1fr); 
  gap: 15px;
  margin-top: 20px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 10px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s;
}

.stat-box:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
  border-color: var(--accent-cyan);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 5px;
}

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

/* Estilo Contact Card */
.card.contact-call-to-action {
  border: 1px solid var(--accent-cyan);
  background: rgba(255, 107, 0, 0.1); /* Ajustado a naranja transparente */
}

/* =========================================
   MEDIA QUERIES (PC / DESKTOP)
   Aquí es donde ocurre la magia para la pantalla grande
   ========================================= */
@media (min-width: 950px) {
  
  /* 1. RESETEO DE TAMAÑOS DE TEXTO PARA DESKTOP */
  .hero p { font-size: 1.2rem; }
  .card p { font-size: 1.2rem; }
  #faq .card p { font-size: 1.2rem; }
  .text-muted { font-size: 1.2rem; }
  footer { font-size: 1.1rem; }
  .partner-label { font-size: 0.9rem; }
  
  /* 2. Expandir el ancho del contenido principal en PC */
  main {
    max-width: 1250px; 
  }

  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }

  nav {
    display: flex;
    gap: 20px;
    align-items: center;
  }

  nav a {
    color: white;
    text-decoration: none;
    font-size: 1.0rem;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
    position: relative;
  }

  nav a:hover { color: var(--accent-cyan); }

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

  .hero h1 { font-size: 4rem; }

  /* Footer Desktop */
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    text-align: left;
  }

  .footer-partners {
    flex-direction: row;
    gap: 40px;
  }

  .partner-group {
    align-items: flex-start;
  }

  /* --- AJUSTES "NOSOTROS" PARA DESKTOP --- */
  
  .about-grid {
    grid-template-columns: 1.3fr 1fr; /* Columna Izq (texto) más ancha que la Derecha */
    align-items: center;
    gap: 80px; /* MUCHO MÁS ESPACIO entre texto y cajas */
  }
  
  /* El texto de la izquierda */
  .about-text-card {
    padding: 50px 40px; /* Más aire dentro de la tarjeta de texto */
  }

  /* El contenedor de las cajas (Derecha) */
  .stats-container {
    margin-top: 0;
    grid-template-columns: repeat(2, 1fr); /* Grilla de 2x2 */
    gap: 30px; /* Más espacio entre cajas */
  }
  
  /* Las cajas individuales más grandes */
  .stat-box {
    padding: 50px 20px; /* Cajas más altas */
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 160px; /* Altura mínima asegurada */
  }
  
  /* Números gigantes */
  .stat-number {
    font-size: 3.5rem; /* Números mucho más grandes */
    line-height: 1;
    margin-bottom: 15px;
  }
  
  .stat-label {
    font-size: 1.1rem; /* Texto de etiqueta un poco más grande */
  }
}


/* =========================================
   ESTILOS PARA PÁGINAS INTERNAS (META ADS, ETC.)
   ========================================= */

/* Contenedor principal de contenido (para limitar el ancho del texto) */
.content-template {
  padding: 40px 20px 80px 20px; /* Más espacio arriba y abajo */
}

/* Breadcrumb */
.breadcrumb {
  font-size: 1.1rem;
  margin-bottom: 25px;
}


.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent-cyan);
}

/* H1 de la Página Interna (Más grande que los títulos de sección pero más chico que el Hero) */
.page-title {
  font-size: 2.8rem; /* Igual al H1 del Hero en Mobile */
  font-weight: 800;
  margin: 0 0 20px 0;
  letter-spacing: -0.5px;
}

/* Texto de introducción debajo del H1 */
.lead-text {
  font-size: 1.4rem;
  line-height: 1.6;
}

/* Contenedor del Artículo (para alinear el texto) */
.content-article {
  max-width: 900px; /* Limitar el ancho del texto para mejor lectura */
  margin: 0 auto;
}

/* Subtítulos de Artículo (H2/H3) */
.article-subtitle {
  font-size: 1.8rem;
  color: var(--accent-cyan);
  margin: 40px 0 20px 0;
  font-weight: 700;
}

/* Listas de contenido */
.content-list {
  list-style: none; /* Quitamos el estilo por defecto */
  padding-left: 0;
  margin-bottom: 40px;
}

.content-list li {
  background: var(--card-bg); /* Reutilizamos el fondo de tarjeta */
  border-left: 4px solid var(--accent-blue);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.25rem; /* Usamos un tamaño de texto cómodo */
  color: var(--text-light);
  line-height: 1.5;
  transition: border-left-color 0.3s;
}

.content-list li:hover {
  border-left-color: var(--accent-cyan);
}

.content-list li strong {
  color: white;
}

/* Tarjeta CTA intermedia */
.cta-mini-card {
  margin: 40px 0;
  text-align: center;
  border-color: var(--accent-blue); /* Color diferente para destacar */
  background: rgba(255, 107, 0, 0.1); /* Azul a Naranja transparente */
}

/* Media Query para Desktop (Ajuste de títulos) */
@media (min-width: 950px) {
  
  .page-title {
    font-size: 3.5rem; /* Título más grande en desktop */
  }

  .article-subtitle {
    font-size: 2.2rem;
  }
  
  .lead-text {
    font-size: 1.5rem;
  }

  .content-list li {
    font-size: 1.2rem; /* Tamaño de texto de lista ajustado a Desktop */
  }
}

/* =========================================
   LISTA DE CARACTERÍSTICAS (FEATURE LIST)
   Para la sección: "Nuestra Estrategia..."
   ========================================= */

.feature-list {
  list-style: none; /* Quita las viñetas redondas aburridas */
  padding: 0;
  margin: 25px 0;
}

.feature-list li {
  position: relative;
  padding-left: 35px; /* Espacio reservado a la izquierda para el ícono */
  margin-bottom: 20px; /* Separación entre items */
  
  /* Tipografía igual al resto del sitio */
  color: var(--text-muted); 
  font-size: 1.35rem; /* Tamaño grande para mobile (como definiste en tu CSS) */
  line-height: 1.6;
}

/* Estilo para las negritas (ej: "Segmentación Geográfica...") */
.feature-list li strong {
  color: var(--text-light); /* Blanco brillante */
  font-weight: 600;
}

/* CREACIÓN DEL ÍCONO PERSONALIZADO */
.feature-list li::before {
  /* Aquí ponemos el ícono. Puede ser un check '✔', una flecha '➤' o un rayo '⚡' */
  content: '✔'; 
  
  /* Posicionamiento */
  position: absolute;
  left: 0;
  top: 0px; /* Ajuste fino vertical */
  
  /* Estilos del ícono */
  color: var(--accent-cyan); /* Tu color naranja claro */
  font-size: 1.4rem;
  font-weight: bold;
  
  /* El toque 'Deep Tech': Sombra brillante */
  text-shadow: 0 0 10px var(--accent-glow);
}

/* AJUSTE PARA DESKTOP (PC) */
@media (min-width: 950px) {
  .feature-list li {
    font-size: 1.2rem; /* Vuelve al tamaño estándar de PC */
  }
}

/* NUEVO: Estilos para Centrar Banner de Llamada a la Acción (CTA) */
.cta-banner {
  /* Alinea el contenido (títulos, párrafos, botón) al centro */
  text-align: center; 
  /* Asegura que el contenedor tenga margen para separarlo del resto */
  margin: 40px auto; 

  /* REAPLICACIÓN DE ESTILOS DE TARJETA ESTÁNDAR */
  background: var(--card-bg); /* Fondo oscuro */
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--card-border); /* Borde simple y sutil */
}

/* Opcional: Si este banner es el que ya tienes marcado como 'cta-mini-card' 
   (línea 514 de tu CSS original), puedes usar esa clase en el HTML
   y solo aplicar el text-align. */


/* =========================================
   REDES SOCIALES (FOOTER)
   ========================================= */

.social-networks {
  display: flex;
  justify-content: center; /* Centrado en Mobile */
  gap: 20px;
  margin: 30px 0; /* Espacio arriba y abajo */
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05); /* Fondo sutil */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%; /* Botones redondos */
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* El Ícono SVG */
.social-btn svg {
  width: 22px;
  height: 22px;
  fill: var(--text-muted); /* Color gris inicial */
  transition: fill 0.3s ease;
}

/* Efecto Hover (El mouse encima) */
.social-btn:hover {
  background: rgba(255, 159, 67, 0.15); /* --accent-cyan (naranja) con transparencia */
  border-color: var(--accent-cyan);
  transform: translateY(-5px); /* Se levanta un poco */
  box-shadow: 0 0 15px var(--accent-glow); /* Brillo Deep Tech */
}

.social-btn:hover svg {
  fill: var(--text-light); /* Ícono se vuelve blanco brillante */
}

/* AJUSTE DESKTOP */
@media (min-width: 950px) {
  .social-networks {
    /* En PC, si quieres que estén alineados con el resto del footer */
    justify-content: flex-start; 
    margin: 20px 0;
  }
}