* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: #f4f6f9;
}

.nav {
  position: relative;
}

/* HEADER */
.header {
  background: linear-gradient(90deg, #c8a44b, #1c2f45);
  padding: 25px 0;
}

.header-inner {
  max-width: none;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* fuerza alineación izquierda */
  gap: 15px;
}

.logo-area img {
  display: block;     /* evita comportamientos inline */
  margin: 0;          /* elimina auto-centering */
  height: 105px;
}

.logo-text h1 {
  color: #fff;
  font-size: 22px;
}

.logo-text span {
  font-size: 13px;
  color: #f1e7c0;
}
/* MENU PRINCIPAL
=================*/
.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  z-index: 9999;
}

.menu li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  /*position: relative;*/
}

.menu li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--dorado);
  bottom: -6px;
  left: 0;
  transition: var(--transicion);
}

.menu li a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  color:white;
  border: none;
  cursor: pointer;
}

/*.nav a {
  color: #fff;
  margin-left: 25px;
  text-decoration: none;
}

.nav a.active {
  border-bottom: 2px solid #f1e7c0;
}*/

/* LOTES SECTION */
.lotes-section {
  display: flex;
  padding: 40px 0;
}

/* PANELES FIJOS */
.panel {
  width: 25%;
  position: sticky;
  top: 100px;
  background: linear-gradient(45deg, #e1ffe8, #00bb06);
  padding: 10px;
  height: fit-content;
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
  border-radius: 8px;
}

.panel h3 {
  margin-bottom: 15px;
  color: #1c2f45;
}

.panel-left {
  margin-left: 20px;
}

.panel-right {
  margin-right: 20px;
}

/* PLANO */
.plano-container {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 10px;
}

.plano {
  width: 70%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}

/* LOTES */
.lote {
  position: absolute;
  width: 22px;
  height: 22px;
  background: #2ecc71;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 10px rgba(0,0,0,.4);
  transition: transform .3s, opacity .3s;
}

.lote:hover {
  transform: scale(2.9);
  opacity: 0.6;
}

/* TEXTO CENTRADO SOBRE EL CÍRCULO */
.lote::after {
  content: attr(data-size);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8px;
  font-weight: bold;
  color: #550909;
  white-space: nowrap;      /* 👈 evita salto de línea */
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}

/* Mostrar texto en hover */
.lote:hover::after {
  opacity: 1;
}

/* LEYENDA */
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

.disponible { background: #2ecc71; }
.separado { background: #f1c40f; }
.vendido { background: #e74c3c; }

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: rgba(255,255,255,.95);
  padding: 40px;
  border-radius: 20px;
  width: 320px;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
}

.modal-box h3 {
  margin-bottom: 10px;
}

.close {
  position: absolute;
  margin-top: -20px;
  margin-left: 120px;
  font-size: 22px;
  cursor: pointer;
}

/* FOOTER */
/* ============ FOOTER =========== */
.footer {
  background: #1f2c3d;
  color: #cfd8e3;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr 0.8fr 1fr 1fr;
  gap: 20px;
  padding: 15px 10px;
}

.footer h3 {
  color: #fff;
  margin-bottom: 10px;
}

.footer h4 {
  color: #fff;
  margin-top: 10px;
  font-size: 16px;
}

.footer p {
  font-size: 16px;
  line-height: 1.6;
}

.footer-logo {
  width: 180px;
  margin-bottom: 5px;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 10px;
  font-size: 16px;
}

.footer ul li a {
  color: #cfd8e3;
  text-decoration: none;
}

.footer ul li a:hover {
  color: #ffffff;
}

.social-list li,
.enlaces li,
.contact-list li {
  display: flex;
  align-items: left;
  gap: 20px;
}

.footer i {
  color: #ffffff;
}

/* Barra inferior */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}
/* MENU RESPONSIVE 
==================*/
@media (max-width: 768px) {
  .nav {
    width: 100%;
  }

  .menu {
    display: none;
    flex-direction: column;
    /*background: var(--blanco);*/
    background-color: rgba(255, 255, 255, 0.80);
    position: absolute;
    top: 100%;
    right: 0;
    width: 90px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    padding: 0;
    margin: 0;
  }

  .menu.active {
    display: flex;
  }

  .menu li {
    border-bottom: 1px solid #eee;
    width: 100%;
    margin: 0;
  }

  .menu li a {
    font-size: 14px; 
    padding: 4px 4px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    word-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.0; 
    transition: all 0.3s ease;
  }

  .menu li a:hover {
    background-color: rgba(0,102,204,0.1);
    color: #008425;
    box-shadow: inset 3px 0 0 var(--dorado);
  }

  .menu.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
    font-size: 24px;
    cursor: pointer;
  }

  .banner-texto h2 {
    font-size: 2rem;
  }
}

