:root {
  --azul-principal: #005FAF; /* o el tono exacto que estás usando */
}
/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  font-weight: 400;
  letter-spacing: 0.3px;
}

html {
  scroll-behavior: smooth;
}

/* HEADER */
.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0c1f2c;
  padding: 15px 30px;
  color: white;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 1000;  

}

.logo a {
  color: white;
  text-decoration: none;
  font-size: 1.8em;
  font-weight: bold;
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.menu ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.menu ul li a:hover {
  color: #061316;
}

.menu ul li a.active,
.menu ul li a:hover {
  color: #03B5E0;
}


/* PORTADA */
.portada-slider {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.slider-fondos {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide-fondo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 43%;
  opacity: 0;
  transition: opacity 1s;
  z-index: 1;
}

.slide-fondo.active {
  opacity: 1;
  z-index: 2;
}

.portada-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(12,31,44,0.7), rgba(12,31,44,0.6));
  z-index: 3;
}

.contenido-portada-slider {
  position: relative;
  z-index: 4;
  max-width: 500px;
  text-align: left;
  padding: 60px 0 60px 9vw;
  color: #fff;
}

.slide-texto {
  display: none;
  animation: fadeIn 1s;
}

.slide-texto.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px);}
  to { opacity: 1; transform: translateY(0);}
}

.contenido-portada-slider h1 {
  font-size: 2.6em;
  margin-bottom: 18px;
  font-weight: bold;
  line-height: 1.1;
}

.contenido-portada-slider p {
  font-size: 1.3em;
  margin-bottom: 32px;
}

.contenido-portada-slider .boton {
  background: #03B5E0;
  color: #fff;
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
  box-shadow: 0 2px 8px rgba(3,181,224,0.10);
}

.contenido-portada-slider .boton:hover {
  background: #0c1f2c;
}

@media (max-width: 768px) {
  .contenido-portada-slider {
    padding: 40px 10vw 40px 6vw;
    max-width: 95vw;
  }
  .contenido-portada-slider h1 {
    font-size: 2em;
  }
}









/*
.portada {
  min-height: 420px;
  display: flex;
  align-items: center ;
  background: linear-gradient(rgba(12,31,44,0.7), rgba(12,31,44,0.6)),
    url('/segurivision/Imagenes/banerprincipal.jpg') center 43%/cover no-repeat;
  color: #fff;
  padding: 0 0 0 7vw;
}

.contenido-portada {
  max-width: 500px;
  text-align: left;
  padding: 60px 0;
}

.contenido-portada h1 {
  font-size: 2.6em;
  margin-bottom: 18px;
  font-weight: bold;
  line-height: 1.1;
}

.contenido-portada p {
  font-size: 1.3em;
  margin-bottom: 32px;
}

.contenido-portada .boton {
  background: #03B5E0;
  color: #fff;
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
  box-shadow: 0 2px 8px rgba(3,181,224,0.10);
}

.contenido-portada .boton:hover {
  background: #0c1f2c;
}
 
*/ 







/* TRABAJOS Y UBICACIÓN  
.trabajos, .ubicacion {
  padding: 40px 20px;
  text-align: center;
  background-color: #eef2f3;
}   */





/* FOOTER */
.footer {
  background-color: #0c1f2c;
  color: white;
  text-align: center;
  padding: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }

  .navegacion ul {
    flex-direction: column;
    gap: 10px;
  }

  .servicio {
    flex-direction: column;
  }
}




