/* Start custom CSS *//* LOVEFEST landing: what global classes cannot express (pseudo-elements, keyframes, JS states). */
/* Exact Fraunces cut of the prototype (opsz/SOFT 40-60/WONK 1), under its own family name so the kit's static Fraunces cannot shadow it. */
@font-face {
  font-family: 'Fraunces LF';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/fraunces/v38/6NUI8FyLNQOQZAnv9bYEvCeYdG9Ea92u-l8O_0ikVfM.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces LF';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/fraunces/v38/6NUI8FyLNQOQZAnv9bYEvCeYdG9Ea92u-l8O8Uik.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces LF';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/fraunces/v38/6NUI8FyLNQOQZAnv9bYEvCeYdG9Ea92u-l8O_0ikVfM.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces LF';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/fraunces/v38/6NUI8FyLNQOQZAnv9bYEvCeYdG9Ea92u-l8O8Uik.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
body { --font-display: 'Fraunces LF', Fraunces, Georgia, serif; }
html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--ink); overflow-x: hidden; }
body::after { content: ""; pointer-events: none; position: fixed; inset: 0; z-index: 60; opacity: .1; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E"); }
[id] { scroll-margin-top: 0; }
.lf-nav a, .lf-brand a, .lf-scroll-hint a, .lf-footer a { color: inherit; text-decoration: none; }
.lf-footer a { text-decoration: underline; }

/* Villa Ramona illustration in the grounds frame: frame the façade and keep the caption legible */
.elementor .lf-map-frame .lf-map-img { object-position: center 38%; filter: saturate(.9) brightness(.97); }
.elementor .lf-map-frame .lf-map-overlay { background: linear-gradient(0deg, #1f3e33e6 0%, #1f3e33b3 24%, #1f3e3333 48%, transparent 62%); }
.elementor .lf-map-caption h3, .elementor .lf-map-caption p { text-shadow: 0 2px 10px #0f2a2299; }
@media (max-width: 600px) {
  .elementor .lf-map-frame .lf-map-img { object-position: center 30%; }
  .elementor .lf-map-frame .lf-map-overlay { background: linear-gradient(0deg, #1f3e33f0 0%, #1f3e33c7 38%, #1f3e3333 62%, transparent 75%); }
}

/* Desktop menu and brand: give the links a comfortable hit area beyond the text */
.lf-nav .lf-nav-link > a, .lf-nav .lf-brand > a { display: inline-block; padding: 10px 2px; }

/* Mobile menu: "Menú" button opens the nav links as a dropdown panel under the bar */
@media (max-width: 600px) {
  body .elementor .lf-nav .lf-nav-links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px;
    background: #fff9e9f7; border: 1px solid #fff; border-radius: 24px;
    box-shadow: 0 14px 34px #243b3333; backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  body .elementor .lf-nav.is-open .lf-nav-links { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s, visibility 0s; }
  body .elementor .lf-nav .lf-nav-links .lf-nav-link { display: block !important; padding: 0; border-radius: 14px; font-size: .95rem; }
  /* The <a> fills the whole row so tapping anywhere on it works, not only on the text */
  body .elementor .lf-nav .lf-nav-links .lf-nav-link > a { display: block; padding: 13px 16px; border-radius: 14px; }
  body .elementor .lf-nav .lf-nav-links .lf-nav-link > a:hover, body .elementor .lf-nav .lf-nav-links .lf-nav-link > a:focus-visible { background: #243b3310; }
  body .elementor .lf-nav .lf-nav-links .lf-btn { display: inline-flex !important; margin-top: 8px; padding: 14px; font-size: .8rem; }
}

/* Ticker */
.lf-ticker-track span { padding-right: 35px; }

/* Decorative glyphs: atomic containers (e-con) already use ::before/::after with inset:0, so reset box first */
.lf-ticket-main::after, .lf-story-art::after, .lf-timeline-item::before, .lf-bg-countdown::before {
  inset: auto; width: auto; height: auto; opacity: 1; mix-blend-mode: normal; border-radius: 0; z-index: 1;
}
.lf-bg-countdown > * { position: relative; z-index: 2; }

/* Ticket: the Love Pass VIP image replaces the built ticket; the container keeps its drop-shadow, tilt-on-hover and reveal */
body .elementor .lf-ticket.lf-ticket { display: block; min-height: 0; height: auto; width: 100%; max-width: none; }
body .elementor .lf-ticket.lf-ticket img { display: block; width: 100%; max-width: 100%; height: auto; margin: 0; }
@media (max-width: 600px) { body .elementor .lf-ticket.lf-ticket { min-height: 0; } }

/* Ticket */
.lf-ticket-main::after { content: '✿'; font-size: 250px; position: absolute; right: -20px; bottom: -125px; color: #d46e4b1f; line-height: 1; pointer-events: none; }

/* Love notes: olive-tree illustration in the same arch frame as the story section (replaces the tree emoji) */
body .elementor .lf-wish-tree.lf-wish-tree { height: auto; min-height: 460px; padding: 10px 0 30px; }
body .elementor .lf-wish-tree .lf-story-art { width: 100%; max-width: 560px; }
body .elementor .lf-wish-tree .lf-story-img { height: auto; aspect-ratio: 4 / 5; object-position: center 35%; }
body .elementor .lf-wish-tree .lf-wish-tag { z-index: 3; padding: 7px 11px; font-size: .62rem; max-width: none; white-space: nowrap; }
body .elementor .lf-wish-tree .lf-wish-tag[data-id="745b5206"] { top: 9%; left: 6%; }
body .elementor .lf-wish-tree .lf-wish-tag[data-id="6a19d459"] { top: 30%; right: 4%; }
body .elementor .lf-wish-tree .lf-wish-tag[data-id="6fbf37c6"] { top: auto; bottom: 12%; left: 5%; }
@media (max-width: 600px) {
  body .elementor .lf-wish-tree .lf-wish-tag { display: none; }
  body .elementor .lf-wish-tree.lf-wish-tree { min-height: 0; }
  body .elementor .lf-wish-tree .lf-story-art { width: 100%; }
  body .elementor .lf-wish-tree .lf-story-img { height: auto; }
}

/* Love notes hung over the olive tree (saved by the LOVEFEST – Notas de amor plugin) */
body .elementor .lf-wish-tree.has-notes .lf-wish-tag { display: none; }
.lf-notes-layer { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.lf-note {
  position: absolute; margin: 0; max-width: 150px; padding: 12px 12px 10px;
  background: var(--lf-note-tint, #fff6dc); color: var(--ink);
  font-family: Poppins, Arial, sans-serif; font-size: .66rem; font-weight: 600; line-height: 1.4;
  box-shadow: 3px 6px 0 #243b3325, 0 10px 18px #243b3318;
  transform: rotate(var(--lf-note-rot, -4deg));
  pointer-events: auto; cursor: default; outline: none;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, opacity .4s;
  animation: lfNoteIn .5s cubic-bezier(.2,.7,.2,1) both;
}
.lf-note::before { content: '♥'; position: absolute; top: 3px; left: 50%; transform: translateX(-50%); font-size: .55rem; color: var(--rust); line-height: 1; }
.lf-note:hover, .lf-note:focus-visible {
  z-index: 5; -webkit-line-clamp: unset; transform: rotate(0deg) scale(1.08);
  box-shadow: 4px 8px 0 #243b3330, 0 16px 28px #243b3326;
}
.lf-note:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.lf-note.is-new { animation: lfNotePop .7s cubic-bezier(.2,.7,.2,1) both; }
.lf-note.is-leaving { opacity: 0; transform: rotate(var(--lf-note-rot, -4deg)) translateY(10px) scale(.9); }
@keyframes lfNoteIn { from { opacity: 0; transform: rotate(var(--lf-note-rot, -4deg)) translateY(-14px); } to { opacity: 1; } }
@keyframes lfNotePop { 0% { opacity: 0; transform: rotate(0) scale(.4); } 70% { opacity: 1; transform: rotate(var(--lf-note-rot, -4deg)) scale(1.12); } 100% { transform: rotate(var(--lf-note-rot, -4deg)) scale(1); } }
@media (max-width: 600px) {
  .lf-note { max-width: 112px; padding: 10px 9px 8px; font-size: .58rem; -webkit-line-clamp: 3; }
}

/* Story */
.lf-story-art::after { content: '✿'; position: absolute; right: 12px; bottom: -55px; color: #f7d39d; font-size: 180px; line-height: 1; pointer-events: none; }
.lf-timeline-item::before { content: '✿'; position: absolute; left: -40px; top: 0; font-size: 21px; line-height: 1.3; color: var(--rust); background: #e6e8d8; }

/* Countdown section: photo background (Villa Ramona entrance), light text, dark green tint (sets it apart from the cream sections around it) */
.elementor .lf-bg-countdown {
  background-color: #193e38;
  background-image: linear-gradient(180deg, #0f2a26b3 0%, #0f2a2680 40%, #0f2a2666 70%, #0f2a2699 100%), url('https://bodamariayandres.xyz/wp-content/uploads/2026/10/entrada-villa-ramona.webp');
  background-size: cover, cover;
  background-position: center, center 62%;
  background-repeat: no-repeat;
  color: #fff8e6;
}
.elementor .lf-bg-countdown .lf-eyebrow { color: #ffcf98; text-shadow: 0 1px 8px #0f2a26cc; }
.elementor .lf-bg-countdown .lf-h2, .elementor .lf-bg-countdown .lf-lead { color: #fff8e6; text-shadow: 0 2px 16px #0f2a26e6, 0 1px 3px #0f2a2699; }
.elementor .lf-bg-countdown .lf-count-unit { color: var(--ink); }
@media (max-width: 600px) {
  .elementor .lf-bg-countdown { background-position: center, 42% center; }
}

/* RSVP section (07): same photo treatment, tint and heading colours as the countdown section (03) */
.elementor .lf-bg-rsvp {
  background-color: #193e38;
  background-image: linear-gradient(180deg, #0f2a26b3 0%, #0f2a2680 40%, #0f2a2666 70%, #0f2a2699 100%), url('https://bodamariayandres.xyz/wp-content/uploads/2026/10/banquete-villa-ramona.webp');
  background-size: cover, cover;
  background-position: center, center 62%;
  background-repeat: no-repeat;
  color: #fff8e6;
}
.elementor .lf-bg-rsvp .lf-eyebrow { color: #ffcf98; text-shadow: 0 1px 8px #0f2a26cc; }
.elementor .lf-bg-rsvp .lf-h2, .elementor .lf-bg-rsvp .lf-lead { color: #fff8e6; text-shadow: 0 2px 16px #0f2a26e6, 0 1px 3px #0f2a2699; }
.elementor .lf-bg-rsvp .lf-rsvp-card { color: var(--ink); }
@media (max-width: 600px) {
  .elementor .lf-bg-rsvp { background-position: center, 42% center; }
}

/* Gift section (07): Lottie envelope inside the cream circle */
.lf-gift-art .elementor-widget-html { width: 100%; height: 100%; margin: 0; }
.lf-lottie { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 50%; }
.lf-lottie svg { position: absolute; left: -60%; top: -62%; width: 220% !important; height: 220% !important; }
body .elementor .lf-gift-art { transition: transform .3s; }
body .elementor .lf-gift-art:hover { transform: translateY(-6px) rotate(-1.5deg); }
body .elementor .lf-gift-art:focus-visible { outline: 3px solid var(--orange); outline-offset: 6px; }

/* Gift pop-up (bank details) */
.lf-toast-js { z-index: 130; }
.lf-gift-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.lf-gift-modal[hidden] { display: none; }
.lf-gift-backdrop { position: absolute; inset: 0; background: #0f2a26b8; backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.lf-gift-dialog { position: relative; width: min(480px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff8e9; color: var(--ink); border: 3px solid var(--ink); border-radius: 24px; box-shadow: 12px 14px 0 #a6b5a1; padding: 34px 30px 28px; text-align: center; font-family: Poppins, Arial, sans-serif; transform: translateY(24px) scale(.96); opacity: 0; transition: transform .3s cubic-bezier(.2,.7,.2,1), opacity .25s; outline: none; }
.lf-gift-modal.is-open .lf-gift-backdrop { opacity: 1; }
.lf-gift-modal.is-open .lf-gift-dialog { transform: none; opacity: 1; }
.lf-gift-close { position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.lf-gift-close:hover { background: #2a3d3514; }
.lf-gift-icon { display: block; font-size: 2.6rem; color: var(--rust); line-height: 1.1; }
.lf-gift-eyebrow { margin: 8px 0 4px; font-size: .7rem; font-weight: 800; letter-spacing: .2em; color: var(--rust); }
.lf-gift-title { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.8rem; line-height: 1.1; letter-spacing: -.02em; }
.lf-gift-sample { display: inline-block; line-height: 1.45; margin: 4px 0 18px; padding: 4px 12px; border: 1px dashed var(--rust); border-radius: 50px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; color: var(--rust); }
.lf-gift-data { margin: 0 0 20px; padding: 0; text-align: left; border-top: 2px dashed #d4c8ab; }
.lf-gift-data > div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 2px; border-bottom: 2px dashed #d4c8ab; }
.lf-gift-data dt { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.lf-gift-data dd { margin: 0; font-size: .9rem; font-weight: 600; text-align: right; }
.lf-gift-iban-row { flex-direction: column; gap: 6px !important; }
.lf-gift-iban { text-align: left !important; font-family: var(--font-display); font-size: 1.25rem !important; font-weight: 700 !important; letter-spacing: .02em; word-break: break-word; }
.lf-gift-copy { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 15px 22px; border: 2px solid var(--rust); border-radius: 100px; background: var(--rust); color: var(--paper); font: 800 .85rem/1.2 Poppins, Arial, sans-serif; cursor: pointer; box-shadow: 5px 6px 0 #243b3330; transition: transform .25s, box-shadow .25s, background .25s; }
.lf-gift-copy:hover { transform: translateY(-3px); box-shadow: 5px 9px 0 #243b3330; color: var(--paper); }
.lf-gift-copy:focus-visible, .lf-gift-close:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.lf-gift-copy.is-copied { background: var(--teal); border-color: var(--teal); }
.lf-gift-thanks { margin: 16px 0 0; font-family: var(--font-display); font-size: 1.15rem; }
@media (max-width: 600px) {
  .lf-gift-dialog { padding: 28px 18px 22px; box-shadow: 6px 8px 0 #a6b5a1; }
  .lf-gift-title { font-size: 1.5rem; }
  .lf-gift-iban { font-size: 1.05rem !important; }
}

/* Countdown sun */
.lf-bg-countdown::before { display: none; content: '✺'; position: absolute; font-size: 620px; line-height: 1; left: -170px; top: -170px; color: #f3d19d80; animation: lfSpin 110s linear infinite; pointer-events: none; }

/* FAQ native summary look */
.lf-faq summary { list-style: none; }
.lf-faq summary::-webkit-details-marker { display: none; }
.lf-faq-q::before { content: '▶'; display: inline-block; font-size: .7em; margin-right: 7px; vertical-align: 1px; }
.lf-faq details[open] .lf-faq-q::before { content: '▼'; }

/* Footer second line */
.lf-footer span { opacity: .7; }

/* RSVP / forms */
.elementor .lf-food-field.is-hidden { display: none; }
.elementor .lf-rsvp-result.is-visible { display: block; }
.lf-rsvp-card form.is-hidden { display: none; }
.lf-input::placeholder { color: #8b8f86; }

/* Toast (created by script) */
.lf-toast-js { position: fixed; bottom: 20px; left: 50%; transform: translate(-50%, 150%); z-index: 100; background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 12px; box-shadow: var(--shadow); transition: transform .4s; font-size: .83rem; max-width: 90vw; text-align: center; font-family: Poppins, Arial, sans-serif; }
.lf-toast-js { visibility: hidden; transition: transform .4s, visibility 0s .4s; }
.lf-toast-js.show { transform: translate(-50%, 0); visibility: visible; transition: transform .4s, visibility 0s; }
@media (max-width: 600px) { .lf-toast-js { bottom: 78px; } }

/* Scroll reveal: only hidden once the script has run on the front-end */
.lf-js .lf-reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s, transform .8s; }
.lf-js .lf-reveal.visible { opacity: 1; transform: none; }
.lf-js .lf-ticket.lf-reveal.visible:hover { transform: rotate(-1deg) translateY(-5px); }
.lf-js .lf-ess-card.lf-reveal.visible:hover { transform: translateY(-7px) rotate(1deg); }
.lf-js .lf-btn.lf-reveal.visible:hover { transform: translateY(-4px); }

/* Animations: Elementor drops `animation` from global-class CSS, so they live here (same timings as the prototype). */
.elementor .lf-ticker-track { animation: lfMarquee 27s linear infinite; will-change: transform; }
.elementor .lf-hero-bg { animation: lfHerozoom 13s ease-out both; }
.elementor .lf-hero-logo { animation: lfPopin 1.1s .1s both; }
.elementor .lf-hero-kicker { animation: lfUp .8s .5s both; }
.elementor .lf-hero-title { animation: lfUp .8s .75s both; }
.elementor .lf-hero-date { animation: lfUp .8s .95s both; }
.elementor .lf-hero-actions { animation: lfUp .8s 1.2s both; }
.elementor .lf-scroll-hint { animation: lfBob 2s infinite; }
.elementor .lf-daisy { animation: lfFloat 7s ease-in-out infinite; }
.elementor .lf-daisy[data-id="5b6d465d"] { animation-delay: -3s; }
.elementor .lf-stub-flower { animation: lfSpin 20s linear infinite; }
.elementor .lf-map-pin { animation: lfPulse 2.5s infinite; }
.elementor .lf-tree-canopy { animation: lfFloat 7s infinite; }

/* Keyframes (copied from the prototype) */
@keyframes lfUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes lfPopin { from { opacity: 0; transform: scale(.8) rotate(-6deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes lfFloat { 50% { transform: translateY(-17px) rotate(3deg); } }
@keyframes lfBob { 50% { transform: translate(-50%, -9px); } }
@keyframes lfSpin { to { transform: rotate(360deg); } }
@keyframes lfPulse { 50% { box-shadow: 0 0 0 20px #fff9e900; } }
@keyframes lfMarquee { to { transform: translateX(-50%); } }
@keyframes lfHerozoom { from { transform: scale(1.16); } to { transform: scale(1.03); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .lf-js .lf-reveal { opacity: 1; transform: none; }
}

/* Gift section: smaller Lottie circle on mobile */
@media (max-width: 767px) {
  body .elementor .lf-gift-art { width: 200px; max-width: 200px; margin-left: auto; margin-right: auto;}
}/* End custom CSS */