/* ==========================================================================
   Renueva — Page-specific styles
   Aesthetic: Earthy sustainability — warm green tones with circular motifs
   ========================================================================== */

/* --- HERO BANNER --- */
.renueva-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.renueva-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.renueva-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.65);
}

.renueva-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(11, 93, 24, 0.85) 0%,
    rgba(26, 92, 46, 0.7) 40%,
    rgba(114, 190, 68, 0.4) 100%
  );
  mix-blend-mode: multiply;
}

.renueva-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 160px 20px 80px;
}

.renueva-hero__content h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.renueva-hero__content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

/* --- BENTO GALLERY --- */
.renueva-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 280px;
  grid-template-areas:
    "a a b"
    "c d e";
  gap: var(--space-4);
}

.renueva-gallery__item {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.renueva-gallery__item--a { grid-area: a; }
.renueva-gallery__item--b { grid-area: b; }
.renueva-gallery__item--c { grid-area: c; }
.renueva-gallery__item--d { grid-area: d; }
.renueva-gallery__item--e { grid-area: e; }

.renueva-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.renueva-gallery__item:hover img {
  transform: scale(1.05);
}

/* Overlay siempre visible */
.renueva-gallery__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  background: linear-gradient(
    to top,
    rgba(11, 93, 24, 0.85) 0%,
    rgba(11, 93, 24, 0.3) 45%,
    transparent 75%
  );
}

.renueva-gallery__overlay h4 {
  color: #fff;
  font-size: var(--font-size-base);
  font-weight: 700;
  margin-bottom: var(--space-1);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.renueva-gallery__overlay p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .renueva-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 260px 260px 260px;
    grid-template-areas:
      "a a"
      "b c"
      "d e";
  }
  .renueva-hero {
    min-height: 420px;
  }
}

@media (max-width: 600px) {
  .renueva-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 220px);
    grid-template-areas:
      "a"
      "b"
      "c"
      "d"
      "e";
  }
  .renueva-hero {
    min-height: 360px;
  }
  .renueva-hero__content {
    padding: 130px 16px 60px;
  }
  .renueva-hero__content h1 {
    font-size: 1.75rem;
  }
}


/* Accent amarillo en galería overlay */
.renueva-gallery__overlay h4 {
  position: relative;
}

.renueva-gallery__overlay h4::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--yellow-400);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
