/* ==========================================================================
   MotionFix — stylesheet
   Edit colours and spacing via the :root variables below.
   ========================================================================== */

:root {
  /* Brand colours */
  --ink:        #0a0a0b;   /* near-black background */
  --ink-2:      #141417;   /* raised surfaces / cards */
  --ink-3:      #1d1d22;   /* borders / hovers */
  --paper:      #f5f6f8;   /* light section background */
  --text:       #e9eaee;   /* main text on dark */
  --text-dim:   #a6a8b1;   /* secondary text on dark */
  --text-ink:   #15161a;   /* text on light backgrounds */
  --accent:     #2f6bff;   /* MotionFix blue */
  --accent-2:   #5b8cff;   /* lighter blue for hovers (dark bg only) */
  --accent-ink: #2154d6;   /* accessible blue on light backgrounds */
  --line:       rgba(255,255,255,0.10);
  --line-dark:  rgba(0,0,0,0.10);

  --maxw: 1140px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 40px -18px rgba(0,0,0,0.55);
  --shadow-accent: 0 10px 24px -10px rgba(47,107,255,0.55);

  /* Spacing scale — one rhythm everywhere */
  --sec-pad: clamp(64px, 8vw, 96px);
  --gap: 24px;
  --card-pad: 28px;

  --ease: cubic-bezier(.22,.68,.36,1);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
          "Apple Color Emoji", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); text-decoration: none; text-underline-offset: 3px; transition: color .15s var(--ease); }
a:hover { text-decoration: underline; }
::selection { background: var(--accent); color: #fff; }

/* Visible, consistent keyboard focus everywhere */
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 2px; }
.btn:focus-visible, .nav-toggle:focus-visible { outline-offset: 2px; }

h1, h2, h3 { margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); line-height: 1.06; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .78rem;
  font-weight: 700; color: var(--accent-2); margin: 0 0 1rem;
}
.lede { font-size: 1.18rem; line-height: 1.6; color: var(--text-dim); max-width: 65ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  font-weight: 700; font-size: 1rem; padding: 14px 26px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s var(--ease), background .2s var(--ease),
              border-color .2s var(--ease), box-shadow .2s var(--ease);
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); color: #fff; box-shadow: var(--shadow-accent); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--text-dim); color: #fff; background: rgba(255,255,255,0.04); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,11,0.82); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { font-weight: 900; font-size: 1.35rem; letter-spacing: -0.03em; color: #fff; text-decoration: none; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand .fix { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text-dim); font-weight: 600; font-size: .95rem; transition: color .15s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-mobile-book { display: none; }  /* shown only inside the mobile menu */

/* Mobile nav */
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 9px;
  width: 44px; height: 40px; color: #fff; cursor: pointer; font-size: 1.2rem;
  transition: border-color .15s var(--ease), background .15s var(--ease); }
.nav-toggle:hover { border-color: var(--text-dim); background: rgba(255,255,255,0.04); }
@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--ink-2); border-bottom: 1px solid var(--line);
    padding: 8px 22px 18px; transform: translateY(-130%); transition: transform .25s var(--ease); z-index: 40;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-desktop-cta { display: none; }
  .nav-mobile-book { display: block; padding-top: 14px !important; }
  .nav-mobile-book .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(72px, 10vw, 104px) 0 clamp(56px, 8vw, 80px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 78% -10%, rgba(47,107,255,0.22), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(47,107,255,0.10), transparent 55%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { max-width: 16ch; }
.hero .lede { margin-top: 1.1rem; font-size: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 2.2rem 0 0; }
.hero-points li { color: var(--text-dim); font-weight: 600; font-size: .95rem; display: flex; align-items: center; gap: .5em; }
.hero-points li::before { content: "✓"; color: var(--accent-2); font-weight: 900; }

/* ---------- Trust bar ---------- */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); }
.trustbar .container { display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; justify-content: center; padding-top: 20px; padding-bottom: 20px; }
.trust-item { color: var(--text-dim); font-weight: 600; font-size: .92rem; display: flex; align-items: center; gap: .5em; }
.trust-item strong { color: #fff; }
.stars { color: #ffc043; letter-spacing: 1px; }

/* ---------- Sections ---------- */
section { padding: var(--sec-pad) 0; }
.section-light { background: var(--paper); color: var(--text-ink); }
.section-light h1, .section-light h2, .section-light h3 { color: var(--text-ink); }
.section-light .lede, .section-light p { color: #3c3f47; }
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); }

/* Accessible link blue on light backgrounds (AA) */
.section-light a:not(.btn) { color: var(--accent-ink); }
.section-light .eyebrow { color: var(--accent-ink); }

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid { gap: 18px; } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--card-pad);
  transition: border-color .2s var(--ease), transform .18s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { border-color: rgba(47,107,255,0.5); transform: translateY(-2px); box-shadow: var(--shadow); }
