/* ==========================================================================
   ESTILOS ESPECÍFICOS — REDISEÑO COMERCIAL ICONTEL 360
   Solución Tecnológica Integral para Empresas
   ========================================================================== */

/* --- 1. HERO CON IMAGEN DE FONDO Y LAYOUT DE 2 COLUMNAS (SPLIT 50/50) --- */
.hero {
  min-height: 75vh;
  position: relative;
  background-color: #041329;
  background-image: url('assets/hero-icontel-360.jpg');
  background-size: cover;
  background-position: center right;
  display: flex;
  align-items: center;
  color: #FFFFFF;
  overflow: hidden;
  padding: 125px 0 45px; /* Espacio superior calibrado para que el navbar respire y se elimine aire muerto */
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 19, 41, 0.97) 0%, rgba(4, 19, 41, 0.90) 48%, rgba(6, 26, 50, 0.70) 78%, rgba(6, 26, 50, 0.50) 100%);
  z-index: 1;
}
.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}
.hero-left-col {
  display: flex;
  flex-direction: column;
}
.hero-left-col .eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: #42daf0; /* Turquesa / Cian corporativo */
  margin: 0 0 14px;
  text-transform: uppercase;
  display: block;
}
.hero-left-col h1 {
  font-size: clamp(38px, 4.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 14px;
}
.hero-left-col h1 span {
  color: #42daf0; /* Turquesa / Cian corporativo */
  display: block;
}
.hero-left-col .lead {
  font-size: clamp(16px, 1.35vw, 18.5px);
  line-height: 1.55;
  color: #FFFFFF; /* Texto blanco de máxima legibilidad sobre fondo oscuro */
  margin: 0 0 18px;
  max-width: 580px;
}

/* Conceptos en cuadrícula 2x2 */
.hero-concepts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 0 20px;
  max-width: 560px;
}
.hero-concept-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}
.hero-concept-item:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #42daf0;
  transform: translateY(-2px);
}
.hero-concept-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(66, 218, 240, 0.18);
  color: #42daf0; /* Icono turquesa */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.hero-concept-text {
  font-size: 12.5px;
  font-weight: 700;
  color: #FFFFFF; /* Blanco puro */
  line-height: 1.25;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-actions .button {
  min-height: 48px;
  padding: 0 24px;
  font-size: 14px;
}
.trust-row {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  color: #FFFFFF; /* Blanco puro */
  font-size: 12px;
  flex-wrap: wrap;
}
.trust-row b {
  font-size: 14px;
  color: #42daf0; /* Turquesa para números clave */
  margin-right: 5px;
}

/* --- LADO DERECHO: VIDEO CONTINUO AUTOMÁTICO --- */
.hero-video-side {
  width: 100%;
  display: flex;
  justify-content: center;
}
.hero-video-player-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 340px;
  border-radius: 20px;
  overflow: hidden;
  background: #020914;
  border: 2px solid rgba(66, 218, 240, 0.4);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.75), 0 0 45px rgba(66, 218, 240, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.hero-video-player-frame:hover {
  transform: translateY(-3px);
  border-color: #42daf0;
  box-shadow: 0 32px 85px rgba(0, 0, 0, 0.85), 0 0 60px rgba(66, 218, 240, 0.35);
}
.hero-loop-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-ambient-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 35px rgba(4, 19, 41, 0.45);
}
.video-ambient-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(4, 19, 41, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(66, 218, 240, 0.3);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  z-index: 2;
}
.video-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #42daf0;
  box-shadow: 0 0 10px #42daf0;
  display: inline-block;
  animation: pulseDot 2s infinite ease-in-out;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

