/* ─── CANVAS ─────────────────────────────────────────── */

/* ─── MAPA SECTION ───────────────────────────────────── */

#mapa {
  position: relative;
  z-index: 1;
  padding: 5rem 4rem 0;
  background: var(--bg);
}

.mapa-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

#bg-map {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  z-index: 1;
}

/* ─── NAV ────────────────────────────────────────────── */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 200;
  background: rgba(245, 241, 235, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-nav.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  /* display: flex;
  align-items: center;
  justify-content: space-between; */
  /* max-width: 1320px; */
  margin: 0 auto;
  padding: 0 1rem;
  /* height: 100%;
  gap: 2rem; */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  cursor: pointer;
  z-index: 201;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

/* ─── NAV MOBILE OVERLAY ─────────────────────────────── */

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 14, 13, 0.98);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.nav-overlay.open {
  display: flex;
}

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

/* ─── MAIN STACKING ──────────────────────────────────── */

main {
  position: relative;
  z-index: 1;
}

/* ─── HERO ───────────────────────────────────────────── */

.hero {
  position: relative;
  z-index: 1;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
  padding-bottom: 5rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.hero-inner {
  max-width: 900px;
  width: 100%;
  text-align: center;
}


/* ─── SECTION WRAPPERS ───────────────────────────────── */

.section-dark {
  position: relative;
  z-index: 1;
  background: rgba(245, 241, 235, 0.82);
  padding: 7rem 4rem;
  border-top: 1px solid var(--border);
}

.section-alt {
  position: relative;
  z-index: 1;
  background: rgba(237, 232, 224, 0.88);
  padding: 7rem 4rem;
  border-top: 1px solid var(--border);
}

.section-props {
  position: relative;
  z-index: 1;
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 7rem 4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* ─── PROPS SECTION ──────────────────────────────────── */

.props-container {
  max-width: 1280px;
  margin: 0 auto;
}

.props-header {
  margin-bottom: 3rem;
}

.prop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.prop-grid.hidden {
  display: none;
}

.req-panel.hidden {
  display: none;
}

/* ─── NOSOTROS ───────────────────────────────────────── */

.nosotros-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* ─── REQUISITOS ─────────────────────────────────────── */

.req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

/* ─── CONTACTO ───────────────────────────────────────── */

.contacto-layout {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 5rem;
  align-items: start;
}

/* ─── FOOTER ─────────────────────────────────────────── */

.site-footer {
  position: relative;
  z-index: 1;
  background-color: #1a1714;
  padding: 4rem 4rem 2rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ─── RESPONSIVE 900px ───────────────────────────────── */

@media (max-width: 900px) {
  .section-dark,
  .section-alt,
  .section-props {
    padding: 5rem 2.5rem;
  }

  #mapa {
    padding: 4rem 2.5rem 0;
  }

  .site-footer {
    padding: 3rem 2.5rem 1.5rem;
  }

  .nosotros-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nosotros-img-wrap {
    order: -1;
  }

  .req-grid {
    grid-template-columns: 1fr;
  }

  .contacto-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }
}

/* ─── RESPONSIVE 500px ───────────────────────────────── */

@media (max-width: 768px) {
  #bg-map {
    height: 380px;
    border-radius: 10px;
  }
}

@media (max-width: 500px) {
  .section-dark,
  .section-alt,
  .section-props {
    padding: 4rem 1.5rem;
  }

  #mapa {
    padding: 3rem 1.5rem 0;
  }

  #bg-map {
    height: 320px;
    border-radius: 10px;
  }

  .site-footer {
    padding: 2.5rem 1.5rem 1.5rem;
  }

  .hero {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .prop-grid {
    grid-template-columns: 1fr;
  }
 
}