/* ==========================================================================
   Telehealth Wealth Legacy | Link page
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:     #080612;
  --navy2:    #100d24;
  --teal:     #0ea5a0;
  --teal-l:   #2dd4d0;
  --violet:   #a78bfa;
  --violet-l: #c4b5fd;
  --purple:   #6d28d9;
  --purple-d: #4c1d95;
  --cream:    #f0eeff;
  --muted:    rgba(240,238,255,0.72);
  --faint:    rgba(240,238,255,0.35);
  --border:   rgba(167,139,250,0.2);
  --zelle:    #c89eff;
  --zelle-rgb: 109,30,212;
  --cash:     #4ade80;
  --cash-rgb: 0,166,75;
  --danger:   #fb7185;
  --radius:   8px;
  --ease:     cubic-bezier(0.16,1,0.3,1);
  --serif:    'Cormorant Garamond', Georgia, serif;
  --sans:     'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--navy);
  color: var(--cream);
  font-family: var(--sans);
  min-height: 100vh;
  padding: 56px 20px 40px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Layered background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 10% 10%, rgba(109,40,217,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 85%, rgba(45,212,208,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(16,13,36,0.7) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* Grid texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(167,139,250,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,139,250,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

img, svg { display: block; }
a { color: inherit; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
fieldset { border: 0; min-width: 0; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Generic stroke icon */
.ic {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.ic-sm { width: 14px; height: 14px; stroke-width: 1.9; }

.dot {
  display: inline-block;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: .6;
  vertical-align: middle;
  margin: 0 5px;
}

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

/* ── HEADER ─────────────────────────────────────────── */
.header {
  text-align: center;
  margin-bottom: 44px;
  animation: rise 0.9s var(--ease) both;
}

.avatar-frame {
  position: relative;
  width: 104px;
  height: 104px;
  margin: 0 auto 22px;
}

.avatar-frame::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(#a78bfa 0deg, #2dd4d0 120deg, #a78bfa 240deg, #2dd4d0 360deg);
  animation: halo 6s linear infinite;
}

.avatar-frame::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: conic-gradient(transparent 0deg, rgba(167,139,250,0.3) 60deg, transparent 180deg, rgba(45,212,208,0.3) 240deg, transparent 360deg);
  animation: halo 10s linear infinite reverse;
}

@keyframes halo { to { transform: rotate(360deg); } }

.avatar {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--navy);
  background: var(--navy2);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(109,40,217,0.2);
  border: 1px solid rgba(109,40,217,0.45);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet-l);
  margin-bottom: 14px;
  font-weight: 500;
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-l);
  box-shadow: 0 0 6px var(--teal-l);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.name {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.name em { font-style: italic; color: var(--violet-l); }

.title {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 14px;
  font-weight: 500;
}
.title .sep {
  display: inline-block;
  width: 4px; height: 4px;
  transform: rotate(45deg);
  background: var(--teal-l);
  margin: 0 6px 2px;
  vertical-align: middle;
}

.bio {
  font-size: 13.5px;
  color: rgba(240,238,255,0.8);
  line-height: 1.75;
  max-width: 350px;
  margin: 0 auto 20px;
  font-weight: 300;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 10.5px;
  color: rgba(240,238,255,0.75);
  letter-spacing: 0.05em;
}
.stat strong { color: var(--violet-l); font-weight: 600; font-size: 11.5px; }

/* ── DIVIDER ────────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  animation: rise 0.7s 0.15s var(--ease) both;
}
.div-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
.div-icon { width: 14px; height: 14px; color: var(--violet); opacity: 0.75; }

/* ── SECTION LABEL ──────────────────────────────────── */
.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(167,139,250,0.8);
  margin-bottom: 12px;
  padding-left: 2px;
  font-weight: 500;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(109,40,217,0.3);
  border: 1px solid rgba(167,139,250,0.45);
  color: var(--violet-l);
  font-size: 9px;
  letter-spacing: 0;
}

/* ── LINK CARDS ─────────────────────────────────────── */
.links { display: flex; flex-direction: column; gap: 10px; margin-bottom: 34px; }

.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--cream);
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s, background 0.35s, transform 0.25s var(--ease);
  animation: rise 0.65s var(--ease) both;
}
.link-card:nth-child(1) { animation-delay: 0.15s; }
.link-card:nth-child(2) { animation-delay: 0.22s; }
.link-card:nth-child(3) { animation-delay: 0.29s; }
.link-card:nth-child(4) { animation-delay: 0.36s; }
.link-card:nth-child(5) { animation-delay: 0.43s; }

.link-card:hover,
.link-card:focus-visible {
  border-color: rgba(167,139,250,0.45);
  background: rgba(167,139,250,0.06);
  transform: translateY(-2px);
}
.link-card:active { transform: translateY(0); }

