* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



html, body{
  margin: 0;
  padding: 0;
  background-color: #fef9e7;
}



.barra-encabezado {
    background-color: #192851;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);

}

.contenedor-logo img {
   height: 200px;
}

.bienvenida-encabezado {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px; 
  background-color: #192851;
  color: #cdbea1; 
  font-size: 2.2em; 
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: salir-vehiculo 4s ease forwards;
  animation-delay: 0.9s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
}


.franja-amarilla {
  background-color: transparent;
  padding: 0;
  display: inline-block;
  border-radius: 0;
}

.texto-bienvenida {
  font-size: 1.8rem;
  font-weight: bold;
  color: #cdbea1;
  opacity: 0;
  animation:
    aparecer-texto 0.3s ease-in 0.2s forwards,
    desaparecer-texto 0.4s ease-out 1.3s forwards;
}

.contenido-principal {
    padding-top: 220px; 
}


.barra-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
}

.barra-links a {
    text-decoration: none;
    color: #0033a0;
    font-size: 23px;
    transition: color 0.3s ease;
    font-family: Arial, Helvetica, sans-serif;
    font-style: oblique;
   text-shadow: #cdbea100;;
   font-style: bold;
   
  
}

.barra-links a:hover {
    color: #192851;
}


 .aparecer {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
  }
  
  .aparecer.visible {
    opacity: 1;
    transform: translateY(0);
  }

 .quienes-somos, .propuesta {
  padding: 60px 30px 30px;
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin: 30px auto;
  max-width: 1000px; 
  width: 90%; 
  
}

.quienes-somos h2 {
  font-size: 1.9em;
  color: #336aff;
  margin-bottom: 20px;
}

.quienes-somos h2::after {
  content: '';
  display: block;
  width: 100%; 
  height: 3px;
  background-color: #336aff;
  margin: 8px auto 0;
  border-radius: 2px;
  
}

