:root {
  --olive-bg: #797850;        /* Tono verde oliva rústico luminoso */
  --olive-dark: #5c5b3b;      /* Tono más profundo para contrastes */
  --olive-light: #f5f5f0;     
  --paper-bg: #f9f8f4;
  --text-dark: #2c2c2c;
  --text-muted: #666666;
  --font-serif: 'Playfair Display', serif;
  --font-garamond: 'Cormorant Garamond', serif;
  --font-sans: 'Montserrat', sans-serif;
  --font-script: 'Pinyon Script', cursive;
}

* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

body { 
  background-color: var(--paper-bg);
  color: var(--text-dark); 
  font-family: var(--font-garamond); 
  text-align: center; 
  overflow-x: hidden !important; 
  width: 100vw;
}

#petalsCanvas {
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100vw; 
  height: 100vh;
  pointer-events: none; 
  z-index: 9998;
}

.bloque-papel-textura {
  background-color: var(--paper-bg);
  width: 100%;
  padding: 10px 0;
}

/* TARJETA CONTENEDOR VERDE RÚSTICO PARA CONFIRMACIÓN */
.tarjeta-verde-rustica {
  background-color: var(--olive-bg);
  color: #ffffff;
  width: 92%;
  max-width: 390px;
  margin: 10px auto;
  border-radius: 16px;
  padding: 35px 20px;
  box-shadow: 0 10px 30px rgba(121, 120, 80, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* BLOQUE FINAL COMPLETO EN VERDE OLIVO RÚSTICO */
.bloque-verde-liso {
  background-color: var(--olive-bg);
  color: #ffffff;
  width: 100%;
  padding: 45px 15px 30px 15px;
  margin-top: 30px;
}

.section-pad { 
  padding: 35px 20px; 
  max-width: 420px; 
  margin: 0 auto; 
}

.oculto { 
  display: none; 
}

/* PORTADA AMPLIADA Y ELEGANTE */
.hero-portada {
  position: relative;
  width: calc(100% - 16px);
  max-width: 410px;
  height: 560px;
  margin: 15px auto 20px auto;
  border-radius: 200px 200px 16px 16px;
  padding: 6px;
  background: linear-gradient(135deg, #797850 0%, #d4cebe 50%, #5c5b3b 100%);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.portada-frame-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 194px 194px 12px 12px;
  overflow: hidden;
}

.portada-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92);
}

.portada-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom, 
    rgba(0,0,0,0.05) 0%, 
    rgba(0,0,0,0.1) 45%, 
    rgba(30,30,25,0.78) 82%, 
    rgba(15,15,12,0.92) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 0 20px 32px 20px;
  color: #ffffff;
}

/* NOMBRES DE LA PORTADA CON PINYON SCRIPT */
.main-title-portada {
  font-family: var(--font-script) !important;
  font-size: 4.5rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.1;
  margin: 0;
  text-align: center;
  width: 100%;
  text-shadow: 0 4px 15px rgba(0,0,0,0.7);
}

.couple-names-block {
  font-family: var(--font-script) !important;
  font-size: 3.8rem;
  font-weight: 400;
  color: var(--olive-bg);
  line-height: 1.2;
  margin: 10px auto 0 auto;
  text-align: center;
  display: block;
  width: 100%;
}

/* NOMBRES FINALES CON PINYON SCRIPT EN BLANCO SOBRE FONDO VERDE */
.farewell-couple-light {
  font-family: var(--font-script) !important;
  font-size: 4.5rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.1;
  margin-top: 5px;
  text-align: center;
  width: 100%;
}

.title-sub-portada {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 6px;
  color: #f0ecf4;
  text-transform: uppercase;
  margin-top: 10px;
  font-weight: 500;
  border-top: 1px solid rgba(121, 120, 80, 0.6);
  border-bottom: 1px solid rgba(121, 120, 80, 0.6);
  padding: 4px 14px;
}

.editorial-heading { 
  font-family: var(--font-serif); 
  font-size: 1.5rem; 
  letter-spacing: 3px; 
  font-weight: 400; 
  color: var(--text-dark); 
  text-transform: uppercase; 
}

.editorial-heading-light { 
  font-family: var(--font-serif); 
  font-size: 1.5rem; 
  letter-spacing: 4px; 
  color: #ffffff; 
  text-transform: uppercase; 
}

.section-sub-label { 
  font-family: var(--font-garamond); 
  font-style: italic; 
  font-size: 1.1rem; 
  color: var(--text-muted); 
  margin-top: 3px; 
}

/* SAVE THE DATE (RASPADO) */
.scratch-circles-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.circle-scratch-card {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(121, 120, 80, 0.2);
}

.circle-reveal-content {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--olive-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.circle-number {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--olive-bg);
  line-height: 1;
}

.circle-label {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.circle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  z-index: 5;
  touch-action: none;
  cursor: pointer;
}

.countdown-card {
  background: #ffffff;
  border: 1px solid #e2dfd4;
  border-radius: 12px;
  padding: 0 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(25px) scale(0.94);
  margin-top: 0;
  pointer-events: none;
  transition: max-height 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.6s ease,
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.6s ease,
              margin 0.6s ease;
}