/* Left glow bar */
.link-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--teal-l), var(--violet));
  opacity: 0;
  transition: opacity 0.3s;
}
.link-card:hover::before,
.link-card:focus-visible::before { opacity: 1; }

/* Shimmer sweep */
.link-card::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: -100%;
  width: 60%;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,0.07), transparent);
  transition: left 0.6s;
  pointer-events: none;
}
.link-card:hover::after { left: 150%; }

.link-card.hero {
  background: linear-gradient(135deg, rgba(109,40,217,0.18), rgba(167,139,250,0.06));
  border-color: rgba(167,139,250,0.35);
  padding: 19px 18px;
}

.link-icon {
  width: 44px;
  height: 44px;
  border-radius: 7px;
  background: rgba(167,139,250,0.08);
  border: 1px solid rgba(167,139,250,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--violet-l);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
  position: relative;
  z-index: 1;
}
.link-card:hover .link-icon {
  background: rgba(167,139,250,0.14);
  border-color: rgba(167,139,250,0.4);
  color: var(--teal-l);
}

.link-body { flex: 1; min-width: 0; position: relative; z-index: 1; }

.link-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 3px;
}

.link-desc {
  display: block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.03em;
  line-height: 1.45;
}

.link-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.tag-live { background: rgba(14,165,160,0.12); color: var(--teal-l); border: 1px solid rgba(45,212,208,0.35); }
.tag-new  { background: rgba(167,139,250,0.2); color: var(--violet-l); border: 1px solid rgba(167,139,250,0.35); }

.price-chip {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--violet-l);
  letter-spacing: 0;
}

.link-arrow {
  width: 18px; height: 18px;
  fill: none;
  stroke: var(--violet);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.35;
  transform: translateX(-4px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.link-card:hover .link-arrow,
.link-card:focus-visible .link-arrow { opacity: 1; transform: translateX(0); }
.link-arrow--down { transform: translateY(-3px); }
.link-card:hover .link-arrow--down { transform: translateY(1px); }

/* ── CARDS (offer / payment / form) ─────────────────── */
.block { margin-bottom: 34px; animation: rise 0.65s 0.35s var(--ease) both; scroll-margin-top: 24px; }
.block:focus { outline: none; }

.card {
  --accent-rgb: 167,139,250;
  --accent: var(--violet-l);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.card--zelle { --accent-rgb: var(--zelle-rgb); --accent: var(--zelle); border-color: rgba(var(--zelle-rgb),0.3); }
.card--cash  { --accent-rgb: var(--cash-rgb);  --accent: var(--cash);  border-color: rgba(var(--cash-rgb),0.3); }

.card-head {
  background: linear-gradient(135deg, rgba(var(--accent-rgb),0.18), rgba(167,139,250,0.05));
  border-bottom: 1px solid rgba(var(--accent-rgb),0.2);
  padding: 16px 20px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.card-icon {
  width: 42px; height: 42px;
  background: rgba(var(--accent-rgb),0.14);
  border: 1px solid rgba(var(--accent-rgb),0.32);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.card-head-inner { flex: 1; min-width: 0; }
.card-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 3px;
}
.card-sub {
  display: block;
  font-size: 10px;
  color: var(--teal-l);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.card--zelle .card-sub, .card--cash .card-sub { color: var(--accent); }

.price-block { text-align: right; flex-shrink: 0; }
.price-amount { font-family: var(--serif); font-size: 38px; font-weight: 700; color: var(--violet-l); line-height: 1; }
.price-note { font-size: 9px; color: rgba(167,139,250,0.7); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }

.card-body { padding: 18px 20px 20px; }

.meta-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.meta-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 10.5px;
  color: rgba(240,238,255,0.8);
  letter-spacing: 0.04em;
}
.meta-pill .ic { color: var(--teal-l); }

.includes-lbl {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(167,139,250,0.75);
  margin-bottom: 10px;
  font-weight: 500;
}

.includes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 16px; }

.inc-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 12px;
  background: rgba(109,40,217,0.07);
  border: 1px solid rgba(109,40,217,0.18);
  border-radius: 5px;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(240,238,255,0.88);
}
.inc-check {
  width: 14px; height: 14px;
  margin-top: 2px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--teal-l);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.credit-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(167,139,250,0.1), rgba(167,139,250,0.04));
  border: 1px solid rgba(167,139,250,0.28);
  border-radius: 6px;
  padding: 12px 14px;
}
.credit-icon { color: var(--violet-l); margin-top: 1px; width: 18px; height: 18px; }
.credit-p { font-size: 11.5px; line-height: 1.65; color: rgba(240,238,255,0.86); }
.credit-p strong { color: var(--violet-l); font-weight: 600; }

