/* ==========================================================================
   AMG Automations — shared landing page styles
   Shared across niche pages (/pilates/, future /medspa/, /ppf/ ...).
   Keep niche-specific copy in each page's HTML, not here.
   ========================================================================== */

:root {
  --bg: #f7f9fd;
  --surface: #ffffff;
  --navy: #0a1633;
  --navy-2: #121f47;
  --ink: #1b2645;
  --muted: #56617f;
  --soft: #7c87a3;
  --line: #e3e8f3;
  --blue: #2563eb;
  --violet: #7c3aed;
  --green: #15a150;
  --green-bg: #e6f6ec;
  --grad: linear-gradient(100deg, #2563eb 0%, #5b4cf0 55%, #7c3aed 100%);

  --radius: 20px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 60, .04), 0 6px 16px -6px rgba(15, 23, 60, .07);
  --shadow-md: 0 1px 2px rgba(15, 23, 60, .04), 0 22px 44px -18px rgba(30, 41, 99, .2);
  --shadow-cta: 0 16px 34px -12px rgba(84, 60, 235, .55), inset 0 1px 0 rgba(255, 255, 255, .22);

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.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;
}

.page { position: relative; isolation: isolate; overflow: hidden; overflow: clip; }
.page::before {
  /* faint blue + violet glows behind the hero */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: -260px; width: 1600px; height: 1300px; transform: translateX(-50%);
  background:
    radial-gradient(520px 380px at 28% 30%, rgba(37, 99, 235, .13), transparent 70%),
    radial-gradient(520px 400px at 74% 24%, rgba(124, 58, 237, .12), transparent 70%),
    radial-gradient(700px 420px at 50% 78%, rgba(91, 76, 240, .06), transparent 70%);
}

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

/* ---------- Header (logo only, no nav) ---------- */
.site-header { display: flex; justify-content: center; padding: clamp(22px, 4vw, 36px) var(--gutter) 0; }
.logo { display: inline-block; border-radius: 10px; }
.logo img { width: clamp(118px, 22vw, 146px); height: auto; }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 52px) 0 clamp(64px, 9vw, 104px); text-align: center; }
.hero .narrow { max-width: 1060px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: .8125rem; font-weight: 600; letter-spacing: .01em; color: var(--muted);
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 3px rgba(91, 76, 240, .14); }

.hero-title {
  margin-top: 22px;
  font-size: clamp(2rem, 1.15rem + 3.7vw, 3.65rem);
  line-height: 1.08; letter-spacing: -.032em; font-weight: 800;
  color: var(--navy);
  text-wrap: balance;
}
.hl { display: block; margin-top: .12em; }
/* Gradient text with an underline that follows each wrapped line */
.hl-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  text-decoration-line: underline;
  text-decoration-color: rgba(98, 76, 240, .85);
  text-decoration-thickness: clamp(3px, .075em, 5px);
  text-underline-offset: .16em;
  text-decoration-skip-ink: none;
}

.hero-sub {
  max-width: 620px; margin: 22px auto 0;
  font-size: clamp(1.05rem, .98rem + .4vw, 1.22rem); line-height: 1.6; color: var(--muted);
  text-wrap: pretty;
}