@media (max-width: 992px) {
  .hero {
    padding: 110px 0 35px;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-video-side {
    justify-content: flex-start;
  }
  .hero-video-player-frame {
    max-width: 100%;
    min-height: 280px;
  }
}


/* --- 2. SECCIÓN UN DÍA CONECTADO (5 MOMENTOS) --- */
.day-section {
  padding: 50px clamp(24px, 7vw, 112px);
  background: #FFFFFF;
}
.day-moments-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.moment-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 10px 30px rgba(10, 36, 70, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.moment-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(10, 36, 70, 0.08);
  border-color: #cbd5e1;
}
.moment-row.reverse {
  direction: rtl;
}
.moment-row.reverse > * {
  direction: ltr;
}
.moment-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  aspect-ratio: 4/3;
  background: #092141;
}
.moment-media img,
.moment-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.moment-row:hover .moment-media img,
.moment-row:hover .moment-media video {
  transform: scale(1.03);
}
.moment-time-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(4, 19, 41, 0.88);
  backdrop-filter: blur(8px);
  color: #42daf0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(66, 218, 240, 0.3);
}
.moment-content {
  display: flex;
  flex-direction: column;
}
.moment-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #136ff0;
  margin-bottom: 8px;
}
.moment-title {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 800;
  color: #06172e;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.moment-desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 20px;
}
.moment-solutions-box {
  background: #FFFFFF;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #136ff0;
  border-radius: 10px;
  padding: 14px 18px;
}
.moment-solutions-label {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 8px;
}
.moment-solutions-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.sol-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 6px;
}
.sol-tag svg, .sol-tag i {
  color: #136ff0;
  font-size: 12px;
}

/* --- 3. DIAGRAMA CENTRAL ECOSISTEMA 360° --- */
.ecosystem-section {
  padding: 55px clamp(24px, 7vw, 112px);
  background: radial-gradient(circle at 50% 40%, #0d284e 0%, #06172e 70%, #030d1c 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}
.ecosystem-section .eyebrow {
  color: #42daf0; /* Turquesa */
}
.ecosystem-section .section-heading.light p:last-child {
  color: #FFFFFF; /* Blanco */
}
.ecosystem-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0V0zm1 1h38v38H1V1z' fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
  pointer-events: none;
}
.ecosystem-container {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.ecosystem-centerpiece {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 26px;
}
.eco-node-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: left;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.eco-node-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #42daf0;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.eco-node-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(66, 218, 240, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}
.eco-node-card:hover::before {
  opacity: 1;
}
.eco-node-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.eco-node-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(66, 218, 240, 0.16);
  color: #42daf0; /* Icono turquesa */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.eco-node-title {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF; /* Blanco */
  margin: 0;
  line-height: 1.3;
}
.eco-node-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: #FFFFFF; /* Blanco puro sobre fondo oscuro */
  margin: 0;
}
.ecosystem-hub-banner {
  margin-top: 24px;
  background: linear-gradient(135deg, rgba(19, 111, 240, 0.25) 0%, rgba(66, 218, 240, 0.18) 100%);
  border: 1px solid rgba(66, 218, 240, 0.4);
  border-radius: 16px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.eco-hub-text h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 6px;
  color: #FFFFFF;
}
.eco-hub-text p {
  font-size: 14px;
  color: #FFFFFF; /* Blanco puro */
  margin: 0;
  line-height: 1.5;
}

/* --- 4. BLOQUE TODO SE CONECTA (STEPPER COMERCIAL) --- */
.connect-section {
  padding: 50px clamp(24px, 7vw, 112px);
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.connect-flow-stepper {
  max-width: 1140px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  position: relative;
}
.connect-step-card {
  background: #FFFFFF;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px 18px;
  position: relative;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}
.connect-step-number {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #136ff0;
  margin-bottom: 8px;
}
.connect-step-card h4 {
  font-size: 15px;
  font-weight: 800;
  color: #06172e;
  margin: 0 0 8px;
  line-height: 1.3;
}
.connect-step-card p {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}
.connect-step-arrow {
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #136ff0;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(19, 111, 240, 0.3);
}

/* --- 5. BLOQUE TECNOLOGÍA CON PERSONAS DETRÁS --- */
.people-section {
  padding: 50px clamp(24px, 7vw, 112px);
  background: #FFFFFF;
}
.people-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: center;
}
.people-media-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(6, 23, 46, 0.12);
  border: 1px solid #e2e8f0;
}
.people-media-frame img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.people-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: rgba(6, 23, 46, 0.88);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  border-radius: 12px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.people-badge strong {
  display: block;
  font-size: 13.5px;
  color: #42daf0;
  margin-bottom: 2px;
}
.people-badge p {
  font-size: 11.5px;
  color: #c4d7ec;
  margin: 0;
  line-height: 1.4;
}
.people-content h2 {
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 800;
  color: #06172e;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.people-lead {
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 24px;
}
.people-pillars-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.pillar-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(19, 111, 240, 0.1);
  color: #136ff0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}
