/* Hero con imagen de fondo y superposición */
.hero-section {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('../img/jpg/hero.jpg') center/cover no-repeat;
  background-attachment: scroll, scroll;
  height: 92vh;
  padding-top: 80px;
  background-attachment: fixed;
}

.hero-section h1,
.hero-section p {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.visible {
  opacity: 1 !important;
  transform: none !important;
}

.delay-1 {
  transition-delay: 0.3s;
}

.delay-2 {
  transition-delay: 0.6s;
}

/* Cards */
.card {
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Botón principal */
.btn-primary {
  background-color: #1a73e8;
  border-color: #1a73e8;
}

.btn-primary:hover {
  background-color: #155fc6;
  border-color: #155fc6;
}


.hero-contact {
  width: 100%;
  max-width: 600px;
  padding: 50px 50px;
  background-color: #173363;
  margin: auto;
}

.hero-contact #mensaje {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
}

.hero-contact h1 {
  text-align: left;
  margin-bottom: 25px;
}

.hero-contact #contact-form input,
.hero-contact #contact-form textarea {
  border-radius: 0px;
}

.container-hero-info {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-info h1 {
  font-size: 3.5rem;
}

.hero-info {
  text-align: left;
}

.splash-screen {
  position: fixed;
  inset: 0;
  background-color: #e1dad4;
  /* Color base del fondo del logo */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease;
  height: 100vh;
}

.splash-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.hidden {
  display: none;
}


.pantalla-presentacion {
  height: 100vh;
  background-color: #f9f3ec;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: opacity 1s ease;
  z-index: 1000;
}

.pantalla-presentacion.fade-out {
  opacity: 0 !important;
  pointer-events: none !important;
}

.logo-presentación .logo {
  width: 100%;
  max-width: 600px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.logo-presentación {
  padding: 50px;
}

.contenido-presentacion {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}

.flecha-abajo {
  font-size: 2rem;
  margin-top: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  animation: bounce 2s infinite;
}

#flecha img {
  width: 100%;
  max-width: 100px;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

.fade-out {
  opacity: 0;
  pointer-events: none;
}


.navbar.navbar-expand-lg.navbar-dark.bg-dark {
  background-color: #896e54 !important;
}

#navbar-menu.scrolled {
  background: rgba(137, 110, 84, 0.7) !important;
  border: 1px solid #fff !important;
  top: 15px;
  /* Separado del top */
  left: 15px;
  /* Separado del borde izquierdo */
  width: calc(100% - 30px);
  /* Reducimos ancho */
  border-radius: 12px;
  z-index: 9999;
}

#navbar-menu {
  -webkit-transition: background 0.4s ease,
    top 0.4s ease,
    left 0.4s ease,
    width 0.4s ease,
    border-radius 0.4s ease,
    border-bottom 0.4s ease;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
}
#main-content {
  padding-top: 96px;
  z-index: 1;
}

.container-hero-desarrollo {
  padding-top: 96px !important;
}
.pdf-brochure-container {
  padding-top: 130px !important;
}
.container-iframe-construccion {
  padding-top: 96px !important;
}
.container-galeria-logo {
  padding-top: 156px !important;
}
.container-contacto-grid {
  padding-top: 30vh !important;
}


.amenities {
  padding: 4rem 2rem;
  background: #f4ede6;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #5b3c23;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4 columnas */
  gap: 2rem;
  width: 100%;
  max-width: 1440px;
  /* opcional para centrar en pantallas grandes */
  margin: 0 auto;
  /* centrar horizontalmente si hay max-width */
  padding: 2rem 1rem;
  /* separación interna */
  box-sizing: border-box;
}

.flip-card {
  background-color: transparent;
  width: 100%;
  aspect-ratio: 3 / 4;
  /* para mantener proporción vertical */
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  background-color: #8c7156;
  /* fondo marrón */
  color: #ceb28c;
  /* texto claro */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  font-size: 2.7rem;
  text-align: center;
  backface-visibility: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.flip-card-back {
  background: #d6c2ad;
  color: #4a3624;
  transform: rotateY(180deg);
  font-size: 1.5rem;
}

@media (max-width: 1200px) {
  .amenities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .amenities-grid {
    grid-template-columns: 1fr;
  }
}

.hero-text {
  display: flex;
}

.hero-title {
  width: 45%;
  padding: 2rem 3rem;
}

.hero-title h1 {
  color: #513428;
  font-weight: 900;
}

.hero-subtitle {
  width: 55%;
  padding: 2rem 3rem;
}

.hero-subtitle p {
  color: #513428;
  font-size: 26px;
  font-weight: 600;
}

.hero-image .video-bg-hero {
  width: 100%;
}

#render-1 {
  padding-top: 6rem;
}

.splash-screen .logo {
  width: 100%;
  max-width: 600px;
}

.section-2 {
  background-color: #e4ddd7;
}

.container-section-2 {
  padding-left: 90px;
}

.logo-section-2 {
  text-align: center;
  padding: 60px 0px;
}

.logo-section-2 img {
  width: 100%;
  max-width: 500px;
  margin: auto;
}

#section-3-text {
  padding-left: 90px;
}

.container-section-3 {
  background-color: #e4ddd7;
  padding: 50px 50px;
}

.section-3 h1 {
  color: #513428;
  font-weight: 600;
  text-align: right;
  font-size: 50px;
}

.section-3 p {
  color: #896e54;
  font-weight: 600;
  font-size: 35px;
  text-align: right;
}

#render-2 {
  position: relative;
}

.container-section-4 {
  padding-left: 90px;
  padding-bottom: 22%;
}

.section-4 {
  background-color: #e4ddd7;
  height: 600px;
}