.countdown-card.revealed-done {
  max-height: 220px;
  opacity: 1;
  overflow: visible;
  transform: translateY(0) scale(1);
  padding: 20px 15px;
  margin-top: 30px;
  pointer-events: auto;
}

.countdown-title {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--olive-bg);
  font-weight: 600;
  margin-bottom: 12px;
}

.countdown-boxes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.cd-box {
  background: var(--olive-light);
  border: 1px solid #dcd7e0;
  border-radius: 8px;
  width: 58px;
  padding: 8px 0;
}

.cd-box span {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--olive-bg);
  display: block;
  line-height: 1;
}

.cd-box p {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-top: 3px;
  text-transform: uppercase;
}

.cd-sep {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--olive-bg);
  font-weight: 600;
}

.gallery-slider-wrapper { 
  position: relative; 
  width: 100%; 
}

.gallery-slider { 
  display: flex; 
  gap: 15px; 
  overflow-x: auto; 
  scroll-snap-type: x mandatory; 
  -webkit-overflow-scrolling: touch; 
  padding: 10px 5px 20px 5px; 
  scrollbar-width: none; 
}

.gallery-slider::-webkit-scrollbar { 
  display: none; 
}

.slide-item { 
  flex: 0 0 80%; 
  height: 320px; 
  scroll-snap-align: center; 
  border-radius: 12px; 
  overflow: hidden; 
  box-shadow: 0 8px 25px rgba(0,0,0,0.12); 
  border: 1px solid rgba(0,0,0,0.06); 
}

.slide-item img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}

.slider-hint { 
  font-family: var(--font-sans); 
  font-size: 0.65rem; 
  letter-spacing: 2px; 
  color: var(--text-muted); 
  text-transform: uppercase; 
}

.location-section-spacious { 
  padding: 35px 20px; 
}

/* CONTENEDOR VERDE UNIFICADO PARA LAS UBICACIONES */
.venue-card-watercolor { 
  background-color: var(--olive-bg); 
  border: 1px solid rgba(255, 255, 255, 0.25); 
  padding: 30px 20px; 
  border-radius: 14px; 
  box-shadow: 0 8px 25px rgba(121, 120, 80, 0.2); 
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.venue-custom-icon-wrap {
  width: auto;
  height: auto;
  margin: 0 auto 10px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.venue-fa-icon {
  font-size: 2.3rem;
  color: #ffffff;
}

.venue-title { 
  font-family: var(--font-serif); 
  font-size: 1.15rem; 
  letter-spacing: 2px; 
  color: #ffffff; 
  font-weight: 500; 
}

.venue-time { 
  font-family: var(--font-garamond); 
  font-style: italic; 
  font-size: 1.45rem; 
  color: #f0ecf4; 
  margin: 4px 0; 
}

.venue-desc { 
  font-size: 0.95rem; 
  color: #f5f2f7; 
  line-height: 1.4; 
}

.venue-card-watercolor .btn-outline-dark {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.15);
  letter-spacing: 1.5px;
  padding: 9px 15px;
  font-size: 0.58rem;
}

.dress-img-head { 
  width: auto; 
  height: auto; 
  margin: 0 auto; 
  display: flex; 
  align-items: center; 
  justify-content: center;
}

.vestimenta-png-icon { 
  width: 90px; 
  height: 90px; 
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(121, 120, 80, 0.25));
}

.dress-code-subtitle { 
  font-family: var(--font-sans); 
  font-size: 0.8rem; 
  letter-spacing: 4px; 
  font-weight: 600; 
  color: var(--olive-bg); 
  margin-top: 8px; 
}

/* TARJETAS DE DRESS CODE Y DETALLES */
.dress-card-elegant, .detail-card-item {
  background: #ffffff;
  border: 1px solid #dcd7ce;
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 8px 22px rgba(121, 120, 80, 0.08);
  position: relative;
  transition: transform 0.3s ease;
}

.dress-group-title {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  font-weight: 600;
  color: var(--olive-bg);
}

.dress-desc {
  font-family: var(--font-garamond);
  font-size: 1.05rem;
  color: #444444;
  margin-top: 6px;
  line-height: 1.4;
}

.dress-avoid-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #f4f3ee;
  border: 1px dashed var(--olive-bg);
  padding: 8px 14px;
  border-radius: 8px;
  margin-top: 12px;
  width: 100%;
}

.dress-avoid-box i {
  color: #a84b32;
  font-size: 0.9rem;
}

.dress-avoid-box span {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: #555555;
  font-weight: 500;
  text-transform: uppercase;
}

.details-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.detail-icon-wrap {
  font-size: 1.8rem;
  color: var(--olive-bg);
  margin-bottom: 10px;
}

.detail-card-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  font-weight: 600;
  color: var(--olive-bg);
  margin-bottom: 6px;
}

