/* --- ESTILOS PÁGINA TECNOLOGÍA --- */

/* 1. Header y Base (Heredado y Ajustado) */
.nexcore-header.static-header {
  position: relative;
  top: 0;
  background-color: #eaf6fb; /* Fondo gris tecnológico muy suave */
  padding: 15px 5%;
}

.tech-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.text-orange {
  color: var(--color-primary);
}

/* 2. Hero Section */
.tech-hero {
  background-color: #eaf6fb;
  padding: 80px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Elemento decorativo de fondo (líneas tech) */
.tech-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#27348b 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.05;
  pointer-events: none;
}

.tech-hero .main-title {
  font-size: 3.5rem;
  color: var(--color-secondary);
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.tech-hero .hero-desc {
  font-size: 1.25rem;
  color: #555;
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* 3. Showcase de Tecnologías (Alternado) */
.tech-showcase {
  background-color: var(--color-white);
  padding: 80px 0;
  overflow-x: hidden;
}

.tech-wrapper {
  display: flex;
  flex-direction: column;
  gap: 120px; /* Separación generosa entre bloques */
}

.tech-card {
  display: flex;
  align-items: center;
  gap: 60px;
}

.tech-card.reverse {
  flex-direction: row-reverse;
}

/* Contenido de Texto */
.tech-content {
  flex: 1;
}

.tech-label {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 15px;
  border-left: 3px solid var(--color-primary);
  padding-left: 10px;
}

.tech-content h2 {
  font-size: 2.5rem;
  color: var(--color-secondary);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.tech-content p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* Lista de características */
.tech-features {
  list-style: none;
}

.tech-features li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 1rem;
  color: #333;
  font-weight: 500;
}

.tech-features li i {
  width: 35px;
  height: 35px;
  background-color: #eaf6fb;
  color: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.tech-card:hover .tech-features li i {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Área Visual (Imagen + Fondo Decorativo) */
.tech-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Círculos decorativos de fondo */
.visual-bg {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  z-index: 1;
  opacity: 0.1;
  transform: scale(0.8);
  transition: transform 0.8s ease;
}

.circle-cyan {
  background-color: var(--color-accent);
}
.circle-orange {
  background-color: var(--color-primary);
}
.circle-blue {
  background-color: var(--color-secondary);
}

.tech-card.active .visual-bg {
  transform: scale(1.2); /* Efecto de expansión al aparecer */
}

.visual-img {
  width: 100%;
  max-width: 500px;
  height: 350px;
  object-fit: cover;
  border-radius: 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);

  /* Animación de entrada similar a servicios */
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Activación de la animación */
.tech-card.active .visual-img {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tech-card:hover .visual-img {
  transform: translateY(-5px) scale(1.02);
}

/* 4. Sección Seguridad */
.security-section {
  padding: 80px 0;
  background-color: #27348b; /* Fondo azul oscuro corporativo */
  color: var(--color-white);
  text-align: center;
}

.security-header {
  margin-bottom: 60px;
}

.security-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.security-header p {
  font-size: 1.2rem;
  opacity: 0.8;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.sec-item {
  background: rgba(255, 255, 255, 0.05); /* Cristal */
  padding: 40px 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, background 0.3s ease;
}

.sec-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
}

.sec-icon {
  font-size: 3rem;
  color: var(--color-accent);
  margin-bottom: 25px;
}

.sec-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.sec-item p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.8;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .tech-card,
  .tech-card.reverse {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .tech-label {
    border-left: none;
    border-bottom: 3px solid var(--color-primary);
    padding-left: 0;
    padding-bottom: 5px;
  }

  .tech-features li {
    justify-content: center; /* Centrar items en móvil */
  }

  .visual-img {
    height: 250px;
    opacity: 1 !important; /* Desactivar ocultamiento en móvil */
    transform: none !important;
  }

  .visual-bg {
    width: 280px;
    height: 280px;
  }
}
