.header5-section-area {
  position: relative;
  overflow: hidden;
  background: none;
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.header5-section-area::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.header5-section-area .container {
  position: relative;
  z-index: 1;
}

.header5-section-area {
  height: 100vh;
}

.homepage5-body .header-area.homepage5 .header-elements .main-menu ul li a {
  color: white;
}

.sticky .header-elements .main-menu ul li a {
  color: black !important;
}

.heading7 h1 {
  color: white;
}

.heading7 p {
  color: white;
}

.margen-txt-titl {
  margin-top: 100px;
}

.ajusta-fa {
  margin-right: 2px;
}

.footer5-section-area .copyright {
  border-top: 0px;
}

.boton-cta {
  padding: 30px;
  font-size: 20px;
}

.service-inner-section-area .service-boxes .service-author-box:hover .icons i {
  filter: brightness(0) invert(1);
  transition: all 0.4s;
}

.centrar-i {
  padding-top: 10px;
  padding-left: 1px;
}
ul.mobile-nav-list {
  overflow-y: auto;
}
.homepage5-body .header-area.homepage5 .header-elements .main-menu ul li a {
  font-size: 18px;
}
.header-elements2 {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  position: relative;
  transition: all 0.4s;
}

.progress-wrap {
  left: 30px;
}

.img-preloader-cst {
  max-width: 400%;
  max-height: 400%;
}

.home-icon {
  margin-left: -320px;
  margin-top: -300px;
  animation: none;
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading5 {
  color: #cccecd;
}

@media (max-width: 434px) {
  .img-preloader-cst {
    max-width: 300%;
    max-height: 300%;
  }
  .home-icon {
    margin-left: -220px;
    margin-top: -200px;
    animation: none;
  }
}

.input-area input.error,
.input-area textarea.error {
  border: 1px solid #ff4d4d !important; /* Rojo suave */
  background-color: #fff8f8;
  animation: shake 0.4s ease-in-out; /* Efecto sacudida */
}

/* Mensaje de texto de error */
.error-msg {
  color: #ff4d4d;
  font-size: 13px;
  margin-top: 5px;
  display: none; /* Oculto por defecto */
  font-weight: 500;
}

/* Estilo para el checkbox de aviso legal si falla */
.check-error {
  color: #ff4d4d;
  font-weight: bold;
}

/* Animación de sacudida */
@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
  100% {
    transform: translateX(0);
  }
}

input[type="checkbox"] {
  accent-color: #c3835f !important;
  color: white;
}

.chkbx {
  width: auto !important;
  height: auto !important;
}

.about1-section-area .about-images-area .author-images .city-area .content p {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .occult-mvl {
    display: none;
  }
  .about1-section-area .about-images-area .author-images .city-area {
    margin-bottom: 0;
  }
  .header5-section-area {
    height: 70vh;
  }
  .margen-txt-titl {
    margin-top: 0;
  }
}

.header-btn5 {
  padding: 18px 24px;
  background: #c3835f;
}

.others4-section-area .publish-boxarea:hover {
  background-color: #c3835f;
}

.service-inner-section-area .service-boxes .service-author-box:hover {
  background-color: #c3835f;
}

.service-inner-section-area .service-boxes .service-author-box:hover .icons {
  background-color: #906046;
}

.cta1-section-area .cta-btn-area .header-btn1:hover {
  background-color: #c3835f;
}
.about1-section-area .about-images-area .author-images .city-area {
  background-color: #c3835f;
}
.header-btn1 {
  background-color: #c3835f;
  border-radius: 40px;
}
.heading2 h5 {
  color: #c3835f;
}
.header-btn4 {
  background-color: #c3835f;
}
.gallery1-section-area .galler-author-area .img1::after {
  background-color: #c3835f;
}

.gallery1-section-area .galler-author-area .content-area a {
  margin-bottom: 0;
}
.leaflet-right {
  display: none;
}
#map-residencial {
  width: 100%;
  height: 450px;
  background: #e0e0e0;
  border-radius: 0px;
  z-index: 1;
}

.pin-personalizado {
  background-color: #c3835f;
  width: 30px;
  height: 30px;
  margin-top: 8px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 2px solid #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.pin-personalizado::after {
  content: "";
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  margin-bottom: 0px;
}

.pin-personalizado {
  animation: flotar 3s ease-in-out infinite;
}

.leaflet-popup-content-wrapper {
  border-radius: 4px;
  font-family: sans-serif;
}
.leaflet-popup-content b {
  color: #c68662;
  font-size: 14px;
}
