/* ===== RESET DE RITMO ===== */
/* ===== RESET DE RITMO ===== */
section {
  margin-top: 3.5rem;
}

@media (max-width: 768px) {
  section {
    margin-top: 20px;
  }
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* ===== HERO ===== */
.hero-matrimonios {
  width: 100%;
  height: 55vh;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== INTRO (AQUÍ ESTABA TU ERROR) ===== */
.intro {
  margin-top: 3rem;
}

.intro h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.content-narrow {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.content-narrow p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ===== TRANSICIÓN SUAVE ===== */
.tipos-wrapper {
  margin-top: 1rem;
  padding: 4rem 0;
  background: #f7f7f7;
}

.tipos h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: 500;
}

/* ===== CARDS ===== */
.tipo-card {
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  text-align: center;
  transition: 0.3s;
}

.tipo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.tipo-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.tipo-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.tipo-card p {
  font-size: 13.5px;
  color: #666;
}

/* ===== GALERÍA ===== */
.gallery h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.gallery-subtitle {
  text-align: center;
  font-size: 13px;
  color: #777;
  margin-bottom: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.guias-relacionadas {
    background: #f8f8f8;
}

.guia-mini-card {
    background: white;
    padding: 20px;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.guia-mini-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    margin-bottom: 15px;
}

.guia-mini-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.guia-mini-card p {
    margin-bottom: 15px;
}
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ===== CTA ===== */
.cta-section {
  margin-top: 5rem;
  padding: 3.5rem 1.5rem;
  background: #111;
  color: #fff;
  border-radius: 10px;
  text-align: center;
}

.cta-section h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 2rem;
}

.botonx {
  display: inline-block;
  border: 1px solid #fff;
  color: #fff;
  padding: 10px 24px;
  text-decoration: none;
  transition: 0.3s;
}

.botonx:hover {
  background: #fff;
  color: #000;
}

/* ===== VOLVER ===== */
.volver-btn {
  display: inline-block;
  margin-top: 2rem;
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
}

.volver-btn:hover {
  color: #000;
  border-color: #000;
}