/* ── PAYMENT ────────────────────────────────────────── */
.pay-tabs { display: flex; gap: 8px; margin-bottom: 12px; }

.pay-tab {
  flex: 1;
  padding: 11px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
}
.pay-tab img { opacity: .55; transition: opacity .2s; }
.pay-tab:hover { background: rgba(255,255,255,0.06); color: var(--cream); }
.pay-tab:hover img, .pay-tab.is-active img { opacity: 1; }
.pay-tab[data-method="zelle"].is-active { background: rgba(var(--zelle-rgb),0.15); border-color: rgba(var(--zelle-rgb),0.5); color: var(--zelle); }
.pay-tab[data-method="cash"].is-active  { background: rgba(var(--cash-rgb),0.15);  border-color: rgba(var(--cash-rgb),0.5);  color: var(--cash); }

.pay-panel[hidden] { display: none; }
.pay-panel.is-active { animation: fade 0.3s ease both; }
.pay-panel:focus { outline: none; }
.pay-panel:focus-visible .card { outline: 3px solid var(--violet-l); outline-offset: 3px; }

.pay-steps { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.pay-steps li { display: flex; align-items: flex-start; gap: 11px; font-size: 12.5px; color: rgba(240,238,255,0.86); line-height: 1.55; }
.pay-steps strong { color: var(--cream); font-weight: 600; }
.pay-steps .num {
  background: rgba(var(--accent-rgb),0.28);
  border: 1px solid rgba(var(--accent-rgb),0.45);
  color: var(--accent);
  font-size: 9.5px;
  font-weight: 600;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.addr-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(var(--accent-rgb),0.3);
  border-radius: 6px;
  padding: 11px 12px 11px 14px;
}
.addr-label { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); flex-shrink: 0; }
.addr-value { font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--cream); flex: 1; min-width: 0; word-break: break-all; }

.addr-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(var(--accent-rgb),0.3);
  border: 1px solid rgba(var(--accent-rgb),0.5);
  color: var(--accent);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform .15s;
  flex-shrink: 0;
}
.addr-btn:hover { background: rgba(var(--accent-rgb),0.5); }
.addr-btn:active { transform: scale(.96); }
.addr-btn--ghost { background: transparent; }
.addr-btn.is-copied { background: rgba(45,212,208,0.2); border-color: rgba(45,212,208,0.55); color: var(--teal-l); }

/* ── FORM ───────────────────────────────────────────── */
.bk-field { margin-bottom: 14px; }

.bk-label {
  display: block;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(167,139,250,0.85);
  margin-bottom: 6px;
  padding: 0;
}
.bk-label .req { color: var(--teal-l); }
.bk-label .opt { color: var(--faint); letter-spacing: .06em; }

.bk-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(167,139,250,0.22);
  border-radius: 5px;
  padding: 11px 13px;
  font-size: 13px;
  color: var(--cream);
  outline: none;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.bk-input:hover { border-color: rgba(167,139,250,0.38); }
.bk-input:focus { border-color: rgba(167,139,250,0.7); background: rgba(109,40,217,0.08); box-shadow: 0 0 0 3px rgba(109,40,217,0.18); }
.bk-input::placeholder { color: rgba(240,238,255,0.3); }
.bk-input[aria-invalid="true"] { border-color: rgba(251,113,133,0.7); }

.select-wrap { position: relative; }
.bk-select { appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer; }
.bk-select option { background: var(--navy2); color: var(--cream); }
.select-caret {
  position: absolute;
  right: 12px; top: 50%;
  width: 16px; height: 16px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--violet);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.bk-textarea { resize: vertical; min-height: 92px; line-height: 1.6; }
.bk-count { text-align: right; font-size: 9.5px; color: var(--faint); margin-top: 4px; letter-spacing: .06em; }

.bk-error { font-size: 10.5px; color: var(--danger); margin-top: 5px; min-height: 0; }
.bk-error:empty { display: none; }

.pay-method-row { display: flex; gap: 8px; }
.pay-method-opt {
  flex: 1;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid rgba(167,139,250,0.22);
  background: rgba(255,255,255,0.03);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--muted);
  user-select: none;
  margin: 0;
}
.pay-method-opt img { opacity: .5; transition: opacity .2s; }
.pay-method-opt:hover { background: rgba(255,255,255,0.06); color: var(--cream); }
.pay-method-opt:has(input:checked) img { opacity: 1; }
.pay-method-opt:has(input:focus-visible) { outline: 3px solid var(--violet-l); outline-offset: 2px; }
.pay-method-opt--zelle:has(input:checked) { background: rgba(var(--zelle-rgb),0.18); border-color: rgba(var(--zelle-rgb),0.55); color: var(--zelle); }
.pay-method-opt--cash:has(input:checked)  { background: rgba(var(--cash-rgb),0.18);  border-color: rgba(var(--cash-rgb),0.55);  color: var(--cash); }
/* JS fallback for browsers without :has() */
.pay-method-opt.is-checked img { opacity: 1; }
.pay-method-opt--zelle.is-checked { background: rgba(var(--zelle-rgb),0.18); border-color: rgba(var(--zelle-rgb),0.55); color: var(--zelle); }
.pay-method-opt--cash.is-checked  { background: rgba(var(--cash-rgb),0.18);  border-color: rgba(var(--cash-rgb),0.55);  color: var(--cash); }

