html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #000;
  color: #e9e4d8;
  font-family: "Playfair Display", serif;
}

/* ---------- Secciones genéricas (EL SHOW, GALERIA, CONTACTO) ---------- */
.section {
  box-sizing: border-box;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(56px, 10vw, 110px) 20px;
  text-align: center;
  scroll-margin-top: 90px; /* deja libre el header fijo */
}

.section__title {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff;
}

.section__divider {
  width: 72px;
  height: 1px;
  margin: 24px auto;
  background: rgba(233, 228, 216, 0.6);
}

.section__text {
  margin: 0 auto;
  max-width: 720px;
  font-size: clamp(1.05rem, 3.2vw, 1.3rem);
  line-height: 1.7;
  color: #d6d0c2;
}

/* Aparición suave al hacer scroll */
.section.reveal-ready .section__title,
.section.reveal-ready .section__divider,
.section.reveal-ready .section__text,
.section.reveal-ready .gallery,
.section.reveal-ready .contact {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.section.is-visible .section__title,
.section.is-visible .section__divider,
.section.is-visible .section__text,
.section.is-visible .gallery,
.section.is-visible .contact {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .section.reveal-ready .section__title,
  .section.reveal-ready .section__divider,
  .section.reveal-ready .section__text,
  .section.reveal-ready .gallery,
  .section.reveal-ready .contact {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- GALERIA ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.gallery__item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #14141c;
}

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

/* ---------- CONTACTO ---------- */
.contact {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.contact a {
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(233, 228, 216, 0.4);
  padding-bottom: 2px;
}

.contact a:hover,
.contact a:focus-visible {
  border-bottom-color: #fff;
}

/* ---------- Pie ---------- */
.site-footer {
  padding: 28px 16px 90px; /* espacio extra para que el botón de WhatsApp no tape nada */
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(233, 228, 216, 0.5);
}

/* ---------- Botón flotante de WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: max(32px, env(safe-area-inset-right));
  bottom: max(32px, env(safe-area-inset-bottom));
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}
