html, body {
  margin: 0;
  height: 100%;
  width: 100%;

  overflow: hidden; /* 🔥 CLAVE: sin scroll global */
  font-family: Inter, Roboto, Arial, sans-serif;
}

/* =========================
   MAPA FULL SCREEN REAL
========================= */
#map {
  position: fixed;
  inset: 0; /* top right bottom left = 0 */

  width: 100%;
  height: 100%;

  z-index: 0;
}

/* =========================
   TOPBAR (FLUJO SUPERPUESTO)
========================= */
.topbar {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);

  width: calc(100% - 24px);
  max-width: 720px;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 10px 14px;

  background: white;
  border-radius: 50px;

  box-shadow: 0 8px 24px rgba(0,0,0,0.15);

  z-index: 200;
}

/* =========================
   LOGO
========================= */
.logo {
  display: flex;
  align-items: center;
  gap: 6px;

  font-weight: 600;
  color: #1a1a1a;

  flex-shrink: 0;

  /*width: 500px;*/
  height: 70px;
}

.logo span:first-child {
  font-size: 22px;
  color: #4285f4;
}

/* =========================
   SEARCH
========================= */


.search-container {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-container input {
  width: 100%;
  height: 42px;

  border-radius: 25px;
  border: 1px solid #e5e5e5;

  padding: 0 14px 0 38px;

  background: #f8f9fa;
}

.search-icon {
  position: absolute;
  left: 12px;
  font-size: 20px;
  color: #888;
}





/* =========================
   SEARCH RESULTS DROPDOWN
========================= */

/*
.search-container {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
*/

.search-container ul {
  position: absolute;

  top: calc(100% + 8px);
  left: 0;
  right: 0;

  margin: 0;
  padding: 6px 0;

  list-style: none;

  background: white;
  border-radius: 16px;

  box-shadow: 0 8px 24px rgba(0,0,0,0.15);

  max-height: 320px;
  overflow-y: auto;

  z-index: 9999;
}


.search-container li {
  display: flex;
  align-items: flex-start;
  gap: 10px;

  padding: 10px 14px;

  cursor: pointer;

  transition: background 0.15s;
}


.search-container li:hover {
  background: #f5f7fa;
}


.search-container li .material-symbols-rounded {
  font-size: 20px;
  color: #666;
  margin-top: 2px;
}


.search-container li div {
  display: flex;
  flex-direction: column;
}


.search-container li small {
  color: #777;
  font-size: 12px;
}


/*
.search-container input {
  width: 100%;
  box-sizing: border-box;
}

*/






/* =========================
   GEO BUTTON
========================= */
.geo-btn {
  width: 42px;
  height: 42px;

  border: none;
  border-radius: 50%;

  background: #f1f3f4;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
}

/* =========================
   LEGAL FLOAT
========================= */
.legal {
  position: fixed;
  right: 12px;
  bottom: 12px;

  background: white;
  padding: 6px 10px;

  border-radius: 10px;

  box-shadow: 0 4px 14px rgba(0,0,0,0.15);

  z-index: 2000;

  display: flex;
  gap: 10px;
}

.legal a {
  font-size: 11px;
  color: #444;
  text-decoration: none;
}

/* =========================
   MODALES FULL SCREEN MOBILE
========================= */

/* BASE MODAL */
.modal-dialog {
  max-width: 900px;
}

/* CONTENIDO */
.modal-content {
  border-radius: 14px;
  max-height: 90vh;
  overflow: hidden;
}

/* BODY SCROLL INTERNO */
.modal-body {
  overflow-y: auto;
  max-height: calc(90vh - 120px);
}

/* =========================
   MÓVIL: FULL SCREEN REAL
========================= */
@media (max-width: 600px) {

  /* TOPBAR MÁS COMPACTA */
  .topbar {
    width: calc(100% - 16px);
    padding: 8px 10px;
  }

  .logo span:last-child {
    font-size: 14px;
  }

  /* =========================
     MODAL FULL SCREEN MOBILE
  ========================= */
  .modal-dialog {
    margin: 0;
    max-width: 100%;
    height: 100vh;
  }

  .modal-content {
    height: 100vh;
    border-radius: 0;
  }

  .modal-body {
    max-height: none;
    height: calc(100vh - 120px);
    overflow-y: auto;
  }
}










.cta-banner {
  position: fixed;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);

  width: calc(100% - 24px);
  max-width: 420px;

  background: white;
  border-radius: 16px;

  box-shadow: 0 8px 24px rgba(0,0,0,0.2);

  padding: 12px;

  display: flex;
  gap: 10px;
  align-items: flex-start;

  z-index: 100;

  animation: slideUp 0.4s ease;
}

.cta-banner span {
  font-size: 24px;
  color: #4285f4;
}

.cta-text strong {
  font-size: 14px;
}

.cta-text p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #666;
}

.cta-banner button {
  border: none;
  background: none;
  font-size: 16px;
  cursor: pointer;
}

/* animación */
@keyframes slideUp {
  from {
    transform: translate(-50%, 20px);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

