body {
  font-family: "Montserrat", sans-serif;
  background-color: #000;
}
.menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #94815abf;
  width: 85%;
  margin: 10px auto;
  height: 60px;
  border-radius: 15px;
  padding: 0 5px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
}
.menu a {
  background: transparent;
}
.menu img {
  width: 50px;
  background: transparent;
  transition: transform 250ms cubic-bezier(0.4, 0, 1, 1);
}
.menu img:hover {
  transform: translateY(-5px);
}
.menu nav {
  display: flex;
  gap: 15px;
}
.nav-links {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  background: transparent;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
  padding: 0 2px;
  padding-top: 5px;
  padding-bottom: 5px;
  border-radius: 15px;
  background: transparent;
  transition: all 250ms cubic-bezier(0.39, 0.58, 0.57, 1);
}
.nav-links a:hover {
  color: #fff;
  background-color: #000;
  transform: translateY(-3px);
}
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  margin-right: 5px;
  margin-top: 8px;
  width: 30px;
  height: 25px;
  cursor: pointer;
  z-index: 1001;
  position: absolute;
  top: 12px;
  right: 15px;
}
.hamburger-menu .bar {
  width: 100%;
  height: 3px;
  background-color: #fff;
  transition: all 0.4s ease-in-out;
  border-radius: 2px;
}
.hamburger-menu.active .bar:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.hamburger-menu.active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active .bar:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}
.carousel {
  width: 100%;
  object-fit: cover;
  text-align: center;
  margin: auto;
}
.carousel img {
  width: 100%;
  object-fit: cover;
  text-align: center;
  margin: auto;
}
#nosotros {
  width: 90%;
  max-width: 1500px;
  margin: 50px auto;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 40px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
#nosotros img {
  width: 45%;
  max-width: 450px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block;
  text-align: center;
  align-content: center;
  justify-content: center;
  margin: auto;
  transition: transform 250ms cubic-bezier(0.4, 0, 1, 1);
}
#nosotros img:hover {
  transform: translateY(-5px) scale(1.03);
}
#nosotros .contenido {
  width: 50%;
  min-width: 300px;
}
#nosotros h2 {
  color: #94815a;
  font-size: 32px;
  margin-bottom: 20px;
}
#nosotros h3 {
  color: #94815a;
  font-size: 20px;
  margin: 20px 0 10px;
}
#nosotros p {
  color: #333;
  line-height: 1.6;
  font-size: 16px;
  margin-bottom: 10px;
}
#historia {
  width: 90%;
  max-width: 1500px;
  margin: 50px auto;
  background-color: #000000;
  border: 2px solid #94815a;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 40px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
