/* Invitartes · invitación gratis. Cromática fija tomada de la invitación de Juan Pablo & Adriana. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { width: 100%; overflow-x: hidden; }
body.ivg-inv {
  font-family: 'Montserrat', sans-serif;
  background: #FFFFFF;
  color: #7a7a7a;
  position: relative;
  min-height: 100vh;
  z-index: 0;
}
body.ivg-inv::before {
  content: "";
  position: fixed;
  top: -5%; left: -5%; width: 110%; height: 110%;
  background: url("https://invitartes.com/wp-content/uploads/2026/02/gemini-3-pro-image-preview-2k_b___prompt____Hyper-2-scaled.webp") no-repeat center center;
  background-size: cover;
  opacity: 0.10;
  z-index: -1;
  filter: blur(8px);
  pointer-events: none;
}
a { color: inherit; }
.inv { max-width: 560px; margin: 0 auto; text-align: center; }

/* ---------- Portada ---------- */
.inv-hero {
  min-height: 92vh;
  min-height: 92svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 48px 24px 36px;
}
.inv-kicker {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; font-weight: 500;
  letter-spacing: 7px; text-transform: uppercase;
  color: #C49A28;
  margin-bottom: 18px;
}
.inv-kicker.is-xv {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px; font-weight: 600; letter-spacing: 9px;
  margin: 6px 0 4px;
}
.inv-names {
  font-family: 'Great Vibes', cursive;
  font-weight: 400;
  font-size: clamp(64px, 18vw, 92px);
  line-height: 1.12;
  color: #C49A28;
  display: flex; flex-direction: column; align-items: center;
  word-break: break-word;
  text-shadow: 0 2px 6px rgba(196, 154, 40, .12);
}
.inv-amp { font-size: .62em; color: #E4796F; line-height: 1; margin: 2px 0; }
.inv-float { animation: inv-flotar 3s ease-in-out infinite; }
.inv-rings { width: min(300px, 78vw); height: auto; display: block; margin: 18px auto 8px; }
.inv-emblem { width: 116px; height: 116px; color: #C49A28; display: block; margin: 0 auto 10px; filter: drop-shadow(0 4px 10px rgba(196, 154, 40, .18)); }
@keyframes inv-flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.inv-date {
  color: #CEB239;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: .35em;
  font-size: clamp(24px, 7vw, 32px);
  margin-top: 24px;
  opacity: .95;
}
.inv-arrows { display: flex; flex-direction: column; gap: 6px; align-items: center; margin-top: 28px; }
.inv-arrows span {
  width: 14px; height: 14px;
  border-right: 2px solid #CEB239; border-bottom: 2px solid #CEB239;
  transform: rotate(45deg);
  animation: inv-arrow 1.6s infinite;
}
.inv-arrows span:nth-child(2) { animation-delay: .2s; }
.inv-arrows span:nth-child(3) { animation-delay: .4s; }
@keyframes inv-arrow {
  0% { opacity: 0; transform: translateY(-6px) rotate(45deg); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(6px) rotate(45deg); }
}

/* ---------- Mensaje ---------- */
.inv-msg { padding: 70px 24px 20px; }
.inv-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px; font-weight: 400; font-style: italic;
  color: #E4796F;
  margin-bottom: 24px; line-height: 1.2;
}
.inv-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px; line-height: 1.7; color: #7a7a7a;
  max-width: 450px; margin: 0 auto;
}

/* ---------- Lugar ---------- */
.inv-place { padding: 100px 28px 40px; }
.place-icon { width: 84px; height: 84px; margin: 0 auto 26px; color: #C49A28; }
.place-icon svg { width: 100%; height: 100%; }
.place-title {
  font-family: 'Montserrat', sans-serif; font-size: 28px; font-weight: 700;
  color: #C49A28; text-transform: uppercase; letter-spacing: 7px;
  margin-bottom: 32px; text-shadow: 0 2px 4px rgba(196, 154, 40, .2);
}
.place-name { font-size: 20px; color: #C0826A; line-height: 1.4; margin-bottom: 28px; word-break: break-word; }
.place-when { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 26px; }
.place-date, .place-time span { font-size: 38px; font-weight: 300; color: #D4A574; letter-spacing: 3px; line-height: 1; }
.place-time { text-align: left; }
.place-time span { letter-spacing: 0; }
.place-time small { font-size: 18px; color: #D4A574; font-weight: 300; margin-left: 5px; }
.place-div { width: 2px; height: 60px; background: linear-gradient(180deg, #F2E8D9 0%, #C49A28 50%, #F2E8D9 100%); }
.place-addr { font-size: 16px; color: #C0826A; line-height: 1.5; margin-bottom: 28px; }
.inv-btn {
  display: inline-block; padding: 16px 44px;
  background: linear-gradient(135deg, #C49A28 0%, #F2E8D9 100%);
  color: #ffffff; text-decoration: none;
  border: 1px solid #D4A574; border-radius: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(196, 154, 40, .3);
  transition: all .3s ease;
}
.inv-btn:hover { background: linear-gradient(135deg, #D4A574 0%, #C49A28 100%); transform: translateY(-2px); }

/* ---------- Pie "Hecho con amor por Invitartes" ---------- */
.ivg-love {
  margin: 80px 0 0;
  padding: 50px 24px 60px;
  text-align: center;
  background: linear-gradient(180deg, rgba(242, 232, 217, 0) 0%, rgba(242, 232, 217, .75) 100%);
}
.ivg-love p {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 20px; color: #C0826A; margin-bottom: 10px;
}
.ivg-love p::after { content: ' \2665'; color: #E4796F; font-style: normal; }
.ivg-love-pill {
  display: inline-block;
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: #ffffff; text-decoration: underline; text-underline-offset: 3px;
  padding: 8px 20px; border-radius: 999px;
  background: linear-gradient(135deg, #C49A28 0%, #D8B35A 50%, #C49A28 100%);
  box-shadow: 0 3px 12px rgba(196, 154, 40, .35);
  animation: love-pulse 2.6s ease-in-out infinite;
}
@keyframes love-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }

/* ---------- Invitación vencida ---------- */
.ivg-gone { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.ivg-gone-card { max-width: 480px; margin: 0 auto; padding: 60px 26px 10px; text-align: center; }
.ivg-gone-kicker { font-size: 12px; letter-spacing: 5px; text-transform: uppercase; color: #C49A28; margin-bottom: 16px; }
.ivg-gone h1 { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400; font-size: 38px; line-height: 1.2; color: #E4796F; margin-bottom: 18px; }
.ivg-gone-card > p { font-size: 16px; line-height: 1.7; margin-bottom: 28px; }
.ivg-gone-btn { display: inline-block; padding: 15px 36px; border-radius: 8px; background: linear-gradient(135deg, #C49A28 0%, #D8B35A 100%); color: #fff; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; font-size: 14px; }
.ivg-gone-link { display: block; margin-top: 18px; color: #C0826A; font-size: 14px; }
.ivg-gone .ivg-love { padding-bottom: 60px; }

@media (max-width: 400px) {
  .inv-title { font-size: 40px; }
  .place-title { font-size: 22px; letter-spacing: 4px; }
  .place-date, .place-time span { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .inv-float, .inv-arrows span, .ivg-love-pill { animation: none; }
}

/* Vista previa dentro del celular: sin barra de desplazamiento visible */
body.is-preview { scrollbar-width: none; }
body.is-preview::-webkit-scrollbar { display: none; }
html:has(body.is-preview) { scrollbar-width: none; }
html:has(body.is-preview)::-webkit-scrollbar { display: none; }
