body, html {
  font-family: "Source Sans 3", sans-serif;
  background-color: #fff
}

a:active, a:hover, a:link, a:visited {
  text-decoration: none
}

.space0 {
  margin-top: 5px;
  margin-bottom: 5px
}

.space1 {
  margin-top: 10px;
  margin-bottom: 10px
}

.space2 {
  margin-top: 20px;
  margin-bottom: 20px
}

.space3 {
  margin-top: 30px;
  margin-bottom: 30px
}

.space4 {
  margin-top: 40px;
  margin-bottom: 40px
}

.space5 {
  margin-top: 50px;
  margin-bottom: 50px
}

.space6 {
  margin-top: 60px;
  margin-bottom: 60px
}

.space7 {
  margin-top: 70px;
  margin-bottom: 70px
}

.space8 {
  margin-top: 80px;
  margin-bottom: 80px
}

.space9 {
  margin-top: 90px;
  margin-bottom: 90px
}

.space10 {
  margin-top: 100px;
  margin-bottom: 100px
}

.no-padding {
  margin: 0;
  padding: 0
}

a:active,
a:hover,
a:link,
a:visited {
  text-decoration: none;
}

html, body {
  margin: 0;
  width: 100%;
  height: 100%;
}

.contenedor {
  max-width: 1300px;
  margin: 0px auto;
}



.open-sans-<uniquifier> {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth"100;
}

.frasetop h1 {
  font-size: 1em;
  color: rgb(155, 151, 129);
  padding-top: 18px;
}

.frasetop {
  border-left: 2px solid rgb(155, 151, 129);
  padding-left: 20px;
}

.contenedor-flex {
  display: flex;
  justify-content: flex-end;
  /* alinea los elementos al lado derecho */
  gap: 1rem;
  /* espacio entre las imágenes */
  width: 100%;
}

.img-box1 {
  width: 100px;
  /* puedes ajustar el tamaño que necesites */
  height: auto;
}

.img-box2 {
  width: 120px;
  /* puedes ajustar el tamaño que necesites */
  height: auto;
}

.img-box1 img {
  width: 100%;
  height: auto;
  display: block;
}

.img-box2 img {
  width: 100%;
  height: auto;
  display: block;
}


.main-container {
  display: flex;
  width: 100%;
  height: 600px;
  flex-direction: row;
}

.blue-box {
  width: 30%;
  background-color: #004783;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px;
  text-align: left;

}

.infoban h2 {
  font-size: 2.4em;
  margin-bottom: 0.5rem;
  color: #ffbc00;
  font-weight: 800;
}

.infoban p {
  margin-bottom: 1.5em;
  color: #ffffff;
  font-weight: 200;
}

.infoban a {
  background-color: #fff;
  color: #004783;
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  transition: background 0.3s ease;
}

.infoban a:hover {
  background-color: #f0f0f0;
}

.slider-container {
  width: 70%;
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.slider {
  display: flex;
  width: 100%;
  /* Ajustar según número de slides */
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slide {
  width: 100%;
  flex-shrink: 0;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dots {
  position: absolute;
  bottom: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}

.dots .dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
}

.dots .dot.active {
  background-color: #004783;
}

@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
    height: auto;
  }

  .blue-box,
  .slider-container {
    width: 100%;
    height: 300px;
  }

  .slider,
  .slide {
    height: 100%;
  }

  .slide img {
    height: 100%;
  }
}



.titulosp h2 {
  font-size: 2em;
  color: #004783;
  font-weight: 900;
}





.carousel2-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
}

.carousel2-arrow {
  position: absolute;
  bottom: -7%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;
  transition: background 0.3s;
}

.carousel2-arrow:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.carousel2-arrow.prev {
  left: 10px;
}

.carousel2-arrow.next {
  right: 10px;
}

.carousel2-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.carousel2-item {
  flex: 0 0 25%;
  /* siempre muestra 4 ítems */
  box-sizing: border-box;
  padding: 0 1rem;
  text-align: center;
}

.carousel2-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.carousel2-item h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #004783;
  text-align: left;
}

