/* fondo */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;  
  background: linear-gradient(135deg, #ffffff, #ffffff);
  overflow-x: hidden;
  overflow-y: auto;
  font-family: 'Gotham', sans-serif;
}






/* ===== RESET CRÍTICO ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
}

/* ===== HEADER BASE ===== */
.header {
  width: 100%;
  padding: 0px 20px;
  background: linear-gradient(45deg, #000000, #000000d4, #000000af, #0000008b, #00000091);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  color: rgb(255, 255, 255);
  height: 60px;
}

/* LOGO */
.logo img {
  width: 100px;
  height: 100px;
}

/* MENÚ DESKTOP */
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 17px;
  padding: 8px 12px;
  border-radius: 6px;
}

/* HOVER */
nav ul li a:hover {
  background: rgba(255, 255, 255, 0);
}

/* OCULTOS POR DEFECTO */
.menu-btn,
.close-btn {
  display: none;
}

/* ================== MÓVIL ================== */
@media (max-width: 900px) {

  .header {
    justify-content: center;
  }

  /* HAMBURGUESA IZQUIERDA */
  .menu-btn {
    display: block;
    position: absolute;
    left: 15px;
    font-size: 30px;
    color: white;
    cursor: pointer;
  }

  /* LOGO CENTRADO */
  .logo img {
    width: 90px;
  }

  /* MENÚ OCULTO ARRIBA */
nav ul {
  position: fixed;
  inset: 0;
  height: 100dvh; /* IMPORTANTE */
  background: linear-gradient(45deg, #000000, #1f1e1e, #616161, #616161d0, #616161b8);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: transform 0.4s ease;
  transform: translateY(-100%);
  pointer-events: none;
  z-index: 999;
}


nav ul.show {
  transform: translateY(0);
  pointer-events: auto;
}


  /* BOTÓN CERRAR */
  .close-btn {
    display: block;
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 34px;
    color: white;
    cursor: pointer;
  }

  nav ul li a {
    font-size: 22px;
  }
}

/* ================== TELÉFONOS PEQUEÑOS ================== */
@media (max-width: 360px) {

  .menu-btn {
    font-size: 26px;
  }

  .logo img {
    width: 80px;
  }

  nav ul li a {
    font-size: 20px;
  }
}











/* ============================================================
                    SECCIÓN ALCALDÍAS
============================================================ */

.titulo-seccion {
  text-align: center;
  font-size: 36px;
  color: #003366;
  margin-top: 60px;
  font-weight: bold;
}

/* ---------- 1. TARJETAS ---------- */

.alcaldias-tarjetas {
  width: 90%;
  margin: 40px auto;
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.card-alcaldia {
  width: 280px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  padding-bottom: 20px;
  overflow: hidden;
  text-align: center;
  transition: .3s;
}

.card-alcaldia:hover {
  transform: translateY(-6px);
}

.card-alcaldia img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.card-alcaldia h3 {
  margin: 15px 0;
  font-size: 20px;
  font-weight: 700;
}

.btn-ver {
  background: #0066cc;
  color: white;
  padding: 9px 18px;
  border-radius: 6px;
  display: inline-block;
  text-decoration: none;
  margin-top: 5px;
}

/* ---------- 2. MAPA + LISTA ---------- */

.mapa-contenedor {
  width: 90%;
  margin: 70px auto;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.mapa iframe {
    width: 100%;
    height: 100%;
    display: block;
}
.mapa {
  flex: 1 1 400px;
  min-width: 300px;
  height: 350px;
  border: 2px solid #ccc;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.lista-alcaldias {
  list-style: none;
  padding: 0;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.8em;
}



/* ---------- 4. GRID ---------- */

.grid-alcaldias {
  width: 90%;
  margin: 30px auto 70px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}

.item-grid {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  overflow: hidden;
  text-align: center;
}

.item-grid img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.item-grid p {
  padding: 12px;
  font-size: 18px;
}

/* ---------- 5. BANNER ---------- */

.banner-alcaldia {
  width: 90%;
  margin: 60px auto;
  position: relative;
}

.banner-alcaldia img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: 12px;
}

.texto-banner {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(0,0,0,0.55);
  padding: 12px 18px;
  color: white;
  border-radius: 8px;
}



/* ============================================================
                    SIMULADOR AVALÚO
============================================================ */

.form-avaluo {
  width: 90%;
  max-width: 600px;
  margin: 40px auto;
  background: white;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-avaluo input,
.form-avaluo select,
.form-avaluo textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #aaa;
  font-size: 16px;
}

.form-avaluo button {
  background: #0066cc;
  color: white;
  padding: 12px;
  border-radius: 6px;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.oculto {
  display: none;
}











/* ===== FOOTER ===== */
.footer {
  width: 100%;
  background: #000;
  color: #fff;
  padding: 25px 0 15px;
  font-family: 'Gotham', sans-serif;
}

/* CONTENEDOR */
.footer-contenido {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

/* COLUMNAS */
.footer-col {
  width: 260px;
  font-size: 14px;
}

/* ===== BRAND ===== */
.footer-brand img {
  width: 85px;
  margin-bottom: 10px;
  border-radius: 10%;
}

.footer-brand h3 {
  font-size: 18px;
  margin: 0;
}

.footer-brand .slogan {
  display: block;
  font-size: 13px;
  color: #00FFFF;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.4;
  color: #ccc;
}

/* TITULOS */
.footer-col h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

/* LINKS */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin: 6px 0;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #fff;
}

/* CONTACTO */
.footer-col p {
  margin: 6px 0;
  color: #ccc;
}

/* COPY */
.footer-copy {
  text-align: center;
  font-size: 13px;
  color: #aaa;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-contenido {
    justify-content: center;
    text-align: center;
  }

  .footer-col {
    width: 100%;
  }

  .footer-brand img {
    margin: auto;
  }
}





/* =========================
 REDES SOCIALES
========================= */
.social-bar {
  position: fixed;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 999;
}

/* IZQUIERDA */
.social-left {
  left: 20px;
}

/* DERECHA */
.social-right {
  right: 20px;
}

/* ICONOS */
.social-icon {
  width: 25px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;   /* ✅ totalmente transparente */
  border-radius: 0;           /* opcional: elimina forma circular */
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: none;           /* ✅ elimina halo/blanco */
}


.social-icon img {
  width: 40px;
  height: 40px;
  transition: 0.3s;
}

/* HOVER */
.social-icon:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.social-icon:hover img {
  transform: scale(1.15);
}

/* 🎵 TIKTOK – fondo blanco */
.social-icon.tiktok {
  background: transparent;
  box-shadow: none;
}

/* =========================
   WHATSAPP FLOTANTE
========================= */
.floating_btn {
  position: fixed;
  bottom: 40px;
  right: 30px;
  width: 90px;
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* BOTÓN */
.contact_icon {
  background-color: #52BEC0;
  color: #fff;
  width: 60px;
  height: 60px;
  font-size: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  box-shadow: 0 0 0 0 #52BEC0;
  animation: pulsing 1.4s infinite;
  transition: transform 0.3s ease;
}

.contact_icon:hover {
  transform: scale(1.12);
}

/* TEXTO */
.text_icon {
  margin-top: 8px;
  color: #555555;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Gotham', sans-serif;
}

/* ANIMACIÓN PULSO */
@keyframes pulsing {
  0% {
    box-shadow: 0 0 0 0 #52BEC0;
  }
  70% {
    box-shadow: 0 0 0 22px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* =========================
   RESPONSIVE
========================= */

/* Tablets */
@media (max-width: 768px) {
  .floating_btn {
    bottom: 30px;
    right: 20px;
  }

  .contact_icon {
    width: 56px;
    height: 56px;
    font-size: 30px;
  }
}

/* Celulares */
@media (max-width: 480px) {
  .floating_btn {
    bottom: 25px;
    right: 15px;
  }

  .contact_icon {
    width: 52px;
    height: 52px;
    font-size: 28px;
  }

  .text_icon {
    font-size: 12px;
  }
}


/* =========================
   RESPONSIVE
========================= */

/* Tablets */
@media (max-width: 768px) {
  .social-bar {
    bottom: 30px;
    gap: 14px;
  }

  .social-left {
    left: 18px;
  }

  .social-right {
    right: 18px;
  }

  .social-icon {
    width: 40px;
    height: 40px;
  }

  .social-icon img {
    width: 46px;
    height: 46px;
  }
}

/* Celulares */
@media (max-width: 480px) {
  .social-bar {
    bottom: 25px;
    gap: 10px;
  }

  .social-left {
    left: 12px;
  }

  .social-right {
    right: 12px;
  }

  .social-icon {
    width: 48px;
    height: 48px;
  }

  .social-icon img {
    width: 44px;
    height: 44px;
  }
}

/* Celulares pequeños */
@media (max-width: 360px) {
  .social-icon {
    width: 34px;
    height: 44px;
  }

  .social-icon img {
    width: 42px;
    height: 42px;
  }
}





