/* =====================================================================
   La novia — one look for her whole path (decision of Miguel 2026-11-05:
   "una misma marca"): her panel (/p), her agreement, the menu to add
   services, /acceder and her beauty timeline all wear the timeline's
   design. Black stage with a moss glow, glass cards with a bright top
   edge, white pill actions, Inter against Instrument Serif italic.
   Loaded after site.css; everything hangs from html.nv. Dark only.
   ===================================================================== */
html.nv {
  --bg: #000; --fg: #fff; --muted: #9ca3af; --soft: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .12); --line-2: rgba(255, 255, 255, .07);
  --invert-bg: #fff; --invert-fg: #000;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --glass: linear-gradient(150deg, rgba(255, 255, 255, .15) 0%, rgba(22, 24, 22, .64) 46%, rgba(11, 13, 11, .8) 100%);
  --glass-shadow: 0 24px 64px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .2);
  --nv-ease: cubic-bezier(.16, 1, .3, 1);
  --hdr: 0px;
  color-scheme: dark; background: #000;
}
html.nv body {
  background: #000; color: #fff; font: 400 15px/1.5 var(--sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html.nv body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 45% at 50% -5%, rgba(52, 92, 62, .5), transparent 70%),
              radial-gradient(40% 35% at 95% 55%, rgba(34, 64, 48, .32), transparent 70%),
              radial-gradient(40% 30% at 0% 85%, rgba(30, 52, 40, .3), transparent 70%);
}
html.nv :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* the masthead: the house, centred, and her language */
.nv-mast { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: calc(clamp(1.8rem, 5vh, 3rem) + env(safe-area-inset-top, 0px)) 16px 0; }
.nv-brand { font: 600 clamp(1.25rem, 5.4vw, 2rem)/1 var(--sans); letter-spacing: .16em; text-indent: .16em; white-space: nowrap; color: #fff; text-decoration: none; }
.nv-brand-sub { font-size: .62rem; letter-spacing: .42em; text-indent: .42em; text-transform: uppercase; color: var(--muted); line-height: 1; }
.nv-lang { display: inline-flex; margin-top: .4rem; background: rgba(34, 34, 33, .75); border: 1px solid rgba(255, 255, 255, .09); border-radius: 999px; padding: 3px; }
.nv-lang button { min-width: 38px; min-height: 30px; border-radius: 999px; font: 500 11.5px/1 var(--sans); letter-spacing: .06em; color: #dededd; }
.nv-lang button[aria-pressed="true"] { background: #fff; color: #000; }

/* the page: one centred column */
html.nv .order { position: relative; z-index: 1; max-width: 34rem; padding: 0 16px calc(3rem + env(safe-area-inset-bottom, 0px)); margin: 0 auto; text-align: center; }
html.nv .order { display: flex; flex-direction: column; gap: 1.25rem; }
html.nv .order > * { margin: 0; }
html.nv .order__wait { padding-top: 30vh; color: var(--muted); }

/* glass */
.nv-glass, html.nv .order__card, html.nv .story {
  background: var(--glass); border: 1px solid var(--line); border-radius: 1.75rem;
  -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
  box-shadow: var(--glass-shadow);
}
html.nv .order__card { padding: clamp(1.3rem, 5vw, 1.8rem); margin: 0; text-align: left; }

/* hero */
.nv-hero { display: flex; flex-direction: column; align-items: center; gap: .9rem; padding-top: clamp(1.6rem, 6vh, 3rem); }
.nv-eyebrow { font-size: .85rem; color: var(--muted); line-height: 1.6; }
.nv-h1 { display: flex; flex-direction: column; align-items: center; line-height: 1.05; font-weight: 500; margin: 0; }
.nv-h1 span:first-child { font-size: clamp(2rem, 9vw, 3.4rem); letter-spacing: -.03em; }
.nv-h1 span + span { font: italic 400 clamp(2.3rem, 10.5vw, 3.9rem)/1.05 var(--serif); margin-top: -.04em; }
.nv-lede { color: rgba(255, 255, 255, .72); font-size: .95rem; max-width: 26rem; margin: 0 auto; }

/* her days, like the timeline's date cards */
.nv-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(6.4rem, 1fr)); gap: .6rem; }
.nv-day { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: 1rem .5rem; border-radius: 1.4rem; }
.nv-day small { font-size: .74rem; color: var(--muted); }
.nv-day b { font-size: clamp(2rem, 9vw, 2.8rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; margin-top: .1rem; }
.nv-day em { font: italic 400 1.12rem/1.15 var(--serif); }
.nv-day span { font-size: .72rem; color: rgba(255, 255, 255, .72); }

/* where she stands: a thin line of steps and its name */
.nv-prog { display: flex; flex-direction: column; align-items: center; gap: .55rem; }
.nv-prog__bar { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 5px; width: 100%; max-width: 18rem; }
.nv-prog__bar i { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.nv-prog__bar i.on { background: #fff; }
.nv-prog__bar i.now { background: linear-gradient(90deg, #fff 50%, rgba(255, 255, 255, .14) 50%); }
.nv-prog p { margin: 0; font-size: .78rem; color: var(--muted); }
.nv-prog p b { color: #fff; font-weight: 500; }

/* the one thing to do now */
html.nv .order__card.nv-now { text-align: center; }
html.nv .nv-now { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.nv-k { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin: 0; }
html.nv .nv-now h2, .nv-t { font: italic 400 clamp(1.7rem, 7.5vw, 2.3rem)/1.08 var(--serif); margin: 0; }
html.nv .nv-now p { margin: 0; }
.nv-amount { font-size: clamp(2.2rem, 10vw, 3rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.nv-amount small { font-size: .9rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: .3rem; }

/* actions: white pills; the quiet one is a glass outline */
html.nv .btn { min-height: 52px; padding: 0 1.6rem; border-radius: 999px; font: 500 15px/1 var(--sans); letter-spacing: 0; text-transform: none; background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .35); transition: transform .25s var(--nv-ease), background-color .25s, box-shadow .25s; }
html.nv .btn--dark { background: #fff; color: #000; border-color: #fff; box-shadow: 0 4px 20px rgba(255, 255, 255, .08); }
html.nv .btn--dark:hover { box-shadow: 0 6px 28px rgba(255, 255, 255, .16); }
html.nv .btn:active { transform: scale(.97); }
html.nv .btn--block { width: 100%; }
html.nv .btn[disabled] { opacity: .5; }
html.nv .link { color: rgba(255, 255, 255, .72); font-size: .88rem; text-decoration-color: rgba(255, 255, 255, .3); }
html.nv .link:hover { color: #fff; }
.nv-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.2rem; margin: 0; }

/* her reservation: one card, everything once */
html.nv .order__h { font: italic 400 1.9rem/1.1 var(--serif); margin: 0 0 .2rem; }
.nv-code { font-size: .78rem; color: var(--muted); letter-spacing: .08em; margin: 0 0 1rem; font-variant-numeric: tabular-nums; }
html.nv .order__sub2 { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 1.1rem 0 .3rem; }
html.nv .order__row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; font-size: .92rem; margin: 0; }
html.nv .order__row span:first-child { color: var(--muted); }
html.nv .order__row span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
html.nv .order__row.is-strong { border-top: 1px solid var(--line); margin-top: .4rem; padding-top: .9rem; }
html.nv .order__row.is-strong span:first-child { color: #fff; }
html.nv .order__row.is-strong span:last-child { font-family: var(--sans); font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
html.nv .order__lines { list-style: none; padding: 0; margin: .3rem 0 0; border-top: 1px solid var(--line-2); }
html.nv .order__lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line-2); font-size: .92rem; }
html.nv .order__lines li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
html.nv .order__ev { display: block; font-size: .76rem; color: var(--muted); margin-top: .15rem; }
.nv-tag { display: inline-block; margin-left: .4rem; padding: .05rem .5rem; border-radius: 999px; border: 1px solid rgba(100, 199, 114, .45); color: #9be0a5; font-size: .66rem; letter-spacing: .04em; vertical-align: 2px; white-space: nowrap; }
.nv-ev { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line-2); font-size: .92rem; }
.nv-ev span:last-child { color: var(--muted); text-align: right; }
html.nv .order__note { margin: 1rem 0 0; padding: .9rem 1rem; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); border-radius: 1rem; font-size: .9rem; color: rgba(255, 255, 255, .85); }
html.nv .order__fine { font-size: .76rem; color: var(--muted); text-align: center; margin: .2rem 0 0; }
.nv-pending { margin-top: 1rem; padding: .9rem 1rem; border-radius: 1rem; border: 1px dashed rgba(253, 176, 38, .4); background: rgba(253, 176, 38, .05); }
.nv-pending .order__sub2 { margin-top: 0; color: #fdd28a; }
.nv-pending .order__lines { border-top: 0; }
.nv-pending .order__lines li:last-child { border-bottom: 0; }
.nv-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #64c772; box-shadow: 0 0 10px rgba(100, 199, 114, .6); margin-right: .45rem; vertical-align: 2px; }

/* the receipt button keeps its hidden file field */
html.nv .order__proof { position: relative; cursor: pointer; }
html.nv .order__proof.is-busy { pointer-events: none; opacity: .6; }
html.nv .order__file { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
html.nv .order__proof:focus-within { outline: 2px solid #fff; outline-offset: 3px; }
html.nv .portal__error { color: #f6a89a; font-size: .85rem; margin: 0; min-height: 0; }
html.nv .portal__error:empty { display: none; }

/* fields (the portal, her story) */
html.nv .fld { text-align: left; }
html.nv .fld__label { font-size: .7rem; letter-spacing: .2em; color: var(--muted); }
html.nv .fld__input { background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 1rem; color: #fff; font: 400 16px/1.4 var(--sans); padding: .85rem 1rem; }
html.nv .fld__input:focus { border-color: rgba(255, 255, 255, .6); }
html.nv .portal__input { font-size: 1.25rem; letter-spacing: .14em; text-align: center; }
html.nv .portal__code { border-radius: 1rem; background: rgba(255, 255, 255, .04); }
html.nv .chip { border: 1px solid var(--line); background: rgba(255, 255, 255, .04); border-radius: 999px; color: #e5e7eb; }
html.nv .chip[aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }

/* the footer, like the timeline's */
html.nv .nv-foot { text-align: center; }
.nv-foot { display: flex; flex-direction: column; align-items: center; gap: .7rem; padding: clamp(1.8rem, 6vw, 2.6rem) 1.2rem; text-align: center; }
.nv-foot .nv-t { font-size: clamp(1.6rem, 7vw, 2.2rem); }
.nv-foot p { margin: 0; color: rgba(255, 255, 255, .72); font-size: .9rem; }
.nv-foot .btn { gap: .6rem; }
.nv-foot svg { width: 18px; height: 18px; }
.nv-sign { font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); line-height: 1.9; margin-top: .4rem; }

/* her agreement (js/contract.js) in the same look */
html.nv .ck { text-align: left; }
html.nv .ck .order__title { font: italic 400 clamp(2.2rem, 9vw, 3rem)/1.05 var(--serif); }
html.nv .ck__h { font: italic 400 1.45rem/1.15 var(--serif); }
html.nv .ck__ess, html.nv .ck__doc { border-radius: 1.5rem; border-color: var(--line); background: rgba(255, 255, 255, .03); }
html.nv .ck__bar { background: rgba(0, 0, 0, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line-2); }

/* the menu to add services (js/reserva.js, add mode) wears it too */
html.nv .book {
  --bg: #000; --surface: #000; --fg: #fff; --muted: #9ca3af; --line: rgba(255, 255, 255, .12); --strong: rgba(255, 255, 255, .5);
  --accent: #e5e7eb; --accent-soft: rgba(255, 255, 255, .06);
  --serif: 'Instrument Serif', Georgia, serif; --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-family: var(--sans); font-weight: 400; letter-spacing: -.005em;
}
html.nv .book .h1, html.nv .book .h2, html.nv .book .bkc__h b { font-style: italic; }

@media (prefers-reduced-motion: reduce) { html.nv .btn { transition: none; } }
@media (prefers-reduced-transparency: reduce) {
  .nv-glass, html.nv .order__card, html.nv .story { background: #111; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* the portal (/mi-reserva) and the loading or error states */
html.nv .order__eyebrow { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin: clamp(1.6rem, 6vh, 3rem) 0 .6rem; }
html.nv .order__title { font: italic 400 clamp(2.4rem, 10vw, 3.6rem)/1.05 var(--serif); margin: 0 0 .6rem; }
html.nv .order > .order__title:first-child { margin-top: clamp(1.6rem, 6vh, 3rem); }
html.nv .order__lede { color: rgba(255, 255, 255, .72); font-size: .95rem; }
html.nv .portal { text-align: left; }
html.nv .order__addw { margin: .4rem 0 0; font-size: .92rem; }
html.nv .order__addq { margin: .4rem 0 0; font: italic 400 1.1rem/1.4 var(--serif); color: rgba(255, 255, 255, .72); }
html.nv .order__addf { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-2); text-align: left; }
html.nv .order__addf .chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 1rem; }
html.nv .order__addf .chip { min-height: 38px; padding: 0 .9rem; font-size: .82rem; }
html.nv .order__addf > .link { display: block; margin: .4rem auto 0; }
.nv-langbar { position: relative; z-index: 1; display: flex; justify-content: center; padding: 0 0 calc(2.4rem + env(safe-area-inset-bottom, 0px)); margin-top: -1.6rem; }

/* her agreement: the timeline's green instead of the landing's gold */
html.nv .ck { --ck-gold: #64c772; }
/* the menu: numbers in Inter, white pill actions, the moss glow behind */
html.nv .book { background: #000 radial-gradient(60% 40% at 50% -5%, rgba(52, 92, 62, .45), transparent 70%) no-repeat; }
html.nv .book .tot b, html.nv .book .bar b, html.nv .book .count b, html.nv .book .gbox__tot b, html.nv .book .upg__p b, html.nv .book .stepper output { font-family: var(--sans); font-weight: 700; letter-spacing: -.03em; }
html.nv .book .tot b { font-size: 24px; }
html.nv .book .bar b { font-size: 21px; }
html.nv .book .trip b, html.nv .book .add__t, html.nv .book .gbox__ev, html.nv .book .lines li.evh, html.nv .book .ev b { font-style: italic; }
html.nv .book .cta, html.nv .book .bkc__b { background: #fff; color: #000; font: 500 15px/1 var(--sans); letter-spacing: 0; text-transform: none; border-radius: 999px; }
html.nv .book .card, html.nv .book .bkcs { background: var(--glass); border-color: var(--line); border-radius: 1.5rem; box-shadow: var(--glass-shadow); }

/* her beauty timeline (js/itinerario.js): in her panel and on the page for her guests */
.nvi { display: flex; flex-direction: column; gap: 1.25rem; }
html.nv .nvi-ev { text-align: left; }
.nvi-t { font: italic 400 clamp(1.8rem, 8vw, 2.4rem)/1.05 var(--serif); margin: .2rem 0 .1rem; }
.nvi-sub { margin: 0 0 .8rem; color: var(--muted); font-size: .85rem; }
.nvi-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.nvi-list li { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: .8rem; align-items: start; padding: .75rem .9rem; border-radius: 1rem; background: rgba(255, 255, 255, .045); border: 1px solid var(--line-2); }
.nvi-list li.is-bride { background: #fff; color: #000; border-color: #fff; }
.nvi-list li.is-bride small, .nvi-list li.is-bride .nvi-cal { color: rgba(0, 0, 0, .62); }
.nvi-time { font-variant-numeric: tabular-nums; font-size: .92rem; padding-top: .05rem; }
.nvi-who { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.nvi-who b { font-weight: 600; }
.nvi-who small { color: var(--muted); font-size: .78rem; }
html.nv .nvi-cal { align-self: flex-start; padding: .35rem 0 0; font-size: .78rem; }
.nvi-names { width: 100%; display: flex; flex-direction: column; gap: .2rem; margin-top: .4rem; text-align: left; }
html.nv .nvi-find { width: 100%; }

/* her payments, one by one ("cobros a la medida") */
html.nv .nv-charges { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: .7rem; text-align: left; }
html.nv .nv-charge { display: grid; gap: .5rem; padding: 1rem 1.1rem; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); }
html.nv .nv-charge.is-next { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); }
html.nv .nv-charge.is-paid { opacity: .72; }
html.nv .nv-charge__top { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; }
html.nv .nv-charge__top span { font-weight: 500; }
html.nv .nv-charge__top b { font-variant-numeric: tabular-nums; white-space: nowrap; }
html.nv .nv-charge small { color: var(--muted); font-size: .85rem; }
html.nv .nv-charge .nv-lede { text-align: left; }

/* "Únete a mi boda" (/boda/TOKEN, js/boda.js) */
html.nv .bd-card { align-items: stretch; text-align: left; }
html.nv .bd-card .nv-k { text-align: center; }
.bd-evs { display: grid; gap: .6rem; }
.bd-ev { display: grid; gap: .2rem; padding: .95rem 1.1rem; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .16); text-align: left; color: #fff; background: rgba(255, 255, 255, .03); transition: border-color .2s, background-color .2s; }
.bd-ev b { font-weight: 600; font-size: 1rem; }
.bd-ev span { font-size: .85rem; color: var(--muted); }
.bd-ev[aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }
.bd-ev[aria-pressed="true"] span { color: rgba(0, 0, 0, .62); }
.bd-help { margin: 0; font-size: .88rem; color: rgba(255, 255, 255, .72); line-height: 1.5; }
.bd-group { display: grid; gap: .6rem; padding: 1rem; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .02); }
.bd-group__top { display: flex; align-items: center; gap: .8rem; }
.bd-group__who { color: var(--muted); font-size: .9rem; }
.bd-count { display: inline-flex; align-items: center; gap: .2rem; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 2px; }
.bd-count button { width: 38px; height: 38px; border-radius: 50%; color: #fff; font-size: 1.2rem; }
.bd-count b { min-width: 1.8rem; text-align: center; font-variant-numeric: tabular-nums; }
.bd-seg { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(34, 34, 33, .75); border: 1px solid rgba(255, 255, 255, .09); }
.bd-seg button { flex: 1; min-height: 36px; padding: 0 .6rem; border-radius: 999px; font: 500 .8rem/1.1 var(--sans); color: #dededd; }
.bd-seg button[aria-checked="true"] { background: #fff; color: #000; }
.bd-seg button:disabled { opacity: .4; }
.bd-price { margin: 0; font-size: .88rem; color: rgba(255, 255, 255, .8); font-variant-numeric: tabular-nums; }
.bd-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: .6rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.bd-total span { color: var(--muted); font-size: .9rem; }
.bd-total b { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.bd-field { display: grid; gap: .35rem; }
.bd-field span { font-size: .8rem; color: var(--muted); }
.bd-field input { min-height: 48px; padding: 0 1rem; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); color: #fff; font: 400 16px/1.2 var(--sans); }
.bd-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: rgba(255, 255, 255, .8); }
.bd-consent a { color: #fff; }
.bd-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bd-code { letter-spacing: .02em; font-size: clamp(1.6rem, 8vw, 2.2rem); }
html.nv .bd-card .bd-help, html.nv .bd-card .bd-field, html.nv .bd-card .bd-price, html.nv .bd-card .bd-consent { text-align: left; }
html.nv .bd-card .order__fine { text-align: center; }
.bd-total b { white-space: nowrap; }
.bd-total span { flex: 1; }
/* her payment in view before she accepts her agreement: shown, not yet usable */
html.nv .nv-now.is-locked { opacity: .62; }
html.nv .nv-now.is-locked .btn:disabled { cursor: not-allowed; opacity: .55; }
html.nv .order__lines li.is-gift { color: #b9d8c4; font-style: italic; }
