:root {
  --bg: #fbf8f3;
  --bg-alt: #f3eee5;
  --ink: #2f2a24;
  --muted: #7b7268;
  --line: #e2d9cb;
  --accent: #6f7f62;
  --accent-dark: #55634a;
  --gold: #b0894f;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(60, 45, 25, .18);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 300 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 .8em; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sub { color: var(--muted); margin-bottom: 2.2rem; }
.sub.big { font-family: var(--serif); font-size: 1.6rem; font-style: italic; color: var(--accent-dark); }
.kicker { text-transform: uppercase; letter-spacing: .25em; font-size: .78rem; font-weight: 400; color: var(--gold); margin-bottom: .6em; }
.tbd { font-style: italic; color: var(--muted); font-family: var(--serif); }
.ico { width: 28px; height: 28px; }
.section { padding: 90px 0; }
.section.slim { padding: 70px 0; }
.section.alt { background: var(--bg-alt); }
.ornament { font-size: 2rem; color: var(--gold); margin-top: 1rem; }
.lead p { font-size: 1.1rem; }

/* Botones */
.btn { display: inline-block; background: var(--accent); color: #fff; border: 1px solid var(--accent); padding: 13px 28px; border-radius: 999px; font: 400 .85rem var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: .2s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.8); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.hero:not(.has-photo) .btn-ghost { color: var(--accent-dark); border-color: var(--accent); }
.btn-ghost-dark { background: transparent; color: var(--accent-dark); border-color: var(--accent); }
.btn-ghost-dark:hover { background: var(--accent); color: #fff; }
.btn-small { padding: 9px 18px; font-size: .75rem; }

/* Navegación */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; transition: .3s; }
.nav.scrolled { background: rgba(251, 248, 243, .94); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); padding: 10px 24px; }
.nav-brand { font-family: var(--serif); font-size: 1.6rem; text-decoration: none; color: #fff; }
.nav-brand span { color: var(--gold); font-style: italic; }
.nav.scrolled .nav-brand, .no-hero-photo .nav-brand { color: var(--ink); }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: #fff; text-decoration: none; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.nav.scrolled .nav-links a, .no-hero-photo .nav-links a { color: var(--ink); }
.nav-links .nav-cta { border: 1px solid currentColor; padding: 7px 16px; border-radius: 999px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: #fff; margin: 5px 0; transition: .3s; }
.nav.scrolled .nav-toggle span, .no-hero-photo .nav-toggle span { background: var(--ink); }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links { position: fixed; inset: 0; background: var(--bg); flex-direction: column; justify-content: center; gap: 26px; transform: translateY(-100%); transition: .35s; }
  .nav-links a { color: var(--ink) !important; font-size: 1rem; }
  .nav.open .nav-links { transform: none; }
  .nav.open .nav-toggle { position: relative; z-index: 2; }
  .nav.open .nav-toggle span { background: var(--ink); }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* Portada */
.hero { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; position: relative; padding: 100px 20px 80px; color: var(--ink);
  background: radial-gradient(ellipse at top, #fff 0%, var(--bg) 45%, var(--bg-alt) 100%); }
.hero::before { content: ''; position: absolute; inset: 24px; border: 1px solid var(--line); border-radius: 4px; pointer-events: none; }
.hero.has-photo { color: #fff; background: linear-gradient(rgba(30, 22, 12, .35), rgba(30, 22, 12, .55)), var(--hero) center/cover no-repeat; }
.hero.has-photo::before { border-color: rgba(255,255,255,.35); }
.hero.has-photo .kicker { color: #f1dfbd; }
.names { font-family: var(--serif); font-weight: 400; font-size: clamp(3.2rem, 11vw, 7.5rem); line-height: 1; margin: .1em 0 .25em; }
.names .amp { display: block; font-style: italic; font-size: .45em; color: var(--gold); margin: .15em 0; }
.names.small { font-size: 2.4rem; }
.names.small .amp { display: inline; font-size: .8em; }
.hero-date { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.8rem); font-style: italic; margin-bottom: .2em; }
.hero-sub { opacity: .85; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.countdown { display: flex; justify-content: center; gap: clamp(10px, 3vw, 28px); margin-top: 1.8rem; }
.countdown div { min-width: 64px; }
.countdown b { display: block; font: 400 clamp(2rem, 6vw, 3rem)/1 var(--serif); }
.countdown span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.scroll-hint { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); font-size: 2rem; color: inherit; text-decoration: none; animation: bob 2s infinite; }
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

.couple-photo { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; margin: 0 auto 2rem; border: 6px solid #fff; box-shadow: var(--shadow); }

/* Historia */
.story { list-style: none; padding: 0; margin: 0 auto; position: relative; max-width: 900px; }
.story::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--gold); opacity: .5; }
.story-item { position: relative; width: 50%; padding: 0 44px 50px; }
.story-item.left { margin-right: auto; text-align: right; }
.story-item.right { margin-left: auto; }
.story-dot { position: absolute; top: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--bg); border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; }
.story-dot .ico { width: 22px; height: 22px; }
.left .story-dot { right: -23px; }
.right .story-dot { left: -23px; }
.story-card { background: var(--white); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: left; }
.story-card img { border-radius: 10px; margin-bottom: 14px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.story-card time { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 700px) {
  .story::before { left: 22px; }
  .story-item, .story-item.left, .story-item.right { width: 100%; padding: 0 0 36px 64px; text-align: left; }
  .story-item .story-dot { left: 0; right: auto; }
}
.together { text-align: center; margin-top: 30px; }
.together-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 1.4rem; }
.tg-card { background: var(--white); border-radius: var(--radius); padding: 22px 16px; box-shadow: var(--shadow); }
.tg-label { color: var(--muted); font-size: .9rem; }
.tg-count { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.tg-count div { min-width: 48px; }
.tg-count b { display: block; font: 500 2rem/1.1 var(--serif); color: var(--accent-dark); }
.tg-count span { font-size: .65rem; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); }
.journey { position: relative; margin: 60px 30px 70px; }
.journey-bar { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.journey-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--gold)); }
.journey-mark { position: absolute; top: -6px; transform: translateX(-50%); text-align: center; }
.journey-mark i { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 2px solid var(--gold); margin: 0 auto 6px; }
.journey-mark small { font-size: .72rem; color: var(--muted); line-height: 1.3; display: block; white-space: nowrap; }
.journey-now { position: absolute; top: -34px; transform: translateX(-50%); font-size: .7rem; background: var(--accent); color: #fff; padding: 2px 8px; border-radius: 99px; }

/* Eventos */
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.event { background: var(--white); border-radius: var(--radius); padding: 36px 30px; text-align: center; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; }
.event-ico { color: var(--gold); margin-bottom: 8px; }
.event-ico .ico { width: 40px; height: 40px; }
.event-time { font-family: var(--serif); font-size: 1.5rem; color: var(--accent-dark); margin: 0; }
.event-addr { color: var(--muted); font-size: .95rem; }
.map { width: 100%; height: 220px; border: 0; border-radius: 10px; margin: 14px 0 18px; background: var(--bg-alt); }
.map-empty { display: grid; place-items: center; color: var(--muted); font-style: italic; margin-top: auto; }
.calendar-actions { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Planning */
.plan { list-style: none; padding: 0; margin: 0; }
.plan li { display: grid; grid-template-columns: 80px 56px 1fr; gap: 14px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.plan-time { font: 500 1.5rem/1.6 var(--serif); color: var(--accent-dark); text-align: right; }
.plan-ico { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; }
.plan-ico .ico { width: 22px; height: 22px; }
.plan-body h3 { margin: 6px 0 2px; font-size: 1.45rem; }
.plan-place { color: var(--gold); font-size: .85rem; letter-spacing: .05em; }
.plan-body p { color: var(--muted); }

/* Tarjetas info */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); text-align: center; }
.card > .ico { color: var(--gold); width: 34px; height: 34px; margin-bottom: 8px; }
.stops { list-style: none; padding: 0; margin: 10px 0 0; font-size: .92rem; }
.stops li { padding: 6px 0; border-top: 1px dashed var(--line); }
.iban { background: var(--bg-alt); border-radius: 10px; padding: 14px; margin: 10px 0; }
.iban code { display: block; font-size: 1rem; margin: 6px 0 10px; letter-spacing: .05em; word-break: break-all; }
.hotels { margin-top: 60px; }
.hotel-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.hotel { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--white); }
.hotel h4 { font-size: 1.35rem; }

/* RSVP */
.rsvp-section { background: linear-gradient(180deg, var(--bg) 0%, #eef0e8 100%); }
.deadline { color: var(--accent-dark); margin-top: -1.2rem; margin-bottom: 2rem; }
.rsvp-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 5vw, 44px); }
label { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
input, textarea, select { width: 100%; font: 400 1rem var(--sans); color: var(--ink); padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; outline: none; transition: border-color .2s; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(111,127,98,.15); }
.inline { display: flex; gap: 10px; }
.inline input { flex: 1; }
@media (max-width: 520px) { .inline { flex-direction: column; } }
.hint { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.form-msg { margin: 12px 0 0; font-size: .95rem; min-height: 1em; }
.form-msg.err { color: #a2453b; }
.form-msg.ok { color: var(--accent-dark); }
.rsvp-form h3 { text-align: center; }
.guest { border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin-bottom: 16px; }
.guest-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.guest-name { font-family: var(--serif); font-size: 1.4rem; }
.guest-name small { font-family: var(--sans); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-left: 6px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.seg label { margin: 0; padding: 8px 16px; cursor: pointer; font-size: .78rem; text-transform: none; letter-spacing: .02em; color: var(--ink); }
.seg input { display: none; }
.seg input:checked + span { color: #fff; }
.seg label:has(input:checked) { background: var(--accent); color: #fff; }
.seg label.no:has(input:checked) { background: #a58e7a; }
.guest-details { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.guest-details .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .guest-details { grid-template-columns: 1fr; } }
.guest.declined .guest-details { display: none; }
.guest.pending .guest-details { display: none; }
.extra-remove { background: none; border: 0; color: #a2453b; cursor: pointer; font-size: .85rem; }
.add-extra { background: none; border: 1px dashed var(--accent); color: var(--accent-dark); border-radius: 12px; width: 100%; padding: 14px; cursor: pointer; font: 400 .9rem var(--sans); margin-bottom: 20px; }
.rsvp-common { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 10px 0 20px; }
.rsvp-common .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .rsvp-common { grid-template-columns: 1fr; } }
.rsvp-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; }
.rsvp-done { text-align: center; }
.rsvp-done .big-heart { font-size: 3rem; color: var(--gold); }
.check { display: flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; font-size: .9rem; color: var(--ink); }
.check input { width: auto; }

/* Canciones */
#musica > .wrap > .ico { color: var(--gold); width: 36px; height: 36px; margin: 0 auto 10px; }
.song-form { display: grid; grid-template-columns: 2fr 1fr auto; gap: 10px; text-align: left; }
.song-form .form-msg { grid-column: 1 / -1; text-align: center; }
@media (max-width: 640px) { .song-form { grid-template-columns: 1fr; } }

/* Galería */
.gallery { columns: 4 220px; column-gap: 12px; }
.g-item { display: block; margin-bottom: 12px; border-radius: 10px; overflow: hidden; break-inside: avoid; }
.g-item img { width: 100%; transition: transform .4s; }
.g-item:hover img { transform: scale(1.04); }
.upload { max-width: 640px; margin: 50px auto 0; background: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.drop { display: block; border: 2px dashed var(--line); border-radius: 12px; padding: 30px; cursor: pointer; text-transform: none; letter-spacing: 0; font-size: 1rem; color: var(--muted); transition: .2s; }
.drop:hover, .drop.has-files { border-color: var(--accent); color: var(--accent-dark); }
.drop .ico { width: 40px; height: 40px; margin: 0 auto; display: inline-block; }
.drop input { display: none; }
.upload-fields { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.upload-fields input { flex: 1 1 160px; }
.progress { height: 6px; background: var(--line); border-radius: 6px; margin-top: 14px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }

/* Dedicatorias */
.msg-form { max-width: 640px; margin: 0 auto 40px; display: grid; gap: 12px; }
.msg-form .btn { justify-self: center; }
.hp { position: absolute; left: -9999px; }
.messages { columns: 3 280px; column-gap: 20px; }
.message { break-inside: avoid; background: var(--white); margin: 0 0 20px; padding: 26px; border-radius: var(--radius); box-shadow: var(--shadow); font-family: var(--serif); font-size: 1.2rem; font-style: italic; position: relative; }
.message::before { content: '“'; position: absolute; top: -6px; left: 14px; font-size: 4rem; color: var(--gold); opacity: .35; line-height: 1; }
.message cite { display: block; font: normal 400 .85rem var(--sans); color: var(--gold); letter-spacing: .08em; margin-top: 8px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.35rem; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: '+'; color: var(--gold); transition: .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 10px; }

/* Pie */
.footer { text-align: center; padding: 60px 20px 40px; background: var(--ink); color: #e8e0d3; }
.footer .amp { color: var(--gold); font-style: italic; }
.footer .hashtag { color: var(--gold); letter-spacing: .1em; }
.footer .contact { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin: 16px 0; }
.footer a { color: #e8e0d3; }
.footer .muted { color: #a59a8b; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(20, 16, 10, .94); z-index: 100; display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 88vh; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 82vh; margin: 0 auto; border-radius: 6px; }
.lightbox figcaption { color: #e8e0d3; margin-top: 10px; font-size: .9rem; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 3rem; cursor: pointer; padding: 10px 18px; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* Animación al hacer scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .scroll-hint { animation: none; } }
.event .map { margin-top: auto; }
@media (max-width: 560px) {
  .plan li { grid-template-columns: 50px 40px 1fr; gap: 10px; }
  .plan-time { font-size: 1.15rem; }
  .plan-ico { width: 38px; height: 38px; }
  .section { padding: 70px 0; }
}

/* ---------- Decoración ---------- */
.deco-corner { position: absolute; width: clamp(130px, 20vw, 250px); aspect-ratio: 280 / 120; background: url(../img/rama.svg) center/contain no-repeat; pointer-events: none; opacity: .9; z-index: 1; }
.has-photo .deco-corner { background-image: url(../img/rama-clara.svg); opacity: .75; }
.deco-corner.tl { top: 40px; left: 36px; transform: rotate(-8deg); }
.deco-corner.tr { top: 40px; right: 36px; transform: scaleX(-1) rotate(-8deg); }
.deco-corner.bl { bottom: 40px; left: 36px; transform: scaleY(-1) rotate(-8deg); }
.deco-corner.br { bottom: 40px; right: 36px; transform: scale(-1, -1) rotate(-8deg); }
@media (max-width: 600px) {
  .deco-corner { width: 110px; }
  .deco-corner.tl, .deco-corner.tr { top: 70px; }
  .deco-corner.tl, .deco-corner.bl { left: 28px; }
  .deco-corner.tr, .deco-corner.br { right: 28px; }
}
.hero-inner { position: relative; z-index: 2; }
img.ornament { width: 54px; height: 54px; margin: 1.4rem auto 0; }

/* Separador floral bajo los títulos de sección */
.section .center > h2::after, .hotels > h3::after { content: ''; display: block; width: 200px; height: 28px; margin: 14px auto 0; background: url(../img/separador.svg) center/contain no-repeat; }
.hotels > h3::after { width: 150px; height: 22px; }

/* Fondo de hojas suave en las secciones alternas */
.section.alt { background-color: var(--bg-alt); background-image: url(../img/fondo-hojas.svg); background-size: 160px; }

/* Ramitas en las tarjetas */
.event, .rsvp-box, .upload { position: relative; overflow: hidden; }
.event::before, .rsvp-box::before, .rsvp-box::after { content: ''; position: absolute; width: 130px; aspect-ratio: 280 / 120; background: url(../img/rama.svg) center/contain no-repeat; opacity: .35; pointer-events: none; }
.event::before { top: 10px; right: -18px; transform: scaleX(-1) rotate(-14deg); }
.rsvp-box::before { top: 6px; left: -14px; transform: rotate(-12deg); }
.rsvp-box::after { bottom: 6px; right: -14px; transform: scale(-1, -1) rotate(-12deg); }
.rsvp-box > * { position: relative; z-index: 1; }
.card { position: relative; }
.card::after { content: ''; position: absolute; left: 50%; bottom: -9px; width: 18px; height: 18px; transform: translateX(-50%); background: url(../img/azahar.svg) center/contain no-repeat; }
.message::after { content: ''; position: absolute; right: 14px; bottom: 12px; width: 22px; height: 22px; background: url(../img/azahar.svg) center/contain no-repeat; opacity: .7; }
.story-card { border-top: 3px solid var(--gold); }
.plan li:last-child { border-bottom: 0; }

/* Pie */
.footer-branch { display: block; width: 170px; aspect-ratio: 280 / 120; margin: 0 auto 6px; background: url(../img/rama-clara.svg) center/contain no-repeat; opacity: .7; }

/* Pétalos de azahar cayendo */
.petals { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.petal { position: absolute; top: -40px; width: 12px; height: 18px; background: url(../img/petalo.svg) center/contain no-repeat; opacity: .85; animation: fall linear infinite; }
@keyframes fall {
  0% { transform: translate3d(0, -40px, 0) rotate(0deg); }
  50% { transform: translate3d(var(--drift, 40px), 50vh, 0) rotate(200deg); }
  100% { transform: translate3d(0, 105vh, 0) rotate(400deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .petals { display: none; } }
.no-hero-photo .petal { filter: drop-shadow(0 1px 1.5px rgba(150, 115, 60, .45)); }

/* «&» caligráfico */
.names .amp, .nav-brand span, .footer .amp { font-family: 'Great Vibes', 'Cormorant Garamond', serif; font-style: normal; font-weight: 400; }
.names .amp { font-size: .75em; margin: 0; line-height: 1; }
.names.small .amp { font-size: 1.1em; }
.nav-brand span { font-size: 1.2em; }

/* Nombres caligráficos + «&» clásico; sin marco en la portada */
.hero::before { display: none; }
.names { font-family: 'Great Vibes', 'Cormorant Garamond', cursive; font-weight: 400; font-size: clamp(3.6rem, 12vw, 8.5rem); line-height: 1.05; letter-spacing: 0; }
.names .amp { font-family: 'Playfair Display', 'Cormorant Garamond', serif; font-style: normal; font-weight: 400; font-size: .42em; line-height: 1; margin: .1em 0 .2em; }
.names.small { font-size: 2.8rem; }
.names.small .amp { font-size: .6em; vertical-align: .2em; margin: 0 .2em; }
.nav-brand span, .footer .amp { font-family: 'Playfair Display', serif; font-style: normal; }
.nav-brand span { font-size: .85em; }

/* Portada en verde oliva #3f4935 */
.hero, .hero:not(.has-photo) { background: radial-gradient(ellipse at top, #4a5540 0%, #3f4935 55%, #353e2c 100%); color: #f7f2e8; }
.hero.has-photo { background: linear-gradient(rgba(63, 73, 53, .55), rgba(63, 73, 53, .75)), var(--hero) center/cover no-repeat; }
.hero .kicker { color: #e3c993; }
.hero .names .amp { color: #d9b26a; }
.hero .deco-corner { background-image: url(../img/rama-clara.svg); opacity: .55; }
.hero .btn { background: #f7f2e8; border-color: #f7f2e8; color: #3f4935; }
.hero .btn:hover { background: #fff; border-color: #fff; }
.hero .btn-ghost, .hero:not(.has-photo) .btn-ghost { background: transparent; color: #f7f2e8; border-color: rgba(247, 242, 232, .7); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.no-hero-photo .petal { filter: none; }
.no-hero-photo .nav:not(.scrolled) .nav-brand, .no-hero-photo .nav:not(.scrolled) .nav-links a { color: #f7f2e8; }
.no-hero-photo .nav:not(.scrolled) .nav-toggle span { background: #f7f2e8; }

/* Portada sin foto: fondo beige y letras en verde oliva */
.hero:not(.has-photo) { background: radial-gradient(ellipse at top, #fffdf8 0%, var(--bg) 45%, var(--bg-alt) 100%); color: #3f4935; }
.hero:not(.has-photo) .kicker { color: var(--gold); }
.hero:not(.has-photo) .names .amp { color: var(--gold); }
.hero:not(.has-photo) .deco-corner { background-image: url(../img/rama.svg); opacity: .9; }
.hero:not(.has-photo) .btn { background: #3f4935; border-color: #3f4935; color: #f7f2e8; }
.hero:not(.has-photo) .btn:hover { background: #2f3727; border-color: #2f3727; }
.hero:not(.has-photo) .btn-ghost { background: transparent; color: #3f4935; border-color: #3f4935; }
.hero:not(.has-photo) .btn-ghost:hover { background: rgba(63, 73, 53, .08); }
.no-hero-photo .petal { filter: drop-shadow(0 1px 1.5px rgba(150, 115, 60, .45)); }
.no-hero-photo .nav:not(.scrolled) .nav-brand, .no-hero-photo .nav:not(.scrolled) .nav-links a { color: #3f4935; }
.no-hero-photo .nav:not(.scrolled) .nav-toggle span { background: #3f4935; }
.nav.scrolled .nav-brand, .nav.scrolled .nav-links a { color: #3f4935; }

/* Cabecera y portada en móvil */
@media (max-width: 860px) {
  .nav, .nav.scrolled { padding: 12px 18px; }
  .nav.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fbf8f3; }
  .nav-brand { font-size: 1.45rem; position: relative; z-index: 2; }
  .nav-links { transform: none; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; gap: 22px; padding: 70px 20px 40px; }
  .nav.open .nav-links { opacity: 1; visibility: visible; }
  .nav-links::after { content: ''; width: 150px; aspect-ratio: 280 / 120; background: url(../img/rama.svg) center/contain no-repeat; opacity: .8; margin-top: 10px; }
  .nav-links .nav-cta { background: #3f4935; color: #f7f2e8 !important; border-color: #3f4935; padding: 10px 26px; }
  .nav-links a { color: #3f4935 !important; }
  body.menu-lock { overflow: hidden; }
}
@media (max-width: 600px) {
  .hero { padding: 96px 18px 90px; }
  .names { font-size: clamp(3.9rem, 18vw, 5rem); line-height: 1; }
  .names .amp { font-size: .4em; margin: .02em 0 .08em; }
  .hero .kicker { margin-bottom: .2em; }
  .hero-date { margin-top: .4em; }
  .hero-actions { flex-direction: column; align-items: center; gap: 10px; margin-top: 1.6rem; }
  .hero-actions .btn { width: min(280px, 100%); text-align: center; }
  .countdown { gap: 10px; margin-top: 1.4rem; }
  .countdown div { min-width: 56px; }
  .deco-corner { width: 96px; }
  .deco-corner.tl, .deco-corner.tr { top: 64px; }
  .deco-corner.bl, .deco-corner.br { bottom: 26px; }
  .deco-corner.tl, .deco-corner.bl { left: 14px; }
  .deco-corner.tr, .deco-corner.br { right: 14px; }
  .scroll-hint { bottom: 22px; }
}

/* Confirmación cerrada */
.locked-note { background: #f6efe1; border-left: 3px solid var(--gold); padding: 14px 16px; border-radius: 8px; margin: 14px 0 18px; font-size: .95rem; }
.summary { list-style: none; padding: 0; margin: 0 0 18px; }
.summary li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary small { color: var(--muted); }
.wa-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 10px 0 22px; }
.btn-wa { background: #25d366; border-color: #25d366; }
.btn-wa:hover { background: #1ebe5b; border-color: #1ebe5b; }
.change-box { display: grid; gap: 10px; margin-bottom: 16px; }
.change-box .btn { justify-self: center; }
.ok-box { background: #eef0e8; color: var(--accent-dark); padding: 14px; border-radius: 10px; text-align: center; margin: 0; }

/* Buster */
.buster-fig { margin: 2rem auto 0; text-align: center; }
.buster { width: 220px; height: auto; margin: 0 auto; }
.buster-fig figcaption { font: 400 1.7rem 'Great Vibes', cursive; color: var(--gold); margin-top: 4px; }
.footer-buster { width: 110px; height: auto; margin: 0 auto 10px; filter: brightness(0) invert(.88) sepia(.25); opacity: .85; }
.done-buster { width: 150px; margin-bottom: 10px; }
/* Buster más pequeño */
.buster { width: 150px; }
.buster-fig figcaption { font-size: 1.4rem; line-height: 1.3; max-width: 420px; margin: 6px auto 0; }
.footer-buster { width: 80px; }
.done-buster { width: 110px; }
