:root {
  /* Paleta inspirada en la imagen otoñal */
  --bg: #F7F5F2; /* Blanco cálido del camino */
  --card: #FEFCFA; /* Blanco muy suave */
  --text: #4A3F35; /* Marrón oscuro para texto */
  --muted: #8A7A6B; /* Gris cálido */
  
  /* Colores principales de la imagen */
  --accent: #6B7A5A; /* Verde oliva de la camisa del hombre */
  --accent-2: #D4B896; /* Beige dorado de las hojas */
  --accent-3: #8B7355; /* Marrón cálido de la ropa de ella */
  --accent-4: #C19A6B; /* Tono tierra cálido */
  
  /* Variables adicionales */
  --primary: #6B7A5A; /* Verde oliva como color principal */
  --ring: rgba(107, 122, 90, 0.25); /* Verde oliva con transparencia */
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 450px;
  margin: 0 auto;
  position: relative;
}

.boda-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* Se elimina el menú, el header no es necesario */
.site-header { display: none; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 14px;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.4px;
}

.site-nav {
  display: flex;
  gap: 18px;
}

.site-nav a {
  text-decoration: none;
  color: inherit;
  padding: 8px 10px;
  border-radius: 8px;
}

.site-nav a:hover {
  background: var(--accent-2);
}

.nav-toggle {
  display: none;
  font-size: 20px;
  border: 1px solid #e6ddd7;
  background: var(--card);
  border-radius: 10px;
  padding: 6px 10px;
}

.hero {
  position: relative;
  height: 100vh;
  max-height: 900px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center 100%;
  background-repeat: no-repeat;
  max-width: 1200px;
  margin: 0 auto;
}

.hero::after {
  background-image: url("../../img/svgs/ondas-2-copy.svg");
  position: absolute;
  content: '';
  background-repeat: no-repeat;
  background-position: bottom center;
  height: 100%;
  width: 100%;
  bottom: -1px;
  z-index: 3;
}
.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.4));
  z-index: 0;
}

.hero-overline {
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: clamp(16px, 3vw, 20px);
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  margin: 0;
  padding-bottom: 30px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero-title {
  position: relative;
  z-index: 1;
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: clamp(40px, 12vw, 80px);
  margin: 0 0 20px;
  line-height: 0.9;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1.2s ease-out 0.6s forwards;
}

.hero-title span {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.7em;
}

.hero-sub {
  position: relative;
  z-index: 1;
  color: #ffffff;
  letter-spacing: 3px;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  margin: 0;
  font-size: clamp(18px, 3.5vw, 22px);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out 0.9s forwards;
}



@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-main {
  position: relative;
  z-index: 1;
  padding-bottom: 80px;
}




/* Scroll Indicator */
.scroll-indicator {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding-bottom: 60px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out 1.2s forwards;
}

.scroll-arrow {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  animation: gentleFloat 3s ease-in-out infinite;
}

.scroll-arrow:hover {
  border-color: #ffffff;
  color: #ffffff;
  transform: scale(1.1);
}

.scroll-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

.hero-ctas { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
}

.btn-primary {
  background: var(--accent);
  color: #2c3e50;
  box-shadow: 0 6px 16px var(--ring);
  font-weight: 600;
}

.btn-primary:hover {
  filter: brightness(0.98);
}

.btn-ghost {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background: var(--accent);
  color: #2c3e50;
}

.section {
  padding: 30px 0;
}

/* Sección de texto personalizado */
.boda-text-section {
  z-index: 999;
  padding: 40px 0;
  background: #ebe6d6;/*#f1e9e3*/;
  position: relative;
  overflow: hidden;
}

/* Esquinas decorativas */
.text-frame {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.frame-corner {
  position: absolute;
  border: 1.5px solid var(--accent);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.corner-top-left {
  top: 20px;
  left: 5%;
  width: 150px;
  height: 60px;
  border-right: none;
  border-bottom: none;
  border-radius: 0;
}

.corner-bottom-right {
  bottom: 20px;
  right: 5%;
  width: 150px;
  height: 60px;
  border-left: none;
  border-top: none;
  border-radius: 0;
}

.frame-corner:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.text-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23d4a574" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23d4a574" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23d4a574" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23d4a574" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23d4a574" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.4;
}

.boda-text-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.text-title {
  font-family: "Great Vibes", cursive;
  font-size: clamp(36px, 6vw, 48px);
  color: var(--text);
  margin: 0 0 40px;
  font-weight: 400;
  line-height: 1.2;
}

.boda-text-paragraph {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(18px, 4vw, 24px);
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  margin: 0 0 24px;
  font-weight: 400;
  position: relative;
  padding: 0 20px;
}

.text-paragraph:last-of-type {
  margin-bottom: 40px;
}

.text-signature {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(168, 213, 186, 0.3);
}

.text-signature p {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 8px;
  font-style: italic;
}

.signature-names {
  font-family: "Great Vibes", cursive !important;
  font-size: 24px !important;
  color: var(--accent) !important;
  font-style: normal !important;
  font-weight: 400;
  margin: 0 !important;
}

.countdown {
  padding: 80px 0;
  background: #ebe6d6 /*var(--bg)*/;
  position: relative;
  overflow: hidden;
}

.countdown::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23d4a574" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23d4a574" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23d4a574" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23d4a574" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23d4a574" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.4;
}

.countdown-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.countdown-title {
  font-family: "Great Vibes", cursive;
  font-size: clamp(36px, 6vw, 56px);
  color: var(--text);
  margin: 0 0 8px;
  font-weight: 400;
}

.countdown-subtitle {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--muted);
  margin: 0 0 20px;
  font-weight: 400;
  letter-spacing: 1px;
  font-style: italic;
}

