body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  letter-spacing: 1px;
}
.hero {
  background-image: url("fotoduo.png");
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  height: 70vh;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.35);
  height: 100%;
  display: flex;
  justify-content: flex-end;  /* abajo */
  align-items: flex-end;      /* derecha */
  padding: 50px;
  color: white;
  text-align: right;
}
.gallery-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: stretch;
}

.gallery-2 .foto {
  width: 100%;
  height: 260px;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .gallery-2 {
    grid-template-columns: 1fr;
  }

  .gallery-2 .foto {
    height: 220px;
  }
}
.videos iframe {
  width: 100%;
  height: 500px;      /* MÁS GRANDE */
  border-radius: 8px;
}
@media (max-width: 768px) {
  .videos iframe {
    height: 280px;
  }
}
@media (max-width: 768px) {
  .hero {
    background-image: url("./portadamovil.jpeg") !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    height: 50vh !important;
  }

  /* Oculta texto y quita el oscurecido del overlay */
  .hero-overlay {
    background: none !important;
    visibility: hidden !important;
  }

  /* Por si acaso hay estilos directos en el h1/p */
  .hero-overlay h1,
  .hero-overlay p {
    display: none !important;
  }
}
.pdf-botones {
  text-align: center;
  margin-top: 40px;
}

.boton-pdf {
  display: inline-block;
  margin: 12px;
  padding: 14px 22px;
  background-color: #1f1f1f;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.boton-pdf:hover {
  background-color: #b38b59;
  transform: translateY(-2px);
}
@media (max-width: 600px) {
  .boton-pdf {
    display: block;
    width: 90%;
    margin: 12px auto;
    font-size: 18px;
  }
}
/* --- Acabado general --- */
section {
  padding: 70px 20px;
}

section h2 {
  font-size: 30px;
  margin-bottom: 26px;
}

/* Tarjetas más pro */
.card {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 26px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* Textos */
p {
  font-size: 17px;
}

/* Separador elegante entre secciones */
section {
  position: relative;
}

section::after {
  content: "";
  display: block;
  width: 120px;
  height: 1px;
  background: rgba(0,0,0,0.12);
  margin: 50px auto 0 auto;
}
.momentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.momento {
  background: #fafafa;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  text-align: center;
}

.momento h3 {
  margin-bottom: 10px;
  font-size: 20px;
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  font-size: 26px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 9999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.testimonios {
  display: grid;
  gap: 30px;
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.testimonio {
  background: #fafafa;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  font-style: italic;
  position: relative;
}

.testimonio span {
  display: block;
  margin-top: 15px;
  font-style: normal;
  font-weight: 500;
  text-align: right;
  color: #555;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}
@media (min-width: 769px) {
  nav {
    border-bottom: none !important;
    box-shadow: none !important;
  }

  nav::before,
  nav::after {
    display: none !important;
    content: none !important;
  }
}
@media (max-width: 768px) {

  /* Menú: que no se descoloque ni se subraye */
  nav{
    position: sticky;
    top: 0;
    height: auto;
    display: block;
    padding: 10px;
  }
  nav a{
    display: inline-block;
    margin: 8px 10px;
    text-decoration: none !important;
  }

  /* Secciones: menos aire en móvil */
  section{
    padding: 40px 16px;
  }
  section h2{
    font-size: 24px;
    margin-bottom: 18px;
    text-align: left; /* evita centrados raros */
  }

  /* Quita el “separador elegante” en móvil (a veces parece raya/espacio raro) */
  section::after{
    display: none !important;
    content: none !important;
    margin: 0 !important;
  }

  /* Tarjetas: un pelín más compactas */
  .card{
    padding: 18px;
    border-radius: 12px;
  }

  /* Texto: ligeramente más pequeño para que respire */
  p{
    font-size: 16px;
  }
}
.reel{
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 12px;
  box-sizing: border-box;
}

.reel__frame{
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 auto;

  height: 82vh;
  max-height: 820px;
  max-width: 100%;
}

@media (min-width: 769px){
  .reel__frame{
    height: 900px;     /* más alto */
    max-height: 95vh;  /* que no se salga de la pantalla */
  }
}

.reel__cover{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reel__play{
  position: absolute;
  inset: 0;
  margin: auto;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 0;
  font-size: 44px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  cursor: pointer;
}

.reel__frame iframe{
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}
.reel__frame iframe.no-touch {
  pointer-events: none;
}
.reel__close{
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: #000;      /* negro sólido */
  color: #fff;           /* cruz blanca */
  font-size: 26px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5;            /* por encima del video */
  cursor: pointer;
}
.reel__frame{
  position: relative;
}
.reel__play{
  pointer-events: auto;
}

.reel__cover{
  cursor: zoom-in;
}
/* LIGHTBOX FONDO OSCURO */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

/* IMAGEN GRANDE */
.lightbox__img{
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

/* BOTÓN CERRAR */
.lightbox__close{
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}