.carousel2-item p {
  font-size: 0.8rem;
  color: #798088;
  font-weight: 200;
  text-align: left;
}

.carousel2-dots {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 0.5rem;
}

.carousel2-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
}

.carousel2-dots .dot.active {
  background: #004783;
}

/* Responsive */

@media (max-width: 1199.98px) {
  .carousel2-item {
    flex: 0 0 33.3333%;
    /* 3 por fila */
  }
}

@media (max-width: 991.98px) {
  .carousel2-item {
    flex: 0 0 50%;
    /* 2 por fila */
  }
}

@media (max-width: 767.98px) {
  .carousel2-item {
    flex: 0 0 100%;
    /* 1 por fila */
  }
}








.bg-gris {
  background-color: #f4f4f4;
  padding: 60px 0px;
}

.infocotiza {}

.infocotiza h2 {
  color: #e8b066;
  font-size: 1.5em;
  font-weight: 800;
}

.infocotiza p {
  color: #798088;
  font-size: 1em;
  font-weight: 200;
}


.capcomocot {
  background-color: #004783;
  color: #fff;
  font-size: 1.3em;
  font-weight: bold;
  text-align: center;
  padding: 20px 30px;
  width: 250px;
  border-radius: 40px;
  position: absolute;
  margin-top: -100px;
}




.gallery-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
}

.gallery-carousel-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.gallery-slide {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 0 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
}

/* Dots */
.gallery-carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 0.5rem;
}

.gallery-carousel-dots .dot {
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.gallery-carousel-dots .dot.active {
  background: #004783;
}

/* Responsive */
@media (max-width: 991.98px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .gallery-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .gallery-grid img {
    height: 250px;
  }
}

.infogal h2 {
  color: #363e44;
  font-size: 2.5em;
  font-weight: 900;
  margin: 0px;
}

.infogal h3 {
  color: #363e44;
  font-size: 2.5em;
  font-weight: 100;
  margin: 0px;
}

.infogal h4 {
  color: #363e44;
  font-size: 1.5em;
  font-weight: 800;
}

.infogal ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-left: -7px;
}

.infogal ul li {
  color: #ffbc00;
  font-size: 1.5rem;
  /* aumenta el tamaño del texto y del punto */
}

.infogal ul li span {
  color: #363e44;
  font-size: .7em;
  font-weight: 300;
}


.bgtitusomos {
  background-color: #c7c7bd;
  padding: 30px 0px;
}

.bgtitusomos h2 {
  font-size: 1.5em;
  font-weight: 800;
  color: #363e44;
  text-align: center;
}

.nostros p {
  font-size: 1em;
  font-weight: 200;
  color: #798088;
  line-height: 28px;
}

.nostros h3 {
  color: #ffbc00;
  font-style: italic;
  font-weight: 500;
  font-size: 2.4em;
}

.bgfoot {
  background: #004783 url(../img/3x/fondofootelements@3x.png);
  padding: 30px 0px;
  background-size: 50%;
  background-position: top right;
  background-repeat: no-repeat;
}

.bglines {
  background-image: url(../img/3x/curva1@3x.png);
  background-size: 15%;
  background-position-y: top;
  background-position-x: calc(50% + 200px);
  background-repeat: no-repeat;
  padding: 30px 0px;
}

.bglines2 {
  background-image: url(../img/3x/curva1@3x.png);
  background-size: 15%;
  background-position-y: top;
  background-position-x: calc(50% + 200px);
  background-repeat: no-repeat;
  padding: 30px 0px;
}

.bglines3 {
  background-image: url(../img/3x/curva1@3x.png);
  background-size: 15%;
  background-position-y: bottom;
  background-position-x: calc(0% + 100px);
  background-repeat: no-repeat;
  padding: 30px 0px;
}

.bglines4 {
  background-image: url(../img/3x/curva1@3x.png);
  background-size: 25%;
  background-position-y: bottom;
  background-position-x: calc(90% + 40px);
  background-repeat: no-repeat;
  padding: 30px 0px;
}

.redes {
  text-align: center;
}

.redes ul {
  margin-left: -25px;
}

