@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap");

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

body { color: #333; line-height: 1.6; }

/* HEADER */
header {
  background: #004743;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

header img {
  width: 35vw;
  max-width: 180px;
  min-width: 110px;
  height: auto;
}

nav { display: flex; align-items: center; }

nav a {
  color: rgb(208, 157, 115);
  margin-left: 20px;
  text-decoration: none;
  font-size: 14px;
}

nav a:hover,
nav a.nav-active {
  border-bottom: 1px solid rgb(208, 157, 115);
}

.menu-toggle,
.menu-toggleX {
  display: none;
  font-size: 28px;
  color: rgb(208, 157, 115);
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #004743;
    display: none;
    flex-direction: column;
    text-align: center;
  }
  .nav-links a { margin: 15px 0; font-size: 16px; }
  .menu-toggle { display: block; }
  .nav-links.active { margin-top: 30px; display: flex; }
  .menu-toggle.open { display: none; }
  .menu-toggleX.open { display: block; }
}

/* LABEL */
.nosotros-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;
}

/* SECCIÓN */
.nosotros-seccion {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* HERO */
.nosotros-hero {
  text-align: center;
}

.nosotros-hero h2 {
  font-size: 32px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.nosotros-hero p {
  font-size: 15px;
  color: #777;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* STATS */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

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

.stat-num {
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

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

@media (max-width: 600px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

/* HISTORIA */
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .nosotros-grid { grid-template-columns: 1fr; }
}

.nosotros-texto h3 {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.3;
}

.nosotros-texto p {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 14px;
}

.nosotros-imagen img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  max-height: 400px;
}

.imagen-placeholder {
  width: 100%;
  min-height: 340px;
  background: #e6f0ef00;
  border-radius: 14px;
  border: 1.5px dashed #00474300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #00474300;
}

.imagen-placeholder i { font-size: 40px; opacity: 0.4; }
.imagen-placeholder p { font-size: 14px; font-weight: 600; opacity: 0.6; }
.imagen-placeholder span { font-size: 12px; color: #888; }

/* VALORES */
.valores-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.valores-header h3 {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.valor-card {
  background: #fff;
  border: 0.5px solid #d0d0d0;
  border-top: 3px solid #004743;
  border-radius: 12px;
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.valor-icon {
  width: 42px;
  height: 42px;
  background: #e6f0ef;
  color: #004743;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.valor-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.valor-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

/* PROYECTO ANTERIOR */
.anterior-seccion {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: #f7f9f9;
  border-radius: 16px;
  padding: 2.5rem;
}

@media (max-width: 768px) {
  .anterior-seccion { grid-template-columns: 1fr; }
}

.anterior-texto h3 {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.anterior-texto p {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 18px;
}

.anterior-lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.anterior-lista li {
  font-size: 13px;
  color: #444;
  display: flex;
  align-items: center;
  gap: 10px;
}

.anterior-lista li i {
  color: #004743;
  font-size: 13px;
}

.anterior-fotos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.anterior-fotos img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  height: 180px;
}

.foto-placeholder {
  width: 100%;
  height: 180px;
  background: #d9e8e700;
  border-radius: 10px;
  border: 1.5px dashed #00474300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #00474300;
}

.foto-placeholder i { font-size: 28px; opacity: 0.4; }
.foto-placeholder span { font-size: 11px; color: #888; text-align: center; padding: 0 8px; }

/* CTA */
.cta-seccion {
  background: #004743;
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
}

.cta-seccion h3 {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.cta-seccion p {
  font-size: 14px;
  color: #a8c9c7;
  margin-bottom: 24px;
}

.cta-botones {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-whatsapp:hover { background: #1dbb57; }

.btn-email,
.btn-telefono {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.3);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s;
}

.btn-email:hover,
.btn-telefono:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}

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

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-column { flex: 1; min-width: 200px; }
.footer-column .logo { width: 220px; margin-bottom: 20px; }
.footer-column h3 { font-size: 1rem; margin-bottom: 16px; color: #ccc; }
.footer-column p { color: #aaa; line-height: 1.6; font-size: 0.9rem; margin-bottom: 12px; }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 10px; }
.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; }

.social-icons { display: flex; gap: 12px; margin-top: 16px; }

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

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