@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

html {
  scroll-behavior: smooth;
}


body{
    margin: 0px;
    padding-top: 92px;
}

* {
  -webkit-tap-highlight-color: transparent;
}


a{

  text-decoration: none;
}

/* ==== Header ==== */
.site-header {
  background-color: #333333;
  padding: 16px 40px;
  box-sizing: border-box;
  z-index: 9999 !important;
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: auto !important;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
}

/* === Columnas === */
.header-left, .header-center, .header-right {
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 9999;
}

/* === Botón Menú === */

button#menu-btn {
    background-color: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-icon {
  height: 40px;
  cursor: pointer;
  transition: opacity 0.3s;
}
.menu-icon:hover { opacity: 0.8; }

/* === Botón Seleccionar Apto === */
.btn-apto {
  background-color: #98dccb;
  color: #333;
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  border-radius: 100px;
  padding: 0 20px;
  text-decoration: none;
  font-size: 13px;
  transition: background 0.3s;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-apto:hover { background-color: #9cd6c7; }

/* === Botón 3D TOUR === */
.menu-360 {
  position: relative;
}

.btn-360 {
  background: none;
  border: none;
  cursor: pointer;
}

.btn-360 img {
  width: 40px;
  transition: transform 0.3s;
}
.btn-360:hover img {
  transform: scale(1.1);
}

/* === Panel desplegable === */
.panel-360 {
  position: absolute;
  top: 55px;
  left: 0;
  background-color: #242424;
  display: flex;
  gap: 1px; /* línea divisoria sutil */
  overflow: visible; /* necesario para la flecha */
  border-radius: 0px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); /* sombra sutil */
}

/* Flecha superior */
.panel-360::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 25px; /* ajusta según la posición del botón */
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #242424;
}

/* Estado visible */
.panel-360.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* === Cada item === */
.panel-item {
  background-color: #242424;
  color: white;
  width: 6vw;
  min-width: 100px;
  height: 6vw;
  min-height: 100px;
  padding: 2vw;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  transition: background 0.3s;
}

.panel-item:not(:last-child) {
  border-right: 1px solid #fff;
}

.panel-item span {
  font-size: clamp(12px, 1vw, 14px);
  font-family: 'Open Sans', sans-serif;
  text-align: left;
}

.panel-item strong {
  color: #98dccb;
  font-weight: 600;
}

.contenedor-ojo {
  width: 100%;
  display: flex;
  justify-content: end;
  align-items: end;
}

.icon-eye {
  width: 35px;
  transition: opacity 0.3s, transform 0.3s;
  text-align: right;
}

/* Hover general del cuadro */
.panel-item:hover {
  cursor: pointer;
}


/* === Logo central === */
.header-logo {
  height: 60px;
  transition: opacity 0.3s;
}
.header-logo:hover { opacity: 0.8; }


.header-right{
 display: flex;
  align-items: center;
  gap: 15px;
}

/* === Botón Contáctanos === */
.btn-contacto {
  border: 1px solid #A5E0D0;
  border-radius: 25px;
  padding: 0 18px;
  color: #A5E0D0;
  text-decoration: none;
  font-size: 13px;
  transition: background 0.3s, color 0.3s;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Open Sans', sans-serif;;
}
.btn-contacto:hover {
  background-color: #A5E0D0;
  color: #333;
}

/* === WhatsApp Icon === */
.icon-whatsapp {
  width: 40px;
  transition: opacity 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}
.icon-whatsapp:hover { opacity: 0.8; }

/* === NUEVO MENU HAMBURGUESA === */

.menu-overlay {
  position: fixed;
  left: 0;
  width: 100%; height: 100%;
  background: #333333;
  display: none;
  flex-direction: column;
  justify-content: center;
  z-index: 9000;
  top: 0;
}

.menu-overlay.active {
  display: flex;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.menu-overlay-content {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 8% 10%;
  box-sizing: border-box;
  justify-content: space-between;
  align-items: center;
}

/* === Columna izquierda === */
.menu-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5vh;
}

.menu-nav a,
.menu-nav span {
  color: #fff;
  font-family:'Open Sans', sans-serif;
  font-size: 2.5vw;
  font-weight: 300;
  text-decoration: none;
  transition: color 0.3s;
  text-transform: uppercase;
}

.menu-nav a:hover {
  color: #98dccb;
}

/* Submenú */
.submenu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.submenu span {
  color: #fff;
  font-size: 2.5vw;
  margin-bottom: 10px;
}

.submenu .sub-link {
  color: #ccc;
  font-size: 1.5vw;
  margin-left: 20px;
  transition: color 0.3s;
}

.submenu .sub-link:hover {
  color:#98dccb;
}

/* === Columna derecha === */
.menu-image,
#menu-preview-container {
  position: relative;
  width: 35%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

#menu-preview-container img {
  position: absolute;
  height: 100%;
  width: auto;
  object-fit: contain;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  filter: blur(10px) brightness(0.8);
  transition: transform 0.7s ease, opacity 0.7s ease, filter 0.7s ease;
}

/* Imagen visible */
#menu-preview-container img.show {
  opacity: 1;
  filter: blur(0px) brightness(1);
}

/* Imagen que entra desde arriba */
#menu-preview-container img.incoming {
  transform: translate(-50%, -70%) scale(1.05);
  opacity: 0;
  filter: blur(10px) brightness(0.8);
}
#menu-preview-container img.animate-in {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  filter: blur(0px) brightness(1);
}