.redes ul li a img {
  width: 40px;
}

.redes ul li {
  display: inline;
  padding: 0px 10px;
}

.logo-blanco {
  text-align: center;
}

.infofoot h2 {
  font-size: 1em;
  color: #fff;
  font-weight: 800;
}

.infofoot p {
  font-size: .9em;
  color: #fff;
}

.infofoot a {
  font-size: .9em;
  color: #fff;
}


.cred1,
.cred2 {
  text-align: center;
  margin: 0.5rem 0;
}

.cred1 {
  color: #ffffff;
  font-size: .8em;
}

.cred2 a {
  color: #ffffff;
  font-size: .8em;
}

@media (min-width: 768px) {
  .cred1 {
    text-align: left;
  }

  .cred2 {
    text-align: right;
  }



}

.bg-cred {
  background-color: #00345f;
  padding: 20px 0px;
}





.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #004783;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  /* por defecto centrado vertical */
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow: hidden;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Alineación al top y scroll SOLO en móviles */
@media (max-width: 767.98px) {
  .menu-overlay {
    align-items: flex-start;
    /* alinea arriba */
    overflow-y: auto;
    /* habilita scroll */
    padding-top: 4rem;
    /* espacio arriba para no pegar al borde */
  }
}

.menu-grid {
  display: flex;
  width: 100%;
  max-width: 1000px;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.menu-nav ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0;
  color: white;
  text-align: left;
}

.menu-nav li {
  margin: 1.2rem 0;
}

.menu-nav a {
  color: #ffbc00;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
  transition: color 0.3s ease;
}

.menu-nav a:hover {
  color: #ffffff;
}

.menu-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.menu-gallery img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Botón cerrar */
.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 10001;
}

.close-btn:hover {
  transform: rotate(90deg);
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .menu-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .menu-nav ul {
    padding-left: 0;
    list-style: none;
  }

  .menu-gallery {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .menu-gallery img {
    width: 40vw;
    height: auto;
  }
}







.contenido-galeria {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
}

.columna1 {
  background-color: #004783;
  color: white;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.columna2 {
  background-color: #ffffff;
  padding: 2rem;
}

.columna1 h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.columna1 p {
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.btn-agendar {
  background-color: #ffbc00;
  color: #004783;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-agendar:hover {
  background-color: #e0a800;
}



/* Galería independiente: gallery-carousel2 */

.gallery-box1-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 2rem;
}

.gallery-box1-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.gallery-box1-slide {
  flex: 0 0 100%;
  box-sizing: border-box;
}

.gallery-box1-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-box1-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.gallery-box1-grid video {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}


.gallery-box1-dots {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 0.5rem;
}

.gallery-box1-dots .dot {
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.gallery-box1-dots .dot.active {
  background: #004783;
}

@media (max-width: 768px) {
  .gallery-box1-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-box1-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .gallery-box1-grid img {
    height: 200px;
  }
}





.formulario-flex-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.col-izquierda {
  width: 40%;
  min-height: 100%;
  background-image: url('../img/form.jpeg');
  /* Cambia esta ruta */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.col-derecha {
  width: 60%;
  padding: 2rem;
  background-color: #f9f9f9;
}

.form-elegante h2 {
  font-size: 1.8rem;
  color: #004783;
  margin-bottom: 0.5rem;
}

.form-elegante p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #333;
  font-size: .9em;
}

.form-group p {
  display: block;
  color: #787878;
  font-size: .8em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: .9em;
  background-color: #fff;
}

.form-checkx {}

.form-checkx input {}

.form-checkx label {
  font-size: 0.9rem;
  color: #444;
}

.btn-enviar {
  background-color: #004783;
  color: #fff;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-enviar:hover {
  background-color: #00345c;
}

@media (max-width: 768px) {

  .col-izquierda,
  .col-derecha {
    width: 100%;
  }

  .col-izquierda {
    height: 200px;
  }
}


.cajamisvis {
  background-color: #dfdfd9;
  padding: 10px;

}

.clientes {
  margin: 10px;
}


.wap {
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  display: block;
  z-index: 1000;
}