/* ==========================================================================
   VivaFête design system — "quiet luxury": ivory paper, coral warmth, petrol depth, gold hairlines.
   Cormorant Garamond for display, Manrope for body. Mobile first. No framework.
   Table of contents
     1. Tokens            7. Hero & invitation mock-ups      13. Wizard / stepper, tabs
     2. Base & typography 8. Cards, grids, pricing, steps     14. Modal, drawer, toast
     3. Layout helpers    9. Forms                           15. Progress, toggle, swatches, gallery
     4. Buttons          10. Tables, badges, flashes          16. Scanner, timeline, chat
     5. Header & nav     11. Dashboard shell                  17. Skeletons, empty states, misc
     6. Dropdown menus   12. Landing sections (compare, FAQ…) 18. Motion, print, utilities
   Every class is documented in docs/BRAND.md. Modules add their own rules in css/modules/<module>.css.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --vf-ivory: #FBF7F1;
  --vf-paper: #FFFDF9;
  --vf-sand: #F1E9DD;
  --vf-ink: #1C2B33;
  --vf-ink-soft: #3C4A52;
  --vf-muted: #6F7B82;
  --vf-coral: #E8705F;
  --vf-coral-deep: #C9523F;
  --vf-coral-soft: #FBE4DE;
  --vf-gold: #C9A24D;
  --vf-gold-light: #E9D7A3;
  --vf-gold-deep: #9C7A2C;
  --vf-gold-soft: #F6EDD3;
  --vf-petrol: #0F4C5C;
  --vf-petrol-deep: #0A3540;
  --vf-petrol-soft: #D9E8EB;
  --vf-success: #2E7D5B;
  --vf-success-soft: #DDF0E6;
  --vf-warning: #C98A1B;
  --vf-warning-soft: #FBEFD5;
  --vf-danger: #B83A2B;
  --vf-danger-soft: #F8DDD9;
  --vf-whatsapp: #25D366;
  --vf-line: rgba(28, 43, 51, .08);
  --vf-line-gold: rgba(201, 162, 77, .35);
  --vf-radius: 18px;
  --vf-radius-sm: 10px;
  --vf-radius-xs: 6px;
  --vf-shadow: 0 18px 50px -24px rgba(28, 43, 51, .35);
  --vf-shadow-soft: 0 10px 30px -18px rgba(28, 43, 51, .25);
  --vf-shadow-lift: 0 28px 70px -30px rgba(28, 43, 51, .45);
  --vf-font-display: "Cormorant Garamond", "Times New Roman", serif;
  --vf-font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --vf-container: 1200px;
  --vf-gutter: 20px;
  --vf-header-h: 76px;
  --vf-ease: cubic-bezier(.2, .7, .2, 1);
  --vf-z-header: 50;
  --vf-z-menu: 60;
  --vf-z-consent: 80;
  --vf-z-drawer: 90;
  --vf-z-modal: 100;
  --vf-z-toast: 110;
  color-scheme: light;
}

/* ---------- 2. Base & typography ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--vf-font-body); font-size: 16px; line-height: 1.6; color: var(--vf-ink);
  background: var(--vf-ivory); -webkit-font-smoothing: antialiased;
}
.site-main { flex: 1 0 auto; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--vf-petrol); text-decoration: none; transition: color .2s var(--vf-ease); }
a:hover { color: var(--vf-coral-deep); }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(201, 162, 77, .55); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--vf-font-display); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--vf-ink); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
h4 { font-family: var(--vf-font-body); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; font-size: .78rem; color: var(--vf-muted); }
p { margin: 0 0 1em; }
.display { font-size: clamp(2.7rem, 6.4vw, 5.6rem); font-weight: 400; line-height: 1.02; letter-spacing: -.02em; }
.display em, h1 em, h2 em { font-style: italic; color: var(--vf-coral); font-weight: 400; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--vf-ink-soft); max-width: 60ch; }
.lead--center { margin-inline: auto; }
.eyebrow { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--vf-gold-deep); font-weight: 600; margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--vf-gold); }
.eyebrow--center::after { content: ""; width: 28px; height: 1px; background: var(--vf-gold); }
.muted { color: var(--vf-muted); }
.small { font-size: .85rem; }
.text-center { text-align: center; }
.serif { font-family: var(--vf-font-display); }
.num { font-family: var(--vf-font-display); font-weight: 600; font-variant-numeric: tabular-nums; }
.gold-rule { height: 1px; width: 72px; background: linear-gradient(90deg, transparent, var(--vf-gold), transparent); margin: 1.5rem auto; }
.ornament { display: block; margin: 1.5rem auto; max-width: 320px; opacity: .9; }
.ornament--wide { max-width: 420px; }
.ornament--confetti { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; pointer-events: none; }
.paper { background: var(--vf-paper) url("/brand/art/paper-texture.svg"); }

/* ---------- 3. Layout helpers ---------- */
.container { width: min(100% - 2 * var(--vf-gutter), var(--vf-container)); margin-inline: auto; }
.container--narrow { max-width: 760px; }
.container--wide { max-width: 1400px; }
.section { padding: clamp(56px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(32px, 5vw, 64px) 0; }
.section--flush { padding-top: 0; }
.section--center { text-align: center; }
.section--sand { background: var(--vf-sand); }
.section--paper { background: var(--vf-paper); }
.section--petrol { background: radial-gradient(1200px 500px at 80% -10%, rgba(201, 162, 77, .28), transparent 60%), var(--vf-petrol-deep); color: #F4EFE6; }
.section--petrol h1, .section--petrol h2, .section--petrol h3 { color: #FFF8EC; }
.section--petrol .lead, .section--petrol .muted { color: rgba(244, 239, 230, .78); }
.section--petrol a:not(.btn) { color: var(--vf-gold-light); }
.section--petrol .eyebrow { color: var(--vf-gold-light); }
.section--petrol .eyebrow::before, .section--petrol .eyebrow::after { background: var(--vf-gold-light); }
.section--petrol .card { background: rgba(255, 253, 249, .06); border-color: rgba(233, 215, 163, .25); color: #F4EFE6; }
.section--petrol .card h3 { color: #FFF8EC; }
.section--petrol .card p { color: rgba(244, 239, 230, .78); }
.section--petrol .stat { background: rgba(255, 253, 249, .06); border-color: rgba(233, 215, 163, .25); }
.section--petrol .stat__value { color: #FFF8EC; }
.section--petrol .stat__label { color: rgba(244, 239, 230, .65); }
.section--ink { background: var(--vf-ink); color: rgba(255, 255, 255, .85); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section__wave { position: absolute; left: 0; right: 0; top: -1px; width: 100%; height: clamp(28px, 5vw, 80px); pointer-events: none; }
.section--petrol .section__wave + .container { padding-top: clamp(16px, 4vw, 48px); }
.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 5vw, 3.5rem); text-align: center; }
.section-head .lead { margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--vf-ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: transform .25s var(--vf-ease), box-shadow .25s var(--vf-ease), background .25s var(--vf-ease), color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid rgba(201, 162, 77, .5); outline-offset: 2px; }
.btn--primary { background: linear-gradient(135deg, var(--vf-coral), var(--vf-coral-deep)); color: #fff; box-shadow: 0 12px 28px -14px rgba(201, 82, 63, .7); }
.btn--primary:hover { color: #fff; box-shadow: 0 16px 34px -14px rgba(201, 82, 63, .8); }
.btn--petrol { background: var(--vf-petrol); color: #fff; }
.btn--petrol:hover { background: var(--vf-petrol-deep); color: #fff; }
.btn--gold { background: linear-gradient(135deg, var(--vf-gold-light), var(--vf-gold)); color: var(--vf-ink); }
.btn--gold:hover { color: var(--vf-ink); }
.btn--ghost { background: transparent; border-color: rgba(28, 43, 51, .18); color: var(--vf-ink); }
.btn--ghost:hover { border-color: var(--vf-ink); color: var(--vf-ink); background: rgba(255, 255, 255, .6); }
.section--petrol .btn--ghost, .section--ink .btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.section--petrol .btn--ghost:hover, .section--ink .btn--ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.btn--link { background: none; border: 0; color: var(--vf-petrol); padding: .5rem .25rem; }
.btn--danger { background: var(--vf-danger); color: #fff; }
.btn--danger:hover { color: #fff; background: #9E2F22; }
.btn--success { background: var(--vf-success); color: #fff; }
.btn--success:hover { color: #fff; }
.btn--sm { padding: .6rem 1.1rem; font-size: .85rem; }
.btn--xs { padding: .35rem .75rem; font-size: .78rem; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--icon { padding: .6rem; width: 42px; height: 42px; border-radius: 50%; }
.btn[disabled], .btn.is-disabled { opacity: .55; pointer-events: none; }
.btn--whatsapp { background: var(--vf-whatsapp); color: #fff; }
.btn--whatsapp:hover { color: #fff; background: #1ebe5a; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn--ghost.is-loading::after { border-color: rgba(28, 43, 51, .3); border-top-color: var(--vf-ink); }
.inline-form { display: inline; }
.btn-group { display: inline-flex; border: 1px solid rgba(28, 43, 51, .14); border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .6); }
.btn-group .btn { border-radius: 0; border: 0; box-shadow: none; }
.btn-group .btn + .btn { border-left: 1px solid rgba(28, 43, 51, .1); }
.btn-group .btn.is-active { background: var(--vf-ink); color: #fff; }

/* ---------- 5. Header & navigation ---------- */
.site-header { position: sticky; top: 0; z-index: var(--vf-z-header); background: rgba(251, 247, 241, .85); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(201, 162, 77, .18); }
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: var(--vf-header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--vf-ink); flex-shrink: 0; }
.brand__mark { width: 40px; height: 40px; }
.brand__word { font-family: var(--vf-font-display); font-size: 1.65rem; font-weight: 600; letter-spacing: .01em; line-height: 1; }
.brand__word em { font-style: italic; color: var(--vf-coral); font-weight: 500; }
.site-nav { display: none; gap: 1.1rem; margin-left: .75rem; min-width: 0; }
.site-nav__link { font-size: .9rem; font-weight: 500; color: var(--vf-ink-soft); position: relative; padding: .4rem 0; white-space: nowrap; }
.site-nav__link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--vf-gold); transition: right .3s var(--vf-ease); }
.site-nav__link:hover::after, .site-nav__link.is-active::after { right: 0; }
.site-nav__link--accent { color: var(--vf-petrol); font-weight: 600; }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.site-header__cta, .site-header__auth { display: none; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; width: 40px; height: 40px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--vf-ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: flex; flex-direction: column; gap: .25rem; padding: .5rem var(--vf-gutter) 1.25rem; border-top: 1px solid rgba(201, 162, 77, .18); max-height: calc(100vh - var(--vf-header-h)); overflow-y: auto; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: .75rem .25rem; font-weight: 500; border-bottom: 1px solid rgba(28, 43, 51, .06); color: var(--vf-ink); }
.mobile-nav a.btn { margin-top: .75rem; border: 0; color: #fff; justify-content: center; }
.mobile-nav__group { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--vf-muted); margin: .75rem 0 .25rem; }
@media (min-width: 1100px) {
  .site-nav { display: flex; }
  .site-header__cta, .site-header__auth { display: inline-flex; }
  .nav-toggle, .mobile-nav { display: none !important; }
}
@media (min-width: 1280px) { .site-nav { gap: 1.5rem; margin-left: 1.25rem; } .site-nav__link { font-size: .92rem; } .site-header__actions { gap: .6rem; } }
@media (max-width: 480px) { .brand__word { font-size: 1.4rem; } .menu__label { display: none; } }

/* ---------- 6. Dropdown menus ---------- */
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu__button { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .75rem; border-radius: 999px; border: 1px solid rgba(28, 43, 51, .14); font-size: .8rem; font-weight: 600; background: rgba(255, 255, 255, .5); }
.menu__panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; max-height: 70vh; overflow: auto; background: var(--vf-paper); border: 1px solid rgba(201, 162, 77, .3); border-radius: var(--vf-radius-sm); box-shadow: var(--vf-shadow); padding: .5rem; z-index: var(--vf-z-menu); }
.menu__panel--left { right: auto; left: 0; }
.menu__title { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--vf-muted); margin: .5rem .5rem .25rem; }
.menu__item { display: block; padding: .45rem .6rem; border-radius: 8px; font-size: .9rem; color: var(--vf-ink); width: 100%; text-align: left; background: none; border: 0; cursor: pointer; }
.menu__item:hover { background: var(--vf-sand); color: var(--vf-ink); }
.menu__item.is-current { background: var(--vf-coral-soft); color: var(--vf-coral-deep); font-weight: 600; }
.menu__item--danger { color: var(--vf-danger); }
.menu__sep { height: 1px; background: var(--vf-line); margin: .35rem .25rem; }

/* ---------- 7. Hero & invitation mock-ups ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 130px) 0 clamp(48px, 8vw, 110px); }
.hero__bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(900px 480px at 85% 0%, rgba(232, 112, 95, .16), transparent 60%),
  radial-gradient(700px 400px at 5% 100%, rgba(15, 76, 92, .14), transparent 60%),
  linear-gradient(180deg, var(--vf-paper), var(--vf-ivory)); }
.hero__corner { position: absolute; width: clamp(90px, 14vw, 180px); opacity: .7; pointer-events: none; }
.hero__corner--tl { left: 0; top: 0; }
.hero__corner--br { right: 0; bottom: 0; transform: scale(-1); }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; margin-top: 2rem; color: var(--vf-muted); font-size: .85rem; }
.hero__proof strong { display: block; color: var(--vf-ink); font-family: var(--vf-font-display); font-size: 1.5rem; font-weight: 600; line-height: 1; }
.hero__art { position: relative; }
.hero__note { font-size: .8rem; color: var(--vf-muted); margin-top: 1rem; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } .hero { padding-top: clamp(72px, 10vw, 150px); } }

.invite-card { position: relative; background: linear-gradient(160deg, #FFFDF9, #F7F0E4); border-radius: 22px; padding: 2.4rem 2rem; box-shadow: var(--vf-shadow), inset 0 0 0 1px rgba(201, 162, 77, .35); text-align: center; max-width: 420px; margin-inline: auto; transform: rotate(-1.5deg); transition: transform .6s var(--vf-ease), background .8s var(--vf-ease); overflow: hidden; }
.invite-card:hover { transform: rotate(0deg) translateY(-4px); }
.invite-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(201, 162, 77, .45); border-radius: 16px; pointer-events: none; }
.invite-card__kicker { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--vf-gold-deep); }
.invite-card__names { font-family: var(--vf-font-display); font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1; margin: .75rem 0 .4rem; }
.invite-card__names em { color: var(--vf-coral); font-style: italic; }
.invite-card__date { font-size: .95rem; color: var(--vf-ink-soft); letter-spacing: .05em; }
.invite-card__countdown { display: flex; justify-content: center; gap: .75rem; margin: 1.4rem 0 1rem; }
.invite-card__countdown span { display: grid; place-items: center; min-width: 54px; padding: .5rem .4rem; border-radius: 12px; background: rgba(15, 76, 92, .06); font-family: var(--vf-font-display); font-size: 1.5rem; font-weight: 600; line-height: 1; }
.invite-card__countdown small { font-family: var(--vf-font-body); font-size: .6rem; letter-spacing: .15em; text-transform: uppercase; color: var(--vf-muted); margin-top: .3rem; }
.invite-card__qr { margin: 1rem auto 0; width: 72px; height: 72px; border-radius: 10px; background: repeating-linear-gradient(90deg, var(--vf-ink) 0 4px, transparent 4px 8px), repeating-linear-gradient(0deg, var(--vf-ink) 0 4px, transparent 4px 8px); background-blend-mode: multiply; opacity: .85; mask: radial-gradient(circle at center, #000 60%, transparent 61%); }
.invite-card__ornament { width: 150px; margin: .25rem auto 0; opacity: .9; }
.invite-card__corner { position: absolute; width: 70px; opacity: .8; pointer-events: none; }
.invite-card__corner--tl { left: 8px; top: 8px; }
.invite-card__corner--br { right: 8px; bottom: 8px; transform: scale(-1); }
/* Rotating variants (set by data-mock-theme) */
.invite-card[data-theme="xv"] { background: linear-gradient(160deg, #FFF8F4, #FBE4DE); }
.invite-card[data-theme="xv"] .invite-card__names em { color: var(--vf-coral-deep); }
.invite-card[data-theme="birthday"] { background: linear-gradient(160deg, #F4FAFB, #D9E8EB); }
.invite-card[data-theme="birthday"] .invite-card__names em { color: var(--vf-petrol); }
.invite-card[data-theme="birthday"] .invite-card__kicker { color: var(--vf-petrol); }
.invite-card.is-switching { animation: cardSwap .7s var(--vf-ease); }
@keyframes cardSwap { 0% { opacity: .4; transform: rotate(-1.5deg) translateY(10px); } 100% { opacity: 1; transform: rotate(-1.5deg) translateY(0); } }
.mock-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.25rem; }
.mock-dots button { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--vf-gold); background: transparent; padding: 0; cursor: pointer; transition: background .3s, transform .3s; }
.mock-dots button.is-active { background: var(--vf-gold); transform: scale(1.2); }
.float-badge { position: absolute; background: var(--vf-paper); border-radius: 14px; padding: .6rem .85rem; box-shadow: var(--vf-shadow-soft); border: 1px solid rgba(201, 162, 77, .3); font-size: .8rem; display: flex; gap: .5rem; align-items: center; animation: float 6s ease-in-out infinite; }
.float-badge strong { display: block; font-size: .95rem; }
.float-badge--1 { top: 8%; left: -4%; }
.float-badge--2 { bottom: 14%; right: -3%; animation-delay: -3s; }
@media (max-width: 480px) { .float-badge--1 { left: 0; top: -6px; } .float-badge--2 { right: 0; bottom: -6px; } }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dot--green { background: var(--vf-success); } .dot--yellow { background: var(--vf-warning); } .dot--red { background: var(--vf-danger); } .dot--gold { background: var(--vf-gold); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- 8. Cards, grids, pricing, steps ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--tight { gap: 1rem; }
.card { background: var(--vf-paper); border-radius: var(--vf-radius); padding: 1.75rem; border: 1px solid var(--vf-line); box-shadow: var(--vf-shadow-soft); transition: transform .35s var(--vf-ease), box-shadow .35s var(--vf-ease), border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--vf-shadow); border-color: rgba(201, 162, 77, .4); }
.card--static, .card--static:hover { transform: none; box-shadow: var(--vf-shadow-soft); border-color: var(--vf-line); }
.card__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--vf-coral-soft); color: var(--vf-coral-deep); margin-bottom: 1rem; font-size: 1.3rem; }
.card__icon--petrol { background: var(--vf-petrol-soft); color: var(--vf-petrol); }
.card__icon--gold { background: var(--vf-gold-soft); color: var(--vf-gold-deep); }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.card__foot { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--vf-line); display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--vf-ink-soft); margin: 0; }
.card--link { display: block; color: inherit; }
.card--flat { box-shadow: none; }
.card--gold { border-color: var(--vf-line-gold); background: linear-gradient(180deg, #FFFDF9, #FBF4E6); }
.card--petrol { background: var(--vf-petrol-deep); color: #F4EFE6; border-color: rgba(233, 215, 163, .25); }
.card--petrol h3 { color: #FFF8EC; } .card--petrol p { color: rgba(244, 239, 230, .78); }
.card--sm { padding: 1.1rem 1.25rem; border-radius: var(--vf-radius-sm); }

.plans { display: grid; gap: 1.5rem; align-items: stretch; }
@media (min-width: 880px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--vf-paper); border-radius: var(--vf-radius); padding: 2rem 1.75rem; border: 1px solid rgba(28, 43, 51, .08); box-shadow: var(--vf-shadow-soft); }
.plan--featured { border-color: var(--vf-gold); box-shadow: var(--vf-shadow); background: linear-gradient(180deg, #FFFDF9, #FBF4E6); }
@media (min-width: 880px) { .plan--featured { transform: translateY(-10px); } }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--vf-gold-light), var(--vf-gold)); color: var(--vf-ink); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; padding: .35rem .9rem; border-radius: 999px; white-space: nowrap; }
.plan__name { font-family: var(--vf-font-display); font-size: 1.7rem; font-weight: 600; }
.plan__for { font-size: .82rem; color: var(--vf-muted); margin-top: -.25rem; }
.plan__price { font-family: var(--vf-font-display); font-size: 3rem; line-height: 1; margin: .5rem 0 .25rem; }
.plan__price small { font-family: var(--vf-font-body); font-size: .8rem; color: var(--vf-muted); margin-left: .25rem; }
.plan__tax { font-size: .75rem; color: var(--vf-muted); margin-bottom: 1.25rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; font-size: .92rem; color: var(--vf-ink-soft); }
.plan li { display: flex; gap: .6rem; align-items: flex-start; }
.plan li::before { content: "✦"; color: var(--vf-gold); font-size: .75rem; margin-top: .3rem; }
.plan .btn { margin-top: auto; }
.compare { font-size: .8rem; color: var(--vf-muted); text-align: center; margin-top: 1.5rem; }

.steps { counter-reset: step; display: grid; gap: 1.5rem; }
@media (min-width: 880px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps--vertical { grid-template-columns: 1fr !important; }
.step { position: relative; padding-top: 3.2rem; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; font-family: var(--vf-font-display); font-size: 2.4rem; color: var(--vf-gold); line-height: 1; }
.step h3 { font-size: 1.25rem; }

/* ---------- 9. Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } .form__row--3 { grid-template-columns: repeat(3, 1fr); } }
.form__actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: flex-end; margin-top: .5rem; }
.form__section { padding-top: 1rem; border-top: 1px solid var(--vf-line); }
.form__section > h3 { font-size: 1.2rem; }
.field { display: grid; gap: .35rem; }
.field label, .field__label { font-size: .82rem; font-weight: 600; color: var(--vf-ink-soft); letter-spacing: .02em; }
.field input, .field select, .field textarea, .input {
  width: 100%; padding: .8rem .95rem; border-radius: 12px; border: 1px solid rgba(28, 43, 51, .16); background: #fff; font: inherit; color: var(--vf-ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--vf-petrol); box-shadow: 0 0 0 4px rgba(15, 76, 92, .12); }
.field input[type="checkbox"], .field input[type="radio"] { width: auto; }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint, .hint { font-size: .78rem; color: var(--vf-muted); }
.field--inline { grid-template-columns: auto 1fr; align-items: center; }
.field-validation-error, .validation-summary-errors { color: var(--vf-danger); font-size: .82rem; }
.validation-summary-errors ul { margin: 0; padding-left: 1.1rem; }
.input-validation-error { border-color: var(--vf-danger) !important; }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; }
.checkbox input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--vf-petrol); }
.input-group { display: flex; align-items: stretch; }
.input-group .input, .input-group input { border-radius: 12px 0 0 12px; }
.input-group .btn { border-radius: 0 12px 12px 0; }
.input-addon { display: inline-flex; align-items: center; padding: 0 .9rem; border: 1px solid rgba(28, 43, 51, .16); border-left: 0; border-radius: 0 12px 12px 0; background: var(--vf-sand); font-size: .85rem; color: var(--vf-muted); }
.choice-grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.choice { position: relative; display: grid; gap: .25rem; padding: 1rem; border: 1px solid rgba(28, 43, 51, .14); border-radius: var(--vf-radius-sm); background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice strong { font-size: .95rem; }
.choice span { font-size: .8rem; color: var(--vf-muted); }
.choice:has(input:checked) { border-color: var(--vf-coral); box-shadow: 0 0 0 3px rgba(232, 112, 95, .18); }
.choice:has(input:focus-visible) { outline: 3px solid rgba(201, 162, 77, .5); }

/* ---------- 10. Tables, badges, flashes ---------- */
.table { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--vf-paper); border-radius: var(--vf-radius-sm); overflow: hidden; }
.table th, .table td { padding: .8rem .9rem; text-align: left; border-bottom: 1px solid rgba(28, 43, 51, .07); vertical-align: top; }
.table th { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--vf-muted); background: var(--vf-sand); }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: rgba(241, 233, 221, .35); }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table--responsive { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table--compact th, .table--compact td { padding: .5rem .7rem; }
.table-wrap { overflow-x: auto; border-radius: var(--vf-radius-sm); border: 1px solid var(--vf-line); }
.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--vf-sand); color: var(--vf-ink-soft); white-space: nowrap; }
.badge--gold { background: var(--vf-gold-soft); color: var(--vf-gold-deep); }
.badge--coral { background: var(--vf-coral-soft); color: var(--vf-coral-deep); }
.badge--petrol { background: var(--vf-petrol-soft); color: var(--vf-petrol); }
.badge--success { background: var(--vf-success-soft); color: var(--vf-success); }
.badge--warning { background: var(--vf-warning-soft); color: #8A5E0C; }
.badge--danger { background: var(--vf-danger-soft); color: var(--vf-danger); }
.badge--sponsored { background: #FFF4E5; color: #8A5E0C; border: 1px dashed var(--vf-gold); }
.badge--outline { background: transparent; border: 1px solid currentColor; }
.flash { padding: .9rem 1.1rem; border-radius: 12px; margin: 1rem 0; font-size: .92rem; background: var(--vf-petrol-soft); color: var(--vf-petrol-deep); display: flex; gap: .75rem; align-items: flex-start; }
.flash--success { background: var(--vf-success-soft); color: var(--vf-success); }
.flash--warning { background: var(--vf-warning-soft); color: #8A5E0C; }
.flash--danger { background: var(--vf-danger-soft); color: var(--vf-danger); }
.flash__close { margin-left: auto; background: none; border: 0; cursor: pointer; color: inherit; opacity: .6; font-size: 1.1rem; line-height: 1; }
.flash__close:hover { opacity: 1; }
.notice { padding: 1rem 1.25rem; border-left: 3px solid var(--vf-gold); background: var(--vf-gold-soft); border-radius: 0 var(--vf-radius-sm) var(--vf-radius-sm) 0; font-size: .9rem; }
.notice--petrol { border-color: var(--vf-petrol); background: var(--vf-petrol-soft); }
.notice--danger { border-color: var(--vf-danger); background: var(--vf-danger-soft); }

/* ---------- 11. Dashboard shell ---------- */
.dash { display: grid; gap: 1.5rem; }
@media (min-width: 1000px) { .dash { grid-template-columns: 240px 1fr; } }
.dash__nav { display: flex; gap: .25rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; }
@media (min-width: 1000px) { .dash__nav { flex-direction: column; overflow: visible; position: sticky; top: calc(var(--vf-header-h) + 16px); align-self: start; } }
.dash__nav a { padding: .6rem .85rem; border-radius: 10px; font-size: .9rem; font-weight: 500; color: var(--vf-ink-soft); white-space: nowrap; }
.dash__nav a:hover, .dash__nav a.is-active { background: var(--vf-paper); color: var(--vf-ink); box-shadow: var(--vf-shadow-soft); }
.dash__nav a.is-active { border-left: 2px solid var(--vf-coral); }
.dash__main { min-width: 0; display: grid; gap: 1.5rem; align-content: start; }
.stat { background: var(--vf-paper); border-radius: var(--vf-radius-sm); padding: 1.1rem 1.25rem; border: 1px solid var(--vf-line); }
.stat__label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--vf-muted); }
.stat__value { font-family: var(--vf-font-display); font-size: 2rem; font-weight: 600; line-height: 1.1; }
.stat__delta { font-size: .78rem; color: var(--vf-success); }
.stat__delta--down { color: var(--vf-danger); }
.stat--coral { border-top: 3px solid var(--vf-coral); } .stat--petrol { border-top: 3px solid var(--vf-petrol); } .stat--gold { border-top: 3px solid var(--vf-gold); }
.page-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.page-head h1 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin: 0; }
.page-head__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .8rem; color: var(--vf-muted); margin-bottom: .75rem; }
.breadcrumb a { color: var(--vf-muted); }
.breadcrumb li { list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.toolbar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; padding: .75rem 1rem; background: var(--vf-paper); border: 1px solid var(--vf-line); border-radius: var(--vf-radius-sm); }
.toolbar .field { gap: 0; }
.toolbar input, .toolbar select { padding: .5rem .75rem; }
.list { display: grid; gap: .75rem; }
.list__item { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.25rem; background: var(--vf-paper); border: 1px solid var(--vf-line); border-radius: var(--vf-radius-sm); }
.list__item > :last-child { margin-left: auto; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--vf-petrol-soft); color: var(--vf-petrol); font-weight: 700; font-size: .9rem; flex-shrink: 0; overflow: hidden; }
.avatar--lg { width: 64px; height: 64px; font-size: 1.3rem; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 12. Landing sections ---------- */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; padding: 1.25rem 0; border-top: 1px solid var(--vf-line-gold); border-bottom: 1px solid var(--vf-line-gold); font-size: .82rem; color: var(--vf-muted); }
.trust__item { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; }
.trust__item svg { width: 18px; height: 18px; color: var(--vf-petrol); }
.trust__item strong { color: var(--vf-ink); font-weight: 600; }

.compare-block { display: grid; gap: 1.5rem; align-items: stretch; }
@media (min-width: 880px) { .compare-block { grid-template-columns: 1fr 1fr; } }
.compare-card { position: relative; padding: 2rem; border-radius: var(--vf-radius); background: var(--vf-paper); border: 1px solid var(--vf-line); display: flex; flex-direction: column; gap: .5rem; }
.compare-card--them { color: var(--vf-muted); }
.compare-card--us { border-color: var(--vf-gold); box-shadow: var(--vf-shadow); background: linear-gradient(180deg, #FFFDF9, #FBF4E6); }
.compare-card__label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
.compare-card__price { font-family: var(--vf-font-display); font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; margin: .5rem 0; }
.compare-card--them .compare-card__price { color: var(--vf-ink-soft); text-decoration: line-through; text-decoration-color: var(--vf-coral); text-decoration-thickness: 2px; }
.compare-card--us .compare-card__price { color: var(--vf-ink); }
.compare-card ul { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .4rem; font-size: .9rem; }
.compare-card--us li::before { content: "✦ "; color: var(--vf-gold); }
.compare-card--them li::before { content: "— "; }
.compare-card__source { font-size: .72rem; color: var(--vf-muted); margin-top: auto; padding-top: 1rem; }
.compare-vs { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--vf-ink); color: #fff; font-family: var(--vf-font-display); font-style: italic; font-size: 1.2rem; margin: -1.5rem auto; position: relative; z-index: 1; }
@media (min-width: 880px) { .compare-vs { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; } .compare-block { position: relative; } }
.saving { display: inline-flex; align-items: baseline; gap: .5rem; padding: .5rem 1rem; border-radius: 999px; background: var(--vf-success-soft); color: var(--vf-success); font-weight: 700; font-size: .95rem; }
.saving strong { font-family: var(--vf-font-display); font-size: 1.5rem; }

.numbers { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); text-align: center; }
.numbers__item strong { display: block; font-family: var(--vf-font-display); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 500; line-height: 1; color: var(--vf-ink); }
.numbers__item span { font-size: .82rem; color: var(--vf-muted); display: block; margin-top: .4rem; }
.first-block { position: relative; overflow: hidden; padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--vf-radius); background: var(--vf-paper); border: 1px solid var(--vf-line-gold); text-align: center; }
.first-block > * { position: relative; }

.faq { display: grid; gap: .5rem; max-width: 820px; margin-inline: auto; }
.faq__item { background: var(--vf-paper); border: 1px solid var(--vf-line); border-radius: var(--vf-radius-sm); padding: 0 1.25rem; }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.1rem 0; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--vf-font-display); font-size: 1.6rem; color: var(--vf-gold); line-height: 1; transition: transform .3s var(--vf-ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 1.1rem; color: var(--vf-ink-soft); margin: 0; font-size: .95rem; }

.feature-row { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .feature-row { grid-template-columns: 1fr 1fr; } .feature-row--flip > :first-child { order: 2; } }
.feature-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .75rem; }
.feature-list li { display: flex; gap: .75rem; align-items: flex-start; }
.feature-list li::before { content: "✦"; color: var(--vf-gold); margin-top: .15rem; }
.cta-band { text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3rem); border-radius: var(--vf-radius); background: linear-gradient(135deg, #FFFDF9, #FBF4E6); border: 1px solid var(--vf-line-gold); position: relative; overflow: hidden; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band__corner { position: absolute; width: 120px; opacity: .6; }
.cta-band__corner--tl { left: 0; top: 0; } .cta-band__corner--br { right: 0; bottom: 0; transform: scale(-1); }

/* ---------- 13. Wizard / stepper, tabs ---------- */
.wizard { display: flex; align-items: flex-start; gap: 0; margin-bottom: 2rem; counter-reset: wiz; overflow-x: auto; padding-bottom: .25rem; }
.wizard__step { flex: 1 1 0; min-width: 96px; position: relative; text-align: center; font-size: .78rem; color: var(--vf-muted); padding-top: 2.4rem; }
.wizard__step::before { counter-increment: wiz; content: counter(wiz); position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .78rem; background: var(--vf-paper); border: 1px solid rgba(28, 43, 51, .2); color: var(--vf-muted); z-index: 1; transition: background .3s, color .3s, border-color .3s; }
.wizard__step::after { content: ""; position: absolute; top: 15px; left: 50%; width: 100%; height: 1px; background: rgba(28, 43, 51, .14); }
.wizard__step:last-child::after { display: none; }
.wizard__step.is-done::before { background: var(--vf-success); border-color: var(--vf-success); color: #fff; content: "✓"; }
.wizard__step.is-done::after { background: var(--vf-success); }
.wizard__step.is-active { color: var(--vf-ink); font-weight: 600; }
.wizard__step.is-active::before { background: var(--vf-coral); border-color: var(--vf-coral); color: #fff; box-shadow: 0 0 0 4px rgba(232, 112, 95, .2); }
.wizard__step a { color: inherit; }
.wizard--vertical { flex-direction: column; gap: .5rem; }
.wizard--vertical .wizard__step { text-align: left; padding: .25rem 0 .25rem 2.6rem; min-width: 0; }
.wizard--vertical .wizard__step::before { left: 0; transform: none; }
.wizard--vertical .wizard__step::after { left: 15px; top: 30px; width: 1px; height: calc(100% - 20px); }
.wizard-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--vf-line); }

.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--vf-line-gold); overflow-x: auto; scrollbar-width: none; margin-bottom: 1.5rem; }
.tabs::-webkit-scrollbar { display: none; }
.tabs__tab { position: relative; padding: .8rem 1rem; font-size: .9rem; font-weight: 500; color: var(--vf-muted); background: none; border: 0; cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.tabs__tab:hover { color: var(--vf-ink); }
.tabs__tab.is-active, .tabs__tab[aria-selected="true"] { color: var(--vf-ink); border-bottom-color: var(--vf-coral); font-weight: 600; }
.tabs__tab .badge { margin-left: .4rem; }
.tabs--pills { border: 0; gap: .4rem; }
.tabs--pills .tabs__tab { border: 1px solid rgba(28, 43, 51, .14); border-radius: 999px; padding: .5rem 1rem; margin: 0; }
.tabs--pills .tabs__tab.is-active, .tabs--pills .tabs__tab[aria-selected="true"] { background: var(--vf-ink); color: #fff; border-color: var(--vf-ink); }
.tab-panel[hidden] { display: none; }

/* ---------- 14. Modal, drawer, toast ---------- */
.modal { position: fixed; inset: 0; z-index: var(--vf-z-modal); display: none; align-items: center; justify-content: center; padding: 1rem; background: rgba(28, 43, 51, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal.is-open { display: flex; }
.modal__dialog { width: 100%; max-width: 520px; max-height: calc(100vh - 2rem); overflow: auto; background: var(--vf-paper); border-radius: var(--vf-radius); border: 1px solid var(--vf-line-gold); box-shadow: var(--vf-shadow-lift); padding: 1.75rem; animation: modalIn .35s var(--vf-ease); }
.modal__dialog--lg { max-width: 820px; }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.modal__head h3 { margin: 0; }
.modal__close { background: none; border: 0; cursor: pointer; font-size: 1.4rem; line-height: 1; color: var(--vf-muted); padding: .25rem; }
.modal__close:hover { color: var(--vf-ink); }
.modal__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; margin-top: 1.5rem; }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.drawer { position: fixed; inset: 0; z-index: var(--vf-z-drawer); display: none; background: rgba(28, 43, 51, .45); }
.drawer.is-open { display: block; }
.drawer__panel { position: absolute; top: 0; bottom: 0; right: 0; width: min(100%, 420px); background: var(--vf-paper); box-shadow: var(--vf-shadow-lift); padding: 1.5rem; overflow: auto; animation: drawerIn .35s var(--vf-ease); display: flex; flex-direction: column; gap: 1rem; }
.drawer__panel--left { right: auto; left: 0; animation-name: drawerInLeft; }
.drawer__panel--bottom { top: auto; left: 0; right: 0; width: 100%; max-height: 85vh; border-radius: var(--vf-radius) var(--vf-radius) 0 0; animation-name: drawerInBottom; }
@keyframes drawerIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes drawerInLeft { from { transform: translateX(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes drawerInBottom { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
body.has-overlay { overflow: hidden; }
.toasts { position: fixed; right: 16px; bottom: 16px; left: 16px; z-index: var(--vf-z-toast); display: grid; gap: .5rem; pointer-events: none; }
@media (min-width: 640px) { .toasts { left: auto; width: 360px; } }
.toast { pointer-events: auto; display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1.1rem; border-radius: 12px; background: var(--vf-ink); color: #fff; font-size: .9rem; box-shadow: var(--vf-shadow-lift); border-left: 3px solid var(--vf-gold); animation: toastIn .35s var(--vf-ease); }
.toast--success { border-left-color: var(--vf-success); } .toast--warning { border-left-color: var(--vf-warning); } .toast--danger { border-left-color: var(--vf-danger); }
.toast__close { margin-left: auto; background: none; border: 0; color: rgba(255, 255, 255, .7); cursor: pointer; font-size: 1.1rem; line-height: 1; }
.toast.is-leaving { animation: toastOut .3s var(--vf-ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(12px); } }

/* ---------- 15. Progress, toggle, swatches, gallery ---------- */
.progress { height: 8px; border-radius: 999px; background: rgba(28, 43, 51, .1); overflow: hidden; }
.progress__bar { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--vf-coral), var(--vf-coral-deep)); transition: width .6s var(--vf-ease); }
.progress--petrol .progress__bar { background: var(--vf-petrol); }
.progress--gold .progress__bar { background: linear-gradient(90deg, var(--vf-gold-light), var(--vf-gold)); }
.progress--success .progress__bar { background: var(--vf-success); }
.progress--lg { height: 14px; }
.progress-label { display: flex; justify-content: space-between; font-size: .8rem; color: var(--vf-muted); margin-bottom: .35rem; }
.meter { display: grid; gap: .25rem; }
.ring { --ring-value: 0; --ring-size: 72px; width: var(--ring-size); height: var(--ring-size); border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--vf-coral) calc(var(--ring-value) * 1%), rgba(28, 43, 51, .1) 0); font-family: var(--vf-font-display); font-weight: 600; font-size: 1.1rem; }
.ring::before { content: ""; position: absolute; width: calc(var(--ring-size) - 14px); height: calc(var(--ring-size) - 14px); border-radius: 50%; background: var(--vf-paper); }
.ring { position: relative; } .ring > * { position: relative; }

.toggle { position: relative; display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; font-size: .9rem; }
.toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle__track { width: 44px; height: 26px; border-radius: 999px; background: rgba(28, 43, 51, .2); position: relative; transition: background .25s; flex-shrink: 0; }
.toggle__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .25s var(--vf-ease); }
.toggle input:checked + .toggle__track { background: var(--vf-success); }
.toggle input:checked + .toggle__track::after { transform: translateX(18px); }
.toggle input:focus-visible + .toggle__track { outline: 3px solid rgba(201, 162, 77, .5); outline-offset: 2px; }
.toggle input:disabled + .toggle__track { opacity: .5; }

.swatches { display: flex; flex-wrap: wrap; gap: .6rem; }
.swatch { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(28, 43, 51, .18); cursor: pointer; transition: transform .2s var(--vf-ease), box-shadow .2s; background: var(--swatch, var(--vf-sand)); display: block; padding: 0; }
.swatch:hover { transform: scale(1.1); }
.swatch.is-active, .swatch:has(input:checked) { box-shadow: 0 0 0 2px var(--vf-ink); }
.swatch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.swatch--lg { width: 48px; height: 48px; }
.palette { display: inline-grid; grid-auto-flow: column; height: 34px; border-radius: 999px; overflow: hidden; box-shadow: 0 0 0 1px rgba(28, 43, 51, .18); }
.palette span { width: 24px; }
.palette-option { display: grid; gap: .4rem; justify-items: center; font-size: .75rem; color: var(--vf-muted); cursor: pointer; padding: .5rem; border-radius: var(--vf-radius-sm); border: 1px solid transparent; }
.palette-option:has(input:checked), .palette-option.is-active { border-color: var(--vf-gold); background: var(--vf-paper); }
.palette-option input { position: absolute; opacity: 0; }

.gallery { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.gallery--lg { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gallery__item { position: relative; display: block; border-radius: var(--vf-radius-sm); overflow: hidden; background: var(--vf-paper); border: 1px solid var(--vf-line); box-shadow: var(--vf-shadow-soft); color: inherit; transition: transform .35s var(--vf-ease), box-shadow .35s var(--vf-ease), border-color .3s; }
.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--vf-shadow); border-color: var(--vf-line-gold); color: inherit; }
.gallery__item.is-selected { border-color: var(--vf-coral); box-shadow: 0 0 0 3px rgba(232, 112, 95, .25); }
.gallery__thumb { aspect-ratio: 3 / 4; background: var(--vf-sand); display: grid; place-items: center; overflow: hidden; }
.gallery__thumb--wide { aspect-ratio: 4 / 3; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--vf-ease); }
.gallery__item:hover .gallery__thumb img { transform: scale(1.04); }
.gallery__body { padding: .8rem .95rem; }
.gallery__title { font-family: var(--vf-font-display); font-size: 1.15rem; font-weight: 600; line-height: 1.2; }
.gallery__meta { font-size: .75rem; color: var(--vf-muted); display: flex; justify-content: space-between; gap: .5rem; margin-top: .2rem; }
.gallery__badge { position: absolute; top: .6rem; left: .6rem; }
.gallery__actions { position: absolute; inset: auto 0 0; padding: .75rem; display: flex; gap: .4rem; justify-content: center; background: linear-gradient(0deg, rgba(28, 43, 51, .55), transparent); opacity: 0; transition: opacity .3s; }
.gallery__item:hover .gallery__actions, .gallery__item:focus-within .gallery__actions { opacity: 1; }
.filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.25rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .85rem; border-radius: 999px; border: 1px solid rgba(28, 43, 51, .14); background: rgba(255, 255, 255, .6); font-size: .82rem; font-weight: 500; color: var(--vf-ink-soft); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--vf-ink); color: var(--vf-ink); }
.chip.is-active { background: var(--vf-ink); color: #fff; border-color: var(--vf-ink); }
.chip__remove { background: none; border: 0; color: inherit; cursor: pointer; opacity: .6; padding: 0; line-height: 1; }

/* ---------- 16. Scanner, timeline, chat ---------- */
.scanner { position: relative; max-width: 480px; margin-inline: auto; border-radius: var(--vf-radius); overflow: hidden; background: var(--vf-ink); aspect-ratio: 1; }
.scanner video, .scanner canvas { width: 100%; height: 100%; object-fit: cover; }
.scanner__frame { position: absolute; inset: 14%; border: 2px solid rgba(255, 255, 255, .6); border-radius: 16px; pointer-events: none; mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); }
.scanner__frame::before, .scanner__frame::after { content: ""; position: absolute; inset: -2px; border: 3px solid var(--vf-gold); border-radius: 16px; }
.scanner__frame::before { clip-path: polygon(0 0, 24px 0, 24px 3px, 3px 3px, 3px 24px, 0 24px, 0 100%, 24px 100%, 24px calc(100% - 3px), 3px calc(100% - 3px), 3px calc(100% - 24px), 0 calc(100% - 24px)); }
.scanner__frame::after { clip-path: polygon(100% 0, calc(100% - 24px) 0, calc(100% - 24px) 3px, calc(100% - 3px) 3px, calc(100% - 3px) 24px, 100% 24px, 100% 100%, calc(100% - 24px) 100%, calc(100% - 24px) calc(100% - 3px), calc(100% - 3px) calc(100% - 3px), calc(100% - 3px) calc(100% - 24px), 100% calc(100% - 24px)); }
.scanner__line { position: absolute; left: 14%; right: 14%; height: 2px; background: linear-gradient(90deg, transparent, var(--vf-coral), transparent); animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 16%; } 50% { top: 82%; } }
.scan-result { border-radius: var(--vf-radius); padding: 1.5rem; text-align: center; color: #fff; display: grid; gap: .35rem; box-shadow: var(--vf-shadow); animation: modalIn .3s var(--vf-ease); }
.scan-result__status { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; opacity: .85; }
.scan-result__name { font-family: var(--vf-font-display); font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 600; line-height: 1.05; }
.scan-result__detail { font-size: .95rem; opacity: .9; }
.scan-result__seats { display: flex; justify-content: center; gap: .5rem; margin-top: .75rem; }
.scan-result__seats button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); background: transparent; color: #fff; font-weight: 700; cursor: pointer; }
.scan-result__seats button.is-active { background: #fff; color: var(--vf-ink); }
.scan-result__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1rem; }
.scan-result .btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.scan-result--green { background: linear-gradient(160deg, #35905F, var(--vf-success)); }
.scan-result--yellow { background: linear-gradient(160deg, #D9A032, var(--vf-warning)); color: #2B1E05; }
.scan-result--yellow .scan-result__seats button { border-color: rgba(43, 30, 5, .6); color: #2B1E05; }
.scan-result--yellow .btn--ghost { border-color: rgba(43, 30, 5, .5); color: #2B1E05; }
.scan-result--red { background: linear-gradient(160deg, #CC4B3A, var(--vf-danger)); }
.scan-result--idle { background: var(--vf-paper); color: var(--vf-muted); box-shadow: none; border: 1px dashed rgba(28, 43, 51, .2); }

.timeline { list-style: none; margin: 0; padding: 0 0 0 1.6rem; position: relative; display: grid; gap: 1.25rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 1px; background: var(--vf-line-gold); }
.timeline__item { position: relative; }
.timeline__item::before { content: ""; position: absolute; left: calc(-1.6rem + 2px); top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--vf-paper); border: 2px solid var(--vf-gold); }
.timeline__item--done::before { background: var(--vf-success); border-color: var(--vf-success); }
.timeline__item--active::before { background: var(--vf-coral); border-color: var(--vf-coral); box-shadow: 0 0 0 4px rgba(232, 112, 95, .2); }
.timeline__item--danger::before { background: var(--vf-danger); border-color: var(--vf-danger); }
.timeline__time { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--vf-muted); }
.timeline__title { font-weight: 600; }
.timeline__body { font-size: .9rem; color: var(--vf-ink-soft); }

.chat { display: grid; gap: .75rem; padding: 1rem; background: var(--vf-sand); border-radius: var(--vf-radius); max-height: 60vh; overflow-y: auto; }
.bubble { max-width: 85%; padding: .8rem 1rem; border-radius: 16px; font-size: .95rem; line-height: 1.5; background: var(--vf-paper); border: 1px solid var(--vf-line); border-bottom-left-radius: 4px; box-shadow: var(--vf-shadow-soft); }
.bubble--me { margin-left: auto; background: var(--vf-petrol); color: #fff; border-color: transparent; border-bottom-left-radius: 16px; border-bottom-right-radius: 4px; }
.bubble--assistant { border-left: 3px solid var(--vf-gold); }
.bubble__meta { display: block; font-size: .7rem; opacity: .65; margin-top: .3rem; }
.bubble p:last-child { margin-bottom: 0; }
.bubble--typing span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--vf-muted); margin-right: 3px; animation: typing 1.2s infinite; }
.bubble--typing span:nth-child(2) { animation-delay: .2s; } .bubble--typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-input { display: flex; gap: .5rem; margin-top: .75rem; }
.chat-input .input { flex: 1; border-radius: 999px; }
.chat-input .btn { border-radius: 999px; }
.suggestions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }

/* QR pass (guest ticket) */
.pass { max-width: 380px; margin-inline: auto; background: var(--vf-paper); border-radius: var(--vf-radius); border: 1px solid var(--vf-line-gold); box-shadow: var(--vf-shadow); overflow: hidden; text-align: center; }
.pass__head { padding: 1.5rem 1.5rem 1rem; background: linear-gradient(160deg, #FFFDF9, #F7F0E4); }
.pass__event { font-family: var(--vf-font-display); font-size: 1.7rem; font-weight: 600; line-height: 1.1; }
.pass__guest { font-size: 1.05rem; font-weight: 600; margin-top: .5rem; }
.pass__qr { padding: 1rem; display: grid; place-items: center; }
.pass__qr img, .pass__qr svg { width: 220px; height: 220px; }
.pass__meta { padding: 0 1.5rem 1.5rem; font-size: .85rem; color: var(--vf-muted); display: grid; gap: .25rem; }
.pass__tear { height: 0; border-top: 2px dashed var(--vf-line-gold); margin: 0 1rem; position: relative; }
.pass__tear::before, .pass__tear::after { content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--vf-ivory); }
.pass__tear::before { left: -26px; } .pass__tear::after { right: -26px; }

/* ---------- 17. Skeletons, empty states, misc ---------- */
.skeleton { position: relative; overflow: hidden; background: rgba(28, 43, 51, .08); border-radius: var(--vf-radius-xs); color: transparent !important; pointer-events: none; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); animation: shimmer 1.4s infinite; }
.skeleton--text { height: .9em; margin: .25em 0; width: 100%; }
.skeleton--text.w-50 { width: 50%; } .skeleton--text.w-75 { width: 75%; } .skeleton--text.w-25 { width: 25%; }
.skeleton--title { height: 1.6em; width: 60%; margin-bottom: .75rem; }
.skeleton--circle { border-radius: 50%; width: 40px; height: 40px; }
.skeleton--card { height: 180px; border-radius: var(--vf-radius); }
.skeleton--thumb { aspect-ratio: 3 / 4; border-radius: var(--vf-radius-sm); }
@keyframes shimmer { to { transform: translateX(100%); } }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(28, 43, 51, .15); border-top-color: var(--vf-coral); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; padding: clamp(2rem, 6vw, 4rem) 1.5rem; border: 1px dashed rgba(201, 162, 77, .5); border-radius: var(--vf-radius); background: var(--vf-paper); display: grid; gap: .5rem; justify-items: center; }
.empty__icon { font-size: 2.2rem; line-height: 1; }
.empty h3 { margin: .25rem 0 0; font-size: 1.4rem; }
.empty p { color: var(--vf-muted); max-width: 44ch; margin: 0; }
.empty .btn { margin-top: .75rem; }
.kbd { font-family: ui-monospace, Menlo, monospace; font-size: .8rem; padding: .1rem .4rem; border-radius: 6px; border: 1px solid rgba(28, 43, 51, .2); background: #fff; }
.tooltip { position: relative; }
.tooltip::after { content: attr(data-tooltip); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); background: var(--vf-ink); color: #fff; padding: .35rem .6rem; border-radius: 6px; font-size: .75rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.tooltip:hover::after, .tooltip:focus-visible::after { opacity: 1; }
.price-tag { display: inline-flex; align-items: baseline; gap: .25rem; font-family: var(--vf-font-display); font-size: 1.6rem; font-weight: 600; }
.price-tag small { font-family: var(--vf-font-body); font-size: .72rem; color: var(--vf-muted); font-weight: 500; }
.price-tag--strike { text-decoration: line-through; color: var(--vf-muted); font-size: 1.1rem; font-weight: 400; }
.rating { display: inline-flex; gap: 2px; color: var(--vf-gold); font-size: .95rem; letter-spacing: .05em; }
.rating__count { color: var(--vf-muted); font-size: .8rem; margin-left: .35rem; font-family: var(--vf-font-body); }
.divider { height: 1px; background: var(--vf-line); margin: 1.5rem 0; }
.divider--gold { background: linear-gradient(90deg, transparent, var(--vf-gold), transparent); }
.qr-box { display: inline-grid; place-items: center; padding: .75rem; background: #fff; border-radius: var(--vf-radius-sm); border: 1px solid var(--vf-line-gold); }
.sticky-bar { position: sticky; bottom: 0; z-index: 40; background: rgba(251, 247, 241, .92); backdrop-filter: blur(10px); border-top: 1px solid var(--vf-line-gold); padding: .75rem var(--vf-gutter); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.sticky-bar__total { font-family: var(--vf-font-display); font-size: 1.4rem; font-weight: 600; }

/* ---------- Footer, consent ---------- */
.site-footer { background: var(--vf-ink); color: rgba(255, 255, 255, .78); padding: clamp(40px, 6vw, 72px) 0 32px; margin-top: auto; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--vf-gold), transparent); }
.site-footer__grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer .brand { color: #fff; }
.site-footer h4 { color: rgba(255, 255, 255, .55); }
.site-footer a:not(.brand) { display: block; color: rgba(255, 255, 255, .78); padding: .25rem 0; font-size: .92rem; }
.site-footer a:not(.brand):hover { color: var(--vf-gold-light); }
.site-footer__tagline { font-family: var(--vf-font-display); font-size: 1.3rem; margin: 1rem 0 .4rem; color: #fff; }
.site-footer__small { font-size: .8rem; color: rgba(255, 255, 255, .5); }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; font-size: .78rem; color: rgba(255, 255, 255, .5); }
.site-footer__bottom .cluster a { display: inline; padding: 0; font-size: .78rem; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: var(--vf-z-consent); max-width: 560px; margin-inline: auto; background: var(--vf-paper); border: 1px solid rgba(201, 162, 77, .35); border-radius: 16px; box-shadow: var(--vf-shadow); padding: 1rem 1.1rem; font-size: .85rem; display: grid; gap: .6rem; }
.consent p { margin: 0; }
.consent__actions { display: flex; gap: .5rem; justify-content: flex-end; }

/* ---------- 18. Motion, print, utilities ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--vf-ease), transform .8s var(--vf-ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: .12s; } .reveal--delay-2 { transition-delay: .24s; } .reveal--delay-3 { transition-delay: .36s; } .reveal--delay-4 { transition-delay: .48s; }
.reveal--scale { transform: scale(.96) translateY(10px); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-badge, .scanner__line, .invite-card.is-switching, .skeleton::after { animation: none; }
  .btn:hover, .card:hover, .gallery__item:hover { transform: none; }
  html { scroll-behavior: auto; }
}
.stack > * + * { margin-top: 1rem; }
.stack--sm > * + * { margin-top: .5rem; }
.cluster { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.between { justify-content: space-between; }
.center { justify-content: center; }
.flex-1 { flex: 1 1 auto; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; } .mt-5 { margin-top: 4rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2.5rem; }
.mx-auto { margin-inline: auto; }
.w-100 { width: 100%; }
.text-right { text-align: right; }
.text-coral { color: var(--vf-coral-deep); } .text-petrol { color: var(--vf-petrol); } .text-gold { color: var(--vf-gold-deep); } .text-success { color: var(--vf-success); } .text-danger { color: var(--vf-danger); }
.hidden { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.print-only { display: none; }
@media print {
  @page { margin: 12mm; }
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .consent, .mobile-nav, .nav-toggle, .dash__nav, .toasts, .no-print, .hero__bg, .float-badge, .btn { display: none !important; }
  .print-only { display: block; }
  .section { padding: 0; }
  .container { width: 100%; }
  .card, .pass, .plan, .table { box-shadow: none !important; border: 1px solid #ccc; break-inside: avoid; }
  .pass { max-width: 90mm; page-break-inside: avoid; }
  .pass__qr img, .pass__qr svg { width: 60mm; height: 60mm; }
  .pass__tear::before, .pass__tear::after { background: #fff; }
  a[href]::after { content: ""; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
