/* --------------------
   Variables de color (BEIGE + GRIS OSCURO + BLANCO)
---------------------*/
:root {
  /* Fondo principal beige */
  --bg: #f2ede5;                 /* beige base */
  --bg-alt: #eae3d9;             /* beige más oscuro */
  --bg-hero: radial-gradient(circle at top left, #f6f1e9 0, #f2ede5 60%, #e8dfd3 100%);

  /* Texto */
  --text: #2f2f2f;               /* gris oscuro principal */
  --muted: #6b6b6b;              /* gris medio */
  --white: #ffffff;

  /* Acento neutro */
  --accent: #b8a892;             /* beige tostado */
  --accent-soft: rgba(184, 168, 146, 0.18);
  --accent-green: #9f8f79;       /* tono más profundo */

  /* Bordes */
  --border-soft: rgba(80, 72, 60, 0.15);
}

/* --------------------
   Reset básico
---------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* --------------------
   Nav
---------------------*/
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0.25em;
  font-size: 3rem;
  text-transform: uppercase;
  color: var(--text);
}

.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  font-size: 1rem;
  color: var(--muted);
  position: relative;
  padding-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(to right, var(--accent-green), var(--accent));
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--text);
}

/* --------------------
   Hero
---------------------*/
.hero {
  min-height: 20; /* lo dejo tal cual como lo tenías */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 70px;
  position: relative;
  overflow: hidden;
  background: var(--bg-hero);
}

/* Orbes animados */
.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.55;
  pointer-events: none;
  mix-blend-mode: multiply;
  animation: float 16s infinite ease-in-out alternate;
}

.hero-orb-1 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(184, 168, 146, 0.55), transparent 70%);
  top: -40px;
  left: -60px;
}

.hero-orb-2 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(159, 143, 121, 0.45), transparent 70%);
  bottom: -50px;
  right: -40px;
  animation-delay: 2s;
}

.hero-orb-3 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(184, 168, 146, 0.40), transparent 70%);
  top: 40%;
  right: 15%;
  animation-delay: 4s;
}

/* Tarjeta central */
.hero-content {
  position: relative;
  width: 80%;
  text-align: center;
  padding: 15px 26px 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border-soft);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.10),
    0 0 0 1px rgba(255, 255, 255, 0.75);
}

.hero-pretitle {
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.hero-names {
  font-family: 'Playfair Display', serif;
  font-size: 3.1rem;
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--text);
}

.hero-date {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Divider */
.hero-divider {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-divider .line {
  display: block;
  width: 90px;
  height: 2px;
  background: linear-gradient(to right, var(--accent-green), var(--accent));
}

.hero-divider .leaf-left,
.hero-divider .leaf-right {
  font-size: 0.85rem;
  color: var(--accent-green);
}

.hero-text {
  max-width: 460px;
  margin: 0 auto 24px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
}

/* Botones */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.18s ease, background 0.2s ease, color 0.2s ease;
}

/* ✅ BOTÓN MAPS */
.btn-maps {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 999px;

  text-decoration: none;
  font-size: 0.60rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: #ffffff;
  background: var(--text);
  border: 1px solid rgba(47, 47, 47, 0.25);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);

  transition: transform 0.1s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-maps:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
  filter: brightness(1.02);
}

.btn-maps:active {
  transform: translateY(0);
}

.btn-primary {
  color: #ffffff;
  background: var(--text);
  border: 1px solid rgba(47, 47, 47, 0.25);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  filter: brightness(1.02);
}

.btn-secondary {
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.65);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

/* Botón full width en formulario */
.btn-full {
  width: 100%;
  justify-content: center;
}

/* --------------------
   Secciones
---------------------*/
.section {
  padding: 80px 20px;
  background: var(--bg);
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  max-width: 650px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin: 0 0 6px;
  color: var(--text);
}

.section-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* --------------------
   Cards (La boda)
---------------------*/
.cards-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  padding: 22px 20px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.08);
  text-align: left;
  position: relative;
  overflow: hidden;
  transform-origin: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 0;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(159, 143, 121, 0.35);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.10);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--text);
}

.card-highlight {
  margin: 0 0 8px;
  font-weight: 600;
  color: var(--accent-green);
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* --------------------
   Detalles
---------------------*/
.details-layout {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.details-block {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  padding: 20px 20px 18px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.08);
}

.details-block h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--text);
}

.details-block p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* --------------------
   Formulario RSVP
