/* =========================================================
   MIIB — Moldova International Invitation Bureau
   ========================================================= */

:root {
  --navy-950: #050F20;
  --navy-900: #071428;
  --navy-800: #0B1F3A;
  --navy-700: #13294A;
  --navy-600: #22385C;
  --navy-400: #5A6A86;
  --gold-500: #C9A45C;
  --gold-400: #D9B872;
  --gold-100: #F6EEDC;
  --gold-text: #8A6A2B;
  --ink: #0B1F3A;
  --body: #33405A;
  --muted: #5B6679;
  --line: #E3E7EE;
  --line-strong: #CBD2DE;
  --bg: #FFFFFF;
  --bg-soft: #F5F7FA;
  --bg-sunk: #EEF1F6;
  --success: #17703F;
  --success-bg: #E7F5EC;
  --warn: #8C5300;
  --warn-bg: #FFF3DD;
  --danger: #B42318;
  --danger-bg: #FDECEA;
  --info: #1F4C8F;
  --info-bg: #E8F0FB;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06), 0 1px 1px rgba(11, 31, 58, .04);
  --shadow: 0 10px 30px -12px rgba(11, 31, 58, .22), 0 2px 6px rgba(11, 31, 58, .06);
  --shadow-lg: 0 30px 60px -20px rgba(5, 15, 32, .45);
  --font-display: 'Marcellus', Georgia, 'Times New Roman', serif;
  --font-body: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--gold-text); text-decoration: none; }
a:hover { color: var(--navy-800); }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; color: var(--ink); }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.005em; }
h3, h4 { font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; }
.stack > * + * { margin-top: var(--gap, 16px); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.nowrap { white-space: nowrap; }
.mono { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: .02em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-text);
}
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--gold-400); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy-800); --fg: #fff; --bd: var(--navy-800);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1.5px solid var(--bd); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--fg);
  font-weight: 650; font-size: 15px; line-height: 1;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(11, 31, 58, .45); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn svg { flex: none; transition: transform .2s var(--ease); }
.btn:hover svg.i-move { transform: translateX(3px); }
.btn-gold { --bg: var(--gold-500); --fg: var(--navy-900); --bd: var(--gold-500); }
.btn-gold:hover { --bg: var(--gold-400); --bd: var(--gold-400); }
.btn-outline { --bg: transparent; --fg: var(--navy-800); --bd: var(--line-strong); }
.btn-outline:hover { --bd: var(--navy-800); box-shadow: none; }
.btn-ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { --bg: rgba(255, 255, 255, .08); --bd: rgba(255, 255, 255, .7); box-shadow: none; }
.btn-ghost { --bg: transparent; --fg: var(--navy-800); --bd: transparent; }
.btn-ghost:hover { --bg: var(--bg-sunk); box-shadow: none; transform: none; }
.btn-danger { --bg: var(--danger); --fg: #fff; --bd: var(--danger); }
.btn-success { --bg: var(--success); --fg: #fff; --bd: var(--success); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; gap: 8px; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn.is-loading::after {
  content: ''; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.link-btn { background: none; border: 0; padding: 0; color: var(--gold-text); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); min-height: 48px; }
.brand:hover { color: var(--ink); }
.brand-seal { width: 46px; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.brand-name { font-family: var(--font-display); font-size: 17px; }
.brand-sub { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); margin-top: 3px; }
.on-dark .brand, .on-dark .brand:hover { color: #fff; }
.on-dark .brand-sub { color: var(--gold-400); }

/* ---------- Notice bar & header ---------- */
.notice-bar {
  background: var(--navy-950); color: #C9D2E0;
  font-size: 13px; text-align: center; padding: 8px 16px; line-height: 1.5;
}
.notice-bar strong { color: var(--gold-400); font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11, 31, 58, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  white-space: nowrap;
  position: relative; padding: 10px 12px; font-size: 15px; font-weight: 550; color: var(--ink);
  border-radius: 6px;
}
.main-nav a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; align-items: center; justify-content: center; cursor: pointer; }

.user-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 14px; font-weight: 600;
  min-height: 44px;
}
.user-chip:hover { color: var(--ink); border-color: var(--line-strong); }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy-800); color: var(--gold-400); font-size: 13px; font-weight: 700; letter-spacing: .04em;
}

@media (max-width: 1360px) {
  .nav-toggle { display: inline-flex; }
  .main-nav, .header-actions { display: none; }
  .site-header.nav-open .main-nav,
  .site-header.nav-open .header-actions {
    display: flex; flex-direction: column; align-items: stretch; width: 100%;
  }
  .site-header.nav-open .header-inner { flex-wrap: wrap; padding-bottom: 16px; }
  .site-header.nav-open .main-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .site-header.nav-open .main-nav a::after { display: none; }
  .site-header.nav-open .header-actions { gap: 10px; padding-top: 8px; }
  .site-header.nav-open .header-actions .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-800); color: #fff;
  padding: 88px 0 104px;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(201, 164, 92, .16), transparent 60%),
    radial-gradient(700px 500px at 10% 110%, rgba(34, 56, 92, .9), transparent 70%);
}
.hero-pattern { position: absolute; z-index: -1; right: -180px; top: -160px; width: 760px; opacity: .14; color: var(--gold-400); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(38px, 5vw, 64px); line-height: 1.08; margin: 22px 0 22px; }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero-lead { font-size: 18px; line-height: 1.7; color: #C9D2E0; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-fact { display: flex; align-items: center; gap: 12px; }
.hero-fact-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(201, 164, 92, .14); color: var(--gold-400); }
.hero-fact strong { display: block; font-size: 16px; color: #fff; }
.hero-fact span { font-size: 13px; color: #A9B5C8; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px;
  border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px; font-weight: 600; color: #E4E9F1;
}
.pill-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--gold-500); color: var(--navy-900); display: grid; place-items: center; }