/* Imagen que sale hacia abajo */
#menu-preview-container img.animate-out {
  transform: translate(-50%, -30%) scale(0.98);
  opacity: 0;
  filter: blur(12px) brightness(0.7);
}


/* Botón cerrar */
.close-menu {
  position: absolute;
  top: 110px;
  right: 40px;
  font-size: 40px;
  color: #A5E0D0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}


/* --- Responsive --- */
@media (max-width: 960px) {

  .menu-icon {
  height: 3vw;
}

.btn-apto {
  font-size: 10px;
  height: 3vw;
}

.btn-360 img {
  width: 3vw;
  transition: transform 0.3s;
}

  .panel-360 {
  left: -60px;
  top:40px;
  }

  .panel-360::before {
  left: 75px; /* ajusta según la posición del botón */
}

.panel-item {
  width: 6vw;
  min-width: 75px;
  height: 6vw;
  min-height: 75px;
}

.panel-item span {
  font-size: 10px;
}

.header-logo {
  height: 50px;
  transition: opacity 0.3s;
}

.btn-contacto {
  font-size: 10px;
  height: 3vw;
}

.icon-whatsapp {
  width: 3vw;
}

}

@media (max-width: 768px) {
  .site-header{
    padding: 0;
    box-sizing: border-box;
    width: 100svw;
    height: 92px;
        display: flex;
        align-items: center;
        justify-content: space-between;
  }


  .header-container {
    width: 100%;
}

.header-left {
  align-items: center;
  justify-content: start;
  gap: 0px;
  padding-left: 1vw;
}

.header-center {
  display: flex;
  align-items: center;
  justify-content: end;
  padding-right: 5vw !important;
  height: 100%;
}

  .menu-icon {
  height: 8vw;
}

.btn-apto {
  height: 8vw;
}

.menu-360{
 display: none;
}

.header-right{
 display: none;
}

.header-logo {
  height: 55px;
  transition: opacity 0.3s;
}

/* === Columna izquierda === */
.menu-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5vh;
  height: 100%;
}

.menu-nav a,
.menu-nav span {
  font-size: 7vw;
}

/* Submenú */
.submenu {
   gap: 0.5vh;
   padding-bottom: 1vh;
}

.submenu span {
  font-size: 7vw;
}

.submenu .sub-link {
  font-size: 5vw;
}

/* === Columna derecha === */
.menu-image,
#menu-preview-container {
  display: none;
}

/* Botón cerrar */
.close-menu {
  top: 90px;
  right: 1.5vw;
  font-size: 30px;
  }

}



/* ==== Footer ==== */
.site-footer {
  background-color: #333333;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  width: 100%;
  padding: 50px 70px 15px 70px;
  box-sizing: border-box;
  border-top: solid #fff 2px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  padding-bottom: 100px;
  font-size: 15px;;
}

.footer-row2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 30px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-title {
  font-weight: 300;
  margin-bottom: 10px;
}

.footer-hours {
  color: #98dccb;
  margin-top: 10px;
}

.footer-phone p {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 6vw, 88px);
  color: #98dccb;
  margin: 0;
  text-align: right;
}

.footer-logo img {
  max-height: clamp(25px, 3vw, 30px);
  display: block;
  margin-left: auto;
}

.download-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  line-height: 0.5em;
  font-size: 15px;
}

.download-icon {
 width: 42px;
}

hr {
  border: none;
  border-top: 1px solid #fff;
  margin: 0;
  opacity: 0.3;
}

.footer-bottom {
  font-size: 12px;
  opacity: 0.9;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.text-right {
  text-align: right;
}

/* ==== NUEVO: Logos con títulos (fila 2 derecha) ==== */
.footer-logos-grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: flex-end;
  align-items: center;
  gap: 40px;
}

.footer-logo-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content:start;
}

.footer-logo-item p {
  font-size: 13px;
  margin-bottom: 8px;
  opacity: 0.8;
}

.footer-logo-item img {
  max-height: clamp(35px, 5vw, 120px);
  display: block;
  margin: 0 auto;
}

/* 📱 Versión móvil */
@media (max-width: 768px) {
  .footer-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    gap: 25px 20px;
    margin-top: 20px;
  }

  .footer-logo-item p {
    font-size: 12px;
  }

  .footer-logo-item img {
    max-height: 70px;
  }
}

a {
 
color: #fff;

}

@media (max-width: 768px) {


.site-footer {
  padding: 10%;
}

  .footer-row,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

   .footer-row2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between; /* mejor distribuido */
    align-items: center;
    width: 100%;
    gap: 10px;
  }

  .footer-row2 .footer-col {
    flex: 1 1 0; 
    min-width: unset; 
  }

  .footer-phone {
    order: -1;
    text-align: left;
  }
  
  .footer-phone p {
    text-align: left;
    font-size: clamp(32px, 11vw, 88px);
  }

  .download-icon {
 width: 32px;
}

 .download-link {
    font-size: 12px;
  }

.footer-logo {
    display: flex;
    justify-content: flex-end; /* lo pega a la derecha */
  }

.footer-logo img {
    margin: 0;
    max-height: 20px;
    height: auto;
    width: auto;
  }

  .text-right {
    text-align: left;
  }

  .footer-bottom p {
  margin: 2px 0;       /* casi sin márgenes */
  line-height: 1.2;    /* menos espacio entre líneas */
}
}