.countdown-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.decoration-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.decoration-heart {
  font-size: 18px;
  color: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
}

.timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin: 0 auto 50px;
  flex-wrap: nowrap;
  overflow: visible;
  padding: 0 20px;
}

.time-box {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(212, 165, 116, 0.2);
  border-radius: 15px;
  padding: 16px 12px;
  text-align: center;
  min-width: 70px;
  flex: 1;
  max-width: 90px;
  box-shadow: 0 8px 32px rgba(212, 165, 116, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.time-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
  z-index: -1;
}

.time-box:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 48px rgba(212, 165, 116, 0.25);
  border-color: rgba(212, 165, 116, 0.4);
}

.time-number {
  margin-bottom: 8px;
}

.time-box span {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}

.time-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "Inter", sans-serif;
}

.time-separator {
  font-family: "Parisienne", cursive;
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--accent);
  font-weight: 400;
  margin: 0 1px;
  opacity: 0.7;
}

.countdown-footer {
  text-align: center;
  position: relative;
  z-index: 1;
}

.countdown-messages {
  margin-bottom: 20px;
}

.countdown-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 30px 0 0 0;
  gap: 20px;
}

.countdown-text {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(16px, 2.5vw, 18px);
  color: var(--muted);
  margin: 0;
  font-weight: 400;
  font-style: italic;
  text-align: center;
  line-height: 1.4;
}

.countdown-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 200px;
}

.separator-line {
  flex: 1;
  height: 1px;
  background-color: var(--accent);
}

.separator-heart {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.countdown-message.primary {
  color: var(--text);
  font-size: clamp(18px, 2.8vw, 20px);
  font-weight: 500;
}

.countdown-message.secondary {
  color: var(--muted);
  font-size: clamp(14px, 2.2vw, 16px);
  opacity: 0.8;
}

.countdown-hearts {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.floating-heart {
  font-size: 20px;
  color: var(--accent);
  animation: float 3s ease-in-out infinite;
  opacity: 0.7;
}

.floating-heart:nth-child(2) {
  animation-delay: 1s;
}

.floating-heart:nth-child(3) {
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

.section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(28px, 4.5vw, 38px);
  margin: 0 0 18px;
}

.muted {
  color: var(--muted);
}

.small { font-size: 13px; }

.boda-grid {
  display: grid;
  gap: 18px;
}

.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.boda-card {
  background: var(--card);
  border: 1px solid #efe7e2;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.card.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
  align-items: center;
}

.map-placeholder {
  background: linear-gradient(135deg, #f1e9e3, #ece4de);
  border-radius: 12px;
  height: 220px;
  display: grid;
  place-items: center;
  color: #8e7567;
  font-weight: 600;
}

.boda-form {
  display: grid;
  gap: 12px;
}

.boda-form-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 12px;
}

label span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }

input, select, textarea {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid #e9e1dc;
  border-radius: 10px;
  background: #fff;
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--ring);
}