/* Invitation document illustration */
.doc-stage { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.doc-paper {
  position: relative; width: min(100%, 420px); aspect-ratio: 1 / 1.3;
  background: #FFFDF8; color: var(--ink); border-radius: 6px;
  box-shadow: var(--shadow-lg);
  padding: 34px 34px 30px; transform: rotate(-2.5deg);
  animation: float 7s ease-in-out infinite;
}
.doc-paper::before {
  content: ''; position: absolute; inset: 10px; border: 1px solid #E8DFC8; border-radius: 3px; pointer-events: none;
}
.doc-paper-back {
  position: absolute; width: min(100%, 420px); aspect-ratio: 1 / 1.3; background: #E9E2D1; border-radius: 6px;
  transform: rotate(4deg) translate(14px, 8px); box-shadow: var(--shadow-lg); opacity: .55;
}
.doc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.doc-title { font-family: var(--font-display); font-size: 21px; letter-spacing: .12em; margin-top: 6px; }
.doc-meta { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #8C8473; }
.doc-lines { margin-top: 26px; display: grid; gap: 11px; }
.doc-line { height: 7px; border-radius: 4px; background: #ECE6D8; }
.doc-line.w-90 { width: 90%; } .doc-line.w-75 { width: 75%; } .doc-line.w-60 { width: 60%; } .doc-line.w-40 { width: 40%; }
.doc-fields { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.doc-field small { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #9A917D; }
.doc-field div { height: 8px; margin-top: 6px; border-radius: 4px; background: #E4DDCC; }
.doc-foot { position: absolute; left: 34px; right: 34px; bottom: 30px; display: flex; justify-content: space-between; align-items: flex-end; }
.doc-sign { width: 130px; border-bottom: 1px solid #CFC6B2; padding-bottom: 4px; color: #6B7A99; }
.doc-seal { width: 88px; height: 88px; color: var(--gold-500); transform: rotate(-12deg); }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 16px 12px 12px;
  box-shadow: var(--shadow); font-size: 14px; font-weight: 600; white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.float-chip small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.float-chip .chip-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.chip-1 { left: -18px; top: 36%; animation-delay: -2s; }
.chip-1 .chip-icon { background: var(--success-bg); color: var(--success); }
.chip-2 { right: -14px; bottom: 30%; animation-delay: -4s; }
.chip-2 .chip-icon { background: var(--navy-800); color: var(--gold-400); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

@media (max-width: 980px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .doc-stage { max-width: 360px; margin: 0 auto; width: 100%; }
  .float-chip { font-size: 13px; padding: 10px 12px 10px 10px; }
  .float-chip .chip-icon { width: 32px; height: 32px; }
  .chip-1 { left: 0; }
  .chip-2 { right: 0; }
}

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-sm { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy-800); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 3.6vw, 46px); margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 17px; color: var(--muted); }
.section-dark .section-head p { color: #B8C3D4; }
@media (max-width: 720px) { .section { padding: 72px 0; } .section-head { margin-bottom: 36px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.step-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px 32px; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.step-card::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.step-card:hover::after { transform: scaleX(1); }
.step-num { font-family: var(--font-display); font-size: 64px; line-height: 1; color: var(--bg-sunk); position: absolute; right: 24px; top: 20px; transition: color .35s; }
.step-card:hover .step-num { color: var(--gold-100); }
.step-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-400); position: relative; }
.step-card h3 { font-size: 21px; margin-top: 26px; position: relative; }
.step-card p { margin-top: 10px; color: var(--body); position: relative; }
.steps-connector { display: none; }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.feature { padding-top: 22px; border-top: 1px solid var(--line-strong); }
.feature-icon { color: var(--gold-text); }
.feature h3 { font-size: 17px; margin-top: 16px; }
.feature p { margin-top: 8px; font-size: 15px; color: var(--muted); }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Fee & documents */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.check-list li:first-child { border-top: 1px solid var(--line); }
.check-list .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--gold-100); color: var(--gold-text); display: grid; place-items: center; flex: none; margin-top: 1px; }
.check-list small { display: block; color: var(--muted); font-size: 14px; }

.price-card {
  position: relative; overflow: hidden;
  background: var(--navy-800); color: #fff; border-radius: var(--radius-lg); padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}
.price-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--gold-500); }
.price-card h3 { color: #fff; font-size: 18px; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 6px; }
.price-amount { font-family: var(--font-display); font-size: 64px; line-height: 1; color: var(--gold-400); }
.price-unit { color: #B8C3D4; font-size: 15px; }
.price-list { list-style: none; margin: 26px 0; padding: 0; display: grid; gap: 12px; }
.price-list li { display: flex; gap: 12px; align-items: center; color: #DCE3EE; font-size: 15px; }
.price-list svg { color: var(--gold-400); flex: none; }
.pay-marks { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pay-mark { height: 34px; padding: 0 10px; border-radius: 6px; background: #fff; display: inline-flex; align-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.pay-mark svg { height: 20px; width: auto; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; font-weight: 650; font-size: 17px; min-height: 64px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s; }
.faq details[open] .faq-icon { transform: rotate(45deg); background: var(--navy-800); color: var(--gold-400); border-color: var(--navy-800); }
.faq-body { padding: 0 22px 22px; color: var(--body); max-width: 760px; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--navy-800); color: #fff; padding: 56px 56px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.cta-band h2 { color: #fff; font-size: clamp(28px, 3vw, 40px); }
.cta-band p { color: #B8C3D4; margin-top: 10px; }
.cta-band .hero-pattern { right: -260px; top: -260px; width: 620px; }
@media (max-width: 720px) { .cta-band { padding: 40px 28px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.contact-item .hero-fact-icon { flex: none; }
.contact-item small { display: block; color: #A9B5C8; font-size: 13px; }
.contact-item a, .contact-item strong { color: #fff; font-size: 17px; font-weight: 600; }

/* Footer */
.site-footer { background: var(--navy-950); color: #A9B5C8; padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: var(--gold-400); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-grid a { color: #DCE3EE; display: inline-block; padding: 6px 0; }
.footer-grid a:hover { color: var(--gold-400); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; font-size: 13px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label, .label { font-size: 14px; font-weight: 650; color: var(--ink); }
.field .req { color: var(--danger); margin-left: 2px; }
.field .opt { color: var(--muted); font-weight: 400; }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: 16px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235B6679' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy-400); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-800); box-shadow: 0 0 0 4px rgba(201, 164, 92, .28); }
.field .hint { font-size: 13px; color: var(--muted); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); background: #FFFBFA; }
.field .error { font-size: 13px; color: var(--danger); font-weight: 600; display: flex; gap: 6px; align-items: center; }
.field[hidden] { display: none; }
.checkbox { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--body); cursor: pointer; }
.checkbox input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy-800); flex: none; }
.input-wrap { position: relative; }
.input-wrap .toggle-pw { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; border-radius: 6px; cursor: pointer; color: var(--muted); display: grid; place-items: center; }
.input-wrap .toggle-pw:hover { background: var(--bg-sunk); }
.pw-meter { height: 4px; border-radius: 4px; background: var(--bg-sunk); overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; background: var(--danger); transition: width .3s var(--ease), background .3s; }

.form-section + .form-section { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.form-section-title { font-size: 17px; margin-bottom: 4px; }
.form-section-note { font-size: 14px; color: var(--muted); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.form-section-title + .form-grid { margin-top: 18px; }
.form-section[hidden] { display: none; }
.reveal-section { animation: fadeUp .35s var(--ease); }

/* ---------- Alerts / flashes ---------- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 15px; border: 1px solid transparent; }
.alert svg { flex: none; margin-top: 2px; }
.alert-success { background: var(--success-bg); color: #0F5130; border-color: #BFE3CC; }
.alert-error { background: var(--danger-bg); color: #8A1C12; border-color: #F6C9C3; }
.alert-warn { background: var(--warn-bg); color: #6B4000; border-color: #F2D9A8; }
.alert-info { background: var(--info-bg); color: #18396B; border-color: #C9DAF3; }
.alert a { color: inherit; text-decoration: underline; font-weight: 600; }

.toasts { position: fixed; z-index: 100; right: 20px; top: 92px; display: grid; gap: 10px; width: min(420px, calc(100vw - 40px)); }
.toast { box-shadow: var(--shadow); animation: toastIn .45s var(--ease) both; }
.toast.is-leaving { animation: toastOut .35s var(--ease) both; }
.toast .toast-close { margin-left: auto; background: none; border: 0; color: inherit; opacity: .6; cursor: pointer; padding: 2px; border-radius: 4px; }
.toast .toast-close:hover { opacity: 1; }
@keyframes toastIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(24px); } }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 9px; border-radius: 999px; font-size: 13px; font-weight: 650; white-space: nowrap; line-height: 1.4; }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-neutral { background: var(--bg-sunk); color: var(--muted); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-gold { background: var(--gold-100); color: var(--gold-text); }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.card-pad { padding: 28px; }
.card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.card-head h2, .card-head h3 { font-family: var(--font-body); font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.card-head h2 svg, .card-head h3 svg { color: var(--gold-text); }
.card-body { padding: 24px; }
@media (max-width: 560px) { .card-pad, .card-body { padding: 20px; } .card-head { padding: 16px 20px; } }

/* ---------- Auth layout ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.auth-aside {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-800); color: #fff; padding: 40px 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
}
.auth-aside h2 { color: #fff; font-size: clamp(30px, 3vw, 42px); margin-top: 18px; }
.auth-aside p { color: #B8C3D4; margin-top: 14px; max-width: 420px; }
.auth-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.auth-points li { display: flex; gap: 12px; align-items: center; color: #DCE3EE; }
.auth-points svg { color: var(--gold-400); }
.auth-main { display: flex; flex-direction: column; justify-content: center; padding: 48px 24px; background: var(--bg-soft); }
.auth-card { width: 100%; max-width: 460px; margin: 0 auto; }
.auth-card h1 { font-size: 34px; }
.auth-card .lead { color: var(--muted); margin-top: 8px; }
.auth-card form { margin-top: 28px; }
.auth-foot { margin-top: 24px; text-align: center; color: var(--muted); font-size: 15px; }
.auth-foot a { font-weight: 650; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; margin: 24px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 900px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { padding: 24px; }
  .auth-aside .auth-hide-sm { display: none; }
}

/* ---------- Portal (customer) ---------- */
.portal-body { background: var(--bg-soft); min-height: 100vh; }
.portal-main { padding: 40px 0 88px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 30px; }
.page-head h1 { font-size: clamp(28px, 3vw, 38px); }
.page-head p { color: var(--muted); margin-top: 6px; }
.crumb { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.crumb:hover { color: var(--ink); }

.app-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s;
}
.app-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.app-card + .app-card { margin-top: 18px; }
.app-card-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 22px 26px; }
.app-ref { font-family: var(--font-display); font-size: 22px; letter-spacing: .04em; }
.app-ref-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.app-card-mid { padding: 6px 26px 24px; }
.app-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 26px; background: var(--bg-soft); border-top: 1px solid var(--line); }
.app-card-foot .muted { font-size: 14px; }
.app-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.track-step { position: relative; padding-top: 34px; font-size: 13px; font-weight: 600; color: var(--muted); }
.track-step::before { content: ''; position: absolute; top: 11px; left: 0; right: 0; height: 2px; background: var(--line); }
.track-step:first-child::before { left: 12px; }
.track-step:last-child::before { right: auto; width: 12px; }
.track-step .dot {
  position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%; background: #fff;
  border: 2px solid var(--line-strong); display: grid; place-items: center; z-index: 1;
}
.track-step.done { color: var(--ink); }
.track-step.done::before { background: var(--navy-800); }
.track-step.done .dot { background: var(--navy-800); border-color: var(--navy-800); color: var(--gold-400); }
.track-step.current { color: var(--ink); }
.track-step.current .dot { border-color: var(--gold-500); box-shadow: 0 0 0 5px rgba(201, 164, 92, .22); animation: pulse 2s ease-in-out infinite; }
.track-step.current .dot::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-500); }
.track-step.failed .dot { border-color: var(--danger); background: var(--danger); color: #fff; }
.track-step.failed { color: var(--danger); }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(201, 164, 92, .08); } }
@media (max-width: 600px) {
  .track { grid-template-columns: 1fr; gap: 14px; }
  .track-step { padding: 0 0 0 38px; min-height: 24px; display: flex; align-items: center; }
  .track-step::before { top: 24px; bottom: -14px; left: 11px; right: auto; width: 2px; height: auto; }
  .track-step:first-child::before { left: 11px; }
  .track-step:last-child::before { display: none; }
}

.empty {
  text-align: center; padding: 64px 24px; background: #fff; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-lg);
}
.empty-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--gold-100); color: var(--gold-text); display: grid; place-items: center; margin: 0 auto 18px; }
.empty h2 { font-size: 26px; }
.empty p { color: var(--muted); margin: 10px auto 24px; max-width: 460px; }

/* Wizard */
.wizard { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
.wizard-side { position: sticky; top: 100px; }
.wizard-progress { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.wizard-progress-head { display: flex; justify-content: space-between; font-size: 13px; font-weight: 650; color: var(--muted); }
.bar { height: 6px; border-radius: 6px; background: var(--bg-sunk); margin: 10px 0 18px; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--navy-800), var(--navy-600)); border-radius: 6px; transition: width .6s var(--ease); }
.wizard-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.wizard-steps a, .wizard-steps span.ws {
  display: flex; align-items: center; gap: 12px; padding: 10px 10px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--body);
  transition: background .2s;
}
.wizard-steps a:hover { background: var(--bg-soft); color: var(--ink); }
.ws-dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; border: 1.5px solid var(--line-strong); color: var(--muted); flex: none; background: #fff; transition: all .25s; }
.wizard-steps .is-done .ws-dot { background: var(--success); border-color: var(--success); color: #fff; }
.wizard-steps .is-current { background: var(--navy-800) !important; color: #fff !important; }
.wizard-steps .is-current .ws-dot { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }
.wizard-steps .is-locked { color: #9AA3B2; cursor: default; }
.wizard-help { margin-top: 16px; padding: 18px; border-radius: var(--radius); background: var(--navy-800); color: #C9D2E0; font-size: 14px; }
.wizard-help strong { color: #fff; display: block; margin-bottom: 4px; }
.wizard-main .card-pad { padding: 36px; }
.wizard-title { display: flex; align-items: center; gap: 14px; }
.wizard-title .eyebrow { font-size: 12px; }
.wizard-main h1 { font-size: 32px; margin-top: 6px; }
.wizard-intro { color: var(--muted); margin-top: 8px; }
.wizard-body { margin-top: 32px; }
.wizard-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.wizard-actions .right { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.step-panel { animation: fadeUp .45s var(--ease); }
@media (max-width: 960px) {
  .wizard { grid-template-columns: 1fr; }
  .wizard-side { position: static; }
  .wizard-steps { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .wizard-steps li { flex: none; }
  .wizard-steps .ws-label { display: none; }
  .wizard-steps .is-current .ws-label { display: inline; }
  .wizard-help { display: none; }
  .wizard-main .card-pad { padding: 24px 20px; }
}

/* Documents */
.doc-list { display: grid; gap: 14px; }
.doc-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.doc-item.is-complete { border-color: #BFE3CC; }
.doc-item.is-requested { border-color: #F2D9A8; background: #FFFCF5; }
.doc-item-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.doc-item-title { display: flex; gap: 14px; align-items: center; }
.doc-icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-soft); color: var(--navy-600); flex: none; transition: background .2s, color .2s; }
.doc-item.is-complete .doc-icon { background: var(--success-bg); color: var(--success); }
.doc-item-title strong { display: block; font-size: 15px; }
.doc-item-title small { color: var(--muted); font-size: 13px; }
.doc-files { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.doc-file { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; background: var(--bg-soft); font-size: 14px; animation: fadeUp .35s var(--ease); }
.doc-file .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.doc-file .meta { color: var(--muted); font-size: 13px; white-space: nowrap; }
.icon-btn { width: 36px; height: 36px; border-radius: 8px; border: 0; background: transparent; color: var(--muted); display: inline-grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.icon-btn:hover { background: #fff; color: var(--danger); }
.icon-btn.neutral:hover { color: var(--ink); }

.dropzone {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 12px; min-height: 52px; padding: 10px 16px; border: 1.5px dashed var(--line-strong); border-radius: 10px;
  color: var(--navy-600); font-size: 14px; font-weight: 650; cursor: pointer; text-align: center;
  transition: border-color .2s, background .2s, color .2s;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--navy-800); background: var(--bg-soft); color: var(--ink); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone.is-uploading { pointer-events: none; color: var(--muted); }
.dropzone.is-uploading::after { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.dropzone small { font-weight: 500; color: var(--muted); }

/* Review */
.review-block + .review-block { margin-top: 18px; }
.review-block { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.review-block-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.review-block-head h3 { font-size: 15px; }
.review-block-head a { font-size: 14px; font-weight: 650; }
.dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.dl > div { padding: 12px 18px; border-bottom: 1px solid var(--line); min-width: 0; }
.dl > div:nth-child(odd) { border-right: 1px solid var(--line); }
.dl dt { font-size: 12px; font-weight: 650; color: var(--muted); letter-spacing: .02em; }
.dl dd { margin: 2px 0 0; font-size: 15px; font-weight: 550; overflow-wrap: anywhere; white-space: pre-line; }
.dl dd.empty-val { color: #9AA3B2; font-weight: 400; }
@media (max-width: 640px) { .dl { grid-template-columns: 1fr; } .dl > div:nth-child(odd) { border-right: 0; } }

/* Checkout */
.checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .checkout .summary { order: -1; } }
.summary { position: sticky; top: 100px; }
.summary-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.summary-hero { background: var(--navy-800); color: #fff; padding: 24px; position: relative; overflow: hidden; }
.summary-hero h3 { color: #fff; font-family: var(--font-display); font-weight: 400; font-size: 22px; margin-top: 6px; }
.summary-hero .eyebrow { font-size: 11px; }
.summary-rows { padding: 8px 24px; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.summary-row span:first-child { color: var(--muted); }
.summary-row strong { text-align: right; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 24px 22px; }
.summary-total strong { font-family: var(--font-display); font-size: 34px; font-weight: 400; }
.secure-note { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); margin-top: 16px; }
.pay-methods { display: grid; gap: 12px; }
.pay-option { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; }
.pay-option-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--bg-soft); display: grid; place-items: center; color: var(--navy-700); flex: none; }
.pay-option strong { display: block; }
.pay-option small { color: var(--muted); }
.paypal-box { margin-top: 24px; min-height: 160px; position: relative; }
.paypal-box .skeleton { height: 50px; border-radius: 8px; background: linear-gradient(90deg, var(--bg-sunk), #f8f9fb, var(--bg-sunk)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.paypal-box .skeleton + .skeleton { margin-top: 12px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Success */
.success-mark { width: 84px; height: 84px; border-radius: 50%; background: var(--success-bg); color: var(--success); display: grid; place-items: center; margin: 0 auto; animation: pop .6s var(--ease) both; }
.success-mark svg { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .3s var(--ease) forwards; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Detail page */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
@media (max-width: 960px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-grid > div > * + * { margin-top: 24px; }
.ready-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 30px;
  background: var(--navy-800); color: #fff; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
}
.ready-card h2 { color: #fff; font-size: 26px; }
.ready-card p { color: #B8C3D4; margin-top: 6px; }
.ready-card .hero-pattern { width: 420px; right: -160px; top: -160px; opacity: .18; }
.status-panel { padding: 24px; }
.status-panel p { color: var(--body); margin-top: 12px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 18px 26px; font-size: 14px; }
.timeline li::before { content: ''; position: absolute; left: 5px; top: 8px; bottom: -6px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ''; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--navy-400); }
.timeline li:first-child::after { border-color: var(--gold-500); background: var(--gold-500); }
.timeline strong { display: block; }
.timeline small { color: var(--muted); }
.thread { display: grid; gap: 14px; }
.msg { max-width: 88%; padding: 14px 16px; border-radius: 14px; font-size: 15px; white-space: pre-line; overflow-wrap: anywhere; }
.msg small { display: block; font-size: 12px; margin-bottom: 4px; font-weight: 650; }
.msg-staff { background: var(--bg-soft); border-top-left-radius: 4px; }
.msg-staff small { color: var(--gold-text); }
.msg-customer { background: var(--navy-800); color: #fff; margin-left: auto; border-top-right-radius: 4px; }
.msg-customer small { color: var(--gold-400); }
.msg-note { background: var(--warn-bg); border: 1px solid #F2D9A8; max-width: 100%; }

/* Receipt / print */
.receipt { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px; }
.receipt-head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 2px solid var(--navy-800); }
.receipt table { width: 100%; border-collapse: collapse; margin-top: 28px; }
.receipt th, .receipt td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); }
.receipt th { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.receipt td:last-child, .receipt th:last-child { text-align: right; }
@media print {
  .no-print, .site-header, .notice-bar, .site-footer, .admin-side, .admin-top, .toasts { display: none !important; }
  body, .portal-body, .admin-body { background: #fff !important; }
  .receipt { border: 0; padding: 0; }
  .admin-main { margin: 0 !important; padding: 0 !important; }
  .card { border: 0; }
}

/* Legal pages */
.legal { max-width: 780px; }
.legal h2 { font-family: var(--font-body); font-weight: 700; font-size: 20px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--body); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; }
.legal .placeholder { background: var(--warn-bg); padding: 0 4px; border-radius: 3px; }

/* ---------- Reveal animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; } .js .reveal-d2 { transition-delay: .16s; } .js .reveal-d3 { transition-delay: .24s; } .js .reveal-d4 { transition-delay: .32s; }
.hero-in > * { animation: fadeUp .9s var(--ease) both; }
.hero-in > :nth-child(2) { animation-delay: .08s; } .hero-in > :nth-child(3) { animation-delay: .16s; } .hero-in > :nth-child(4) { animation-delay: .24s; } .hero-in > :nth-child(5) { animation-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Admin
   ========================================================= */
.admin-body { background: var(--bg-soft); min-height: 100vh; }
.admin-side {
  position: fixed; inset: 0 auto 0 0; width: 256px; z-index: 40;
  background: var(--navy-900); color: #C9D2E0; display: flex; flex-direction: column; padding: 20px 14px;
  transition: transform .3s var(--ease);
}
.admin-side .brand { padding: 0 8px; }
.admin-side .brand-name { font-size: 15px; color: #fff; }
.admin-nav { display: grid; gap: 2px; margin-top: 28px; }
.admin-nav-label { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #6F7E98; padding: 18px 12px 8px; }
.admin-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: #C9D2E0; font-size: 15px; font-weight: 550; transition: background .2s, color .2s; }
.admin-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.admin-nav a.is-active { background: rgba(201, 164, 92, .14); color: var(--gold-400); }
.admin-nav .count { margin-left: auto; font-size: 12px; background: var(--gold-500); color: var(--navy-900); border-radius: 999px; padding: 1px 8px; font-weight: 700; }
.admin-side-foot { margin-top: auto; padding: 14px 10px 0; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; align-items: center; gap: 10px; }
.admin-side-foot .who { min-width: 0; flex: 1; }
.admin-side-foot strong { display: block; color: #fff; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-side-foot small { color: #8A97AD; font-size: 12px; text-transform: capitalize; }
.admin-side-foot a { color: #8A97AD; }
.admin-side-foot a:hover { color: #fff; }
.admin-main { margin-left: 256px; padding: 32px 36px 64px; }
.admin-top { display: none; }
@media (max-width: 1024px) {
  .admin-side { transform: translateX(-100%); }
  .admin-body.nav-open .admin-side { transform: none; box-shadow: var(--shadow-lg); }
  .admin-main { margin-left: 0; padding: 20px 16px 56px; }
  .admin-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--navy-900); position: sticky; top: 0; z-index: 30; }
  .admin-top .brand-name { color: #fff; font-size: 15px; }
  .admin-top .nav-toggle { display: inline-flex; background: transparent; border-color: rgba(255,255,255,.2); color: #fff; }
}
.admin-scrim { display: none; }
@media (max-width: 1024px) { .admin-body.nav-open .admin-scrim { display: block; position: fixed; inset: 0; background: rgba(5, 15, 32, .5); z-index: 35; } }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
@media (max-width: 1100px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; transition: box-shadow .25s, transform .25s var(--ease); display: block; color: var(--ink); }
a.stat:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.stat small { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; color: var(--muted); }
.stat strong { display: block; font-weight: 700; font-size: 30px; margin-top: 6px; line-height: 1.1; font-variant-numeric: tabular-nums; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; }
.filters .field { flex: 1 1 160px; }
.filters .field.grow { flex: 3 1 260px; }
.filters .field input:not([type=checkbox]), .filters .field select { min-height: 44px; padding-top: 8px; padding-bottom: 8px; font-size: 15px; }
.filters .field label { font-size: 12px; color: var(--muted); }

.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
.table th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: #FAFBFD; }
.table .row-link { color: var(--ink); font-weight: 650; }
.table .row-link:hover { color: var(--gold-text); }
.table .sub { display: block; color: var(--muted); font-size: 13px; font-weight: 400; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 4px; font-size: 14px; color: var(--muted); }
.pager .app-actions { gap: 6px; }

.admin-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.admin-grid > div > * + *, .admin-grid > aside > * + * { margin-top: 20px; }
@media (max-width: 1200px) { .admin-grid { grid-template-columns: 1fr; } }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs a { padding: 12px 14px; font-weight: 650; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.is-active { color: var(--ink); border-color: var(--gold-500); }
.chip-check { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s; }
.chip-check:has(input:checked) { border-color: var(--navy-800); background: var(--bg-soft); }
.chip-check input { accent-color: var(--navy-800); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.qr-box { width: 200px; height: 200px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.secret { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; letter-spacing: .12em; background: var(--bg-soft); padding: 10px 14px; border-radius: 8px; word-break: break-all; }
.code-input { font-size: 26px !important; letter-spacing: .5em; text-align: center; font-family: ui-monospace, Menlo, Consolas, monospace; }

/* =========================================================
   v2 additions: languages, groups, countdown, reviews
   ========================================================= */
.brand-logo-img { object-fit: contain; }


.group-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); background: var(--gold-100); color: #5E4517; font-size: 15px; font-weight: 550; border: 1px solid #EBDDBB; }
.group-note svg { flex: none; margin-top: 1px; color: var(--gold-text); }
.wizard-body > .group-note { margin-bottom: 8px; }

.traveller-list { display: grid; gap: 12px; margin-top: 20px; }
.traveller-card { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .25s, transform .25s var(--ease); animation: fadeUp .4s var(--ease) both; }
.traveller-card:hover { box-shadow: var(--shadow-sm); }
.traveller-card.is-complete { border-color: #BFE3CC; }
.traveller-num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--bg-sunk); color: var(--navy-700); font-weight: 700; font-size: 14px; }
.traveller-card.is-complete .traveller-num, .traveller-docs .traveller-num svg { color: #fff; }
.traveller-card.is-complete .traveller-num { background: var(--success); }
.traveller-info { flex: 1 1 200px; min-width: 0; }
.traveller-info strong { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.traveller-info small { color: var(--muted); font-size: 14px; }
.add-traveller { width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); background: transparent; color: var(--navy-700); font-weight: 650; cursor: pointer; transition: border-color .2s, background .2s; }
.add-traveller:hover { border-color: var(--navy-800); background: var(--bg-soft); }

.traveller-docs { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.traveller-docs + .traveller-docs { margin-top: 14px; }
.traveller-docs summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; background: var(--bg-soft); }
.traveller-docs summary::-webkit-details-marker { display: none; }
.traveller-docs summary strong { flex: 1; }
.traveller-docs[open] summary { border-bottom: 1px solid var(--line); }
.traveller-docs summary .traveller-num { width: 30px; height: 30px; }
.traveller-docs summary .traveller-num:has(svg) { background: var(--success); }
.traveller-docs-body { padding: 18px; }

.countdown { margin-top: 20px; padding: 16px 18px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.countdown-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 650; }
.countdown-day { color: var(--ink); }
.countdown-left { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-text); }
.countdown-bar { margin: 10px 0 8px; height: 8px; }
.countdown-bar span { background: linear-gradient(90deg, var(--gold-500), var(--gold-400)); animation: growBar 1.2s var(--ease) both; }
.countdown-foot { font-size: 13px; color: var(--muted); }
@keyframes growBar { from { width: 0 !important; } }

.tracking-box { display: inline-flex; flex-direction: column; gap: 4px; margin-top: 22px; padding: 14px 26px; border-radius: var(--radius); background: var(--navy-800); color: #C9D2E0; font-size: 13px; }
.tracking-box strong { color: var(--gold-400); font-size: 22px; letter-spacing: .06em; }

.disclaimer { display: flex; gap: 18px; align-items: flex-start; padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line-strong); }
.disclaimer-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--navy-800); color: var(--gold-400); }
.disclaimer h2 { font-family: var(--font-body); font-weight: 700; font-size: 18px; }
.disclaimer p { margin-top: 8px; color: var(--body); font-size: 15px; }

.reviews { columns: 3 300px; column-gap: 20px; }
.review-card { break-inside: avoid; margin: 0 0 20px; padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
.review-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.review-stars { color: var(--gold-500); letter-spacing: 2px; font-size: 16px; }
.review-stars span { color: var(--line-strong); }
.review-card blockquote { margin: 12px 0 18px; font-size: 15px; color: var(--body); white-space: pre-line; }
.review-card figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; }
.review-card figcaption small { display: block; color: var(--muted); font-size: 13px; }
.review-verified { margin-left: auto; font-size: 11px; padding: 3px 8px; gap: 4px; }

.stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; margin-top: 6px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { font-size: 30px; line-height: 1; color: var(--line-strong); cursor: pointer; transition: color .15s, transform .15s; padding: 2px; }
.stars label:hover, .stars label:hover ~ label, .stars input:checked ~ label { color: var(--gold-500); }
.stars label:hover { transform: scale(1.12); }
.stars input:focus-visible + label { outline: 3px solid var(--gold-500); border-radius: 4px; }

.doc-photo { position: relative; margin: 0; width: min(100%, 430px); animation: float 7s ease-in-out infinite; }
.doc-photo img { width: 100%; height: auto; transform: rotate(-1.5deg); filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.doc-photo figcaption { margin-top: 14px; text-align: center; font-size: 12px; color: #8A97AD; letter-spacing: .02em; }
.brand-seal.brand-logo-img { border-radius: 50%; }

.install-warning { margin-bottom: 20px; }

/* v5 */
.traveller-tools { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--line); background: var(--surface-2, #F7F8FB); }
.applicant-list { width: 100%; border-collapse: collapse; font-size: .92rem; }
.applicant-list th, .applicant-list td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.applicant-list th { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #556072); font-weight: 600; }
.applicant-list tr:last-child td { border-bottom: 0; }
.applicant-list .mono { letter-spacing: .04em; }
.applicant-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; color: var(--muted, #556072); margin-top: 10px; }
.applicant-meta strong { color: var(--ink, #0B1F3A); }
.applicant-list td { white-space: nowrap; }
.applicant-list td:first-child { white-space: normal; }
@media (max-width: 760px) {
  .applicant-list, .applicant-list tbody, .applicant-list tr, .applicant-list td { display: block; width: 100%; }
  .applicant-list tr:first-child { display: none; }
  .applicant-list tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .applicant-list tr:last-child { border-bottom: 0; }
  .applicant-list td { display: flex; justify-content: space-between; gap: 12px; padding: 4px 2px; border: 0; white-space: normal; text-align: right; }
  .applicant-list td::before { content: attr(data-label); color: var(--muted, #556072); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; text-align: left; }
  .applicant-list td:first-child { display: block; text-align: left; font-size: 1rem; padding-bottom: 6px; }
  .applicant-list td:first-child::before { display: none; }
}

.applicant-list .badge { white-space: nowrap; }
.inv-wait { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted, #556072); background: #F4F6FA; border: 1px dashed #CDD4E0; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.inv-dl { white-space: nowrap; }

/* ---------- IGM spotlight (homepage) ---------- */
.igm-spotlight { position: relative; z-index: 3; margin-top: -44px; padding-bottom: 8px; }
.igm-card { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px 28px;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFDF8 60%, var(--gold-100) 140%); border: 1px solid #EADFC6; border-radius: var(--radius-lg);
  padding: 28px 34px 28px 38px; box-shadow: 0 24px 48px -24px rgba(11, 31, 58, .28), 0 2px 6px rgba(11, 31, 58, .06); overflow: hidden; }
.igm-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 164, 92, .16), transparent 70%); pointer-events: none; }
.igm-flag { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; display: flex; flex-direction: column; }
.igm-flag i { flex: 1; }
.igm-flag i:nth-child(1) { background: #0046AE; }
.igm-flag i:nth-child(2) { background: #FFD200; }
.igm-flag i:nth-child(3) { background: #CC092F; }
.igm-emblem { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-400);
  background: radial-gradient(circle at 30% 30%, var(--navy-600), var(--navy-900)); box-shadow: 0 0 0 4px #fff, 0 0 0 5px #E6D7B4; }
.igm-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 6px; }
.igm-title { font-family: var(--font-display); font-size: clamp(19px, 2vw, 25px); line-height: 1.35; color: var(--ink); margin: 0; text-wrap: balance; }
.igm-title strong { color: var(--navy-800); font-weight: 700; background: linear-gradient(transparent 62%, rgba(201, 164, 92, .32) 62%); padding: 0 2px; }
.igm-note { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.igm-badge { position: relative; z-index: 1; display: grid; place-items: center; text-align: center; width: 104px; height: 104px; border-radius: 50%;
  border: 2px dashed var(--gold-500); color: var(--navy-800); transform: rotate(-8deg); }
.igm-badge span { font-family: var(--font-display); font-size: 28px; letter-spacing: .08em; line-height: 1; margin-top: 18px; }
.igm-badge small { font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 22px; max-width: 80px; line-height: 1.2; }
@media (max-width: 860px) {
  .igm-card { grid-template-columns: auto 1fr; padding: 24px 22px 24px 28px; }
  .igm-badge { display: none; }
}
@media (max-width: 560px) {
  .igm-spotlight { margin-top: -28px; }
  .igm-card { grid-template-columns: 1fr; text-align: left; gap: 14px; padding: 22px 20px 22px 24px; }
  .igm-emblem { width: 52px; height: 52px; }
  .igm-emblem svg { width: 28px; height: 28px; }
}

/* Price examples (fee × people) */
.price-examples { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 6px; }
.price-examples div { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(217, 184, 114, .28); }
.price-examples span { font-size: 12px; color: #A9B5C8; white-space: nowrap; }
.price-examples strong { font-size: 17px; color: var(--gold-400); white-space: nowrap; }
@media (max-width: 420px) { .price-examples { grid-template-columns: repeat(2, 1fr); } }

/* Long email addresses must wrap on small screens */
.contact-grid > *, .contact-item > div { min-width: 0; }
.contact-item a, .site-footer a[href^="mailto:"], a[href^="mailto:"] { overflow-wrap: anywhere; word-break: break-word; }
.split > *, .contact-grid > * { min-width: 0; }
.legal p, .legal li, .site-footer li, .site-footer span { overflow-wrap: anywhere; }

/* Card payment page */
.pay-steps { list-style: none; margin: 20px 0 22px; padding: 0; display: grid; gap: 12px; }
.pay-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pay-steps li > span { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-400); font-weight: 700; font-size: 14px; }
.pay-steps strong { display: block; color: var(--ink); }
.pay-steps small { color: var(--muted); }
.paid-confirm { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.paid-confirm h3 { font-family: var(--font-body); font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.alert a.btn { color: #fff; text-decoration: none; flex: none; } .alert a.btn-outline, .alert a.btn-ghost { color: var(--ink); }

/* QR payment */
.qr-pay { display: flex; gap: 18px; align-items: center; margin-top: 20px; padding: 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--bg-soft); }
.qr-pay strong { display: block; color: var(--ink); }
.qr-pay small { display: block; color: var(--muted); margin-top: 2px; }
.qr-box { flex: none; width: 160px; height: 160px; padding: 8px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); }
.qr-box img, .qr-box canvas { width: 100% !important; height: 100% !important; display: block; }
img.qr-box { object-fit: contain; }
.qr-ph { flex: none; width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--navy-700); border: 1px solid var(--line); }
@media (max-width: 520px) { .qr-pay { flex-direction: column; text-align: center; } .qr-box { width: 200px; height: 200px; } }

/* Language menu */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink); user-select: none; transition: border-color .2s, box-shadow .2s; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.lang-menu[open] summary { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(201, 164, 92, .18); }
.lang-menu .flag { border-radius: 3px; box-shadow: 0 0 0 1px rgba(11, 31, 58, .12); flex: none; }
.lang-menu .lang-code { display: none; }
.lang-menu .chev { color: var(--muted); transition: transform .2s; }
.lang-menu[open] .chev { transform: rotate(180deg); }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 220px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(11, 31, 58, .28); animation: fadeUp .18s var(--ease); }
.lang-list-title { display: block; padding: 6px 10px 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lang-list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink); }
.lang-list a:hover { background: var(--bg-soft); }
.lang-list a.is-active { background: var(--gold-100); font-weight: 700; }
.lang-list a span { flex: 1; }
.lang-list .tick { color: var(--gold-text); }
.lang-menu.on-dark summary { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; }
.lang-menu.on-dark .chev { color: #C9D2E0; }
.lang-menu.on-dark .lang-list { top: auto; bottom: calc(100% + 8px); left: 0; right: auto; }
@media (max-width: 1360px) {
  .site-header.nav-open .header-actions .lang-menu { align-self: flex-start; }
  .site-header .header-actions .lang-list { left: 0; right: auto; }
}
@media (max-width: 560px) {
  .site-header .lang-menu .lang-name { display: none; }
  .site-header .lang-menu .lang-code { display: inline; }
}

/* Backup payment (other currency) */
.alt-pay { margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.alt-pay summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; font-weight: 600; color: var(--ink); }
.alt-pay summary::-webkit-details-marker { display: none; }
.alt-pay summary svg { color: var(--gold-text); flex: none; }
.alt-pay[open] summary { border-bottom: 1px solid var(--line); }
.alt-pay-body { padding: 16px; }
.alt-pay .paid-confirm { margin-top: 18px; padding-top: 16px; }
