/* ================================
   RESETEO BÁSICO
================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body{
  font-family: 'Montserrat', Arial, sans-serif;
  background:#fff;
  color:#333;
}

/* ================================
   HEADER
================================ */
.header{
  width:100%;
  padding: 1.6rem 2rem;
  background:#111;
}

nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo{
  display:flex;
  align-items:center;
  gap:.8rem;
  color:#fff;
  font-weight:700;
}

.logo img{ height:40px; width:auto; }

.logo-texto{
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: .5px;
}

.menu{
  list-style:none;
  display:flex;
  gap:1.4rem;
  align-items:center;
}

.menu a{
  color:#fff;
  text-decoration:none;
  font-weight:600;
  font-size: .95rem;
}

.btn-contribuir{
  background:#7ac943;
  padding: .45rem 1rem;
  border-radius: 999px;
}

/* ================================
   HERO TESTIMONIOS
================================ */
.hero-testimonios{
  width:100%;
  height: 210px;
  background: url("./fotos/Carrusel\ 3.jpg") center/cover no-repeat;
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
}

.hero-testimonios::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.45);
}

.hero-titulo{
  position:relative;
  color:#fff;
  font-size: 2.2rem;
  font-weight: 800;
  text-align:center;
  padding: 0 1rem;
}

/* ================================
   FONDO + PINCELADAS
================================ */
.fondo-pinceladas{
  position: relative;
  background: #fff;
  padding: 2rem 1rem 3rem;
  overflow: hidden;
}

.pinceladas{
  position:absolute;
  inset:0;
  background-image: url("./fotos/pinceladas.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  pointer-events:none;
}

/* ================================
   CONTENEDOR PRINCIPAL (DIMENSIONES)
================================ */
.testimonios-contenedor{
  position: relative;
  max-width: 1000px;   /* <<< más compacto (como tu imagen) */
  margin: 0 auto;
  display:flex;
  flex-direction:column;
  gap: 26px;
  padding: 0.5rem 0;
}

/* ================================
   BLOQUE GRANDE + GRILLA 2x2
================================ */
.bloque-testimonio.grande{
  width:100%;
  height:160px;        /* <<< grande pero no gigante */
  border-radius:20px;
}

.grid-testimonios{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.bloque-testimonio.chico{
  height:150px;        /* <<< más chico (como tu imagen) */
  border-radius:20px;
}

/* ================================
   ESTILO GENERAL DE LOS BLOQUES
================================ */
.bloque-testimonio{
  background-size:cover;
  background-position:center;
  position:relative;
  overflow:hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  cursor:pointer;
}

/* overlay oscuro */
.bloque-testimonio::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,0.10),
    rgba(0,0,0,0.55)
  );
}

/* texto */
.texto{
  position:absolute;
  bottom:14px;
  left:18px;
  right:18px;
  color:#fff;
}

.play{
  font-size:18px;
  margin-bottom:4px;
  opacity:.95;
}

.texto h2{
  font-size:1.15rem;
  font-weight:800;
  letter-spacing:.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.texto p{
  font-size:.95rem;
  font-weight:500;
  opacity:.95;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 900px){
  .pinceladas{ background-size: cover; }

  .testimonios-contenedor{
    max-width: 92vw;
    gap: 18px;
  }

  .bloque-testimonio.grande{ height: 170px; }

  .grid-testimonios{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bloque-testimonio.chico{ height: 170px; }

  .hero-titulo{ font-size: 1.8rem; }
}