.checks {
  list-style: none; padding: 0; margin: 36px auto 0; max-width: 780px;
  display: grid; gap: 12px; text-align: left;
}
.check {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; min-height: 64px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-sm);
  font-weight: 700; font-size: 1rem; line-height: 1.35; letter-spacing: -.005em; color: var(--navy);
}
.check-icon {
  flex: none; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--green-bg); color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(21, 161, 80, .14);
}
@media (min-width: 720px) {
  .checks { grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* ---------- CTA button ---------- */
.cta-block { max-width: 640px; margin: 40px auto 0; text-align: center; }
.cta-above {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
}
.cta-above::before, .cta-above::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .45; }

.btn-cta {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 70px; padding: 14px 72px;
  border-radius: 999px; background: var(--grad); background-size: 140% 100%; background-position: 0 0;
  color: #fff; text-decoration: none;
  font-weight: 800; font-size: clamp(1.08rem, 1rem + .55vw, 1.32rem); letter-spacing: -.01em; line-height: 1.2;
  box-shadow: var(--shadow-cta);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-position .5s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn-circle {
  position: absolute; right: 9px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: #5b4cf0;
  box-shadow: 0 4px 12px -4px rgba(10, 22, 51, .3);
}
.btn-circle svg { transition: transform .3s var(--ease); }
.btn-cta:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 22px 40px -14px rgba(84, 60, 235, .65), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-cta:hover .btn-circle svg { transform: translateX(3px); }
.btn-cta:active { transform: translateY(0); }
.btn-cta:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 999px; }

.cta-below { margin-top: 14px; font-size: .875rem; color: var(--muted); }

@media (max-width: 420px) {
  .btn-cta { min-height: 64px; padding: 12px 64px 12px 56px; }
  .btn-circle { width: 46px; height: 46px; right: 8px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { max-width: 660px; margin: 0 auto clamp(32px, 5vw, 52px); text-align: center; }
.kicker {
  display: inline-block; margin-bottom: 12px;
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.section-title {
  font-size: clamp(1.7rem, 1.2rem + 2.1vw, 2.55rem); line-height: 1.15; letter-spacing: -.028em;
  font-weight: 800; color: var(--navy); text-wrap: balance;
}
.section-lead { max-width: 540px; margin: 14px auto 0; font-size: 1.0625rem; color: var(--muted); text-wrap: pretty; }

/* ---------- How it works ---------- */
.how {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .75) 18%, rgba(255, 255, 255, .75) 82%, rgba(255, 255, 255, 0) 100%);
}
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step {
  position: relative; padding: 26px 24px 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 10px 20px -10px rgba(84, 60, 235, .7);
}
.step h3 { margin: 18px 0 8px; font-size: 1.2rem; letter-spacing: -.015em; color: var(--navy); }
.step p { color: var(--muted); }
@media (max-width: 859px) {
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 22px 20px; }
  .step-num { grid-row: span 2; }
  .step h3 { margin: 8px 0 6px; }
}
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .steps::before {
    content: ""; position: absolute; left: 12%; right: 12%; top: 48px; height: 2px; z-index: -1;
    background: repeating-linear-gradient(90deg, rgba(91, 76, 240, .35) 0 6px, transparent 6px 12px);
  }
  .step { padding: 30px 28px; }
}

/* ---------- Services slider ---------- */
.services { padding-bottom: clamp(56px, 8vw, 96px); }
.slider { --slide-w: min(78vw, 384px); --slide-gap: 16px; position: relative; }
@media (min-width: 720px) { .slider { --slide-gap: 22px; } }

.slider-track {
  position: relative; display: flex; gap: var(--slide-gap);
  overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 14px calc((100% - var(--slide-w)) / 2) 34px;
  -webkit-overflow-scrolling: touch;
  outline: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track:focus-visible { box-shadow: inset 0 0 0 3px rgba(37, 99, 235, .5); border-radius: 12px; }
.slider-track.is-gliding { scroll-snap-type: none; }
.slider-track.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; -webkit-user-select: none; }
@media (hover: hover) and (pointer: fine) { .slider-track { cursor: grab; } }