.section-light .card { background: #fff; border-color: var(--line-dark); box-shadow: 0 10px 30px -20px rgba(0,0,0,.25); }
.section-light .card:hover { box-shadow: 0 16px 36px -18px rgba(0,0,0,.3); }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--text-dim); margin: 0; }
.section-light .card p { color: #4b4e57; }

.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover { text-decoration: none; }
.card-link .more { color: var(--accent-2); font-weight: 700; font-size: .9rem; margin-top: .8rem; display: inline-block; transition: color .15s var(--ease), transform .18s var(--ease); }
.card-link:hover .more { transform: translateX(3px); }
.section-light .card-link .more { color: var(--accent-ink); }

/* Numbered method steps */
.step .num { font-size: 2.4rem; font-weight: 900; color: var(--accent); letter-spacing: -0.04em; line-height: 1; display: block; margin-bottom: .6rem; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
@media (max-width: 640px){ .price-grid { grid-template-columns: 1fr; } }
.price-card { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: border-color .2s var(--ease); }
.price-card:hover { border-color: rgba(47,107,255,0.35); }
.price-card .price { font-size: 2.6rem; font-weight: 900; color: #fff; letter-spacing: -0.03em; }
.price-card .dur { color: var(--text-dim); font-weight: 600; margin-left: .4rem; font-size: 1rem; }
.price-card h3 { margin-bottom: .4rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, #1b3fa0, var(--accent)); }
.cta-band, .cta-band h2 { color: #fff; }
.cta-band .container { text-align: center; }
.cta-band p { color: rgba(255,255,255,0.95); max-width: 60ch; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }
.cta-band .btn-primary { background: #fff; color: var(--accent); }
.cta-band .btn-primary:hover { background: #eef2ff; color: var(--accent); box-shadow: 0 10px 24px -10px rgba(0,0,0,0.35); }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.cta-band .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ---------- Prose (articles / content pages) ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.4rem; }
.prose p { color: var(--text-dim); }
.section-light .prose p { color: #3c3f47; }
.prose ul { color: var(--text-dim); padding-left: 1.2em; }
.prose li { margin-bottom: .5rem; }

/* ---------- FAQ (accordion-free, accessible <details>) ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ink-2); margin-bottom: 12px; overflow: hidden; transition: border-color .2s var(--ease); }
.faq-item:hover { border-color: rgba(255,255,255,0.18); }
.section-light .faq-item { background: #fff; border-color: var(--line-dark); }
.section-light .faq-item:hover { border-color: rgba(0,0,0,0.2); }
.faq-item > summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 1.05rem; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  transition: background .15s var(--ease);
}
.faq-item > summary:hover { background: rgba(255,255,255,0.03); }
.section-light .faq-item > summary:hover { background: rgba(0,0,0,0.03); }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: "+"; color: var(--accent-2); font-weight: 900; font-size: 1.4rem; flex-shrink: 0; }
.section-light .faq-item > summary::after { color: var(--accent-ink); }
.faq-item[open] > summary::after { content: "–"; }
.faq-item .faq-body { padding: 2px 22px 18px; color: var(--text-dim); }
.section-light .faq-item .faq-body { color: #4b4e57; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: .85rem; color: var(--text-dim); padding: 18px 0 0; }
.breadcrumbs a { color: var(--text-dim); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span { color: var(--text-dim); margin: 0 .4em; }

/* ---------- Related links ---------- */
.related { display: flex; flex-wrap: wrap; gap: 12px; }
.related a { background: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; color: var(--text); font-weight: 600; font-size: .92rem;
  transition: border-color .18s var(--ease), background .18s var(--ease), transform .18s var(--ease); }
.related a:hover { border-color: var(--accent); background: var(--ink-3); text-decoration: none; color: #fff; transform: translateY(-1px); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: 44px 0 28px; position: relative; }
.page-hero h1 { max-width: 22ch; }

/* ---------- Contact / location ---------- */
.info-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; }
@media (max-width: 760px){ .info-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; }
.info-list li:last-child { border-bottom: none; }
.info-list .label { color: var(--text-dim); min-width: 92px; font-weight: 600; }
.map-embed { border: 0; width: 100%; height: 300px; border-radius: var(--radius); margin-top: 20px; display: block;
  filter: grayscale(1) contrast(1.05); transition: filter .3s var(--ease); }
.map-embed:hover { filter: grayscale(0); }   /* reveals colour on hover for orientation */

/* ---------- Footer ---------- */
.site-footer { background: #050506; border-top: 1px solid var(--line); padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: var(--text-dim); font-size: .94rem; transition: color .15s var(--ease); }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-brand .brand { font-size: 1.5rem; }
.footer-brand p { color: var(--text-dim); font-size: .94rem; margin-top: 1rem; max-width: 32ch; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; color: var(--text-dim); font-size: .85rem; }
.footer-bottom a { color: var(--text-dim); }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--text-dim); }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; color: #000; padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .btn:hover, .card:hover, .related a:hover, .card-link:hover .more { transform: none; }
}

/* ---------- Images / media ---------- */
figure { margin: 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 52px); align-items: center; }
.hero-media img, .page-media img, .gallery img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-media img { aspect-ratio: 3 / 2; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-media { order: -1; }               /* image on top when stacked */
}

.media-section { padding: clamp(18px, 3vw, 30px) 0 0; }
.page-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.page-media img { aspect-ratio: 3 / 2; }

.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.gallery figure { border-radius: var(--radius-sm); overflow: hidden; }
.gallery img { aspect-ratio: 1 / 1; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

@media (prefers-reduced-motion: reduce) { .gallery figure:hover img { transform: none; } }

/* ---------- Sticky mobile booking bar ---------- */
.mobile-book-bar { display: none; }
@media (max-width: 720px) {
  .mobile-book-bar {
    display: flex; gap: 10px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(10,10,11,0.92); backdrop-filter: saturate(160%) blur(12px);
    border-top: 1px solid var(--line);
  }
  .book-bar-call {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: .4em;
    padding: 13px 16px; border-radius: 999px; font-weight: 700; font-size: .95rem;
    color: #fff; border: 1px solid var(--line); background: transparent; text-decoration: none;
  }
  .book-bar-btn { flex: 1 1 auto; }
  /* keep content clear of the fixed bar */
  body { padding-bottom: 76px; }
  .site-footer { margin-bottom: 0; }
}

/* ---------- Booking page (JaneApp embed) ---------- */
.book-embed-wrap {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 4vw, 40px); text-align: center;
}
.book-embed-wrap iframe { max-width: 100%; }
.book-embed-note { color: var(--text-dim); font-size: .95rem; margin-top: 1rem; }