.gift-amount { color: var(--accent); font-weight: 600; }

.iban { margin-top: 12px; }

/* Timeline Styles */
.timeline {
  position: relative;
  padding: 40px 0;
}

/* Sección de texto bonito */
#texto-bonito {
  background: transparent;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

#texto-bonito::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

#texto-bonito::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

#texto-bonito .boda-container {
  max-width: 600px;
  text-align: center;
}

#texto-bonito .muted {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(18px, 4vw, 24px);
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
  position: relative;
  padding: 0 20px;
}

#texto-bonito .muted::before {
  content: '';
  font-size: 4em;
  color: var(--accent);
  position: absolute;
  top: -20px;
  left: 0;
  font-family: "Great Vibes", cursive;
  opacity: 0.3;
}

#texto-bonito .muted::after {
  content: '';
  font-size: 4em;
  color: var(--accent);
  position: absolute;
  bottom: -40px;
  right: 0;
  font-family: "Great Vibes", cursive;
  opacity: 0.3;
}

/* Título del itinerario centrado */
#agenda .section-title {
  text-align: center;
  margin-bottom: 40px;
}

/* Sección de Eventos - Estilo Timeline */
#eventos .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.eventos-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.evento-item {
  position: relative;
  width: 100%;
}

.evento-content {
  flex: 1;
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.evento-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.evento-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.evento-title {
  font-family: "Great Vibes", cursive;
  font-size: clamp(36px, 6vw, 48px);
  color: var(--primary);
  margin: 0 0 15px 0;
  font-weight: 400;
  text-align: center;
}

.evento-time {
  font-size: 16px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
  width: 100%;
}

.evento-time::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 1px;
}

.evento-details {
  text-align: center;
}

.evento-lugar {
  font-size: 20px;
  color: var(--text);
  margin: 0 0 10px 0;
  font-weight: 600;
}

.evento-direccion {
  color: var(--muted);
  margin: 0 0 20px 0;
  font-size: 15px;
  line-height: 1.6;
}

.evento-mapa {
  display: flex;
  justify-content: center;
  margin: 0 0 20px 0;
}

.evento-mapa img {
  width: 50px;
  height: auto;
}

.evento-acciones {
  display: flex;
  justify-content: center;
}