.detail-card-desc {
  font-family: var(--font-garamond);
  font-size: 1.1rem;
  color: #555555;
  line-height: 1.45;
}

/* VERSÍCULO LIBRE SOBRE FONDO VERDE FINAL */
.bible-quote-libre {
  padding: 10px 15px;
  margin-bottom: 20px;
}

.bible-text-light { 
  font-family: var(--font-garamond); 
  font-style: italic; 
  font-size: 1.25rem; 
  color: #ffffff; 
  line-height: 1.45; 
}

.bible-ref-light { 
  font-family: var(--font-sans); 
  font-size: 0.65rem; 
  letter-spacing: 2px; 
  color: #e2dfd4; 
  display: block; 
  margin-top: 8px; 
  font-weight: 600; 
}

.farewell-with-love-light { 
  font-family: var(--font-garamond); 
  font-style: italic; 
  font-size: 1.15rem; 
  color: #f0ecf4; 
}

.invitarte-card { 
  background: #ffffff; 
  padding: 28px 20px; 
  border: 1px solid #e2ded4; 
  box-shadow: 0 6px 18px rgba(0,0,0,0.05); 
  border-radius: 12px; 
}

.verse-couple-block { 
  margin-top: 10px; 
}

.invite-quote { 
  font-family: var(--font-garamond); 
  font-style: italic; 
  font-size: 1.15rem; 
  color: #555; 
  line-height: 1.5; 
}

.celebran-text { 
  font-family: var(--font-garamond); 
  font-style: italic; 
  font-size: 1.15rem; 
  color: #555; 
  margin-top: 12px; 
}

.rsvp-label-text {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: #f0ecf4;
  margin-top: 12px;
}

.rsvp-date-highlight {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 3px;
  margin-top: 4px;
}

.btn { 
  display: inline-block; 
  padding: 12px 24px; 
  border-radius: 4px; 
  font-family: var(--font-sans); 
  font-size: 0.65rem; 
  letter-spacing: 2px; 
  text-decoration: none; 
  border: none; 
  cursor: pointer; 
  text-transform: uppercase; 
  transition: all 0.3s ease; 
}

.btn-editorial { 
  background-color: var(--olive-bg); 
  color: #ffffff; 
}

.btn-outline-dark { 
  background: transparent; 
  color: var(--text-dark); 
  border: 1px solid var(--text-dark); 
}

.btn-white-pill { 
  background-color: #ffffff; 
  color: var(--olive-bg); 
  border-radius: 30px; 
  font-weight: 600; 
  box-shadow: 0 6px 18px rgba(0,0,0,0.15); 
}

.btn-group-center { 
  display: flex; 
  justify-content: center; 
  gap: 8px; 
  flex-wrap: wrap; 
}

.toast { 
  position: fixed; 
  bottom: 30px; 
  left: 50%; 
  transform: translateX(-50%) translateY(100px); 
  background: var(--olive-bg); 
  color: #fff; 
  padding: 10px 20px; 
  border-radius: 30px; 
  font-family: var(--font-sans); 
  font-size: 0.75rem; 
  z-index: 9999; 
  opacity: 0; 
  transition: all 0.4s ease; 
  pointer-events: none; 
}

.toast.show { 
  transform: translateX(-50%) translateY(0); 
  opacity: 1; 
}

#contenedor-principal { 
  position: fixed; 
  inset: 0; 
  z-index: 5000; 
  background: #000; 
  cursor: pointer; 
}

#videoSobre { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}

#capa-boton { 
  position: absolute; 
  bottom: 50px; 
  left: 50%; 
  transform: translateX(-50%); 
  z-index: 5001; 
  width: 90%; 
  max-width: 360px; 
}

.boton-rosa-inicio { 
  background: rgba(121, 120, 80, 0.95); 
  color: #fff; 
  padding: 16px 28px; 
  border-radius: 50px; 
  font-family: var(--font-sans); 
  font-size: 0.72rem; 
  letter-spacing: 2px; 
  text-align: center; 
  border: 1px solid rgba(255,255,255,0.3); 
}

.music-btn { 
  position: fixed; 
  bottom: 20px; 
  right: 20px; 
  width: 44px; 
  height: 44px; 
  background: var(--olive-bg); 
  color: #fff; 
  border: 1.5px solid #fff; 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  z-index: 4999; 
  cursor: pointer; 
  display: none; 
}

.mt-10 { margin-top: 10px; }
.mt-15 { margin-top: 15px; }
.mt-20 { margin-top: 20px; }
.mt-25 { margin-top: 25px; }
.mt-30 { margin-top: 30px; }
.mt-35 { margin-top: 35px; }
.mt-40 { margin-top: 40px; }

.reveal { 
  opacity: 0; 
  transform: translateY(25px); 
  transition: all 0.8s ease; 
}

.reveal.active { 
  opacity: 1; 
  transform: translateY(0); 
}

.editorial-footer-light { 
  padding: 25px 20px 10px 20px; 
  font-family: var(--font-sans); 
  font-size: 9px; 
  letter-spacing: 3px; 
  color: #d4cebe; 
}