#historia img {
  width: 45%;
  max-width: 450px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block;
  text-align: center;
  align-content: center;
  justify-content: center;
  margin: auto;
  transition: transform 250ms cubic-bezier(0.4, 0, 1, 1);
}
#historia img:hover {
  transform: translateY(-5px) scale(1.03);
}
#historia .contenido {
  width: 50%;
  min-width: 300px;
}
#historia h2 {
  color: #94815a;
  font-size: 32px;
  margin-bottom: 20px;
}
#historia p {
  color: #fff;
  line-height: 1.6;
  font-size: 16px;
  margin-bottom: 10px;
}
#consultas h2 {
  color: #94815a;
  font-weight: 500;
}
#contacto h2 {
  color: #94815a;
  font-weight: 500;
}
#consultas .card {
  border-radius: 10px;
}
#contacto .card {
  border-radius: 10px;
}
form .form-label {
  font-weight: 600;
  color: #94815a;
}
form .form-control,
form textarea {
  border-radius: 8px;
  border: 1px solid #958787;
  padding: 12px;
  font-size: 1rem;
  transition: border-color 0.3s;
}
form .form-control:focus,
form textarea:focus {
  border-color: #94815a;
  box-shadow: 0 0 0 1px #d2c9b7;
}
form textarea {
  min-height: 80px;
  resize: vertical;
}
form .btn {
  background-color: #94815a;
  color: white;
  font-weight: bold;
  padding: 7px;
  border-radius: 8px;
  width: 20%;
  border-radius: 20px;
  margin: auto;
  transition: background-color 0.3s ease, transform 250ms cubic-bezier(0.4, 0, 1, 1);
}
form .btn:hover {
  transform: translateY(-5px);
}
@media (max-width: 1220px) {
  form .btn {
    margin-left: auto;
    margin-right: auto;
    width: 150px;
  }
}
form .btn:hover {
  background-color: #393121;
  color: white;
}
.invalid-feedback {
  font-size: 0.9rem;
  color: red;
}
#servicios .carousel-item img {
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  transition: transform 250ms cubic-bezier(0.4, 0, 1, 1);
}
#servicios .carousel-item img:hover {
  transform: scale(1.02);
}
#servicios h4 {
  color: #94815a;
  font-weight: 500;
  padding: 5px;
}
#servicios p {
  font-size: 1.1rem;
  color: #fff;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
  top: 210px !important;
  transition: transform 0.3s cubic-bezier(0.39, 0.58, 0.57, 1);
}
.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  transform: scale(1.15);
}
.carousel-control-prev-icon.bg-success,
.carousel-control-next-icon.bg-success {
  background-color: #94815a !important;
  padding: 20px;
}
.preguntas {
  display: flex;
  gap: 20px;
  background-color: transparent;
  padding: 20px;
  width: 80%;
  margin: auto;
  border-radius: 10px;
  max-height: none;
}
.pregunta-lista {
  width: 40%;
  display: flex;
  flex-direction: column;
}
.pregunta-btn {
  background-color: #f5f5f5;
  color: #000;
  font-weight: 600;
  border: 1.5px solid #94815a;
  padding: 12px 15px;
  margin-bottom: 10px;
  margin-top: 10px;
  text-align: left;
  cursor: pointer;
  border-radius: 20px;
  z-index: 1;
  transition: background 0.3s, color 0.3s;
  transition: transform 0.3s cubic-bezier(0.53, 0.19, 0.54, 0.91);
}
.pregunta-btn:hover {
  background-color: #efdebbb8;
  border: 1.5px solid #94815a;
}
.pregunta-btn.active {
  background-color: #94815a;
  border: 1.5px solid #94815a;
  color: white;
  transform: translateX(-30px);
}
.respuesta-contenedor {
  width: 80%;
  margin-left: -50px;
  background-color: #fff;
  border: 1.5px solid #94815a;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
  z-index: 0;
}
.respuesta {
  display: none;
  color: #333;
  font-size: 16px;
  line-height: 1.5;
  padding: 0 30px;
  max-width: 700px;
  width: 100%;
  text-align: center;
}
.respuesta h3 {
  color: #94815a;
  text-align: center;
  font-size: 2.2rem;
}
.respuesta p {
  text-align: center;
  margin-top: 10px;
  color: #000;
}
.respuesta a {
  text-decoration: none;
  color: #94815a;
  font-weight: 600;
  font-size: 1.2rem;
}
.respuesta a {
  text-decoration: none;
  color: #94815a;
  font-weight: 600;
  font-size: 1.1rem;
}
.respuesta.active {
  display: block;
}
h2 {
  color: #94815a;
  font-weight: 500;
  text-align: center;
}
.location-section {
  display: flex;
  background-color: transparent;
  overflow: hidden;
  max-width: 1500px;
  margin: auto;
}
.map-container {
  flex: 1;
  min-height: 450px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 10px;
}
.address-container {
  flex: 1;
  padding: 2rem;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.address-container h5 {
  font-size: 20px;
  margin-bottom: 1rem;
  color: #94815a;
}
.address-container p,
.address-container p a {
  font-size: 16px;
  color: #fff;
  line-height: 1.5;
  text-decoration: none;
}
.address-container p a:hover {
  color: #c0a977;
}
.ubicacion {
  background: transparent;
  width: 90%;
  height: 500px;
  text-align: center;
  align-content: center;
  margin: auto;
  border-radius: 15px;
  border: 2px solid #94815a;
}
footer {
  background-color: #94815a;
  color: #000;
  padding: 20px 20px;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}
.footer-contenido {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}
footer section {
  padding: 20px;
  flex: 1;
  min-width: 220px;
}
#footerLeyenda {
  text-align: center;
  flex: 1.5;
  min-width: 250px;
}
#footerLeyenda img {
  width: 200px;
  margin-top: 25px;
  margin-bottom: 10px;
  transition: transform 250ms cubic-bezier(0.4, 0, 1, 1);
}
#footerLeyenda img:hover {
  transform: translateY(-5px) scale(1.05);
}
#footerLeyenda p {
  font-size: 1.2rem;
  color: #000;
  margin: 0;
}
#accesoRapido {
  text-align: center;
}
#accesoRapido h3,
#footerRedes h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  border-bottom: 2px solid #fff;
  display: inline-block;
  padding-bottom: 5px;
}
#accesoRapido ul {
  list-style: none;
  padding: 0;
}
#accesoRapido ul li {
  margin-bottom: 8px;
}
#accesoRapido ul li a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s;
}
#accesoRapido ul li a:hover {
  color: #fff;
  text-decoration: none;
}
#footerRedes {
  text-align: center;
}
.redes-sociales {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  gap: 15px;
}
footer section#footerRedes .bi {
  color: #000;
  transition: color 0.3s;
  transition: transform 250ms cubic-bezier(0.4, 0, 1, 1);
}
footer section#footerRedes .bi:hover {
  color: #fff;
  transform: translateY(-5px);
}
footer hr {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 20px auto;
  width: 90%;
  max-width: 1160px;
}
.interlab {
  font-size: 1rem;
  text-align: center;
  margin: auto;
  padding-top: 10px;
}
.interlab a {
  text-decoration: none;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.interlab a:hover {
  color: #fff;
}
.interlabImg {
  width: 150px;
  max-width: 200px;
  height: auto;
  transition: transform 250ms cubic-bezier(0.4, 0, 1, 1);
}
.interlabImg:hover {
  transform: translateY(-5px) scale(1.05);
}
#scrollToTopBtn {
  padding: 0;
  font-size: 24px;
  background-color: #94815a;
  width: 50px;
  height: 50px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  opacity: 0.8;
  transition: opacity 0.3s ease-in-out;
  line-height: 1;
  z-index: 1;
}
#scrollToTopBtn:hover {
  opacity: 1;
}
@media (max-width: 1220px) {
  #consultas .card {
    margin-left: auto;
    margin-right: auto;
    width: 90%;
  }
  #contacto .card {
    margin-left: auto;
    margin-right: auto;
    width: 90%;
  }
}
@media (max-width: 1024px) {
  .preguntas {
    flex-direction: column;
    align-items: center;
    width: 95%;
  }
  .pregunta-lista {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .pregunta-btn {
    width: auto;
    flex: 1 1 45%;
    margin: 8px;
    text-align: center;
  }
  .pregunta-btn.active {
    transform: translateY(-10px);
  }
  .respuesta-contenedor {
    width: 100%;
    margin-left: 0;
    min-height: 300px;
  }
}
@media (max-width: 1102px) {
  .location-section {
    flex-direction: column;
  }
  .map-container iframe {
    width: 90%;
    height: 300px;
  }
  .address-container h5 {
    font-size: 18px;
    margin-bottom: 0.5rem;
  }
  .address-container p {
    font-size: 14px;
  }
  .address-container {
    padding: 0;
  }
  .map-container {
    min-height: 0px;
  }
  .ubicacion {
    height: 590px;
    width: 90%;
  }
}
@media (max-width: 991px) {
  #servicios .carousel-item img {
    width: 90% !important;
    height: 300px !important;
  }
}
@media (max-width: 768px) {
  #servicios .carousel-item img {
    width: 70% !important;
    height: 200px !important;
  }
  #nosotros {
    flex-direction: column;
    text-align: center;
  }
  #nosotros img,
  #nosotros .contenido {
    width: 100%;
  }
  #nosotros .contenido {
    text-align: left;
  }
  #historia {
    flex-direction: column;
    text-align: center;
  }
  #historia img,
  #historia .contenido {
    width: 100%;
  }
  #historia .contenido {
    text-align: left;
  }
  .footer-contenido {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  footer section {
    width: 100%;
    max-width: 400px;
    margin: 0;
    padding: 15px 0;
  }
  #footerLeyenda,
  #accesoRapido,
  #footerRedes {
    text-align: center;
    flex: unset;
    min-width: unset;
  }
  .redes-sociales {
    margin-left: 0;
    padding-right: 0;
  }
  .interlabImg {
    width: 120px;
  }
  .nav-links {
    position: absolute;
    top: 70px;
    right: 10px;
    background: #94815a;
    flex-direction: column;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 10px;
  }
  .nav-links:not(.active) {
    display: none !important;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
  }
  .hamburger-menu {
    display: flex;
    background: transparent;
  }

  .dropdown-content {
    position: static;
    width: 100%;
    margin-top: 0;
    background-color: #393121;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  .dropdown-content a {
    text-align: left;
    padding-left: 20px;
  }

  .dropdown-content.active {
    max-height: 200px;
    overflow: visible;
  }

  .dropbtn {
    text-align: left;
    width: 100%;
  }
  .dropdown-content a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}