.btn-direcciones {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-direcciones:hover {
  transform: none;
  box-shadow: none;
  background: var(--accent);
  color: white;
  text-decoration: none;
}

.btn-direcciones svg {
  width: 16px;
  height: 16px;
}

.timeline-line {
  position: absolute;
  left: 80px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e0e0e0;
  transition: background 0.3s ease;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding-left: 120px;
}

.timeline-marker {
  position: absolute;
  left: 80px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f0f0;
  border: 2px solid #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-marker.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(168, 213, 186, 0.3);
}

.timeline-marker:hover .marker-heart img,
.timeline-marker:hover .marker-heart svg {
  transform: scale(1.1);
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

.marker-heart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.marker-heart img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.marker-heart svg {
  width: 20px;
  height: 20px;
  fill: white !important;
  transition: all 0.3s ease;
}

.timeline-content {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 30px 20px;
  box-shadow: none;
  transition: none;
  position: relative;
  overflow: visible;
  text-align: center;
}

.timeline-content::before {
  display: none;
}

.timeline-content:hover {
  transform: none;
  box-shadow: none;
}

.timeline-header {
  margin-bottom: 25px;
}

.timeline-time {
  font-size: 13px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.timeline-title {
  font-size: 30px;
  font-weight: 500;
  color: var(--text);
  margin: 0;
  font-family: "Great Vibes", cursive;
  line-height: 1.2;
}

.timeline-icon-large {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  position: relative;
}

.timeline-icon-large::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  background: #ebe6d6 /*radial-gradient(circle, rgba(212, 165, 116, 0.15) 0%, rgba(212, 165, 116, 0.05) 70%, transparent 100%);*/;
  border-radius: 50%;
  z-index: -1;
}

.timeline-icon-large svg {
  width: 56px;
  height: 56px;
  color: var(--accent);
  stroke-width: 1.2;
}

.timeline-details {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.church-info {
  text-align: center;
}

.church-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
  font-family: "Playfair Display", Georgia, serif;
}

.church-address {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 8px;
  line-height: 1.4;
}

.church-note {
  font-size: 13px;
  color: var(--accent);
  margin: 0 0 20px;
  line-height: 1.4;
  font-style: italic;
  font-weight: 500;
}

.church-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.btn-directions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: none;
  box-shadow: none;
}

.btn-directions:hover {
  transform: none;
  box-shadow: none;
  background: var(--accent);
}

.btn-directions svg {
  width: 16px;
  height: 16px;
}

/* Galería de Imágenes - Splide */
.gallery-subtitle {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(14px, 2.5vw, 16px);
  color: var(--muted);
  text-align: center;
  margin: 0 0 30px 0;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

/* Contenedor principal de Splide */


/* Slides de Splide */
.splide__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  aspect-ratio: 4/3;
}

.splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

/* Efectos hover */
.splide__slide:hover img {
  transform: scale(1.05);
}

/* Slide activo (centro) */
.splide__slide.is-active {
  transform: scale(1.02);
  z-index: 2;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Track y lista */
.splide__track {
  overflow: visible;
  padding: 20px 0;
}

.splide__list {
  align-items: center;
}

/* Asegurar que solo se muestre una imagen */
.splide__slide {
  flex: none;
  width: 100%;
}

/* Paginación personalizada */
.splide__pagination {
  bottom: -40px;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.splide__pagination__page {
  background: rgba(168, 213, 186, 0.3);
  border: none;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.splide__pagination__page:hover {
  background: rgba(168, 213, 186, 0.6);
  transform: scale(1.2);
}

.splide__pagination__page.is-active {
  background: var(--primary);
  transform: scale(1.3);
}

.accordion details {
  background: var(--card);
  border: 1px solid #efe7e2;
  border-radius: 12px;
  padding: 12px 16px;
}

.accordion details + details { margin-top: 10px; }

.accordion summary { cursor: pointer; font-weight: 600; }

/* Formulario de confirmación mejorado */
.asistente-item {
  background: var(--bg);
  border: 1px solid #efe7e2;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
}

.asistente-item:last-of-type {
  margin-bottom: 0;
}

.asistente-titulo {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.asistente-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* El primer asistente no necesita justify-content: space-between */
.asistente-item:first-child .asistente-header {
  justify-content: flex-start;
}

.btn-eliminar {
  background: transparent;
  border: 1px solid var(--muted);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--muted);
  padding: 0;
}

.btn-eliminar:hover:not(.disabled) {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: scale(1.1);
}

.btn-eliminar.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.btn-eliminar svg {
  width: 16px;
  height: 16px;
}

.form-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

.btn-secondary svg {
  transition: transform 0.3s ease;
}

.btn-secondary:hover svg {
  transform: rotate(90deg);
}

/* Estilos mejorados para el selector de menú */
select[name*="[menu]"] {
  appearance: none;
  background: var(--card);
  border: 2px solid #efe7e2;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a8d5ba' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 48px;
  min-width: 200px;
}

select[name*="[menu]"]:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(168, 213, 186, 0.2);
  transform: translateY(-2px);
}

select[name*="[menu]"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(168, 213, 186, 0.25);
  transform: translateY(-2px);
}

select[name*="[menu]"] option {
  background: var(--card);
  color: var(--text);
  padding: 12px 16px;
  font-size: 16px;
}

select[name*="[menu]"] option:hover {
  background: var(--accent);
  color: white;
}

/* Estilo especial para la opción por defecto */
select[name*="[menu]"] option[value=""] {
  color: var(--muted);
  font-style: italic;
}

/* Estilos para los diferentes tipos de menú */
select[name*="[menu]"] option[value="normal"]::before {
  content: "🍽️ ";
}

select[name*="[menu]"] option[value="vegano"]::before {
  content: "🌱 ";
}

select[name*="[menu]"] option[value="vegetariano"]::before {
  content: "🥬 ";
}

.site-footer {
  padding: 36px 0 48px;
  text-align: center;
  color: var(--muted);
}

/* Estilos para pantallas grandes (ordenador) */
@media (min-width: 1200px) {
  .timer {
    max-width: 550px;
    gap: 6px;
  }
  
  .time-box {
    min-width: 80px;
    padding: 20px 16px;
  }
  
  .time-box span {
    font-size: clamp(24px, 2.5vw, 28px);
  }
  
  .time-label {
    font-size: 11px;
  }
  
  .time-separator {
    font-size: clamp(18px, 2vw, 22px);
  }
}

/* @media (min-width: 900px) and (max-width: 1700px) {
  .hero {
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position:
    12vw -30vh
  }
} */

@media (max-width: 1200px) {
  .hero {
    max-width: 100vw !important;
    margin: 0 !important;
  }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .card.split { grid-template-columns: 1fr; }
  
  /* Hero tablet adjustments */
  .hero {
    background-size: cover !important;
    background-position: center 25% !important;
  }
  
  /* Tablet: 3 imágenes por vista */
  .splide__slide img {
    height: 250px;
  }
  
  /* Countdown tablet adjustments */
  .timer {
    gap: 12px;
    max-width: 600px;
  }
  
  .time-box {
    min-width: 100px;
    padding: 24px 16px;
  }
  
  .time-box span {
    font-size: clamp(28px, 5vw, 40px);
  }
  
  .time-label {
    font-size: 12px;
  }
  
  .time-separator {
    font-size: clamp(20px, 3.5vw, 28px);
  }
  
  .countdown-decoration {
    gap: 12px;
  }
  
  .decoration-line {
    width: 30px;
  }
}

@media (max-width: 680px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav.open {
    position: absolute;
    top: 58px;
    right: 4%;
    left: 4%;
    background: var(--card);
    border: 1px solid #efe7e2;
    border-radius: 12px;
    padding: 8px;
    display: grid;
  }
  .grid-3 { grid-template-columns: 1fr; }
  .boda-form-grid { grid-template-columns: 1fr; }
  
  /* Hero mobile adjustments */
  .hero {
    background-size: cover !important;
    background-position: center 20% !important;
  }
  
  /* Móvil: 1-2 imágenes por vista */
  .splide__slide img {
    height: 200px;
  }
  
  /* Countdown mobile adjustments */
  .countdown {
    padding: 60px 0 40px;
  }
  
  .countdown-header {
    margin-bottom: 40px;
  }
  
  .countdown-title {
    font-size: clamp(32px, 8vw, 48px);
  }
  
  .countdown-subtitle {
    font-size: clamp(14px, 3.5vw, 18px);
    margin-bottom: 15px;
  }
  
  .countdown-decoration {
    gap: 10px;
    margin-bottom: 15px;
  }
  
  .decoration-line {
    width: 25px;
  }
  
  .decoration-heart {
    font-size: 16px;
  }
  
  .timer {
    flex-direction: row;
    gap: 8px;
    max-width: 100%;
    padding: 0 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .time-box {
    min-width: 80px;
    padding: 16px 12px;
  }
  
  .time-box span {
    font-size: clamp(20px, 5vw, 28px);
  }
  
  .time-label {
    font-size: 10px;
  }
  
  .time-separator {
    font-size: clamp(18px, 4vw, 24px);
  }
  
  .countdown-footer {
    margin-top: 30px;
  }
  
  .countdown-messages {
    margin-bottom: 15px;
  }
  
  .countdown-message.primary {
    font-size: clamp(16px, 4vw, 18px);
  }
  
  .countdown-message.secondary {
    font-size: clamp(12px, 3vw, 14px);
  }
  
  .countdown-message {
    margin: 25px 0 0 0;
    gap: 15px;
  }
  
  .countdown-text {
    font-size: clamp(14px, 3vw, 16px);
  }
  
  .countdown-separator {
    max-width: 150px;
    gap: 10px;
  }
  
  .countdown-hearts {
    gap: 15px;
  }
  
  .floating-heart {
    font-size: 18px;
  }
  
  /* Timeline mobile adjustments */
  .timeline-content {
    padding: 20px 15px;
  }
  
  .timeline-header {
    margin-bottom: 20px;
  }
  
  .timeline-title {
    font-size: 28px;
  }
  
  .timeline-icon-large {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }
  
  .timeline-icon-large::before {
    width: 80px;
    height: 80px;
  }
  
  .timeline-icon-large svg {
    width: 36px;
    height: 36px;
  }
  
  .timeline-details {
    margin-top: 16px;
    padding-top: 16px;
  }
  
  .church-name {
    font-size: 15px;
  }
  
  .church-address {
    font-size: 13px;
    margin-bottom: 16px;
  }
  
  .btn-directions {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  /* Text section mobile adjustments */
  .boda-text-section {
    padding: 60px 0;
  }
  
  .text-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 30px;
  }
  
  .boda-text-paragraph {
    font-size: clamp(16px, 4.5vw, 20px);
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 0 10px;
  }
  
  .text-paragraph:last-of-type {
    margin-bottom: 30px;
  }
  
  .text-signature {
    margin-top: 30px;
    padding-top: 20px;
  }
  
  .text-signature p {
    font-size: 14px;
  }
  
  .signature-names {
    font-size: 20px !important;
  }
  
  /* Esquinas móviles */
  .frame-corner {
    border-width: 1.5px;
  }
  
  .corner-top-left {
    top: 15px;
    left: 8%;
    width: 100px;
    height: 35px;
  }
  
  .corner-bottom-right {
    bottom: 15px;
    right: 8%;
    width: 100px;
    height: 35px;
  }
}

/* Media query para pantallas muy pequeñas - mantener contador en una fila */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(60px, 18vw, 85px);
  }
  
  .hero-overline {
    font-size: clamp(18px, 4vw, 22px);
  }
  
  .hero-sub {
    font-size: clamp(20px, 4.5vw, 24px);
  }
  
  .timer {
    flex-wrap: nowrap !important;
    gap: 4px;
    padding: 0 10px;
  }
  
  .time-box {
    min-width: 70px;
    padding: 12px 8px;
  }
  
  .time-box span {
    font-size: clamp(18px, 4.5vw, 24px);
  }
  
  .time-label {
    font-size: 9px;
  }
  
  .time-separator {
    font-size: clamp(16px, 3.5vw, 20px);
  }
}

/* Responsive para texto bonito */
@media (max-width: 680px) {
  #texto-bonito {
    padding: 60px 0;
  }
  
  #texto-bonito .boda-container {
    padding: 0 20px;
  }
  
  #texto-bonito .muted {
    font-size: clamp(16px, 4.5vw, 20px);
    padding: 0 10px;
  }
  
  #texto-bonito .muted::before {
    font-size: 3em;
    top: -15px;
  }
  
  #texto-bonito .muted::after {
    font-size: 3em;
    bottom: -30px;
  }
}