.pillar-text h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: #06172e;
  margin: 0 0 3px;
}
.pillar-text p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

/* --- RESPONSIVE MÓVIL --- */
@media (max-width: 980px) {
  .hero-concepts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .moment-row,
  .moment-row.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    direction: ltr;
  }
  .ecosystem-centerpiece {
    grid-template-columns: repeat(2, 1fr);
  }
  .connect-flow-stepper {
    grid-template-columns: 1fr;
  }
  .connect-step-arrow {
    display: none;
  }
  .people-grid {
    grid-template-columns: 1fr;
  }
  .people-media-frame img {
    height: 320px;
  }
}

@media (max-width: 600px) {
  .hero-concepts-grid {
    grid-template-columns: 1fr;
  }
  .moment-row {
    padding: 20px;
  }
  .ecosystem-centerpiece {
    grid-template-columns: 1fr;
  }
  .ecosystem-hub-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
}

/* ==========================================================================
   REGLA GLOBAL: TEXTOS SOBRE FONDOS OSCUROS (BLANCO Y TURQUESA / CIAN)
   ========================================================================== */

/* Eyebrows sobre fondo oscuro en turquesa / cian */
.hero .eyebrow,
.ecosystem-section .eyebrow,
.channels .eyebrow,
.industries .eyebrow,
.diagnostic .eyebrow,
.compare-tna .eyebrow,
.people-badge strong {
  color: #42daf0 !important;
}

/* Títulos y textos descriptivos sobre fondo oscuro en blanco puro */
.hero-left-col h1,
.hero-left-col .lead,
.hero-concept-text,
.trust-row,
.ecosystem-section h2,
.ecosystem-section .section-heading p,
.eco-node-title,
.eco-node-desc,
.eco-hub-text h3,
.eco-hub-text p,
.channels .section-heading.light h2,
.channels .section-heading.light p,
.channel-strip b,
.industries .section-heading.light h2,
.industry-panel h3,
.industry-panel > div > p,
.industry-panel li,
.diagnostic-copy h2,
.diagnostic-copy > p,
.diagnostic-copy ul li,
.diagnostic-copy p:last-child,
.flow-core span,
.flow-core strong,
.compare-tna h3,
.compare-tna p,
.compare-tna .pill-cloud span,
.people-badge p {
  color: #FFFFFF !important;
}

/* Acentos turquesa sobre fondos oscuros */
.hero-left-col h1 span,
.trust-row b,
.eco-node-icon,
.diagnostic-copy li:before,
.flow-core small,
.flow-core > b,
.video-pulse-dot {
  color: #42daf0 !important;
}
.channel-strip span {
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

/* ==========================================================================
   COMPACTACIÓN GENERAL DE AIRE VERTICAL ENTRE MÓDULOS
   ========================================================================== */
.section {
  padding: 50px clamp(24px, 7vw, 112px) !important;
}
.section-heading {
  margin: 0 auto 30px !important;
}
.section-heading.compact {
  margin-bottom: 22px !important;
}
.section-heading h2 {
  margin: 0 0 12px !important;
}
.diagnostic {
  padding: 55px clamp(24px, 10vw, 160px) !important;
  gap: 40px !important;
}
.diagnostic-copy h2 {
  margin: 0 0 14px !important;
}
.industry-panel {
  padding: 30px 34px !important;
  margin-top: 24px !important;
}
.comparison > div {
  padding: 32px 28px !important;
}
.flow-diagram {
  margin-top: 20px !important;
}
.cap-grid {
  margin-top: 20px !important;
}
.workspace-card {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
  min-height: 440px !important;
}
@media (max-width: 700px) {
  .section {
    padding: 36px 18px !important;
  }
  .day-section,
  .ecosystem-section,
  .connect-section,
  .people-section {
    padding: 36px 18px !important;
  }
  .moment-row {
    padding: 20px 16px !important;
    gap: 18px !important;
  }
  .day-moments-list {
    gap: 18px !important;
  }
}
