/* === OVERLAY === */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
}
.overlay.show {
  display: block;
}

/* === NAV MOBILE === */
@media only screen and (max-width: 1048px) {
.mobile-nav {
  position: sticky;
  top: 0;
  background: #fff;
  height: 80px;
  display: flex;
  justify-content: center; /* centramos visualmente */
  align-items: center;
  padding: 0 1.5rem;
  z-index: 1001;
  border-bottom: 1px solid #eee;
  position: sticky; 
}

.mobile-nav .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.mobile-nav .logo a {
  font-family: var(--font-title);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--main-color, #0a3d62);
  text-decoration: none;
  white-space: nowrap;
}

.hamburger {
  display: block !important;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 2rem;
  color: #0a3d62;
  z-index: 1002;
  margin-left: auto; /* empuja el ícono a la derecha */
}
  .hamburger .icon {
  display: inline-block;
  font-size: 2rem;
  color: #0a3d62;
}
  .hamburger.open .icon {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
  }
  

  .hamburger .icon::before {
    content: "☰";
  }

  .hamburger.open .icon::before {
    content: "✕";
  }

  /* === DROPDOWN MENU === */
.mobile-menu {
  width: 100%;
  background: white;
  max-height: 0;
  overflow: hidden;
  position: fixed;
  top: 80px;
  left: 0;
  z-index: 999;
  transition: max-height 0.4s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.mobile-menu.open {
  display: block; /* opcional, solo si display estaba interfiriendo */
  max-height: 1000px;
}


.mobile-menu ul {
  list-style: none;
  padding: 1rem 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;  
  text-align: center;   
}


.mobile-menu a {
  text-decoration: none;
  font-size: 1.3rem;
  font-family: var(--font-title);
  color: #0a3d62;
}

.mobile-menu a:hover {
  background: #f1f1f1;
}

  /* HIDE DESKTOP NAV */
  .desktop-nav {
    display: none;
  }
}
  /* ==== RECOMENDACIONES ==== */
  .reco-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 0 1rem;
  width: 100%;
  box-sizing: border-box;
}



  .reco-texto h2 {
    font-size: 2rem;
  }

  .reco-texto p {
    font-size: 1rem;
  }

  .reco-imagen {
  width: 100%;
  display: flex;
  justify-content: center;
}

.reco-imagen img {
  width: 100%;
  height: auto;
  max-width: 600px;
  object-fit: cover;
}

  /* ==== ABOUT US ==== */
  .about-us {
    flex-direction: column;
    padding: 40px 1.5rem;
    gap: 2rem;
    text-align: center;
  }

  .about-imagen {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
  }

  .about-imagen img {
    max-width: 100%;
    height: auto;
  }

  .about-texto {
    width: 100%;
    max-width: 100%;
  }

  .about-texto h2 {
    font-size: 2rem;
  }

  .about-texto p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .button-outline {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 1rem auto 0;
    font-size: 1rem;
    padding: 0.9rem 1.5rem;
    text-align: center;
  }
  
  
  /* ==== ATV CARD ==== */
  .atv-info-box {
    flex-direction: column;
    padding: 2rem 1rem;
  }

  .atv-card-vertical {
    padding: 1.5rem;
  }

  .atv-card-vertical h2 {
    font-size: 1.5rem;
  }

  .atv-card-vertical .price {
    font-size: 1.4rem;
  }

  .atv-card-vertical ul {
    font-size: 0.95rem;
  }


    /* ==== LOCATION SECTION ==== */
  .location-content {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}


  .location-text h2 {
    font-size: 2rem;
    text-align: center;
  }

  .location-text p {
    font-size: 1rem;
    text-align: center;
  }

  .map-container {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}


  /* ==== FOOT SECTION ==== */

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left, .footer-center, .footer-right {
    flex: none;
    width: 100%;
    min-width: auto;
    margin-bottom: 2rem;
  }

  .footer-left {
    align-items: center;
    justify-content: center;
  }

  .footer-center ul {
    padding-left: 0;
  }

  .footer h4 {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
  }

  .footer-center a,
  .footer-right a {
    font-size: 1rem;
  }

  .footer-left p:first-child {
    text-align: center;
  }



/* ==== FRASE FIJA ==== */
.frase-fija {
  padding: 40px 20px 30px;
  text-align: center;
}

.frase-fija h2 {
  font-size: 2em;
  font-weight: 700;
  color: #0a3d62;
  letter-spacing: 1px;
  max-width: 900px;
  margin: 0 auto 20px;
}

.frase-fija p {
  font-size: 1em;
  color: #333;
  max-width: 800px;
  margin: 0 auto 1rem auto; /* Aquí está la diferencia */
  line-height: 1.6;
  font-weight: 400;
}

section.frase-fija p {
  margin-bottom: 1rem !important;
}