---------------------*/
.rsvp-form {
  max-width: 550px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 22px;
  padding: 26px 22px 24px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-row label {
  font-size: 0.8rem;
  margin-bottom: 4px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-row input,
.form-row select,
.form-row textarea {
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  padding: 9px 11px;
  font-size: 0.9rem;
  font-family: inherit;
  background: #faf8f5;
  color: var(--text);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(107, 107, 107, 0.7);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: rgba(159, 143, 121, 0.45);
  box-shadow: 0 0 0 2px rgba(184, 168, 146, 0.25);
}

.form-note {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* --------------------
   Footer
---------------------*/
.footer {
  padding: 35px 20px 40px;
  text-align: center;
  position: relative;
  background: rgba(255, 255, 255, 0.75);
  border-top: 1px solid var(--border-soft);
}

.footer-floral {
  width: 160px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent-green), var(--accent), transparent);
  margin: 0 auto 14px;
}

.footer p {
  margin: 0;
  color: var(--text);
}

.footer-small {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* --------------------
   Animaciones & reveal
---------------------*/
@keyframes float {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(20px, -30px, 0) scale(1.08); }
}

.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.99);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out,
    box-shadow 0.2s ease-out;
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* --------------------
   Responsive
---------------------*/
@media (max-width: 720px) {
  .nav-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .nav-links {
    font-size: 0.75rem;
  }

  .nav-links a {
    margin-left: 12px;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-content {
    padding: 26px 18px 22px;
    width: 100%;
  }

  .hero-names {
    font-size: 2.3rem;
  }

  .cards-grid,
  .details-layout {
    gap: 18px;
  }

  .section {
    padding: 70px 16px;
  }
}

/* --------------------
   Splash de entrada
---------------------*/
/* 👇 Mantengo tu splash, pero adaptado a que el resto del sitio sea claro */
.no-scroll {
  overflow: hidden;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  text-align: center;
  background: url("bn.jpg") center/cover no-repeat;
  align-items: flex-start;   /* en vez de center */
  padding-top: 8vh;         /* ajusta este valor */
}

.splash-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.45)
  );
}

.splash-content {
  position: relative;
  padding: 28px 26px 24px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  max-width: 460px;
}

.splash-pretitle {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: #f6f3ee;
  margin-bottom: 10px;
}

.splash-names {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  margin: 0 0 6px;
  color: #ffffff;
}

.splash-date {
  margin: 0 0 20px;
  font-size: 0.95rem;
  color: #f6f3ee;
}

.btn-splash {
  margin-top: 6px;
  padding: 10px 26px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(to right, rgba(255,255,255,0.45), rgba(255,255,255,0.20));
  color: #ffffff;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: capitalize;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition:
    transform 0.08s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
  backdrop-filter: blur(10px);
}

.btn-splash:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 36px rgba(0, 0, 0, 0.25);
  filter: brightness(1.03);
}

.splash-hide {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.site {
  display: none;
}

.site.site-visible {
  display: block;
}

@media (max-width: 720px) {
  .splash-content {
    margin: 0 18px;
    padding: 22px 18px 18px;
  }

  .splash-names {
    font-size: 2rem;
  }
}

/* --------------------
   Playlist
---------------------*/
.playlist {
  width: 100%;
  padding-top: 0;
  margin-top: 0;
}

.playlist h2 {
  text-align: center;
  color: var(--text);
  margin-bottom: 1rem;
}

/* --------------------
   Links auxiliares
---------------------*/
.card-link {
  color: var(--text);
  text-decoration: underline;
}




/* --------------------
   GALERÍA
---------------------*/

.gallery {
  background: #f5efe6; /* beige suave */
  padding: 100px 20px;
  text-align: center;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-pretitle {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8b8378;
  margin-bottom: 10px;
}

.gallery-title {
  font-size: 36px;
  font-weight: 500;
  color: #2f2f2f;
  margin-bottom: 30px;
}

/* Divider estilo hero */
.gallery-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 60px;
}

.gallery-divider .line {
  width: 120px;
  height: 1px;
  background: #c8b9a6;
}

.gallery-divider span {
  color: #c8b9a6;
  font-size: 18px;
}

/* Grid fotos */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: sepia(100%);
  transition: transform 0.6s ease, filter 0.6s ease;
}

/* Hover elegante */
.gallery-item:hover img {
  transform: scale(1.05);
  filter: sepia(80%);
}

/* Responsive */

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item img {
    height: 350px;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 300px;
  }
}