.slide {
  flex: 0 0 var(--slide-w); scroll-snap-align: center;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.js .slide:not(.is-active) { opacity: .5; transform: scale(.955); }
.js .slide:not(.is-active):hover { opacity: .75; }

.svc {
  height: 100%; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.svc-visual {
  position: relative; display: grid; place-items: center;
  height: 252px; padding: 34px 20px 18px;
  background:
    radial-gradient(240px 160px at 15% 10%, rgba(37, 99, 235, .1), transparent 70%),
    radial-gradient(260px 180px at 90% 100%, rgba(124, 58, 237, .11), transparent 70%),
    #f4f6fd;
  border-bottom: 1px solid var(--line);
  user-select: none; -webkit-user-select: none;
}
.svc-tag {
  position: absolute; top: 12px; left: 14px;
  font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--soft);
}
.svc-body { padding: 22px 24px 28px; }
.svc-num { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; color: #5b4cf0; }
.svc h3 { margin: 6px 0 8px; font-size: 1.28rem; letter-spacing: -.02em; color: var(--navy); }
.svc p { color: var(--muted); font-size: .98rem; }

.slider-controls {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 12px;
  padding: 0 var(--gutter);
}
.arrow {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--surface); color: var(--navy); cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), border-color .25s, color .25s, opacity .25s;
  -webkit-tap-highlight-color: transparent;
}
.arrow:hover:not(:disabled) { border-color: rgba(91, 76, 240, .45); color: #5b4cf0; transform: translateY(-1px); }
.arrow:disabled { opacity: .38; cursor: default; box-shadow: none; }
.arrow:focus-visible { border-radius: 50%; }

.dots { display: flex; justify-content: center; }
.dot {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.dot::before {
  content: ""; width: 8px; height: 8px; border-radius: 99px; background: #cfd6e6;
  transition: width .45s var(--ease), background-color .45s var(--ease);
}
.dot:hover::before { background: #aab4cc; }
.dot[aria-current="true"]::before { width: 28px; background: var(--grad); }
.dot:focus-visible { border-radius: 12px; outline-offset: -4px; }
@media (max-width: 440px) {
  .dots { order: -1; flex-basis: 100%; }
}

/* ---------- Mini UIs (illustrations inside service cards) ---------- */
.mui {
  width: 100%; max-width: 300px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 12.5px; line-height: 1.35; color: var(--ink);
}
.mui-row, .lead {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 6px 16px -10px rgba(30, 41, 99, .25);
}
.mui-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.mui-meta strong { font-weight: 700; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mui-meta span { font-size: 11px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mui-time { font-size: 11px; color: var(--soft); }
.mui-ico { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.ico-red { background: #fde8ea; color: #e0384f; }
.ico-green { background: var(--green-bg); color: var(--green); }

.bubble {
  max-width: 86%; padding: 8px 11px; border-radius: 14px; font-size: 12px; line-height: 1.4;
  box-shadow: 0 6px 14px -10px rgba(30, 41, 99, .3);
}
.bubble.out { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 4px; }
.bubble.in { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble.typing { display: flex; gap: 4px; padding: 10px 12px; }
.bubble.typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .85); animation: blink 1.4s infinite both; }
.bubble.typing i:nth-child(2) { animation-delay: .2s; }
.bubble.typing i:nth-child(3) { animation-delay: .4s; }

.avatar, .crm-card i {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  font-size: 10.5px; font-weight: 800; color: #fff; font-style: normal;
}
.av1 { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.av2 { background: linear-gradient(135deg, #c084fc, #7c3aed); }
.av3 { background: linear-gradient(135deg, #f9a8d4, #db2777); }
.av4 { background: linear-gradient(135deg, #fcd34d, #f59e0b); }

.chip {
  flex: none; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 8px; border-radius: 99px; font-size: 10.5px; font-weight: 700; white-space: nowrap;
}
.chip-green { background: var(--green-bg); color: #0f7f3e; }
.chip-blue { background: #e8eefe; color: #2b4fd6; }
.chip-amber { background: #fff3db; color: #a15c07; }
.pulse { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.4s infinite both; }

.leads .lead:nth-child(2) { margin-left: 10px; margin-right: -10px; }
.lead.is-pending { opacity: .8; }

.timeline { gap: 0; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 24px -14px rgba(30, 41, 99, .3); }
.tl { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 5px 0; }
.tl:not(:last-child)::before {
  content: ""; position: absolute; left: 7px; top: 22px; bottom: -6px; width: 2px; background: #dfe5f2;
}
.tl.done:not(:last-child)::before { background: linear-gradient(#5b4cf0, #8b7cf7); }
.tl-dot { flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: #fff; border: 2px solid #cfd6e6; }
.tl.done .tl-dot { border: 0; background: var(--grad); }
.tl.current .tl-dot { border-color: #5b4cf0; box-shadow: 0 0 0 4px rgba(91, 76, 240, .16); }
.tl.current .mui-meta strong { color: #5b4cf0; }

.booked { background: #f3fbf6; border-color: #cdeed9; }
.booked .mui-meta strong { color: #0f7f3e; }

.crm { padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 24px -14px rgba(30, 41, 99, .3); }
.crm-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.crm-head strong { color: var(--navy); }
.crm-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.crm-col { display: flex; flex-direction: column; gap: 6px; padding: 8px 6px; background: #f5f7fc; border-radius: 10px; }
.crm-label { font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); padding-left: 2px; white-space: nowrap; }
.crm-card { display: flex; align-items: center; gap: 6px; padding: 5px; background: #fff; border-radius: 8px; box-shadow: 0 2px 6px -3px rgba(30, 41, 99, .25); }
.crm-card i { width: 16px; height: 16px; }
.crm-card b { flex: 1; height: 6px; border-radius: 4px; background: #e3e8f3; }
.crm-card.is-member { box-shadow: inset 0 0 0 1px #cdeed9; }
.crm-card.is-member b { background: #cdeed9; }

.browser { gap: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 26px -14px rgba(30, 41, 99, .35); }
.br-bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: #f1f4fa; border-bottom: 1px solid var(--line); }
.br-bar > span { width: 7px; height: 7px; border-radius: 50%; background: #d3d9e7; }
.br-url { flex: 1; margin-left: 8px; padding: 2px 8px; border-radius: 6px; background: #fff; font-size: 10px; color: var(--soft); text-align: center; }
.br-body { padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.br-hero {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px;
  border-radius: 10px; color: #fff;
  background: linear-gradient(135deg, #0a1633 0%, #26306e 60%, #4b3aa8 100%);
}
.br-hero strong { font-size: 13px; line-height: 1.25; max-width: 170px; }
.br-btn { padding: 4px 10px; border-radius: 99px; background: #fff; color: var(--navy); font-size: 10px; font-weight: 700; }
.br-row { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; font-size: 10.5px; }
.br-row span { color: var(--soft); width: 52px; }
.br-row em { flex: 1; font-style: normal; font-weight: 700; color: var(--navy); }
.br-row b { padding: 2px 8px; border-radius: 99px; background: var(--grad); color: #fff; font-size: 9.5px; }

/* ---------- Final CTA band ---------- */
.final {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--navy); color: #dfe5f7; text-align: center;
}
.final::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 360px at 12% 0%, rgba(37, 99, 235, .38), transparent 70%),
    radial-gradient(560px 400px at 92% 100%, rgba(124, 58, 237, .4), transparent 70%),
    linear-gradient(180deg, #0a1633, #0d1a42);
}
.final::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.kicker-light { background: linear-gradient(90deg, #93b4ff, #c4b5fd); -webkit-background-clip: text; background-clip: text; }
.final-title {
  font-size: clamp(1.95rem, 1.2rem + 3vw, 3.1rem); line-height: 1.1; letter-spacing: -.03em;
  font-weight: 800; color: #fff; text-wrap: balance;
}
.final-lead { max-width: 560px; margin: 18px auto 0; font-size: 1.0625rem; color: #b8c2e0; text-wrap: pretty; }
.final-list {
  list-style: none; margin: 36px auto 0; padding: 0; max-width: 560px;
  display: grid; gap: 10px; text-align: left;
}
.final-list li {
  display: flex; align-items: center; gap: 14px; padding: 15px 18px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px;
  font-weight: 600; color: #eef1fb; line-height: 1.4;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.final-ico {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(74, 222, 128, .14); color: #5ee08f;
}
.final .cta-block { margin-top: 40px; }
.final .cta-above { color: #a9bdff; }
.final .btn-cta { box-shadow: 0 18px 40px -14px rgba(124, 58, 237, .75), inset 0 1px 0 rgba(255, 255, 255, .25); }
.final .btn-cta:focus-visible { outline-color: #fff; }
.final .cta-below { color: #9aa6c9; }
.final :focus-visible { outline-color: #fff; }

/* ---------- Footer ---------- */
.site-footer { padding: 22px 0; background: #0b1530; color: #8f9abb; font-size: .875rem; border-top: 1px solid rgba(255, 255, 255, .06); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 18px; }
.footer-inner nav { display: flex; gap: 4px 18px; }
.footer-inner a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 4px; text-decoration: none; color: #b5bfdb; }
.footer-inner a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer :focus-visible { outline-color: #fff; }
@media (max-width: 520px) { .footer-inner { flex-direction: column; justify-content: center; text-align: center; padding-top: 6px; } }

/* ---------- Booking popup (markup injected by main.js) ---------- */
html.bk-lock, html.bk-lock body { overflow: hidden; }
.bk {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px var(--gutter);
  background: rgba(10, 22, 51, .42);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  opacity: 0; transition: opacity .2s var(--ease);
  overscroll-behavior: contain;
}
.bk[hidden] { display: none; }
.bk.is-open { opacity: 1; }
.bk-dialog {
  position: relative; display: flex; flex-direction: column;
  width: 100%; max-width: 560px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -24px rgba(10, 22, 51, .45), 0 2px 6px rgba(10, 22, 51, .06);
  transform: translateY(10px) scale(.985); transition: transform .24s var(--ease), max-width .24s var(--ease);
  outline: none;
}
.bk.is-open .bk-dialog { transform: none; }
.bk-dialog.is-wide { max-width: 880px; height: min(860px, calc(100vh - 48px)); height: min(860px, calc(100dvh - 48px)); overflow: hidden; }

.bk-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 10px 14px; }
.bk-back, .bk-close {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px;
  border: 0; border-radius: 999px; background: none; cursor: pointer;
  font-size: .9rem; font-weight: 700; color: var(--muted);
  transition: background-color .2s, color .2s; -webkit-tap-highlight-color: transparent;
}
.bk-back:hover, .bk-close:hover { background: #f1f4fa; color: var(--navy); }
.bk-back[aria-hidden="true"] { visibility: hidden; }
.bk-close span { font-size: 1rem; line-height: 1; }
.bk-progress { flex: none; height: 4px; margin: 0 28px; border-radius: 99px; background: #edf0f7; overflow: hidden; }
.bk-progress span { display: block; height: 100%; width: 25%; border-radius: inherit; background: var(--grad); transition: width .35s var(--ease); }

.bk-body { display: flex; flex-direction: column; flex: 1; min-height: 0; padding: 22px 28px 28px; }
.bk-step { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.bk-step[hidden] { display: none; }
.bk-step.bk-in-fwd { animation: bk-fwd .26s var(--ease) both; }
.bk-step.bk-in-back { animation: bk-back .26s var(--ease) both; }
@keyframes bk-fwd { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes bk-back { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }

.bk-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.bk-marker {
  flex: none; display: grid; place-items: center; min-width: 38px; height: 26px; margin-top: 2px; padding: 0 8px;
  border-radius: 999px; background: var(--grad); color: #fff;
  font-size: .75rem; font-weight: 800; letter-spacing: .02em;
  box-shadow: 0 8px 16px -10px rgba(84, 60, 235, .8);
}
.bk-title { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.25; letter-spacing: -.022em; font-weight: 800; color: var(--navy); text-wrap: balance; outline: none; }
.bk-sub { margin-top: 4px; font-size: .95rem; color: var(--muted); }

/* Fields */
.bk-form { display: flex; flex-direction: column; }
.bk-grid { display: grid; gap: 14px; }
.bk-row2 { display: grid; gap: 14px; }
@media (min-width: 480px) { .bk-row2 { grid-template-columns: 1.6fr 1fr; } }
.bk-field label { display: block; margin-bottom: 6px; font-size: .875rem; font-weight: 700; color: var(--navy); }
.bk-input {
  display: block; width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid #d6ddeb; border-radius: 14px; background: #fff;
  font: inherit; font-size: 1rem; color: var(--navy);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.bk-input::placeholder { color: #a3acc4; }
.bk-input:hover { border-color: #c3cce0; }
.bk-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .14); }
select.bk-input {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%2356617f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.bk-input[aria-invalid="true"] { border-color: #e0384f; }
.bk-input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(224, 56, 79, .14); }
.bk-err { margin-top: 6px; font-size: .8125rem; font-weight: 600; color: #c9293f; }
.bk-err:empty { display: none; }
.bk-other { margin-top: 10px; }
.bk-other[hidden] { display: none; }

.bk-submit { margin-top: 22px; min-height: 60px; border: 0; cursor: pointer; font-size: 1.08rem; padding: 12px 64px; }
.bk-submit .btn-circle { width: 44px; height: 44px; right: 8px; }
.bk-fine { margin-top: 12px; font-size: .75rem; line-height: 1.5; color: var(--soft); text-align: center; }

/* Step 2: lettered options */
.bk-options { display: grid; gap: 10px; }
.bk-option {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer;
  text-align: left; font-size: 1rem; font-weight: 600; color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: border-color .18s, background-color .18s, transform .18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.bk-option:hover { border-color: rgba(91, 76, 240, .5); background: #fafaff; }
.bk-option:active { transform: scale(.99); }
.bk-option:focus-visible { outline-offset: 2px; border-radius: 14px; }
.bk-key {
  flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px;
  border: 1px solid #d6ddeb; background: #f5f7fc; color: var(--muted);
  font-size: .78rem; font-weight: 800; transition: background-color .18s, color .18s, border-color .18s;
}
.bk-option[aria-checked="true"] { border-color: #5b4cf0; background: #f4f2ff; }
.bk-option[aria-checked="true"] .bk-key { border-color: transparent; background: var(--grad); color: #fff; }
.bk-hint { margin-top: 12px; font-size: .78rem; color: var(--soft); text-align: center; }
@media (hover: none) { .bk-hint { display: none; } }

/* Step 3: budget */
.bk-budget { padding: 22px 20px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fafbfe; transition: opacity .2s; }
.bk-budget.is-disabled { opacity: .45; }
.bk-amount { text-align: center; font-size: clamp(2.1rem, 1.7rem + 1.6vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--navy); font-variant-numeric: tabular-nums; }
.bk-range {
  --fill: 8.16%;
  display: block; width: 100%; height: 44px; margin: 14px 0 2px; padding: 0;
  background: transparent; cursor: pointer; touch-action: pan-y;
  -webkit-appearance: none; appearance: none;
}
.bk-range:focus { outline: none; }
.bk-range::-webkit-slider-runnable-track {
  height: 8px; border-radius: 99px;
  background: linear-gradient(90deg, #2563eb, #7c3aed) 0 0 / var(--fill) 100% no-repeat, #e3e8f3;
}
.bk-range::-moz-range-track { height: 8px; border-radius: 99px; background: #e3e8f3; }
.bk-range::-moz-range-progress { height: 8px; border-radius: 99px; background: linear-gradient(90deg, #2563eb, #7c3aed); }
.bk-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px; margin-top: -10px; border-radius: 50%;
  background: #fff; border: 3px solid #5b4cf0;
  box-shadow: 0 6px 14px -4px rgba(84, 60, 235, .55);
  transition: transform .15s var(--ease), box-shadow .15s;
}
.bk-range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 3px solid #5b4cf0;
  box-shadow: 0 6px 14px -4px rgba(84, 60, 235, .55);
}
.bk-range:active::-webkit-slider-thumb { transform: scale(1.12); }
.bk-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(37, 99, 235, .25), 0 6px 14px -4px rgba(84, 60, 235, .55); }
.bk-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px rgba(37, 99, 235, .25); }
.bk-range:disabled { cursor: not-allowed; }
.bk-range:disabled::-webkit-slider-thumb { border-color: #aab4cc; box-shadow: none; }
.bk-range:disabled::-moz-range-thumb { border-color: #aab4cc; box-shadow: none; }
.bk-scale { display: flex; justify-content: space-between; font-size: .78rem; font-weight: 600; color: var(--soft); }
.bk-type { margin-top: 18px; }
.bk-money { position: relative; }
.bk-money span { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--muted); pointer-events: none; }
.bk-money .bk-input { padding-left: 30px; font-weight: 700; }
.bk-input:disabled { background: #f1f4fa; color: var(--soft); cursor: not-allowed; }
.bk-check {
  display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; min-height: 52px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer;
  font-weight: 600; color: var(--navy);
}
.bk-check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: #5b4cf0; cursor: pointer; }

/* Step 4: Calendly */
.bk-embed { position: relative; flex: 1; min-height: 520px; margin: 0 -28px -28px; border-top: 1px solid var(--line); background: #fff; }
.bk-frame { position: absolute; inset: 0; }
.bk-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.bk-frame .calendly-spinner { display: none; }
.bk-loading {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: #fff; font-size: .9rem; font-weight: 600; color: var(--muted);
  transition: opacity .25s var(--ease);
}
.bk-loading[hidden] { display: none; }
.bk-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #e3e8f3; border-top-color: #5b4cf0; animation: bk-spin .8s linear infinite; }
@keyframes bk-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bk-spin { animation-duration: 1.6s !important; animation-iteration-count: infinite !important; } }
.bk-fail { font-size: .875rem; color: var(--muted); text-align: center; padding: 0 20px; }
.bk-fail[hidden] { display: none; }
.bk-fail a { color: var(--blue); font-weight: 700; }

/* Phones: full-height sheet that scrolls internally */
@media (max-width: 600px) {
  .bk { padding: 0; align-items: stretch; }
  .bk-dialog, .bk-dialog.is-wide {
    max-width: none; height: 100%; max-height: none; border-radius: 0; border: 0;
    transform: translateY(24px);
  }
  .bk-top { padding: 10px 10px 8px 8px; padding-top: max(10px, env(safe-area-inset-top)); }
  .bk-progress { margin: 0 20px; }
  .bk-body { padding: 20px 20px 28px; padding-bottom: max(28px, env(safe-area-inset-bottom)); }
  .bk-dialog.is-wide .bk-body { padding-bottom: 0; }
  .bk-embed { margin: 0 -20px; min-height: 480px; }
}

/* ---------- Thank-you placeholder (/seeyousoon/) ---------- */
.thanks { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 40px var(--gutter); text-align: center; }
.thanks .logo img { width: 140px; height: auto; margin-bottom: 10px; }
.thanks h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 2.8rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; color: var(--navy); }
.thanks p { color: var(--muted); font-size: 1.0625rem; }
.thanks a.back { color: var(--blue); font-weight: 700; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes blink { 0%, 80%, 100% { opacity: .35; } 40% { opacity: 1; } }

.js .rise { animation: rise .8s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms + 60ms); }

.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html, .slider-track { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    animation-delay: 0ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important;
  }
  .js .reveal, .js .rise { opacity: 1; transform: none; }
  .btn-cta:hover, .arrow:hover:not(:disabled) { transform: none; }
}
