/* =====================================================
   HERO
===================================================== */

.hero-matrimonios {
  position: relative;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 62vh;
  object-fit: cover;
  display: block;
}


/* =====================================================
   INTRO
===================================================== */

.intro {
  padding: 5rem 0 4rem;
}

.intro h1 {
  font-size: 3rem;
  margin-bottom: 2.5rem;
  font-weight: 600;
}

.content-narrow {
  max-width: 850px;
  margin: 0 auto;
}

.content-narrow p {
  font-size: 1.08rem;
  line-height: 1.9;
  margin-bottom: 1.8rem;
  color: #444;
}

.content-narrow .lead {
  font-size: 1.22rem;
  color: #222;
}


/* =====================================================
   SECCIONES
===================================================== */

.tipos-wrapper {
  padding: 5rem 0;
  background: #f8f8f8;
}

.tipos h2,
.gallery h2 {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 1rem;
}

.gallery {
  padding: 5rem 0;
}


/* =====================================================
   CARDS
===================================================== */

.tipo-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: transform 0.25s ease;
  height: 100%;
}

.tipo-card:hover {
  transform: translateY(-4px);
}

.tipo-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.tipo-card h3 {
  font-size: 1.35rem;
  margin: 1.4rem 1.4rem 1rem;
}

.tipo-card p {
  padding: 0 1.4rem 1.8rem;
  color: #555;
  line-height: 1.75;
  margin: 0;
}


/* =====================================================
   CTA
===================================================== */

.cta-section {
  padding: 5rem 2rem;
  background: #111;
  border-radius: 18px;
  margin: 3rem 0 4rem;
}

.cta-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.82);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}


/* =====================================================
   BOTONES
===================================================== */

.botonx {
  display: inline-block;
  padding: 14px 28px;
  background: #111;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.25s ease;
}

.botonx:hover {
  background: #333;
  color: white;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

  .hero-img {
    height: 48vh;
  }

  .intro {
    padding: 3.5rem 0;
  }

  .intro h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .content-narrow p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .content-narrow .lead {
    font-size: 1.08rem;
  }

  .tipos-wrapper,
  .gallery {
    padding: 3.5rem 0;
  }

  .tipos h2,
  .gallery h2 {
    font-size: 1.7rem;
  }

  .tipo-card img {
    height: 220px;
  }

  .cta-section {
    padding: 3rem 1.4rem;
    border-radius: 12px;
  }

  .cta-section h3 {
    font-size: 1.5rem;
  }

}