.imagen-quienes {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 25px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.quienes-somos p {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #000000;
  margin-bottom: 12px;
  justify-content: center;
  text-align: justify;
}

.propuesta p {
  font-size: 1.8em;
  max-width: 850px;
  margin: 20px auto;
  line-height: 1.8;
  text-align: justify;
 color: #444;
}

.quienes-somos, .propuesta {
  padding: 60px 30px 30px;
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin: 30px auto;
  max-width: 1000px;
  width: 90%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quienes-somos:hover, .propuesta:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}


.mision-vision {
  background-image: url('/Imagenes/Inicio/cosas.jpg');
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center; 
}

.contenido-mv, .cuadro-mv {
  flex: 1 1 420px;
  background-color: #ffffffda; 
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
  max-width: 600px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(5px);
}


.contenido-mv:hover, .cuadro-mv:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.contenido-mv h3 {
  font-size: 2em;
  color: #336aff;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 2px solid #336aff;
  padding-bottom: 10px;
}

.cuadro-mv h3 {

  font-size: 2em;
  color: #336aff;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 2px solid #336aff;
  padding-bottom: 10px;
}

.contenido-mv p, .cuadro-mv p {
  font-size: 1.6em;
  line-height: 1.8;
  text-align: justify;
 color: #000000;
}

.propuesta-valor{
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.cuadro-propuesta{
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 1000px;
  background: #ffffff;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-radius: 15px;
  overflow: hidden;
}

.cuadro-propuesta img {
  width: 300px;
  height: auto;
  object-fit: cover;
}

.texto-propuesta{
  padding: 30px;
  flex: 1;
  color: #000000;
}

.texto-propuesta h3{

font-size: 2em;
margin-bottom: 15px;
color: #336aff;
}

.texto-propuesta p {
  font-size: 1.6em;
  line-height: 1.6;
}
 
.valores-corporativos h1
{

  text-align: center;
  font-size: 2em;
  color: #336aff;

}

   .acordeon-contenido {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
  position: relative;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  text-align: center;
  margin: 20px auto;
  width: 80%;
  max-width: 600px;
}


.acordeon-item.activo .acordeon-contenido {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

  .acordeon-item .acordeon-contenido {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  font-size: 1.2em;
  color: #444;
  padding: 0 20px;
  margin: 0 20px;
  border-radius: 0;
  box-shadow: none;
  background-color: transparent;
  position: relative;
  z-index: 1;
}

.acordeon-item.activo .acordeon-contenido {
  max-height: 500px; 
  padding: 20px 30px 30px;
  margin: 20px auto;
  background-color: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  font-size: 1.6em;
  color: #222;
  text-align: justify;
  position: relative;
  z-index: 10; 
  width: 90%;
  max-width: 700px;
}


.acordeon-titulo-contenido {
  font-weight: bold;
  font-size: 1.8em;
  color: #336aff;
  margin-bottom: 15px;
  border-bottom: 2px solid #336aff;
  padding-bottom: 8px;
  text-align: center;
}

.acordeon-btn {
  background-color: #336aff;
  color: white;
  border: none;
  padding: 15px 25px;
  font-size: 1.2em;
  font-weight: 600;
  border-radius: 12px;
  margin: 10px auto;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 600px;
  display: block;
  text-align: center;
}

.acordeon-btn:hover {
  background-color: #264ecf;
  transform: translateY(-2px);
}

.acordeon-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(51, 106, 255, 0.3);
}

    

.vigilancia {
  background: linear-gradient(to right, #f9faff, #eef3ff);
  padding: 60px 30px;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  margin: 40px auto;
  max-width: 1000px;
  width: 90%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #d0dbff;
}

.vigilancia h2 {
  font-size: 2.7em;
  color: #336aff;
  margin-bottom: 25px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.vigilancia p {
  font-size: 1.8em;
  color: #000000;
  max-width: 900px;
  margin: 15px auto;
  line-height: 1.8;
  text-align: justify;
}


.vigilancia:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.convenios {
background-color: #ffffff00;
padding: 60px 20px;
text-align: center;
}

.convenios h2 {
  font-size: 2em;
  color: #1a2a6c;
  margin-bottom: 30px;
}

.convenios-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
} 



.convenio-confianza {
  width: 250px;
  height: 250px;
  
}

.convenio-serquerer {
  width: 240px;
  height: 180px;
  margin-top: 25px;
}

.convenio-tercero {
  width: 220px;
  height: auto;
}


.footer {
  background-color: #192851;
  color: white;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-imagen {
  background-image: url('/Imagenes/Inicio/capitall.jpeg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center left;
  height: 150px;
  flex: 1 1 300px;
  min-width: 250px;
}

.footer-info {
  flex: 1 1 400px;
  padding: 20px;
  text-align: left;
}

.footer-info h3 {
  margin-bottom: 10px;
  font-size: 1.8em;
}

.footer-info p {
  font-size: 1.2em;
  margin: 6px 0;
}

.footer-info a {
  color: #00c3ff;
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: underline;
}


@keyframes aparecer-texto {
  to { opacity: 1; }
}

@keyframes desaparecer-texto {
  to { opacity: 0; }
}

@keyframes desvanecer-franja {
  to { background-color: transparent; }
}

 
@keyframes salir-vehiculo {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

 .aparecer {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
  }
  
.whatsapp-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.whatsapp-button {
  background-color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  cursor: pointer;
}

.whatsapp-button img {
  width: 35px;
  height: 35px;
}

.whatsapp-chat {
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 250px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  font-family: Arial, sans-serif;
}

.chat-header {
  background-color: #25D366;
  color: white;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.chat-header button {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.chat-body {
  padding: 15px;
  font-size: 14px;
}

.chat-body .iniciar-chat {
  display: inline-block;
  margin-top: 10px;
  background-color: #25D366;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.chat-body .iniciar-chat:hover {
  background-color: #128C7E;
}
.scroll-top-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
  background-color: #004aad;
  color: white; 
  border: none;
  padding: 10px 16px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.scroll-top-btn:hover {
  background-color: #003580;
}