/* GALERÍA DE IMÁGENES */
.galeria {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.galeria .imagen {
  width: 100%;
  padding-top: 66%;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.galeria .imagen:hover {
  transform: scale(1.03);
}

/* SECCIÓN MARCAS */
.marcas {
  background-color: #f7f7f7;
  padding: 40px 20px;
  text-align: center;
}

.marcas h2 {
  margin-bottom: 30px;
  font-size: 1.8em;
}

/* CARRUSEL */
.slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slide-track {
  display: flex;
  width: calc(250px * 12);
  animation: scroll 20s linear infinite;
}

.slide {
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.slide img {
  width: 120px;         /* Fuerza el mismo ancho */
  height: 60px;         /* Fuerza la misma altura */
  object-fit: contain;  /* Mantiene proporción sin deformar */
  display: block;
  margin: 0 auto;
  background: transparent;
  padding: 6px 0;
}

.slide:hover {
  filter: grayscale(0%);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* UBICACIÓN */


.ubicacion {
  padding: 60px 20px;
  background: linear-gradient(135deg, #ffffff, #f0f0f0);
  text-align: center;
}

.ubicacion h2 {
  font-size: 2.4em;
  margin-bottom: 10px;
  color: #222;
}

.ubicacion p {
  color: #555;
  font-size: 1.1em;
  margin-bottom: 30px;
}

/* Contenedor general: mapa + info */
.ubicacion-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 30px;
}

/* Mapa responsive */
.mapa-container {
  flex: 1 1 500px;
  position: relative;
  padding-bottom: 45%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  min-width: 300px;
  width: 100%;
  max-width: 600px;
  background: #e9f1fa; /* Fondo visible debajo del mapa, puedes cambiar el color */
}

.mapa-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

.boton-mapa {
  display: inline-block;
  margin-top: 10px;
  background-color: #004aad;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.boton-mapa:hover {
  background-color: #00327a;
}

/* Información lateral */
.info-ubicacion {
  flex: 1 1 350px;
  text-align: left;
}

.info-ubicacion h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #222;
}

.info-ubicacion ul {
  list-style: none;
  padding: 0;
  font-size: 1em;
  color: #333;
}

.info-ubicacion li {
  margin-bottom: 12px;
  line-height: 1.4;
}

/* Imágenes grandes y bien visibles */
.imagenes-referencia {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 20px;
}

.imagenes-referencia img {
  width: 240px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.imagenes-referencia img:hover {
  transform: scale(1.05);
}

/* RESPONSIVE: celulares */
@media (max-width: 768px) {
  .ubicacion-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .mapa-container {
    width: 100%;
    padding-bottom: 56.25%;
    min-width: unset;
  }

  .info-ubicacion {
    text-align: center;
    align-items: center;
  }

  .imagenes-referencia {
    justify-content: center;
  }

  .imagenes-referencia img {
    width: 90%;
    max-width: 320px;
    height: auto;
  }
}















.encabezado-seccion {
  position: relative;
  background-image: url('/Imagenes/pnosotros.jpg'); /* Cambia la ruta si es necesario */
  background-size: cover;
  background-position: center  60%  ;        /* poscion de la iamgen  */
  background-repeat: no-repeat;
  text-align: center;
  padding: 90px 40px;
  color: #fff;
  overflow: hidden;
}


.encabezado-galeria {
  background-image: url('/Imagenes/portada1.jpg');
  background-position: center 50%; /* Ajusta solo para esta página */
}

.encabezado-contacto {
  background-image: url('/Imagenes/pcontacto.jpg');
  background-position: center 50%; /* Ajusta solo para esta página */
}


.encabezado-nosotros {
  background-image: url('/Imagenes/portada1.jpg');
  background-position: center 50%; /* Ajusta solo para esta página */
}



.encabezado-seccion::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.80); /* Ajusta la opacidad aquí */
  z-index: 1;
}

.encabezado-seccion h1,
.encabezado-seccion p {
  position: relative;
  z-index: 2;
  color: #fff;
}



/* ESTILOS DE FLECHAS Y PUNTOS */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(12,31,44,0.7);
  color: #fff;
  border: none;
  font-size: 2.2em;
  padding: 6px 16px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.2s;
}
.slider-arrow.prev { 
  left: 32px; 
}
.slider-arrow.next { 
  right: 32px; 
}
.slider-arrow:hover { 
  background: #03B5E0; 
}


.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 38px;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}
.slider-dots .dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.2s, background-color 0.2s;
  border: 2px solid #03B5E0;
}
.slider-dots .dot.active {
  opacity: 1;
  background: #03B5E0;
}

@media (max-width: 600px) {
  .slider-arrow.prev { left: 8px; }
  .slider-arrow.next { right: 8px; }
  .slider-dots { bottom: 16px; }
}

 
 











.whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.whatsapp svg {
  width: 36px;
  height: 36px;
  display: block;
}

.whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.32);
  background: #1ebe57;
}

















.facebook-menu svg circle {
  fill: #fff; /* Fondo blanco por defecto */
  transition: fill 0.2s;
}
.facebook-menu svg path {
  transition: fill 0.2s;
}
.facebook-menu:hover svg circle {
  fill: #0099ff; /* Celeste de tu página al pasar el mouse */
}
.facebook-menu:hover svg path {
  fill: #fff; /
}
.facebook-menu {
  display: flex;
  align-items: center;
  padding: 0 0.5em;
  transition: background-color 0.2s;
}
.facebook-menu svg {
  width: 28px !important;   
  height: 28px !important;
  display: block;
}











.footer {
  background: #0f3d57;
  color: #fff;
  padding: 32px 0 16px 0;
  text-align: center;
}
.footer-content {
  max-width: 900px;
  margin: 0 auto;
}
.footer-logo img {
  margin-bottom: 10px;
}
.footer-social a {
  margin: 0 8px;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.2s;
}
.footer-social a:hover {
  transform: scale(1.15);
}
.footer-menu {
  margin: 12px 0;
  font-size: 1em;
}
.footer-menu a {
  color: #fff;
  text-decoration: none;
  margin: 0 4px;
  transition: color 0.2s;
}
.footer-menu a:hover {
  color: #0099ff;
}
.footer-lema {
  margin: 10px 0 4px 0;
  font-style: italic;
  color: #b3e0ff;
}
.footer-copy {
  font-size: 0.95em;
  color: #b3e0ff;
  margin-top: 8px;
}





/*separador de secciones*/
.separador-svg {
  line-height: 0;
}





#btn-top {
  position: fixed;
  bottom: 90px;
  right: 28px;
  background: #0099ff;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.6em;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  display: none;
  z-index: 1200;
  transition: background-color 0.2s, transform 0.2s;
}
#btn-top:hover {
  background: #0f3d57;
  transform: scale(1.1);
}













/* MENÚ RESPONSIVO MEJORADO */
.menu {
  position: relative;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  position: absolute;
  right: 16px;
  top: -23px;
  z-index: 1201;
  padding: 0 8px;
}
.menu ul {
  display: flex;
  gap: 1.2em;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
    background: var(--azul-principal);
    border-radius: 6px;
  }
  .menu ul {
    flex-direction: column;
    background: #0c1f2c; /* Fondo azul oscuro */
    position: absolute;
    top: 54px;
    right: 0;
    width: 210px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    border-radius: 0 0 12px 12px;
    display: none;
    z-index: 1200;
    align-items: flex-start;
    padding: 16px 0;
  }
  .menu ul.open {
    display: flex;
  }
  .menu ul li {
    width: 100%;
    padding: 0.7em 1.2em;
  }
  .menu ul li a {
    width: 100%;
    display: block;
    color: #fff !important;
    font-size: 1.1em;
  }
  .menu ul li a.active,
  .menu ul li a:hover {
    color: #03B5E0 !important;
    background: rgba(255,255,255,0.04);
    border-radius: 6px;
  }
}


.seccion-venta {
  background-color: #f6f9fc;
  color: #0c1f2c;
  padding: 4rem 2rem;
  text-align: center;
}

.venta-contenido {
  max-width: 1200px;
  margin: 0 auto;
}

.venta-contenido h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0c1f2c;
}

.subtitulo-venta {
  color: #556;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.venta-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.venta-item {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  padding: 1.5rem;
  max-width: 320px;
  text-align: center;
  transition: transform 0.3s ease;
}

.venta-item:hover {
  transform: translateY(-6px);
}

.venta-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.venta-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: #003f6f;
}

.venta-item p {
  font-size: 0.95rem;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .venta-grid {
    flex-direction: column;
    align-items: center;
  }

  .venta-item {
    max-width: 90%;
  }
}




