/* ═══════════════════════════════════════════════════════════════
PROYECTOS
════════════════════════════════════════════════════════════════ */
/* ─────────────────────────────────────────────
SECCIÓN
───────────────────────────────────────────── */
.proyectos-page {
  padding: 70px 0 100px;
  background-color: #ffffff;
}

/* ─────────────────────────────────────────────
LISTA
───────────────────────────────────────────── */
.proyectos-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ─────────────────────────────────────────────
TARJETA
───────────────────────────────────────────── */
.proyecto-page-card {
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  background-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
}

/* ─────────────────────────────────────────────
IMAGEN
───────────────────────────────────────────── */
.proyecto-page-imagen {
  position: relative;
  width: 100%;
  height: 430px;
  overflow: hidden;
}

.proyecto-page-imagen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.proyecto-page-card:hover .proyecto-page-imagen img {
  transform: scale(1.03);
}

/* ─────────────────────────────────────────────
DEGRADADO
───────────────────────────────────────────── */
.proyecto-page-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.78) 18%,
      rgba(0, 0, 0, 0.48) 32%,
      rgba(0, 0, 0, 0.12) 52%,
      rgba(0, 0, 0, 0) 70%);
  z-index: 1;
}

/* ─────────────────────────────────────────────
ESTADO
───────────────────────────────────────────── */
.proyecto-page-status {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 22px;
  padding: 8px 14px;
  border-radius: 5px;
  background-color: #008A3D;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
}

/* ─────────────────────────────────────────────
CONTENIDO
───────────────────────────────────────────── */
.proyecto-page-content {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 45px;
  color: #ffffff;
}

/* ─────────────────────────────────────────────
ETIQUETA
───────────────────────────────────────────── */
.proyecto-page-label {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}

/* ─────────────────────────────────────────────
TÍTULO
───────────────────────────────────────────── */
.proyecto-page-content h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 600;
  line-height: 1.1;
}

/* ─────────────────────────────────────────────
DESCRIPCIÓN
───────────────────────────────────────────── */
.proyecto-page-content>p {
  max-width: 400px;
  margin: 0 0 25px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ─────────────────────────────────────────────
INFORMACIÓN
───────────────────────────────────────────── */
.proyecto-page-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.proyecto-page-info div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.proyecto-page-info i {
  width: 18px;
  color: #008A3D;
  font-size: 0.9rem;
}

.proyecto-page-info span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
}

/* ─────────────────────────────────────────────
ENLACE
───────────────────────────────────────────── */
.proyecto-page-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 28px;
  padding-bottom: 5px;
  border-bottom: 1px solid #008A3D;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.proyecto-page-link i {
  transition: transform 0.2s ease;
}

.proyecto-page-link:hover {
  color: #ffffff;
}

.proyecto-page-link:hover i {
  transform: translateX(5px);
}

/* ═══════════════════════════════════════════════════════════════
   PRÓXIMOS PROYECTOS
════════════════════════════════════════════════════════════════ */
.projects-coming {
  padding: 90px 0;
  background-color: #f8f9f8;
}

.projects-coming-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.projects-coming h2 {
  margin: 0 0 20px;
  color: #111111;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
}

.projects-coming h2 .recolor {
  color: #008A3D;
}

.projects-coming p {
  max-width: 650px;
  margin: 0 auto 30px;
  color: #666666;
  font-size: 1rem;
  line-height: 1.8;
}

.projects-coming .btn-primary {
  gap: 9px;
}

.projects-coming .btn-primary i {
  font-size: 1rem;
}

/* ─────────────────────────────────────────────
CONTENIDO
───────────────────────────────────────────── */
.proximamente-content {
  max-width: 650px;
}

.proximamente-content .section-eyebrow {
  margin-bottom: 15px;
}

.proximamente-content h2 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
}

.proximamente-content h2 span {
  display: block;
  color: #008A3D;
}

.proximamente-content p {
  max-width: 580px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.75;
}

/* ─────────────────────────────────────────────
ELEMENTO VISUAL
───────────────────────────────────────────── */
.proximamente-visual {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proximamente-circle {
  position: relative;
  z-index: 2;
  width: 210px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background-color: rgba(0, 138, 61, 0.12);
  color: #008A3D;
  font-size: 4.5rem;
}

.proximamente-decoration {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(0, 138, 61, 0.18);
  border-radius: 50%;
}

/* ═══════════════════════════════════════════════════════════════
RESPONSIVE
════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .proyecto-page-content {
    width: 55%;
    padding: 35px;
  }
}

@media (max-width: 700px) {
  .proyectos-page {
    padding: 55px 0 75px;
  }

  .proyectos-list {
    gap: 25px;
  }

  .proyecto-page-imagen {
    height: 500px;
  }

  .proyecto-page-overlay {
    background:
      linear-gradient(0deg,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.72) 38%,
        rgba(0, 0, 0, 0.20) 70%,
        rgba(0, 0, 0, 0) 100%);
  }

  .proyecto-page-content {
    top: auto;
    bottom: 0;
    width: 100%;
    height: auto;
    padding: 30px 25px;
  }

  .proyecto-page-content h3 {
    font-size: 2rem;
  }

  .proyecto-page-status {
    top: 18px;
    right: 18px;
  }

}

@media (max-width: 450px) {
  .proyecto-page-imagen {
    height: 480px;
  }

  .proyecto-page-content {
    padding: 25px 20px;
  }

  .proyecto-page-content h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .projects-coming {
    padding: 70px 0;
  }

  .projects-coming-content {
    padding: 0 10px;
  }

  .projects-coming p {
    font-size: 0.95rem;
  }

  .projects-coming .btn-primary {
    width: 100%;
  }
}

@media (max-width: 800px) {
  .proyectos-proximamente {
    padding: 70px 0;
  }

  .proximamente-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .proximamente-content {
    max-width: 100%;
    text-align: center;
  }

  .proximamente-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .proximamente-visual {
    min-height: 220px;
  }

  .proximamente-circle {
    width: 170px;
    height: 170px;
    font-size: 3.5rem;
  }

  .proximamente-decoration {
    width: 230px;
    height: 230px;
  }
}