/* Estilos específicos para index.html */

#cctv-hero {
  position: relative;
  background: url('/Imagenes/portada01.jpeg') center/cover no-repeat;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
#cctv-hero .overlay {
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.55);
}
#cctv-hero .content {
  position: relative;
  max-width: 700px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}
#cctv-hero.visible .content {
  opacity: 1;
  transform: translateY(0);
}
.btn-primary {
  background: #005FAF;
  padding: 1rem 2rem;
  color: white;
  border-radius: 5px;
  margin-top: 1.5rem;
  display: inline-block;
  transition: background-color .3s;
}
.btn-primary:hover {
  background: #004080;
}









.ventajas-grid {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.ventajas-grid h2 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: #222;
}
.ventajas-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding: 0 1rem;
  justify-items: center;
}


.ventaja {
  background: #fff;
  border: 2.5px solid #000000; /* Borde negro claro */
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.4); /* SOMBRA SOLO ABAJO Y A LA DERECHA */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ventaja:hover {
  transform: translateY(-2px);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.15);
}
.ventaja.visible {
  opacity: 1;
  transform: translateY(0);
}




.ventaja img {
  width: 60px;
  margin-bottom: 1rem;
  filter: invert(13%) sepia(21%) saturate(3192%) hue-rotate(169deg) brightness(97%) contrast(98%);
}
.ventaja h3 {
  font-size: 1.1rem;
  color: #005FAF;
  font-weight: 600;
  margin-top: 1rem;
}

.ventaja p {
  color: #555;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .ventajas-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}























.seguridad-destacada {
  background: #ffffff;
  padding: 4rem 2rem;
}

.bloque-unico {
  background: #0c1f2c; /* fondo unificado */
  border-radius: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  gap: 2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  position: relative;

}

.columna-info {
  flex: 1 1 300px;
  color: white;
  text-align: center;
  position: relative;
  padding: 1rem;
}

.bloque-central {
  flex: 1 1 400px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bloque-central img {
  width: 90%;
  max-width: 400px; /* Puedes ajustar a 450px o más */
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.bloque-central img:hover {
  transform: scale(1.05);
}


@media (min-width: 992px) {
  .bloque-central img {
    max-width: 500px; /* Más grande en pantallas grandes */
  }
}


.columna-info h2 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.columna-info p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.btn-blanco {
  background: #ffffff;
  color: #0c1f2c;
  padding: 0.9rem 2rem;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.btn-blanco:hover {
  background: #005FAF;
  color: #ffffff;
  transform: translateY(-2px);
}




/* Estilo base para ambos íconos */
.icono-superior {
  position: absolute;

  background: #fff;
  /* border: 2px solid #005FAF; */
  border-radius: 50%;
  width: 56px;
  height: 56px;
  padding: 0.8rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  z-index: 2;

}

  /* filtro 

.icono-superior img {
  width: 100%;
  height: 100%;
  filter: invert(13%) sepia(21%) saturate(3192%) hue-rotate(169deg) brightness(97%) contrast(98%);
}  */


/* Posición a la izquierda    */
.icono-izquierda {
  left: -45px;
  top: -50px;

}

/* Posición a la derecha */
.icono-derecha {
  right: -45px;
  top: -65px;
}




/* esta chido  
.icono-superior:hover {
  transform: scale(1.1);
}   */


 
/* HEADER */
.icono-superior:hover {
  box-shadow: 0 0 0 6px rgba(0, 95, 175, 0.2);
}





















/* ACCIONES =====================================*/

.segurivision-accion {
  background: #0c1f2c;
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.segurivision-accion h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
}

.segurivision-accion .subtitulo {
  color: #b0c4d4;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.acciones-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

/* Cada bloque */
.accion {
  flex: 1 1 280px;
  max-width: 350px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background-color: #0f2c3c;
  padding: 2rem 1rem;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.accion:hover {
  transform: translateY(-5px);
}

/* Círculo del ícono */
.icono-circular {
  background-color: #005FAF;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.icono-accion {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

/* Título */
.accion h3 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

/* Descripción */
.accion p {
  font-size: 0.95rem;
  color: #d0d0d0;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

/* Imagen final */
.imagen-accion {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .imagen-accion {
    height: 180px;
  }
}

.icono-titulo {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.icono-circular {
  margin: 0;
}

.accion h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
}





















/* ACCIONES =====================================*/


.seccion-explicacion {
  background-color: #ffffff;
  color: #0c1f2c;
  padding: 4rem 2rem 2rem;
  text-align: center;
}

.explicacion-header {
  max-width: 900px;
  margin: 0 auto;
}

.explicacion-header h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.explicacion-header p {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
}
 

.explicacion-detalle {
  background-color: #ffffff;
  padding: 4rem 2rem;
  color: #0c1f2c;
}

.detalle-contenido {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;      /* CENTRA horizontalmente */
  align-items: center;          /* ALINEA verticalmente */
  gap: 2rem;                    /* Espacio entre imagen y pasos */
  width: 100%;                  /* Asegura ancho completo */
  max-width: 1200px;            /* Límite centrado */
  margin: 0 auto;               /* CENTRA dentro del contenedor */
  padding: 0 2rem;              /* Espacio lateral interno */
}


.detalle-imagen {
  flex: 1 1 350px;
  display: flex;
  justify-content: center;  /* Cambiar de flex-end a center */
  align-items: center;
  margin: 0;                /* Remueve desplazamientos */
}




.detalle-imagen img {
  max-width: 80%;
  height: auto;
  border-radius: 12px;
  /*box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);   */
}

/* Pasos y línea */
.detalle-pasos {
  flex: 2 1 1000px; /* Aumenta el valor aquí para que crezca más */
  width: 100%;
  max-width: 1000px; /* O el valor que prefieras */
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.paso-con-linea {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.linea-detalle {
  width: 40px;
  height: 2px;
  background-color: #ccc;
  opacity: 0.7;
  align-self: center;
  position: relative;
  top: -55px; /* ajusta esto según el tamaño de tus íconos */
}


/* Contenido de cada paso */
.paso-detalle {
  flex: 1;
  min-width: 150px;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.5rem;
}

.paso-detalle img {
  width: 52px;
  height: 62px;
  margin-bottom: 0.6rem;
}

.paso-detalle h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: bold;
  color: #0c1f2c;
}

.paso-detalle p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #333;
}

/* Responsive */
@media (max-width: 950px) {
  .detalle-contenido {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .detalle-pasos {
    flex-direction: column;
    align-items: center;
  }

  .linea-detalle {
    display: none;
  }

  .paso-con-linea {
    margin-bottom: 1.5rem;
  }
}






















