:root {
    --ink: #0b0b12;
    --soft: #4a4b57;
    --accent: #7f90f8;
    --accent-deep: #6578ee;
    --pad: clamp(20px, 3.6vw, 56px);
    --gutter: max(var(--pad), calc((100vw - clamp(1000px, 76vw, 1280px)) / 2)); /* keeps nav, copy and photo in one centred column on wide screens */
  }
  * { box-sizing: border-box; margin: 0; }
  html, body { background: #eef0fe; }
  body { font-family: "Inter", system-ui, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; }

  /* ---------- nav ---------- */
  nav {
    position: relative; z-index: 6;
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    padding: 22px var(--pad); border-bottom: 1px solid rgba(101,120,238,.16); background: rgba(255,255,255,.55);
  }
  .brand { display: inline-flex; align-items: center; gap: 10px;
    font-family: "Inter Tight", sans-serif; font-weight: 500; font-size: 18px; letter-spacing: -.015em; color: var(--ink); text-decoration: none; }
  .brand-mark { width: 30px; height: 30px; border-radius: 10px; background: #fff; display: grid; place-items: center;
    box-shadow: 0 1px 2px rgba(20,20,60,.08), 0 0 0 1px rgba(20,20,60,.04); }
  .links { display: flex; gap: 6px; font-size: 14.5px; }
  .links a { position: relative; color: var(--ink); text-decoration: none; padding: 9px 14px; transition: color .2s; }
  .links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px; background: var(--accent-deep);
    transform: scaleX(0); transform-origin: left; transition: transform .25s; }
  .links a:hover { color: var(--accent-deep); }
  .links a:hover::after { transform: scaleX(1); }
  .nav-cta { justify-self: end; display: inline-flex; gap: 6px; }

  .btn {
    display: inline-flex; align-items: center; height: 42px; padding: 0 24px;
    border-radius: 999px; background: var(--accent); color: #fff; text-decoration: none;
    font-size: 14px; font-weight: 500; transition: background .2s, box-shadow .2s;
  }
  .btn:hover { background: var(--accent-deep); }
  .btn-lg { height: 52px; padding: 0 30px; font-size: 15px; box-shadow: 0 10px 30px rgba(101,120,238,.35); }
  .btn-arrow {
    display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px;
    background: var(--accent); color: #fff; text-decoration: none; transition: background .2s, transform .2s;
  }
  .btn-arrow.lg { width: 52px; height: 52px; box-shadow: 0 10px 30px rgba(101,120,238,.35); }
  .btn-arrow:hover { background: var(--accent-deep); transform: translate(1px,-1px); }
  .btn-arrow svg { width: 14px; height: 14px; }

  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  .btn-ghost { gap: 10px; background: rgba(255,255,255,.72); color: var(--ink); box-shadow: 0 0 0 1px rgba(101,120,238,.35) inset; }
  .btn-ghost:hover { background: #fff; box-shadow: 0 0 0 1px rgba(101,120,238,.6) inset; }

  .muted { color: var(--soft); }
  .pane { border-radius: 28px; background: rgba(255,255,255,.86); box-shadow: 0 0 0 1px rgba(101,120,238,.13), 0 12px 36px rgba(70,85,200,.08); }
  .ph { margin: 0; position: relative; overflow: hidden; display: grid; place-items: center; align-content: center; gap: 8px; color: #8a97ee; background: linear-gradient(160deg, #dfe4fd, #f1f3ff); }
  .ph > svg { width: 44px; height: 44px; opacity: .8; }
  .ph figcaption { font-size: 13px; color: #8a97ee; }
  .ph img, .ph iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
  .ph:has(img) > svg, .ph:has(img) figcaption, .ph:has(iframe) > svg, .ph:has(iframe) figcaption { display: none; }
  .tlink { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 500; font-size: 15px; color: var(--accent-deep); text-decoration: none; }
  .tlink svg { width: 12px; height: 12px; transition: transform .2s; } .tlink:hover svg { transform: translate(2px,-2px); }

  /* ---------- footer ---------- */
  .foot { background: #fafaff; padding: clamp(8px, 1vw, 16px) var(--gutter) clamp(28px, 3vw, 40px); }
  .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 36px clamp(24px, 4vw, 64px); padding: clamp(36px, 4vw, 56px) 0; border-top: 1px solid rgba(101,120,238,.2); }
  .foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
  .foot-brand p { max-width: 16em; font-size: 16px; line-height: 1.5; color: var(--soft); }
  .foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 15.5px; line-height: 1.45; color: var(--soft); }
  .foot-col h3 { margin-bottom: 4px; font-family: "Inter Tight", sans-serif; font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
  .foot-col a, .foot-base a { color: var(--ink); text-decoration: none; } .foot-col a:hover, .foot-base a:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
  .foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; border-top: 1px solid rgba(101,120,238,.2); font-size: 14px; color: var(--soft); }
  .foot-legal { display: flex; gap: 20px; }
  @media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
  @media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
  /* sticky mobile bar */
  .dock { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid rgba(101,120,238,.18);
    transform: translateY(110%); transition: transform .3s; }
  .dock.on { transform: none; }
  .dock .btn { flex: 1; justify-content: center; height: 48px; font-size: 15px; }
  .dock .sq { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--accent-deep); text-decoration: none; background: #fff; box-shadow: 0 0 0 1px rgba(101,120,238,.35) inset; }
  .dock .sq svg { width: 22px; height: 22px; }
  body.lock .dock { display: none; }
  @media (min-width: 901px) {
    .dock { display: flex; left: auto; right: 24px; bottom: 24px; padding: 8px; border: 0; border-radius: 999px; background: rgba(255,255,255,.92);
      box-shadow: 0 0 0 1px rgba(101,120,238,.2), 0 16px 40px rgba(70,85,200,.22); transform: translateY(160%); }
    .dock .btn { flex: none; padding: 0 24px; }
    .dock .sq { box-shadow: 0 0 0 1px rgba(101,120,238,.25) inset; }
  }

@media (max-width: 900px) {
  .dock { display: flex; }
  body { padding-bottom: 76px; }
}

  /* ---------- treatment finder ---------- */
  body.lock { overflow: hidden; }
  .finder { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px;
    background: rgba(22,26,80,.38); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .finder.on { display: flex; }
  .fpanel { position: relative; width: min(680px, 100%); max-height: min(92svh, 840px); overflow: auto; background: #fff; border-radius: 32px;
    padding: clamp(22px, 3.4vw, 40px); box-shadow: 0 40px 100px rgba(40,50,150,.35); animation: rise .35s cubic-bezier(.2,.7,.2,1) both; }
  .fbar { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
  .fbtn { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #eef0ff; color: var(--accent-deep); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
  .fbtn:hover { background: #e0e4ff; } .fbtn svg { width: 16px; height: 16px; }
  .fprog { flex: 1; height: 5px; border-radius: 99px; background: #e9ecff; overflow: hidden; }
  .fprog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7f90f8, #a28bfa); transition: width .35s; }
  .fstep { animation: rise .35s cubic-bezier(.2,.7,.2,1) both; }
  .fq { font-family: "Inter Tight", sans-serif; font-weight: 500; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.06; letter-spacing: -.035em; outline: none; }
  .fsub { margin-top: 12px; color: var(--soft); font-size: 15.5px; line-height: 1.5; max-width: 34em; }
  .fopts { margin-top: 26px; display: grid; gap: 10px; }
  .fopts.two { grid-template-columns: 1fr 1fr; }
  .opt { font: inherit; font-size: 16px; font-weight: 500; text-align: left; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 18px; border: 0; border-radius: 18px; background: #f5f6ff; color: var(--ink); box-shadow: 0 0 0 1px rgba(101,120,238,.16) inset;
    transition: background .2s, box-shadow .2s, transform .2s; }
  .opt:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 0 0 1.5px var(--accent) inset, 0 8px 22px rgba(70,85,200,.14); }
  .opt svg { width: 13px; height: 13px; color: var(--accent-deep); flex: none; }
  .finder :focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; }
  .facts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
  .fsum { margin-top: 22px; padding: 16px 18px; border-radius: 18px; background: #f5f6ff; font-size: 14px; display: grid; gap: 7px; }
  .fsum div { display: flex; justify-content: space-between; gap: 18px; } .fsum span { color: var(--soft); } .fsum b { font-weight: 500; text-align: right; }
  .flabel { display: block; margin: 22px 0 10px; font-size: 13.5px; font-weight: 500; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .chip { font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; padding: 10px 16px; border: 0; border-radius: 999px; background: #f5f6ff; color: var(--ink); box-shadow: 0 0 0 1px rgba(101,120,238,.2) inset; transition: background .2s, color .2s; }
  .chip.on { background: var(--accent); color: #fff; box-shadow: none; }
  .fin { width: 100%; font: inherit; font-size: 16px; padding: 14px 16px; border: 0; border-radius: 14px; background: #f5f6ff; color: var(--ink); box-shadow: 0 0 0 1px rgba(101,120,238,.2) inset; }
  .fin:focus { outline: 2px solid var(--accent-deep); background: #fff; }
  .fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; } .fgrid .flabel { margin: 0 0 8px; }
  .ferr { color: #c2410c; font-size: 13px; margin-top: 10px; min-height: 1em; }
  .talk { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(101,120,238,.16); font-size: 14px; color: var(--soft); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
  .talk a { color: var(--accent-deep); font-weight: 500; text-decoration: none; padding: 8px 14px; border-radius: 999px; box-shadow: 0 0 0 1px rgba(101,120,238,.3) inset; }
  .talk a:hover { background: #f5f6ff; }
  .fflag { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; background: #fff3e6; color: #b45309; font-size: 12.5px; font-weight: 500; }
  .fdone-tick { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin-bottom: 20px; } .fdone-tick svg { width: 24px; height: 24px; }
  .fcat { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; background: #eef0ff; color: var(--accent-deep); font-size: 12.5px; font-weight: 500; }
  .frecap { margin-top: 14px; font-size: 14px; color: var(--soft); }
  .fq, .fsub { text-wrap: balance; }
  .linkbtn { font: inherit; color: var(--accent-deep); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
  .fnote { margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: var(--soft); }
  @media (max-width: 600px) {
    .finder { align-items: flex-end; padding: 0; } .fpanel { border-radius: 28px 28px 0 0; max-height: 94svh; }
    .fopts.two, .fgrid { grid-template-columns: 1fr; }
  }
  @media (prefers-reduced-motion: reduce) { .fpanel, .fstep { animation: none; } }

/* Shared interaction dependencies used by the booking finder and nav on every page. */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none;
  padding-bottom: 3px; border-bottom: 1.5px solid rgba(101,120,238,.45); transition: border-color .2s, gap .2s; }
.text-link svg { width: 14px; height: 12px; color: var(--accent-deep); }
.text-link:hover { border-color: var(--accent-deep); gap: 11px; }
@media (max-width: 900px) {
  nav { grid-template-columns: 1fr auto; }
  .links { display: none; }
  .brand { white-space: nowrap; font-size: 17px; }
  .nav-cta .btn { display: none; }
}

/* ---------- treatment navigation ---------- */
.nav-group { position: relative; display: flex; align-items: center; }
.treatment-menu {
  position: absolute; z-index: 40; top: calc(100% + 12px); left: 50%; width: min(680px, 76vw);
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden; pointer-events: none;
  padding: 14px; border-radius: 24px; background: rgba(255,255,255,.98);
  box-shadow: 0 0 0 1px rgba(101,120,238,.14), 0 24px 70px rgba(34,44,120,.18);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.treatment-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-group:hover .treatment-menu, .nav-group:focus-within .treatment-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.treatment-menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.treatment-menu-col { display: grid; align-content: start; gap: 2px; padding: 8px; }
.treatment-menu-label { padding: 4px 10px 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #8a8da0; }
.links .treatment-menu a { display: block; padding: 10px 12px; border-radius: 14px; color: var(--ink); }
.links .treatment-menu a::after { display: none; }
.links .treatment-menu a strong { display: block; font-size: 14px; font-weight: 600; }
.links .treatment-menu a span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--soft); }
.links .treatment-menu a:hover, .links .treatment-menu a.current { background: #f3f4ff; color: var(--accent-deep); }
.links .treatment-menu-all { margin-top: 6px; display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-radius: 16px; background: #eceeff; color: var(--accent-deep); font-weight: 600; }
.links .treatment-menu a.treatment-menu-all span { display: inline; margin: 0; color: inherit; font-size: 15px; }
.nav-menu-btn { display: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.82); color: var(--accent-deep); box-shadow: 0 0 0 1px rgba(101,120,238,.25) inset; cursor: pointer; place-items: center; }
.nav-menu-btn svg { width: 18px; height: 18px; }
.mobile-menu { display: none; }
@media (max-width: 900px) {
  .nav-menu-btn { display: grid; }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu:not([hidden]) {
    position: absolute; z-index: 45; display: block; top: calc(100% + 8px); left: var(--pad); right: var(--pad);
    max-height: min(72svh, 620px); overflow: auto; padding: 18px; border-radius: 24px;
    background: rgba(255,255,255,.98); box-shadow: 0 0 0 1px rgba(101,120,238,.14), 0 24px 70px rgba(34,44,120,.2);
  }
  .mobile-menu-top { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 2px 2px 14px; border-bottom: 1px solid rgba(101,120,238,.14); }
  .mobile-menu-title { font-family: "Inter Tight", sans-serif; font-size: 21px; font-weight: 500; color: var(--ink); text-decoration: none; }
  .mobile-menu-top span { font-size: 12.5px; color: var(--soft); text-align: right; }
  .mobile-treatment-list { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 14px 0; }
  .mobile-treatment-list a, .mobile-menu-links a { padding: 12px 13px; border-radius: 13px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
  .mobile-treatment-list a { background: #f6f6ff; }
  .mobile-treatment-list a.current { background: #eceeff; color: var(--accent-deep); }
  .mobile-menu-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding-top: 12px; border-top: 1px solid rgba(101,120,238,.14); }
  .mobile-menu-links a { text-align: center; color: var(--soft); }
}
@media (max-width: 520px) {
  .mobile-treatment-list { grid-template-columns: 1fr; }
  .mobile-menu-links { grid-template-columns: 1fr; }
  .mobile-menu-top { align-items: flex-start; flex-direction: column; gap: 3px; }
  .mobile-menu-top span { text-align: left; }
}