.section-4-render {
  position: absolute;
  bottom: 0;
}

.section-4-render img {
  width: 96%;
}

.navbar-brand img {
  width: 100%;
  max-width: 180px;
}

#navbarNav a.nav-link {
  color: #fff;
  font-weight: 600;
  font-size: 18px;
}


footer.bg-dark.text-white.text-center.py-4 {
  background-color: #896e54 !important;
}

.footer-img-logo {
  text-align: center;
  padding: 50px 0px;
}

.footer-img-logo img {
  width: 100%;
  max-width: 290px;
}

.footer-redes-sociales {
  padding-bottom: 25px;
}
.footer-redes-sociales a {
  text-decoration: none;
}
.footer-redes-sociales i {
  color: #fff;
  font-size: 32px;
  margin: 0px 5px;
}

.footer-menu {
  padding-bottom: 25px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  padding: 0px 9px;
  font-size: 18px;
  font-weight: 600;
}

.footer-text p.mb-1 {
  font-weight: 600;
}

.banner-section-2 img {
  width: 100%;
}


/* Botón flotante */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #278d46;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 9999;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  -webkit-transition: transform 0.7s ease, background 0.4s ease, color 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 24px;
  border: 1px #fff solid;
}

.whatsapp-btn:hover {
  background-color: #fff;
  color: #278d46 !important;
}
.whatsapp-btn i {
  color: #fff !important;
  -webkit-transition: color 0.4s ease;
}
.whatsapp-btn:hover i {
  color: #278d46 !important;
}
.whatsapp-btn img {
  width: 100%;
  padding: 10px;
}

/* Contenedor de botones */
.whatsapp-options {
  position: fixed;
  bottom: 100px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9998;
}

/* Botones Persona */
.whatsapp-persona {
  background-color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  -webkit-box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  -webkit-transition: background 0.3s;
}

/* Rotación */
.rotate {
  -webkit-transform: rotate(360deg);
}

#whatsapp-options .whatsapp-persona {
  color: #278d46 !important;
  border: 1px #fff solid;
  -webkit-transition: background 0.3s ease, color 0.3s ease;
}
#whatsapp-options .whatsapp-persona:hover {
  background-color: #278d46;
  color: #fff !important;
}



@media (max-width: 1382px) {
  .hero-title h1 {
    font-size: 34px;
  }

  .hero-subtitle p {
    font-size: 24px;
    margin-bottom: 0px;
  }
}

@media (max-width: 1290px) {
  .hero-subtitle p br {
    display: none;
  }
}

@media (max-width: 1280px) {
  .hero-title {
    display: flex;
    align-items: center;
  }

  .hero-title h1 {
    font-size: 28px;
  }

  .hero-subtitle p {
    font-size: 20px;
  }

  .logo-section-2 img {
    max-width: 400px;
  }

  .section-3 h1 {
    font-size: 35px;
  }

  .section-3 p {
    font-size: 20px;
    margin-bottom: 0px;
  }

  .container-section-3 {
    padding-top: 85px;
    padding-bottom: 0px;
    padding-left: 50px;
    padding-right: 50px;
  }

  .container-section-4 {
    padding-bottom: 22%;
  }

  .flip-card-front {
    font-size: 2.2rem;
  }

  .flip-card-back {
    font-size: 1.1rem;
  }
}

@media (max-width: 980px) {
  .hero-title h1 {
    font-size: 24px;
  }

  .hero-subtitle p {
    font-size: 16px;
  }

  .logo-section-2 img {
    max-width: 300px;
  }

  .section-4 {
    height: 500px;
  }

  .flip-card-front {
    font-size: 1.8rem;
  }

  .flip-card-back {
    font-size: 1rem;
  }
}

@media (max-width: 825px) {
  .hero-subtitle {
    width: 50%;
    padding: 2rem 1.5rem;
  }

  .hero-title {
    width: 50%;
  }

  .hero-title h1 {
    font-size: 22px;
  }
}

@media (max-width: 780px) {
  .section-4 {
    height: 400px;
  }

  .flip-card {
    aspect-ratio: 3 / 3;
  }

  .footer-img-logo {
    padding-right: 0px;
    text-align: center;
  }
}

@media (max-width: 696px) {
  .hero-text {
    display: block;
  }

  .hero-title {
    padding-bottom: 1rem;
    width: 100%;
  }

  .title-container {
    margin: auto;
    text-align: center;
  }

  .hero-subtitle {
    width: 100%;
    padding-top: 0rem;
    padding-bottom: 2rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero-subtitle p {
    text-align: center;
  }


}

@media (max-width: 680px) {
  .splash-screen .logo {
    padding: 50px;
  }

  #flecha img {
    max-width: 70px;
  }

  .logo-section-2 img {
    max-width: 250px;
  }

  .container-section-2 {
    padding-left: 0px;
  }

  .section-4 {
    height: 320px;
  }

  #section-3-text {
    padding-left: 0px;
  }

  .section-3 h1 {
    font-size: 25px;
    text-align: center;
  }

  .section-3 p {
    font-size: 15px;
    text-align: center;
  }

  .container-section-4 {
    padding-left: 0px;
  }
  .footer-menu {
  display: none;
}
.footer-img-logo {
  padding: 50px 0px;
}
}

@media (max-width: 480px) {
  .section-3 h1 {
    font-size: 20px;
    text-align: center;
  }

  .section-3 p {
    font-size: 13px;
    text-align: center;
  }

  .section-4 {
    height: 220px;
  }

  .container-section-3 {
    padding-left: 15px;
    padding-right: 15px;
  }
  .footer-img-logo img {
  max-width: 220px;
}
.footer-text p.mb-1 {
  font-size: 14px;
  padding: 0px 10px;
}
}