/* boton quiero mi cotizacion gratis */
.mejor-boton {
  background: linear-gradient(90deg, #03B5E0 0%, #004aad 100%);
  color: #fff;
  font-size: 1.13em;
  font-weight: 700;
  padding: 15px 38px;
  border-radius: 30px;
  box-shadow: 0 4px 18px rgba(3,181,224,0.13);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.25s, box-shadow 0.25s, transform 0.18s;
  cursor: pointer;
  text-decoration: none;
}
.mejor-boton:hover {
  background: linear-gradient(90deg, #004aad 0%, #03B5E0 100%);
  box-shadow: 0 8px 28px rgba(3,181,224,0.18);
  transform: translateY(-2px) scale(1.04);
}















.servicio-destacado {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0 40px 0;
  background: #f6f9fc;
}

.tarjeta-servicio.destacado {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
  padding: 1.5rem 2rem 1.5rem 2rem;
  max-width: 500px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  transition: transform 0.3s, box-shadow 0.3s;
}

.tarjeta-servicio.destacado img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.2rem;
}

.tarjeta-servicio.destacado h2 {
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
  color: #003f6f;
}

.tarjeta-servicio.destacado p {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 1.2rem;
}

.tarjeta-servicio.destacado .boton-servicio {
  display: inline-block;
  background: #03B5E0;
  color: #fff;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 1.08em;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
  box-shadow: 0 2px 8px rgba(3,181,224,0.10);
}

.tarjeta-servicio.destacado .boton-servicio:hover {
  background: #0c1f2c;
}

/* Responsive */
@media (max-width: 600px) {
  .servicio-destacado {
    padding: 32px 0 24px 0;
  }
  .tarjeta-servicio.destacado {
    max-width: 95vw;
    padding: 1.2rem 0.5rem 1.5rem 0.5rem;
  }
  .tarjeta-servicio.destacado img {
    height: 140px;
  }
}











.servicio-web-detalle {
  background: #f6f9fc;
  padding: 60px 0 30px 0;
  display: flex;
  justify-content: center;
}
.servicio-web-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1100px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
  padding: 2.5rem 2rem;
  margin: 0 16px;
}
.servicio-web-img {
  width: 350px;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  margin-right: 2.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(3,181,224,0.10);
}
.servicio-web-texto {
  flex: 1;
  min-width: 260px;
}
.servicio-web-texto h2 {
  color: #003f6f;
  margin-bottom: 1.2rem;
}
.servicio-web-texto ul {
  margin-bottom: 1.5rem;
  color: #333;
  font-size: 1.08em;
  padding-left: 1.2em;
}
.servicio-web-texto li {
  margin-bottom: 0.7em;
}
.servicio-web-beneficios {
  background: #eaf4fb;
  padding: 50px 0 30px 0;
  text-align: center;
}
.servicio-web-beneficios h2 {
  color: #003f6f;
  margin-bottom: 2rem;
}
.beneficios-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}
.beneficio {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 1.5rem 1.2rem;
  max-width: 260px;
  min-width: 200px;
  text-align: center;
}
.beneficio img {
  width: 54px;
  height: 54px;
  margin-bottom: 0.7rem;
}
.beneficio h3 {
  color: #004aad;
  margin-bottom: 0.5rem;
}
.beneficio p {
  color: #333;
  font-size: 1em;
}
.servicio-web-cta {
  background: #f2f6ff;
  text-align: center;
  padding: 48px 10px 40px 10px;
}
.servicio-web-cta h2 {
  color: #002244;
  margin-bottom: 0.7em;
}
.servicio-web-cta p {
  color: #444;
  margin-bottom: 1.5em;
  font-size: 1.1em;
}
.servicio-web-cta .boton-servicio {
  background: #03B5E0;
  color: #fff;
  padding: 14px 38px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(3,181,224,0.10);
}
.servicio-web-cta .boton-servicio:hover {
  background: #0c1f2c;
}
@media (max-width: 900px) {
  .servicio-web-info {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 0.7rem;
  }
  .servicio-web-img {
    margin-right: 0;
    margin-bottom: 1.2rem;
    width: 100%;
    max-width: 400px;
    height: 180px;
  }
}
@media (max-width: 600px) {
  .beneficios-grid {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center; 
  }
  .beneficio {
    margin: 0 auto;     
  }
  .servicio-web-info {
    padding: 1rem 0.2rem;
  }
}