.form-alert {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--danger);
  background: rgba(251,113,133,0.08);
  border: 1px solid rgba(251,113,133,0.3);
  border-radius: 5px;
  padding: 10px 12px;
  margin-top: 6px;
}
.form-alert:empty { display: none; }

.submit-btn {
  position: relative;
  width: 100%;
  margin-top: 16px;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--purple), var(--purple-d));
  color: var(--cream);
  border: 1px solid rgba(167,139,250,0.3);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 30px -12px rgba(109,40,217,0.7);
  transition: filter 0.2s, transform 0.15s, box-shadow .2s;
}
.submit-btn:hover { filter: brightness(1.12); transform: translateY(-1px); box-shadow: 0 14px 34px -12px rgba(109,40,217,0.85); }
.submit-btn:active { transform: translateY(0); }
.submit-btn .submit-arrow { transition: transform .25s var(--ease); }
.submit-btn:hover .submit-arrow { transform: translateX(3px); }
.submit-btn:disabled { cursor: progress; filter: saturate(.7); transform: none; }

.spinner {
  display: none;
  width: 14px; height: 14px;
  border: 2px solid rgba(240,238,255,0.35);
  border-top-color: var(--cream);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.submit-btn.is-loading .spinner { display: block; }
.submit-btn.is-loading .submit-arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.bk-success { text-align: center; padding: 14px 0 6px; animation: rise 0.45s var(--ease) both; }
.bk-success[hidden] { display: none; }
.bk-check {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--purple), var(--purple-d));
  border: 1px solid rgba(167,139,250,0.4);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 30px rgba(109,40,217,0.45);
}
.bk-check svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: var(--teal-l);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: draw .5s .2s ease forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.bk-success-title { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.bk-success-title:focus { outline: none; }
.bk-success-msg { font-size: 12px; color: var(--muted); line-height: 1.7; margin: 0 auto 18px; max-width: 340px; }

.bk-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--violet);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.bk-reset-btn:hover { background: rgba(167,139,250,0.07); border-color: rgba(167,139,250,0.4); }

/* ── FOOTER ─────────────────────────────────────────── */
.footer { text-align: center; padding-top: 6px; animation: rise 0.6s 0.6s var(--ease) both; }
.footer-brand { font-family: var(--serif); font-size: 16px; font-style: italic; color: var(--violet); letter-spacing: 0.05em; margin-bottom: 8px; }
.footer-copy { font-size: 9.5px; color: var(--faint); letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.8; }
.footer-copy a { text-decoration: none; transition: color .2s; }
.footer-copy a:hover { color: var(--violet-l); }

/* ── TOAST ──────────────────────────────────────────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: rgba(16,13,36,0.95);
  border: 1px solid rgba(45,212,208,0.4);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: .03em;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
  transition: opacity .25s, transform .3s var(--ease);
  white-space: nowrap;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ── ANIMATIONS ─────────────────────────────────────── */
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Highlight when jumping to booking */
.block.is-flash .card { animation: flash 1.4s ease; }
@keyframes flash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(167,139,250,0); }
  30% { box-shadow: 0 0 0 4px rgba(167,139,250,0.35); }
}

/* ── ACCESSIBILITY ──────────────────────────────────── */
:focus-visible { outline: 3px solid var(--violet-l); outline-offset: 3px; border-radius: 4px; }
.bk-input:focus-visible { outline: none; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--violet);
  color: var(--navy);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  z-index: 999;
  border-radius: 0 0 4px 0;
}
.skip-link:focus { top: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 440px) {
  body { padding: 40px 14px 32px; }
  .name { font-size: 29px; }
  .link-card { gap: 13px; padding: 14px; }
  .link-card.hero { padding: 16px 14px; }
  .link-icon { width: 40px; height: 40px; }
  .link-name { font-size: 13.5px; }
  .includes-grid { grid-template-columns: 1fr; }
  .card-head, .card-body { padding-left: 16px; padding-right: 16px; }
  .price-block { width: 100%; text-align: left; display: flex; align-items: baseline; gap: 8px; padding-left: 56px; }
  .price-amount { font-size: 30px; }
  .addr-value { flex-basis: 100%; order: 3; }
  .addr-label { flex: 1; }
}