/* Responsive para eventos */
@media (max-width: 680px) {
  .eventos-timeline {
    padding: 0 20px;
    gap: 30px;
  }
  
  .evento-content {
    padding: 25px;
  }
  
  .evento-title {
    font-size: clamp(32px, 8vw, 40px);
    margin-bottom: 12px;
  }
  
  .evento-time {
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 20px;
  }
  
  .evento-lugar {
    font-size: 18px;
  }
  
  .evento-direccion {
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  .evento-mapa {
    margin-bottom: 15px;
  }
  
  .evento-mapa img {
    width: 40px;
    height: auto;
  }
  
  .btn-direcciones {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* Responsive para galería Splide */
@media (max-width: 768px) {
  .gallery-subtitle {
    font-size: clamp(13px, 3vw, 15px);
    margin-bottom: 25px;
  }
  
  #gallery-splide {
    max-width: 600px;
    padding: 0 10px;
  }
  
  .splide__slide {
    height: 350px;
    aspect-ratio: 4/3;
  }
  
  .splide__arrow--prev {
    left: 10px;
  }
  
  .splide__arrow--next {
    right: 10px;
  }
  
  .splide__arrow {
    width: 40px;
    height: 40px;
    z-index: 10;
  }
  
  .splide__arrow svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  #gallery-splide {
    max-width: 100%;
    padding: 0 5px;
  }
  
  .splide__slide {
    height: 300px;
    aspect-ratio: 3/2;
  }
  
  .splide__arrow--prev {
    left: 5px;
  }
  
  .splide__arrow--next {
    right: 5px;
  }
  
  .splide__arrow {
    width: 36px;
    height: 36px;
  }
  
  .splide__pagination {
    bottom: -30px;
  }
  
  .splide__pagination__page {
    width: 10px;
    height: 10px;
  }
}

.line-top {
  z-index: 999;
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 200px;
  overflow: hidden;
}

.line-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  overflow: hidden;
}