@import url("https://fonts.googleapis.com/css2?family=Asimovian&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:wght@500&display=swap");

.montserrat {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
}

/* HEADER */
header {
  background: #004743;
  padding: 14px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

header img {
  width: 35vw;
  max-width: 160px;
  min-width: 100px;
  height: auto;
}
/* ---------------------------------------------------------------------------------------------------- */
/* NAVIGATION BAR */
nav { display: flex; align-items: center; }

nav a {
  color: rgb(208, 157, 115);
  margin-left: 24px;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
}

nav a:hover { opacity: 0.75; }

nav a.nav-active {
  border-bottom: 1.5px solid rgb(208, 157, 115);
  padding-bottom: 2px;
}
/* ---------------------------------------------------------------------------------------------------- */
/* botón hamburguesa */
.menu-toggle,
.menu-toggleX {
  display: none;
  font-size: 28px;
  color: rgb(208, 157, 115);
  cursor: pointer;
}
/* -----------------------------------------MEDIA------------------------------------------------- */
/* Responsive NAV */
@media (max-width: 768px) {
  header { padding: 14px 20px; }

  .nav-links {
    position: absolute;
    top: 62px;
    left: 0;
    width: 100%;
    background: #004743;
    display: none;
    flex-direction: column;
    text-align: center;
    padding: 10px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links a { margin: 14px 0; font-size: 15px; }
  .menu-toggle { display: block; }
  .nav-links.active { display: flex; }
  .menu-toggle.open { display: none; }
  .menu-toggleX.open { display: block; }
}
/* ---------------------------------------Inicio del contenido----------------------------------------- */

.proyecto-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b07d50;
  background: #fdf0e6;
  border: 0.5px solid #d9a878;
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 12px;
}

.proyecto-seccion {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 24px;
}

.titulo-seccion {
  font-size: 28px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 10px;
  text-align: center;
}

/* Galería */
.galeria-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.galeria-btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #004743;
  color: #fff;
  border: none;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.galeria-btn:hover {
  background: #016863;
}

.galeria-slider {
  display: flex;
  overflow: hidden;
  gap: 10px;
  flex: 1;
  scroll-behavior: smooth;
}

.galeria-img {
  height: 220px;
  border-radius: 10px;
  flex-shrink: 0;
  width: calc(50% - 5px);
  object-fit: cover;
}

/* Dots */
.galeria-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 2rem;
}

.dot {
  width: 8px;
  height: 4px;
  border-radius: 2px;
  background: #c8dbd9;
  display: inline-block;
  transition: width 0.2s, background 0.2s;
}

.dot.active {
  width: 20px;
  background: #004743;
}

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 2rem;
}

.stat {
  background: #004743;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}

.stat-num {
  font-size: 24px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: #a8c9c7;
  margin-top: 4px;
}

/* Cards */
.cards-container {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 3rem;
}

.card {
  background: #fff;
  border: 0.5px solid #d0d0d0;
  border-radius: 12px;
  padding: 1.25rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(0, 71, 67, 0.1);
  transform: translateY(-3px);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 0.5px solid #e0e0e0;
}

.card-icon-box {
  width: 32px;
  height: 32px;
  background: #e6f0ef;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #004743;
  flex-shrink: 0;
}

.card-titulo {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.card-text {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.card-list li {
  font-size: 13px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-list li i {
  color: #004743;
  font-size: 12px;
}

.card-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #555;
}

.badge {
  background: #e6f0ef;
  color: #004743;
  font-size: 12px;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 4px;
}

/* Mapa */
.ubicacion {
  margin-top: 1rem;
  text-align: center;
}

.mapa-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 50%;
  border-radius: 12px;
}

.mapa-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ------------------------------------------Fin del contenido----------------------------------------- */
/* FOOTER */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif; /* Puedes cambiar a Inter o Helvetica */
}

/* Contenedor Principal */
.footer-container {
  background-color: #004743; /* Negro casi total */
  color: rgb(208, 157, 115);
  padding: 60px 10%;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; /* Para que sea responsivo en móviles */
  gap: 40px;
}

/* Columnas */
.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column .logo {
  width: 300px;
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.footer-column h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #ccc;
}

.footer-column p {
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 0.95rem;
  margin-bottom: 30px;
}

/* Enlaces */
.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a,
.footer-column p a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #fff;
}

/* Iconos Sociales */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons .icon {
  width: 35px;
  height: 35px;
  background-color: rgb(208, 157, 115);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  transition: opacity 0.3s;
}

.social-icons .icon:hover {
  background-color: rgb(148, 112, 82);
  color: #fff;
}