@media (max-width: 610px) {
  .map-container iframe {
    width: 95%;
    height: 250px;
  }
  .ubicacion {
    height: 536px;
  }
}
@media (max-width: 600px) {
  .pregunta-lista {
    flex-direction: column;
    align-items: center;
  }
  .pregunta-btn {
    width: 90%;
  }
  .respuesta {
    font-size: 15px;
    padding: 0 10px;
  }
  .respuesta h3 {
    font-size: 1.6rem;
  }
  .respuesta p {
    font-size: 0.95rem;
  }
  .respuesta-contenedor {
    min-height: 250px;
    padding: 15px;
  }
}
@media (max-width: 480px) {
  #servicios .carousel-item img {
    width: 50% !important;
    height: 100px !important;
  }
  .footer-contenido {
    gap: 15px;
  }
  #footerLeyenda img {
    width: 150px;
  }
  #footerLeyenda p {
    font-size: 1rem;
  }
  #accesoRapido h3,
  #footerRedes h3 {
    font-size: 1.1rem;
  }
  .interlab {
    font-size: 0.9rem;
  }
}
@media (max-width: 400px) {
  #nosotros img {
    margin-left: -1px;
  }
  #nosotros .contenido {
    min-width: 250px;
  }
  #historia img {
    margin-left: -1px;
  }
  #historia .contenido {
    min-width: 250px;
  }
  .ubicacion {
    height: 540px;
  }
}
@media (max-width: 344px) {
  #servicios p {
    font-size: .8rem;
  }
}
.dropdown {
  position: relative;
  display: inline-block;
}
.dropbtn {
  background-color: transparent;
  color: #fff;
  border: none;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
  padding: 5px 10px;
  font-size: 16px;
  border-radius: 15px;
  z-index: 11001;
  width: 100%;
  height: 100%;
}
.dropbtn:hover {
  background-color: #000;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #94815a;
  min-width: 150px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 11000;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 5px;
  flex-direction: column;
}
.dropdown-content a {
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-weight: 400;
  transition: background-color 0.3s;
}
.dropdown-content a:hover {
  background-color: #000;
}

.dropbtn .arrow {
  font-size: 12px;
  margin-left: 6px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.dropdown-content.active {
  display: block;
}