/* ==========================================================================
   CHIP SOLUTIONS - HOJA DE ESTILOS CORE DE FIBRA ÓPTICA (DISEÑO SEPARADO)
   MÁXIMA OPTIMIZACIÓN RESPONSIVA Y ALINEACIÓN DE ASESOR INDEPENDIENTE
   ========================================================================== */

* {
 margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

body {
  background-color: #f3f4f6;
  color: #1e293b;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

/* --- ENCABEZADO CON GRADIENTE AZUL REY --- */
.main-header-grad {
  background: linear-gradient(135deg, #4169e1, #0033aa); /* Azul rey degradado */
  color: #fff;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative; 
  width: 100%;
  height: 150px;
}

.btn-back-nav {
  position: absolute; 
  left: 20px; 
  top: 50%; 
  transform: translateY(-50%); 
  background-color: rgba(255, 255, 255, 0.15); 
  color: #ffffff; 
  text-decoration: none; 
  padding: 6px 14px; 
  border-radius: 4px; 
  font-size: 13px; 
  font-weight: 600; 
  transition: all 0.2s ease;
}

.btn-back-nav:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.02);
}

.header-center-block-nav {
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 15px; 
}

.logo-nav {
  width: 120px; 
  height: auto;
}

.header-text-nav {
  text-align: center;
}

.header-text-nav h1 {
  font-size: 42px; 
  font-weight: 700; 
  margin: 0; 
  color: #ffffff;
  text-align: center;
}

.header-text-nav p {
  font-size: 22px; 
    color: #cbd5e1;
    margin-top: 1px;
    text-align: center;
}
/* --- LAYOUT DE DOS COLUMNAS ESTRECHAS Y ENMARCADAS (PC) --- */
.advisor-split-section {
  background: #ffffff;
  padding: 40px 20px 10px 20px;
  width: 100%;
}

.split-container {
  max-width: 750px; /* ENMARCADO: Reduce el ancho total a nivel del robot */
  margin: 0 auto;
  display: flex;
  align-items: center; /* Centra el contenido verticalmente */
  gap: 30px;
}

/* Columna Izquierda: El Robot más Grande */
.column-robot-left {
  width: 250px; /* Aumentado para darle mayor tamaño al robot */
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.robot-lone-img {
  width: 100%; /* Toma todo el ancho de su nueva columna grande */
  max-width: 250px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Columna Derecha: Información alineada */
.column-info-right {
  flex: 1;
  text-align: center;
  margin: 0;
}

.logo-top-row {
  margin-bottom: 12px;
  text-align: center;
}

.logo-promotor-mini {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  margin: 0;
}

.column-info-right h2 {
  color: #0f172a;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}

.text-welcome-p {
  color: #475569;
  font-size: 14.5px;
  line-height: 1.6;
  text-align: justify; /* Justificado elegante para balancear el bloque con el robot */
  margin-top: 10px;
  padding: 0;
}

/* --- DIV DE SEPARACIÓN TOTALMENTE INDEPENDIENTE --- */
.layout-divider {
  max-width: 750px; /* Alineado al nuevo ancho de las columnas */
  height: 1px;
  background-color: #e2e8f0;
  margin: 20px auto;
}

/* --- CONTENEDOR INFERIOR SEPARADO PARA LA CAJA DEL BOTÓN --- */
.cta-full-container {
  background: #ffffff;
  padding: 0 20px 25px 20px;
  width: 100%;
}

.cta-box-standalone {
  border: 1px solid #cbd5e1;
  border-top: 3px solid #22c55e;
  background-color: #f8fafc;
  padding: 20px;
  border-radius: 8px;
  max-width: 750px; /* Alineado al nuevo ancho de las columnas */
  margin: 0 auto;
  text-align: center;
}

.cta-question-text {
  font-weight: 600;
  font-size: 19px;
  color: #0f172a;
  margin-bottom: 10px;
  text-align: center;
}

.cta-answer-text {
  font-weight: 600;
  font-size: 14px;
  color: #475569;
  margin-bottom: 15px;
  text-align: center;
}

.btn-blue-advisor {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #0041c2;
  color: #ffffff;
  text-decoration: none;
  padding: 11px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13.5px;
  transition: all 0.2s ease;
}

.btn-blue-advisor:hover {
  background-color: #002d8c;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 65, 194, 0.15);
}
/* ==========================================================================
   CHIP SOLUTIONS - HOJA DE ESTILOS CORE DE FIBRA ÓPTICA (DISEÑO SEPARADO)
   MÁXIMA OPTIMIZACIÓN RESPONSIVA Y ALINEACIÓN DE ASESOR INDEPENDIENTE
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f3f4f6;
  color: #1e293b;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

/* --- ENCABEZADO CON GRADIENTE AZUL REY --- */
.main-header-grad {
  background: linear-gradient(135deg, #4169e1, #0033aa); /* Azul rey degradado */
  color: #fff;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative; 
  width: 100%;
  height: 150px;
}

.btn-back-nav {
  position: absolute; 
  left: 20px; 
  top: 50%; 
  transform: translateY(-50%); 
  background-color: rgba(255, 255, 255, 0.15); 
  color: #ffffff; 
  text-decoration: none; 
  padding: 6px 14px; 
  border-radius: 4px; 
  font-size: 13px; 
  font-weight: 600; 
  transition: all 0.2s ease;
}

.btn-back-nav:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.02);
}

.header-center-block-nav {
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 15px; 
}

.logo-nav {
  width: 120px; 
  height: auto;
}

.header-text-nav {
  text-align: center;
}

.header-text-nav h1 {
  font-size: 42px; 
  font-weight: 700; 
  margin: 0; 
  color: #ffffff;
}

.header-text-nav p {
 font-size: 22px; 
 color: #cbd5e1;
}

/* --- LAYOUT DE DOS COLUMNAS ESTRECHAS Y ENMARCADAS (PC) --- */
.advisor-split-section {
  background: #ffffff;
  padding: 40px 20px 10px 20px;
  width: 100%;
}

.split-container {
  max-width: 750px; /* ENMARCADO: Reduce el ancho total a nivel del robot */
  margin: 0 auto;
  display: flex;
  align-items: center; /* Centra el contenido verticalmente */
  gap: 30px;
}

/* Columna Izquierda: El Robot más Grande */
.column-robot-left {
  width: 250px; /* Aumentado de 180px a 250px para hacerlo más grande */
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.robot-lone-img {
  width: 100%; /* Toma todo el ancho de su nueva columna grande */
  max-width: 250px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Columna Derecha: Información alineada */
.column-info-right {
  flex: 1;
  text-align: center;
  margin: 0;
}

.logo-top-row {
  margin-bottom: 12px;
  text-align: center;
}

.logo-promotor-mini {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  margin: 0;
}

.column-info-right h2 {
  color: #0f172a;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}

.text-welcome-p {
  color: #475569;
  font-size: 14.5px;
  line-height: 1.6;
  text-align: justify; /* Justificado elegante para balancear el bloque con el robot */
  margin-top: 10px;
  padding: 0;
}

/* --- DIV DE SEPARACIÓN TOTALMENTE INDEPENDIENTE --- */
.layout-divider {
  max-width: 750px; /* Alineado al nuevo ancho de las columnas */
  height: 1px;
  background-color: #e2e8f0;
  margin: 20px auto;
}

/* --- CONTENEDOR INFERIOR SEPARADO PARA LA CAJA DEL BOTÓN --- */
.cta-full-container {
  background: #ffffff;
  padding: 0 20px 25px 20px;
  width: 100%;
}

.cta-box-standalone {
  border: 1px solid #cbd5e1;
  border-top: 3px solid #22c55e;
  background-color: #f8fafc;
  padding: 20px;
  border-radius: 8px;
  max-width: 750px; /* Alineado al nuevo ancho de las columnas */
  margin: 0 auto;
  text-align: center;
}

.cta-question-text {
  font-weight: 600;
  font-size: 19px;
  color: #0f172a;
  margin-bottom: 10px;
  text-align: center;
}

.cta-answer-text {
  font-weight: 600;
  font-size: 14px;
  color: #475569;
  margin-bottom: 15px;
  text-align: center;
}

.btn-blue-advisor {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #0041c2;
  color: #ffffff;
  text-decoration: none;
  padding: 11px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13.5px;
  transition: all 0.2s ease;
}

.btn-blue-advisor:hover {
  background-color: #002d8c;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 65, 194, 0.15);
}
/* --- SECCIÓN GENERAL DE PAQUETES Y TÍTULOS --- */
.packages-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}

.section-title {
  font-size: 30px;
  color: #001f3f;
  margin-bottom: 10px;
  font-weight: 700;
  text-align: center;
}

/* --- ESTILOS CONTROLADOS PARA TU PROMOCIÓN FAVORITA --- */
.section-subtitle {
  font-size: 14.5px;
  color: #475569;
  margin-bottom: 12px;
  text-align: center;
  padding: 0 20px; /* Evita que las letras peguen con los bordes de la pantalla */
  line-height: 1.5;
}

.promo-highlight {
  color: #06f422;
  font-size: 16px;
}

.note-small {
  font-size: 13px;
  color: #64748b;
  display: inline-block;
}

.promo-bonus {
  color: #16a34a; /* Color verde vibrante para motivar la venta */
  font-weight: 600;
  background-color: #f0fdf4; /* Caja con fondo verde suave de regalo muy atractiva */
  padding: 10px 15px;
  border-radius: 8px;
  max-width: 750px;
  margin: 0 auto 15px auto; /* Centrado perfecto alineado al robot */
}

.price-note {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 35px;
}

/* --- CUADRÍCULA DE TARJETAS HORIZONTAL EN PC --- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  width: 100%;
}

.package-card-fixed {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  transition: all 0.2s ease;
  text-align: center;
}

.package-card-fixed:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.highlighted-card {
  border: 2px solid #22c55e;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.1);
}

/* --- BADGES (ETIQUETAS INTERNAS) --- */
.card-badge {
  font-size: 15px;
  font-weight: 400;
  padding: 4px 12px;
  border-radius: 6px;
  display: block;
  width: max-content;
  margin: 0 auto 15px auto;
  align-self: center;
  align-items: center;
  align-content: center;
  text-align: center;
}

.blue-badge, .green-badge, .business-badge {
    display: inline-block !important;
    max-width: max-content !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin: 4px auto !important;
}

.blue-badge     { background-color: #e0f2fe; color: #0369a1; }
.green-badge    { background-color: #dcfce7; color: #15803d; }
.business-badge { background-color: #f8fafc; color: #475569; border: 1px solid #cbd5e1; }


.card-price-tag {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 10px 0;
}

.card-price-tag span { 
  font-size: 14px; 
  font-weight: 500; 
  color: #64748b; 
}

/* --- DETALLES DE PAQUETE (VIÑETAS) --- */
.card-specs-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.card-specs-list li { 
  margin-bottom: 12px; 
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #475569;
  line-height: 1.4;
  text-align: left;
}

.card-specs-list i { 
  color: #22c55e; 
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* --- BOTONES DE WHATSAPP --- */
.btn-card-contract {
  background-color: #25d366;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  padding: 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s;
  width: 100%;
}

.btn-card-contract:hover { 
  background-color: #1cbd55; 
}
/* --- PIE DE PÁGINA OSCURO --- */
.footer-dark {
  background-color: #0f172a; 
  color: #94a3b8; 
  padding: 24px 15px; 
  font-size: 12px; 
  margin-top: 50px; 
  text-align: center;
  width: 100%;
}
.facebook-link {
    color: #ffffff !important; /* Fuerza a que las letras sean blancas y muy legibles */
    text-decoration: none;
    font-weight: 600;
}

.facebook-link:hover {
    color: #1877f2 !important; /* Cambia al azul oficial de Facebook al pasar el mouse */
    text-decoration: underline;
}
footer { 
  background: #002244; 
  color: #ffffff; 
  text-align: center; 
  padding: 20px; 
  margin-top: 40px; 
}
/* ==========================================================================
   MÁXIMA OPTIMIZACIÓN RESPONSIVA PARA CELULARES (DISEÑO MÓVIL PERFECTO)
   ========================================================================== */
@media (max-width: 750px) {
  
  /* Ajustes del encabezado principal en móvil */
  /* 1. Header corporativo elástico y ultra-compacto (IGUAL AL ASESOR INTERACTIVO) */
.main-header-grad {
  height: auto !important; /* BORRA LOS 101PX: Deja que la altura sea elástica */
  padding: 6px 10px !important; /* Relleno mínimo para que sea ultra delgada */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px !important;
}

  
  .btn-back-nav {
    position: relative !important; /* Rompe la posición absoluta para que no tape el logo */
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100%; /* Botón de atrás a lo ancho para clics fáciles */
    text-align: center;
    padding: 4px 10px !important; /* Más esbelto */
    font-size: 12px !important;
    margin-bottom: 2px;
    display: inline-block;
  }
  
  .btn-back-nav:hover {
    transform: scale(1.02);
  }

  .header-center-block-nav {
    display: flex !important;
    flex-direction: row !important; /* ¡CLAVE! Mantiene el logo y el texto lado a lado en la misma línea */
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
  }
  
  .logo-nav {
    width: 55px !important; /* Reducido para que no ensanche el encabezado */
    height: auto !important;
  }
  
  .header-text-nav {
    text-align: left; /* Alineado al lado del logo */
  }

  .header-text-nav h1 {
    font-size: 18px !important; /* Letras compactas para "Chip Solutions" */
    margin: 0 !important;
  }
  
  .header-text-nav p {
    font-size: 11px !important; /* Letras compactas para "Conecta tu mundo" */
    margin: 0 !important;
    text-align: center;
  }

  /* Contenedor del Robot y Presentación en móvil */
  .split-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  
  .column-robot-left { 
    width: 140px; /* Tamaño ideal y controlado para el robot en pantallas móviles */
    justify-content: center;
  }
  
  .robot-lone-img {
    margin-top: 0; /* Limpia los márgenes y desfases de la PC */
  }
  
  .logo-promotor-mini {
    height: 70px; /* Logo de Telmex Infinitum compacto */
  }
  
  .text-welcome-p {
    text-align: center; /* Centrado en móviles para evitar los huecos feos del justificado */
    font-size: 14px;
    padding: 0;
  }

  /* Caja del Asesor Interactivo táctil */
  .cta-box-standalone {
    padding: 20px 15px;
  }
  
  .cta-question-text {
    font-size: 17px;
  }
  
  .btn-blue-advisor {
    display: flex;
    justify-content: center;
    width: 100%; /* Botón completo a lo ancho del teléfono para un clic fácil */
    padding: 12px;
  }

  /* Ajustes de secciones y títulos */
  .section-title {
    font-size: 22px;
    padding: 0 15px;
  }
  
  .promo-bonus {
    margin: 0 15px 15px 15px; /* Agrega márgenes cómodos a los lados de la caja verde en móvil */
  }

  /* La cuadrícula se convierte en una sola fila vertical impecable */
  .packages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px; /* Espacio cómodo a los lados para que las tarjetas no toquen la pantalla */
  }
  
  .package-card-fixed {
    padding: 15px;
  }

  /* Botones de WhatsApp táctiles */
  .btn-card-contract {
    padding: 14px; /* Un poco más alto para presionarlo fácilmente con el pulgar */
    font-size: 15px;
    border-radius: 8px;
  }
}
