@import url('https://fonts.googleapis.com/css2?family=Krona+One&family=Lato&family=Poppins:wght@400;500;600;700;800&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #000000;
}

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

a {
  text-decoration: none;
  color: black;
}

#nosotros,
#contacto,
#servicios {
  scroll-margin-top: 95px;
}

/* Header */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 30px;
}

.navbar ul {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.navbar ul li {
  list-style: none;
}

.navbar ul li a {
  color: #FFFFFF;
  letter-spacing: 2px;
  font-weight: 600;
  transition: 0.4s;
}

nav ul li a:hover {
  color: #2F3234;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  transition: 0.7s;
  padding: 15px;
  z-index: 1000;
}

nav.abajo {
  background: rgba(0, 0, 0, 0.80);
  padding: 10px;
}

nav.abajo ul li a {
  color: #FFFFFF;
}

nav.abajo ul li a:hover {
  color: #FFD700;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  transition: transform 0.7s;
}

.logo img {
  height: 90px;
  margin-right: -10px;
  margin-top: -10px;
  cursor: pointer;
}

.logo:hover {
  transform: scale(1.08);
}

/* Banner */
.carousel2 {
  width: 100%;
  min-height: 100vh;
  height: auto;
  padding: 140px 20px 70px;
  background: linear-gradient(
    rgba(5, 7, 12, 0.5),
    rgba(5, 7, 12, 0.5)
  ), url(img/images/banner7.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
}

.carrusel h1 {
  font-size: clamp(2rem, 8vw, 5rem);
  color: #F9FAFC;
  text-transform: uppercase;
  line-height: 1.08;
  word-break: break-word;
}

.carrusel p {
  font-size: clamp(14px, 3vw, 16px);
  color: #E2DFDF;
  margin-top: 25px;
}

/* Equipo */
.acomodo {
  text-align: center;
  margin-top: 70px;
  margin-bottom: 120px;
}

.acomodo h2 {
  font-size: 35px;
}

.acomodo p {
  font-size: 19px;
  margin-bottom: 70px;
}

.acomodo-img {
  display: initial;
  position: absolute;
  top: 0;
  right: 0;
}

.equipo-padre {
  background-color: #E1E2E6;
}

.wrapper {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.wrapper .carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% / 3) - 12px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel .card {
  scroll-snap-align: start;
  min-height: 360px;
  list-style: none;
  background: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  padding: 15px;
  box-sizing: border-box;
}

.carousel :where(.card, .img) {
  display: flex;
  justify-content: center;
  align-items: center;
}

.card .img img {
  width: 250px;
  height: 155px;
  object-fit: contain;
}

.carousel .card h3 {
  color: #323337;
  margin-top: 10px;
  font-size: 15px;
}

.carousel .card span {
  color: #6A6D78;
  text-align: center;
  line-height: 1.5;
  font-size: 13px;
}

/* Servicios */
.servicios {
  background-image: linear-gradient(
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.5)
  ), url(img/images/bg1.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.servicios-titulo {
  font-size: 55px;
  line-height: 70px;
  color: #F9FAFC;
  text-transform: uppercase;
  margin-bottom: 50px;
}

.servicios-1 img {
  width: 50px;
  height: 50px;
  margin: 0 auto;
}

.servicios-1 h3 {
  color: #EACCB3;
  font-size: 18px;
}

.servicios-content p {
  font-size: 16px;
  color: #C5C5C5;
  margin-bottom: 50px;
  padding: 0 100px;
}

.container {
  text-align: center;
}

/* Nosotros */
.nosotros-container {
  text-align: left;
  padding-left: 5em;
  padding-right: 5em;
  padding-bottom: 3em;
}

.nosotros-container h2 {
  line-height: 70px;
  text-transform: uppercase;
  margin-bottom: 10px;
  margin-top: 20px;
}

.nosotros h2 {
  font-size: 55px;
}

.nosotros h3 {
  color: #47AAAD;
  font-size: 20px;
}

.nosotros img {
  height: 130px;
  padding: 15px 30px 0 0;
  margin-bottom: 30px;
}

.nosotros p {
  font-size: 18px;
  padding: 20px;
}

.nosotros-1 {
  background-image: url(img/images/nosotros-1.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 50%;
}

/* Ubicación */
.ubicacion {
  width: 100%;
}

.ubicacion iframe {
  width: 100%;
  height: 100%;
  min-height: 450px;
  border: 0;
}

.ubicacion-1 {
  text-align: left;
  padding-left: 5em;
  padding-right: 5em;
}

.ubicacion-1 h2 {
  padding-top: 1em;
  font-size: 50px;
  margin-bottom: 30px;
}

.ubicacion-1 p {
  font-size: 18px;
  padding: 10px;
}

.padd {
  padding-bottom: 5em;
}

.boton {
  font-size: 20px;
  color: #FFFFFF;
  border: 0;
  background-color: #48AAAD;
  box-shadow: 0 0 20px rgba(215, 144, 113, 0.4);
  cursor: pointer;
  padding: 10px 60px;
  display: inline-block;
}

.boton:hover {
  background-color: #007F8D;
}

/* Contacto */
.blog {
  width: 100%;
  min-width: 100%;
  margin: 0;
  padding: 80px 15px;
  text-align: center;
  background-image: linear-gradient(
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.2)
  ), url(img/images/d1.jpeg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.titulo-contacto {
  font-size: clamp(2rem, 7vw, 55px);
  text-transform: uppercase;
  margin-bottom: 30px;
}

.formulario {
  width: min(100%, 640px);
  padding: 30px 20px;
  box-shadow: 0 0 20px rgb(0 0 0 / 20%);
  text-align: center;
  background-color: #D2D4E6;
}

.padre {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-group {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin: 30px auto 0;
  width: 100%;
}

.tituform {
  color: #283629;
  font-size: clamp(1.6rem, 5vw, 35px);
  line-height: 1.2;
  margin-bottom: 30px;
}

label {
  color: #283629;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

input,
textarea {
  width: 100%;
  padding: 17px;
  margin-bottom: 20px;
  background-color: #FFFFFF;
  border: 2px solid #92AABA;
  color: #828282;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

input::placeholder,
textarea::placeholder {
  font-size: 16px;
  color: #A0A0A0;
}

.btn-formulario {
  width: 100%;
  font-size: 16px;
  color: #FFFFFF;
  border: 0;
  background-color: #48AAAD;
  box-shadow: 0 0 20px rgba(215, 144, 113, 0.4);
  cursor: pointer;
  padding: 15px;
}

.btn-formulario:hover {
  background-color: #007F8D;
}

/* Correo */
.contenedor {
  background-color: #000000;
}

.contenedor-2 {
  background-color: #000000;
}

.contenedor-2 h2 {
  color: #FFFFFF;
  font-size: 18px;
}

.enlace-correo {
  text-decoration: none;
  color: white;
  position: relative;
  font-size: 18px;
  word-break: break-word;
}

.enlace-correo:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1.5px;
  width: 100%;
  background: dodgerblue;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.5s ease-in-out;
}

.enlace-correo:hover {
  color: dodgerblue;
}

.enlace-correo:hover:after {
  transform-origin: left;
  transform: scaleX(1);
}

/* Footer */
.footer {
  background-color: #000000;
}

.footer-content p {
  color: white;
}

.footer-content p a {
  color: white;
  text-decoration: none;
}

/* WhatsApp */
.btn-wsp {
  position: fixed;
  width: 70px;
  height: 70px;
  line-height: 70px;
  bottom: 65px;
  right: 30px;
  background: #0df053;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 50px;
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
  z-index: 100;
}

.btn-wsp:hover {
  text-decoration: none;
  color: #0df053;
  background: #fff;
}

.divoculto {
  position: fixed;
  bottom: 75px;
  right: 130px;
  background-color: #E9EAEA;
  color: #333;
  border: 1px solid #ccc;
  padding: 10px 15px;
  font-weight: 500;
  border-radius: 50px;
  box-shadow: 15px 1px 20px rgba(0, 0, 0, 0.2);
  display: inline-block;
  width: auto;
  height: auto;
  white-space: nowrap;
  z-index: 99;
}

.divoculto::after {
  content: "";
  display: block;
  position: absolute;
  top: 15px;
  right: -14px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 15px solid #E9EAEA;
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* Extra utilities */
.flex-equal > * {
  flex: 1;
}

@media (min-width: 768px) {
  .flex-md-equal > * {
    flex: 1;
  }
}

/* Responsive */
@media screen and (max-width: 900px) {
  .wrapper .carousel {
    grid-auto-columns: calc((100% / 2) - 10px);
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }

  .logo img {
    height: 55px;
    margin: 0;
  }

  #navbarCollapse {
    background: rgba(0, 0, 0, 0.92);
    padding: 15px;
    margin-top: 10px;
    border-radius: 10px;
  }

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

  .navbar ul li {
    width: 100%;
    text-align: center;
  }

  .navbar ul li a {
    display: block;
    margin: 0;
    padding: 10px 0;
  }

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

  .acomodo h2 {
    font-size: 32px;
  }

  .servicios {
    background-attachment: scroll;
  }

  .servicios-content h1 {
    font-size: 40px;
    line-height: 1.2;
  }

  .servicios-content p {
    font-size: 15px;
    padding: 0 20px;
  }

  .nosotros h2,
  .ubicacion-1 h2 {
    font-size: 40px;
  }

  .nosotros-1,
  .ubicacion,
  .bg-body-tertiary {
    width: 100% !important;
  }

  .nosotros-1 {
    height: 300px;
  }

  .nosotros-container,
  .ubicacion-1 {
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
  }

  .nosotros-container p,
  .ubicacion-1 p {
    font-size: 17px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .ubicacion iframe {
    display: none;
  }

  .boton {
    padding: 10px 25px;
    font-size: 16px;
  }

  .btn-wsp {
    width: 58px;
    height: 58px;
    line-height: 58px;
    font-size: 38px;
    right: 15px;
    bottom: 20px;
  }

  .divoculto {
    right: 82px;
    bottom: 28px;
    font-size: 13px;
    padding: 8px 12px;
    max-width: 180px;
    white-space: normal;
  }

  .divoculto::after {
    top: 12px;
  }

  .enlace-correo {
    font-size: 16px;
  }
}

@media screen and (max-width: 600px) {
  .wrapper .carousel {
    grid-auto-columns: 100%;
    gap: 12px;
  }

  .carousel .card {
    min-height: 380px;
    padding: 15px;
  }
}

@media (max-width: 1145px) {
  .acomodo-img {
    display: none;
  }
}