/* ==========================================================================
   Кинезика Физио Елит — stylesheet (design v2, "modern")
   --------------------------------------------------------------------------
   This file is generated: src/styles/*.css are joined, in order, into
   assets/css/styles.css by `node build.js`. Edit the parts, not the output.

   01 tokens + base   02 layout + buttons   03 header, menu, mobile bar
   04 hero, about, approach   05 services, technology, team, contact, footer
   06 service pages   07 responsive + user preferences
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — sampled from the Кинезика logo */
  --brand-700: #0b4fa3;
  --brand-600: #0e63c8;
  --brand-500: #1479e0;
  --brand-400: #2fa3e8;
  --brand-300: #7cc6f2;
  --brand-200: #bfe0f8;
  --brand-100: #dceefc;
  --brand-50:  #f0f7fe;

  --navy-950: #06121f;
  --navy-900: #0a1b33;
  --navy-800: #0f2748;
  --navy-700: #16355e;

  --gold-500: #8a6014;  /* 5.6:1 on white — AA for small bold text */
  --gold-400: #d5a64b;
  --gold-100: #f6ecd8;

  /* Neutrals */
  --ink-900: #0b1524;
  --ink-700: #1f2f44;
  --ink-500: #54677f;
  --ink-400: #5d6b80;   /* 5.4:1 on white */
  --line-200: #e4eaf2;
  --line-100: #eef2f7;
  --surface-50: #f5f8fc;
  --surface-100: #edf2f9;
  --white: #ffffff;

  /* Semantic roles */
  --color-text: var(--ink-900);
  --color-text-muted: var(--ink-500);
  --color-bg: var(--white);
  --color-surface: var(--surface-50);
  --color-border: var(--line-200);
  --color-primary: var(--brand-600);
  --color-primary-hover: var(--brand-700);
  --color-on-primary: var(--white);
  --color-danger: #b3261e;
  --color-success: #14713f;
  --color-viber: #6e51a5;
  --color-whatsapp: #128c4a;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #1a86ee 0%, #0e63c8 55%, #0b4fa3 100%);
  --grad-text: linear-gradient(100deg, #0b4fa3 0%, #1479e0 100%);

  /* Spacing — 4 / 8 rhythm */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* Radii — generous, rounded */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-2xl: 44px;
  --radius-pill: 999px;

  /* Elevation — soft, layered */
  --shadow-xs: 0 1px 2px rgba(10, 27, 51, .05), 0 1px 1px rgba(10, 27, 51, .03);
  --shadow-sm: 0 2px 10px rgba(10, 27, 51, .06);
  --shadow-md: 0 14px 34px -10px rgba(10, 27, 51, .14);
  --shadow-lg: 0 30px 70px -20px rgba(10, 27, 51, .25);
  --shadow-glow: 0 16px 40px -10px rgba(14, 99, 200, .55);

  /* Motion */
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --dur-fast: 140ms;
  --dur-base: 260ms;
  --dur-slow: 560ms;

  /* Layout */
  --container: 1240px;
  --header-box: 76px;       /* height of the floating header incl. its top gap */
  --header-h: 96px;         /* scroll offset for in-page links */
  --z-header: 100;
  --z-bar: 90;
  --z-drawer: 200;

  --icon-sm: 16px;
  --icon-md: 20px;
  --icon-lg: 24px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  color: var(--ink-900);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.1rem + 4.6vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }

p { margin: 0 0 var(--space-4); overflow-wrap: anywhere; }
p:last-child { margin-bottom: 0; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-hover); }

img, svg { max-width: 100%; display: block; }
img { height: auto; }

/* `ol` matters: the approach steps are an ordered list for semantics, and its
   default markers would render outside the cards. */
ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
::selection { background: var(--brand-100); color: var(--navy-900); }

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 500;
  background: var(--navy-900);
  color: var(--white);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition: top var(--dur-base) var(--ease-out);
}
.skip-link:focus { top: var(--space-4); color: var(--white); }

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

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.section { padding-block: clamp(56px, 7.5vw, 112px); }
.section--surface { background: var(--color-surface); }
.section--tint { background: linear-gradient(180deg, var(--brand-50) 0%, var(--white) 100%); }
.section--tight { padding-block: var(--space-6) var(--space-7); }

.section-head { max-width: 760px; margin: 0 auto var(--space-7); text-align: center; }
.section-head p { color: var(--color-text-muted); font-size: 1.1rem; }
.section-head h2 { margin-bottom: var(--space-4); }

/* Pill-shaped label above headings */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  padding: 6px 14px;
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-pill);
  background: var(--brand-50);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-700);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(20, 121, 224, .18);
}

.lead { font-size: 1.15rem; line-height: 1.65; color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 52px;
  padding: 0 var(--space-6);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: "Manrope", "Inter", sans-serif;
  font-size: .96rem;
  font-weight: 700;
  letter-spacing: -.005em;
  text-align: center;
  touch-action: manipulation;
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    background-color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out);
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary {
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn--primary:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 22px 46px -10px rgba(14, 99, 200, .65), inset 0 1px 0 rgba(255, 255, 255, .28); }

.btn--ghost {
  background: rgba(255, 255, 255, .7);
  border-color: rgba(10, 27, 51, .12);
  color: var(--navy-900);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: var(--white); border-color: var(--brand-300); color: var(--brand-700); transform: translateY(-2px); }

.btn--light {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .28);
  color: var(--white);
  backdrop-filter: blur(8px);
}
.btn--light:hover { background: rgba(255, 255, 255, .2); color: var(--white); transform: translateY(-2px); }

.btn--viber { background: var(--color-viber); color: var(--white); }
.btn--viber:hover { background: #5b4189; color: var(--white); transform: translateY(-2px); }
.btn--whatsapp { background: var(--color-whatsapp); color: var(--white); }
.btn--whatsapp:hover { background: #0e7540; color: var(--white); transform: translateY(-2px); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  font-size: .92rem;
  font-weight: 700;
  color: var(--brand-600);
}
.link-arrow .icon { transition: transform var(--dur-base) var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }

.icon { width: var(--icon-md); height: var(--icon-md); flex: none; }
.icon--sm { width: var(--icon-sm); height: var(--icon-sm); }
.icon--lg { width: var(--icon-lg); height: var(--icon-lg); }

/* "Learn more →" inside a card. The card's heading link covers the whole card. */
.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: var(--space-4);
  font-size: .88rem;
  font-weight: 700;
  color: var(--brand-600);
}
.more .icon { transition: transform var(--dur-base) var(--ease-out); }

/* --------------------------------------------------------------------------
   Top utility bar
   -------------------------------------------------------------------------- */
.topbar { background: var(--navy-950); color: rgba(255, 255, 255, .82); font-size: .82rem; }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); min-height: 40px; }
.topbar__group { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); }
.topbar__item { display: inline-flex; align-items: center; gap: var(--space-2); color: rgba(255, 255, 255, .82); white-space: nowrap; }
a.topbar__item { min-height: 44px; }
a.topbar__item:hover { color: var(--white); }
.topbar__item .icon { color: var(--brand-400); }
.topbar__item b { font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; }

.socials { display: flex; align-items: center; gap: var(--space-2); }
.socials__label { margin-right: var(--space-1); color: rgba(255, 255, 255, .62); white-space: nowrap; }
.social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, .9);
  transition: background-color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.social-link::after { content: ""; position: absolute; inset: -6px; }   /* 44px hit area */
.social-link:hover { background: var(--brand-600); border-color: var(--brand-600); color: var(--white); transform: translateY(-2px); }
.social-link .icon { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   Header — a floating glass pill that follows the page
   -------------------------------------------------------------------------- */
.header { position: sticky; top: 0; z-index: var(--z-header); padding-top: 10px; pointer-events: none; }
.header__inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: var(--space-5);
  width: min(calc(100% - 32px), var(--container));
  max-width: none;
  min-height: 66px;
  margin-inline: auto;
  padding: 8px 10px 8px 24px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 10px 34px -12px rgba(10, 27, 51, .22), 0 0 0 1px rgba(10, 27, 51, .06);
  transition: background-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.header.is-stuck .header__inner { background: rgba(255, 255, 255, .9); box-shadow: 0 14px 40px -12px rgba(10, 27, 51, .3), 0 0 0 1px rgba(10, 27, 51, .07); }

.brand { display: inline-flex; align-items: center; flex: none; line-height: 0; }
.brand__img { display: block; height: 40px; width: auto; }
html[lang="en"] .brand__img--mk,
html:not([lang="en"]) .brand__img--en { display: none; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  font-size: .92rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink-700);
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.nav__link:hover { background: var(--brand-50); color: var(--brand-700); }
.nav__link[aria-current="page"] { background: var(--brand-100); color: var(--brand-700); }

.header__actions { display: flex; align-items: center; gap: var(--space-3); flex: none; }

.header-phone { display: flex; align-items: center; gap: var(--space-3); min-height: 44px; }
.header-phone__icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex: none;
  border-radius: var(--radius-pill);
  background: var(--brand-50);
  color: var(--brand-600);
  transition: background-color var(--dur-base) var(--ease-out);
}
.header-phone:hover .header-phone__icon { background: var(--brand-100); }
.header-phone__text { display: flex; flex-direction: column; line-height: 1.2; }
.header-phone__label { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-400); }
.header-phone__number { font-family: "Manrope", sans-serif; font-size: 1rem; font-weight: 800; color: var(--navy-900); white-space: nowrap; font-variant-numeric: tabular-nums; }
a.header-phone:hover .header-phone__number { color: var(--brand-700); }

.header__cta { min-height: 46px; padding: 0 var(--space-5); }

/* Language switch — segmented control */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: var(--radius-pill); background: var(--surface-100); }
.lang-switch__btn {
  min-width: 46px;
  min-height: 38px;
  padding: 0 var(--space-3);
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  font-family: "Manrope", sans-serif;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--ink-500);
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.lang-switch__btn:hover { color: var(--navy-900); }
.lang-switch__btn[aria-pressed="true"] { background: var(--white); color: var(--brand-700); box-shadow: var(--shadow-sm); }

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--navy-900);
  color: var(--white);
  transition: background-color var(--dur-base) var(--ease-out);
}
.burger:hover { background: var(--navy-700); }
.burger__bars { display: block; width: 18px; height: 12px; position: relative; }
.burger__bars span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast) var(--ease-out); }
.burger__bars span:nth-child(1) { top: 0; }
.burger__bars span:nth-child(2) { top: 5px; }
.burger__bars span:nth-child(3) { top: 10px; }
.burger[aria-expanded="true"] .burger__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Mobile menu
   -------------------------------------------------------------------------- */
.drawer { position: fixed; inset: 0; z-index: var(--z-drawer); display: none; }
.drawer.is-open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(6, 18, 31, .6); backdrop-filter: blur(4px); opacity: 0; transition: opacity var(--dur-base) var(--ease-out); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute;
  top: 8px; right: 8px; bottom: 8px;
  width: min(380px, calc(100vw - 16px));
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-5);
  padding-bottom: max(var(--space-5), env(safe-area-inset-bottom));
  overflow-y: auto;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateX(110%);
  transition: transform var(--dur-slow) var(--ease-out);
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.drawer__head .brand__img { height: 34px; }
.drawer__close { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border: 0; border-radius: var(--radius-pill); background: var(--surface-100); color: var(--navy-900); }
.drawer__close:hover { background: var(--brand-100); }
.drawer__list { display: flex; flex-direction: column; gap: 2px; }
.drawer__link {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 var(--space-4);
  border-radius: var(--radius-md);
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-900);
}
.drawer__link:hover, .drawer__link[aria-current="page"] { background: var(--brand-50); color: var(--brand-700); }
.drawer__meta { display: grid; gap: var(--space-3); margin-top: auto; }
.drawer__meta .socials { justify-content: center; }
.drawer__meta .social-link { border-color: var(--color-border); color: var(--navy-800); }

/* Phone: a bottom bar with the two things a visitor wants — call, or book.
   (Replaces the floating button, which sat on top of the text.) */
.fab { display: none; }
.mbar {
  position: fixed;
  left: 10px; right: 10px;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: var(--z-bar);
  display: none;
  gap: var(--space-2);
  padding: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 16px 44px -10px rgba(10, 27, 51, .35), 0 0 0 1px rgba(10, 27, 51, .07);
}
.mbar .btn { flex: 1 1 auto; min-height: 48px; padding: 0 var(--space-4); font-size: .92rem; white-space: nowrap; }
.mbar .btn:first-child { flex: 0 0 auto; }
@media (max-width: 360px) {
  .mbar { left: 8px; right: 8px; gap: 6px; padding: 6px; }
  .mbar .btn { padding: 0 var(--space-3); font-size: .84rem; gap: 6px; }
}

/* --------------------------------------------------------------------------
   Hero — oversized headline over a soft aurora gradient
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-box));          /* the gradient runs up behind the floating header */
  padding: calc(var(--header-box) + clamp(32px, 6vw, 84px)) 0 clamp(48px, 7vw, 104px);
}
.hero::before {                                       /* aurora */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(52% 58% at 82% 14%, rgba(47, 163, 232, .30), transparent 70%),
    radial-gradient(46% 52% at 8% 6%, rgba(20, 121, 224, .18), transparent 72%),
    radial-gradient(40% 46% at 60% 92%, rgba(140, 130, 255, .16), transparent 72%),
    linear-gradient(180deg, var(--brand-50), var(--white) 92%);
}
.hero::after {                                        /* faint dot grid, fading out */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(10, 27, 51, .10) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(60% 55% at 70% 30%, #000 0%, transparent 78%);
  mask-image: radial-gradient(60% 55% at 70% 30%, #000 0%, transparent 78%);
  opacity: .7;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  padding: 6px 16px 6px 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .8);
  box-shadow: var(--shadow-xs), 0 0 0 1px rgba(10, 27, 51, .06);
  backdrop-filter: blur(8px);
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink-700);
}
.hero__badge b {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--gold-100);
  font-family: "Manrope", sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .03em;
  color: var(--gold-500);
}
.hero h1 { margin-bottom: var(--space-5); }
.accent {
  display: block;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brand-600);
}
.hero__text { max-width: 52ch; font-size: 1.15rem; color: var(--color-text-muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }

.hero__media { position: relative; }
.hero__media::before {                                /* tilted colour plate behind the photo */
  content: "";
  position: absolute;
  inset: 7% -5% -6% 9%;
  z-index: -1;
  border-radius: var(--radius-2xl);
  background: linear-gradient(150deg, rgba(47, 163, 232, .35), rgba(14, 99, 200, .12));
  transform: rotate(3deg);
}
.hero__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 5.4;
  border-radius: var(--radius-2xl);
  background: var(--line-100);
  box-shadow: var(--shadow-lg);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__card {
  position: absolute;
  left: -26px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  max-width: 76%;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .7);
}
.hero__card-num {
  font-family: "Manrope", sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--gold-500), #b88a2b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-500);
}
.hero__card-text { font-size: .86rem; line-height: 1.3; color: var(--navy-900); }
.hero__card-text b { display: block; font-weight: 700; }
.hero__card-text span { display: block; font-weight: 500; color: var(--ink-500); font-size: .78rem; }

/* --------------------------------------------------------------------------
   Concept strip — the methods behind the work, as a quiet row of marks
   -------------------------------------------------------------------------- */
.strip { padding: 0 0 clamp(40px, 5vw, 72px); }
.strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4) clamp(28px, 5vw, 64px);
  padding: var(--space-5) var(--space-5) 0;
  border-top: 1px solid var(--line-100);
}
.strip__label { width: 100%; margin: 0; text-align: center; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-400); }
.strip__logos { display: contents; }
.strip__logos img { width: auto; height: 32px; object-fit: contain; filter: grayscale(1); opacity: .62; transition: opacity var(--dur-base) var(--ease-out), filter var(--dur-base) var(--ease-out); }
.strip__logos img:hover { filter: none; opacity: 1; }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__media { position: relative; }
.about__media::before {
  content: "";
  position: absolute;
  inset: -5% 6% 8% -6%;
  z-index: -1;
  border-radius: var(--radius-2xl);
  background: linear-gradient(145deg, var(--brand-100), rgba(255, 255, 255, 0));
}
.about__media img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.about__copy h2 { margin-bottom: var(--space-4); }

.about-points { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.about-point {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--surface-50);
  box-shadow: inset 0 0 0 1px var(--line-100);
  transition: background-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.about-point:hover { background: var(--white); box-shadow: var(--shadow-md), inset 0 0 0 1px var(--brand-200); transform: translateX(4px); }
.about-point__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-xs); color: var(--brand-600); }
.about-point h3 { margin: 0 0 2px; font-size: 1.05rem; }
.about-point p { margin: 0; font-size: .95rem; color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   Approach — four steps on a timeline
   -------------------------------------------------------------------------- */
.approach { background: linear-gradient(180deg, var(--surface-50), var(--white)); }
.steps {
  --gap: var(--space-5);
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  padding-top: 28px;                  /* room for the numbered nodes that sit on the line */
}
/* the rail through the four nodes — above the cards so it reads as one line */
.steps::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 27px;
  left: calc((100% - 3 * var(--gap)) / 8);
  right: calc((100% - 3 * var(--gap)) / 8);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-300), var(--brand-600));
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: 48px var(--space-5) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line-100);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md), inset 0 0 0 1px var(--brand-200); }
.step__node {
  position: absolute;
  z-index: 2;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border: 2px solid var(--brand-500);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 6px var(--surface-50);
  font-family: "Manrope", sans-serif;
  font-size: .98rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--brand-700);
}
.step__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: var(--radius-md); background: var(--brand-50); color: var(--brand-600); }
.step h3 { margin: 0; font-size: .98rem; letter-spacing: .05em; text-transform: uppercase; color: var(--navy-900); }
.step p { margin: 0; font-size: .98rem; line-height: 1.6; color: var(--color-text-muted); }

/* the last step is the goal of the whole process, so it carries the brand fill */
.step--final { background: var(--grad-brand); box-shadow: var(--shadow-glow); }
.step--final .step__node { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); box-shadow: 0 0 0 6px var(--surface-50); }
.step--final .step__icon { background: rgba(255, 255, 255, .18); color: var(--white); }
.step--final h3 { color: var(--white); }
.step--final p { color: rgba(255, 255, 255, .92); }

.approach__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  max-width: 780px;
  margin: var(--space-7) auto 0;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  background: var(--white);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--brand-100);
  font-size: .95rem;
  font-weight: 600;
  text-align: center;
  color: var(--brand-700);
}
.approach__note .icon { flex: none; color: var(--brand-600); }

/* --------------------------------------------------------------------------
   Services — three tiers, one card per service
   -------------------------------------------------------------------------- */
#services { background: var(--surface-50); }
.svc-group + .svc-group { margin-top: clamp(48px, 6vw, 88px); }
.svc-group__head { display: flex; align-items: flex-start; gap: var(--space-4); margin-bottom: var(--space-6); }
.svc-group__n {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--navy-900);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--gold-400);
}
.svc-group__title { margin: 0 0 4px; font-size: clamp(1.15rem, 1rem + .7vw, 1.6rem); letter-spacing: -.025em; }
.svc-group__head p { margin: 0; font-size: 1rem; color: var(--color-text-muted); max-width: 62ch; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.services__all { display: flex; justify-content: center; margin: var(--space-8) 0 0; }

/* shared card chrome — the whole card is one link (the heading's ::after covers it) */
.scard, .tcard, .ccard, .rcard {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-xs), inset 0 0 0 1px rgba(10, 27, 51, .06);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.scard:hover, .tcard:hover, .ccard:hover, .rcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(20, 121, 224, .35);
}
.card__title { margin: 0 0 var(--space-2); font-size: 1.08rem; line-height: 1.22; }
.card__title a { color: var(--navy-900); }
.card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__title a:hover { color: var(--brand-700); }
.card__title a:focus-visible { outline: none; }
.card__title a:focus-visible::after { outline: 3px solid var(--brand-500); outline-offset: 3px; }
.scard p, .tcard p, .ccard p, .rcard p { margin: 0; font-size: .93rem; line-height: 1.55; color: var(--color-text-muted); }
.scard:hover .more .icon, .tcard:hover .more .icon, .ccard:hover .more .icon, .rcard:hover .more .icon { transform: translateX(5px); }

/* 01 — icon-led */
.scard { padding: var(--space-6) var(--space-5) var(--space-5); }
.scard__icon, .rcard__visual {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--brand-50);
  color: var(--brand-600);
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.scard:hover .scard__icon { background: var(--grad-brand); color: var(--white); transform: rotate(-6deg) scale(1.05); }

/* 02 — large, photographic */
.tcard { overflow: hidden; }
.tcard__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--white); }
.tcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.tcard__media--contain img { object-fit: contain; padding: var(--space-2); }
.tcard:hover .tcard__media img { transform: scale(1.06); }
.tcard__body { display: flex; flex: 1; flex-direction: column; padding: var(--space-5); }

/* 03 — concept marks */
.ccard { overflow: hidden; }
.ccard__top { display: flex; align-items: center; justify-content: center; height: 100px; padding: 16px var(--space-5); background: linear-gradient(180deg, var(--white), var(--surface-50)); border-bottom: 1px solid var(--line-100); }
.ccard__mark { width: auto; height: auto; max-width: 100%; max-height: 60px; object-fit: contain; }
.ccard__icon { width: 46px; height: 46px; color: var(--brand-600); }
.ccard > :not(.ccard__top) { margin-inline: var(--space-5); }
.ccard > .card__title { margin-top: var(--space-5); }
.ccard > .more { margin-bottom: var(--space-5); }

/* --------------------------------------------------------------------------
   Featured technology — dark, glowing, inset
   -------------------------------------------------------------------------- */
.feature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-inline: clamp(8px, 2vw, 24px);
  border-radius: var(--radius-2xl);
  background: var(--navy-900);
  color: rgba(255, 255, 255, .86);
}
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(46% 60% at 8% 0%, rgba(20, 121, 224, .45), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(47, 163, 232, .28), transparent 70%);
}
.feature h2, .feature h3 { color: var(--white); }
.feature .eyebrow { border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08); color: var(--brand-300); }
.feature .eyebrow::before { background: var(--brand-300); box-shadow: 0 0 0 3px rgba(124, 198, 242, .2); }
.feature__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.feature__media { overflow: hidden; border-radius: var(--radius-xl); background: var(--white); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); aspect-ratio: 4 / 3; }
.feature__media img { width: 100%; height: 100%; object-fit: contain; padding: var(--space-5); }
.feature__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3) var(--space-5); margin-top: var(--space-6); }
.feature__list li { display: flex; align-items: flex-start; gap: var(--space-3); font-size: .95rem; color: rgba(255, 255, 255, .88); }
.feature__list .icon { margin-top: 4px; color: var(--brand-400); }
.feature__device {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding: 10px var(--space-5);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}
.feature__device b { color: var(--gold-400); }
.feature__side { display: grid; gap: var(--space-5); justify-items: start; }
.feature__side .btn { width: 100%; }
.feature__note { display: flex; align-items: flex-start; gap: var(--space-3); margin: 0; padding: var(--space-4) var(--space-5); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-md); background: rgba(255, 255, 255, .06); font-size: .88rem; color: rgba(255, 255, 255, .8); }
.feature__note .icon { margin-top: 3px; color: var(--brand-300); }

/* --------------------------------------------------------------------------
   Team — text only
   -------------------------------------------------------------------------- */
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.team__grid .quote-panel { grid-column: span 2; }
.member {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line-100);
}
.member__body h3 { margin: 0 0 var(--space-2); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); letter-spacing: -.03em; }
.member__role {
  display: inline-block;
  margin-bottom: var(--space-4);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--brand-50);
  font-size: .8rem;
  font-weight: 700;
  color: var(--brand-700);
}
.member__body p { margin: 0; color: var(--color-text-muted); }

.quote-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.4vw, 48px);
  border-radius: var(--radius-xl);
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}
.quote-panel::before { content: ""; position: absolute; inset: auto -10% -40% auto; width: 60%; aspect-ratio: 1; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent); }
.quote-panel__mark { width: 44px; height: 44px; margin-bottom: var(--space-4); color: rgba(255, 255, 255, .45); }
.quote-panel blockquote { margin: 0; font-family: "Manrope", sans-serif; font-size: clamp(1.2rem, 1rem + .9vw, 1.7rem); font-weight: 700; line-height: 1.35; letter-spacing: -.02em; color: var(--white); text-wrap: balance; }
.quote-panel__sub { margin-top: var(--space-4); color: rgba(255, 255, 255, .86); }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); margin-top: auto; padding-top: var(--space-6); }
.pillars li { display: flex; align-items: center; gap: var(--space-2); padding: 10px var(--space-4); border-radius: var(--radius-pill); background: rgba(255, 255, 255, .14); font-size: .86rem; font-weight: 700; color: var(--white); }
.pillars .icon { color: var(--white); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.info-list { display: grid; gap: var(--space-3); }
.info-item { display: flex; gap: var(--space-4); padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface-50); box-shadow: inset 0 0 0 1px var(--line-100); }
.info-item__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-xs); color: var(--brand-600); }
.info-item__body { min-width: 0; }
.info-item h3 { margin-bottom: 6px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-400); }
.info-item p { margin: 0; font-size: 1rem; font-weight: 600; color: var(--navy-900); }
.info-item a { display: inline-flex; align-items: center; min-height: 34px; font-size: 1rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--navy-900); }
.info-item a:hover { color: var(--brand-600); }
.info-item .muted { font-size: .92rem; font-weight: 500; color: var(--color-text-muted); }
.hours { display: grid; gap: 4px; }
.hours li { display: flex; justify-content: space-between; gap: var(--space-4); font-size: .95rem; color: var(--ink-700); }
.hours li b { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--navy-900); }
.hours li.is-closed b { color: var(--color-danger); }

.booking {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: var(--radius-xl);
  background: var(--navy-900);
  color: rgba(255, 255, 255, .84);
  box-shadow: var(--shadow-lg);
}
.booking::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 100% 0%, rgba(20, 121, 224, .5), transparent 70%); }
.booking h3 { color: var(--white); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.booking .eyebrow { border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08); color: var(--brand-300); }
.booking .eyebrow::before { background: var(--brand-300); box-shadow: 0 0 0 3px rgba(124, 198, 242, .2); }
.booking__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-5) 0;
  padding: var(--space-4) var(--space-5);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .07);
  color: var(--white);
  transition: background-color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.booking__phone:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .3); color: var(--white); transform: translateY(-2px); }
.booking__phone-icon { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: var(--radius-pill); background: var(--grad-brand); color: var(--white); }
.booking__phone-label { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-300); }
.booking__phone-num { display: block; font-family: "Manrope", sans-serif; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.booking__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.booking__note { display: flex; align-items: flex-start; gap: var(--space-3); margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; color: rgba(255, 255, 255, .74); }
.booking__note .icon { margin-top: 3px; color: var(--brand-300); }

.map-frame { position: relative; margin-top: var(--space-4); overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); background: var(--line-100); box-shadow: inset 0 0 0 1px var(--color-border); }
.map-frame__fallback { position: absolute; inset: 0; display: block; overflow: hidden; background: #cfd8e3; color: var(--brand-700); }
.map-tiles { position: absolute; left: 50%; top: 50%; }
.map-tiles img { max-width: none; }
.map-pin { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -92%); fill: #e5322d; stroke: #fff; stroke-width: 1.2; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45)); }
.map-frame__card { position: absolute; top: 12px; left: 12px; max-width: min(300px, calc(100% - 24px)); display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-md); text-align: left; }
.map-frame__credit { position: absolute; right: 8px; bottom: 6px; padding: 1px 6px; border-radius: 4px; background: rgba(255, 255, 255, .75); font-size: .68rem; font-weight: 500; color: #333; }
.map-frame iframe[src=""] { display: none; }
.map-frame iframe { position: relative; z-index: 1; display: block; background: transparent; width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------------------
   Closing call-to-action — an inset gradient card
   -------------------------------------------------------------------------- */
.ctaband { padding: 0 0 clamp(40px, 5vw, 72px); }
.ctaband__inner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius-2xl);
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}
.ctaband__inner::before { content: ""; position: absolute; z-index: -1; inset: -40% -10% auto auto; width: 55%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .26), transparent); }
.ctaband h2 { margin-bottom: var(--space-2); color: var(--white); }
.ctaband p { max-width: 52ch; margin: 0; color: rgba(255, 255, 255, .88); }
.ctaband__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.ctaband .btn--primary { background: var(--white); color: var(--brand-700); box-shadow: var(--shadow-md); }
.ctaband .btn--primary:hover { background: var(--brand-50); color: var(--brand-700); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { padding-block: var(--space-8) var(--space-5); border-radius: var(--radius-2xl) var(--radius-2xl) 0 0; background: var(--navy-950); color: rgba(255, 255, 255, .74); }
.footer a { color: rgba(255, 255, 255, .74); }
.footer a:hover { color: var(--white); }
.footer__grid { display: grid; grid-template-columns: 1.5fr .8fr .9fr 1.1fr; gap: var(--space-7) var(--space-5); }
.footer h3 { margin-bottom: var(--space-4); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); }
.footer__links { display: grid; gap: var(--space-1); }
.footer__links a { display: inline-flex; align-items: center; min-height: 36px; font-size: .93rem; }
.footer__about p { max-width: 40ch; margin-top: var(--space-4); font-size: .93rem; }
.footer .brand__img { height: 42px; filter: brightness(0) invert(1); }
.footer__contact { display: grid; gap: var(--space-3); font-size: .93rem; }
.footer__contact li { display: flex; align-items: flex-start; gap: var(--space-3); }
.footer__contact .icon { margin-top: 3px; flex: none; color: var(--brand-400); }
.footer__contact a { font-variant-numeric: tabular-nums; }
.footer .socials { margin-top: var(--space-5); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: rgba(255, 255, 255, .6); }

/* booking buttons share a narrow card — keep the labels on one line */
.booking__actions .btn { padding-inline: var(--space-3); font-size: .88rem; white-space: nowrap; }

/* inset on every width: the card sits inside the page margins, not against the screen edge */
.ctaband__inner { width: min(calc(100% - 32px), calc(var(--container) - 48px)); max-width: none; padding-inline: clamp(24px, 5vw, 64px); }

.map-frame__card strong { font-family: "Manrope", sans-serif; font-size: 1rem; color: var(--navy-900); }
.map-frame__addr { font-size: .85rem; font-weight: 500; color: var(--ink-500); }
.map-frame__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .85rem; font-weight: 700; color: var(--brand-700); }

/* --------------------------------------------------------------------------
   Service pages
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-box));
  padding: calc(var(--header-box) + clamp(20px, 3vw, 36px)) 0 clamp(36px, 4.5vw, 64px);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 70% at 90% 0%, rgba(47, 163, 232, .26), transparent 70%),
    radial-gradient(42% 60% at 4% 4%, rgba(20, 121, 224, .14), transparent 72%),
    linear-gradient(180deg, var(--brand-50), var(--white) 96%);
}
.page-hero--index { padding-bottom: clamp(32px, 4vw, 56px); }
.page-hero--index .lead { max-width: 64ch; }
.page-hero h1 { margin-bottom: var(--space-3); font-size: clamp(2rem, 1.1rem + 3.6vw, 3.6rem); }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero .lead { max-width: 58ch; }
.page-hero__kicker { margin-bottom: var(--space-4); font-family: "Manrope", sans-serif; font-size: 1.12rem; font-weight: 700; color: var(--brand-600); }
.page-hero__tagline { margin: 0 0 var(--space-4); font-family: "Manrope", sans-serif; font-size: 1.15rem; font-weight: 600; color: var(--navy-800); }

.breadcrumb { margin-bottom: var(--space-5); font-size: .85rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before { content: ""; width: 6px; height: 6px; margin-right: 10px; border-top: 1.5px solid var(--ink-400); border-right: 1.5px solid var(--ink-400); transform: rotate(45deg); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; font-weight: 600; color: var(--ink-500); }
.breadcrumb a:hover { color: var(--brand-700); }
.breadcrumb [aria-current="page"] { font-weight: 700; color: var(--navy-900); }

.edu { display: inline-flex; align-items: center; gap: 10px; margin: var(--space-4) 0 0; padding: 10px 18px; border-radius: var(--radius-pill); background: var(--brand-100); font-size: .92rem; font-weight: 700; color: var(--brand-700); }
.edu .icon { flex: none; }
.brandline { display: flex; align-items: center; gap: var(--space-2); margin: var(--space-4) 0 0; font-size: .85rem; font-weight: 700; letter-spacing: .03em; color: var(--ink-500); }
.brandline .icon { color: var(--gold-400); }

.page-hero__figure { position: relative; justify-self: end; width: 100%; margin: 0; overflow: hidden; border-radius: var(--radius-xl); background: var(--white); box-shadow: var(--shadow-lg); }
.page-hero__figure img:first-child { display: block; width: 100%; height: auto; }
.page-hero__chip { position: absolute; left: var(--space-4); bottom: var(--space-4); height: 52px; width: auto; padding: 6px 14px; object-fit: contain; border-radius: var(--radius-md); background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); }
.page-hero__panel { position: relative; display: grid; place-items: center; justify-self: end; width: 100%; max-width: 440px; aspect-ratio: 4 / 3; border-radius: var(--radius-xl); background: linear-gradient(145deg, var(--brand-100), var(--brand-50)); box-shadow: inset 0 0 0 1px var(--brand-100); color: var(--brand-600); }
.page-hero__bigicon { width: 96px; height: 96px; }

/* One canvas of compact panels */
.page-panels { padding-block: var(--space-2) var(--space-6); background: var(--surface-50); }
.page-panels > .container { display: grid; gap: var(--space-5); padding-top: var(--space-6); }
.panel { padding: clamp(20px, 3vw, 36px); border-radius: var(--radius-xl); background: var(--white); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line-100); }
.panel h2 { margin: 0 0 var(--space-5); font-size: clamp(1.3rem, 1.05rem + 1vw, 1.8rem); }
.panel .block { margin: 0; }
.panel .block h2 { margin-bottom: var(--space-5); }
.block__intro { margin-bottom: var(--space-4); color: var(--color-text-muted); }
.block__outro { margin-top: var(--space-4); color: var(--color-text-muted); }
.block > p { max-width: 72ch; font-size: 1.04rem; color: var(--ink-700); }

.infocards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--space-3); }
.infocard { padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface-50); box-shadow: inset 0 0 0 1px var(--line-100); }
.infocard h3 { margin-bottom: var(--space-2); font-size: 1.04rem; }
.infocard p { margin: 0; font-size: .95rem; color: var(--color-text-muted); }

.checkgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-3); }
.checkgrid li { display: flex; align-items: center; gap: var(--space-3); padding: 12px var(--space-4); border-radius: var(--radius-md); background: var(--surface-50); box-shadow: inset 0 0 0 1px var(--line-100); font-size: .98rem; }
.checkgrid .icon { flex: none; color: var(--color-success); }

.pills { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pills li { padding: 9px 18px; border-radius: var(--radius-pill); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-100); font-size: .92rem; font-weight: 600; color: var(--navy-800); }

.linkcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.linkcard {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 72px;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--surface-50);
  box-shadow: inset 0 0 0 1px var(--line-100);
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  color: var(--navy-900);
  transition: background-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.linkcard span { flex: 1; }
.linkcard .icon { flex: none; color: var(--brand-600); }
.linkcard__mark { flex: none; width: auto; max-width: 92px; height: 30px; object-fit: contain; }
.linkcard:hover { background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-300); color: var(--brand-700); }

.notice { display: flex; align-items: flex-start; gap: var(--space-3); margin-top: var(--space-5); padding: var(--space-4) var(--space-5); border-radius: var(--radius-lg); background: var(--gold-100); box-shadow: inset 0 0 0 1px #ecd9ae; color: #5a4210; }
.notice .icon { flex: none; margin-top: 3px; color: var(--gold-500); }
.notice p { margin: 0; font-size: .95rem; }

.rcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.rcard { padding: var(--space-6) var(--space-5) var(--space-5); }
.rcard__mark { width: auto; max-width: 100%; height: 34px; object-fit: contain; }
.rcard__visual:has(.rcard__mark) { width: auto; min-width: 56px; justify-content: start; padding-inline: var(--space-3); background: var(--surface-50); }
.rcard:hover .rcard__visual { background: var(--brand-100); }

/* Myofascial page — the owner's six-part layout */
.whatis { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.whatis__fig { margin: 0; padding: var(--space-5) var(--space-4) var(--space-4); text-align: center; border-radius: var(--radius-xl); background: linear-gradient(160deg, var(--brand-100), var(--brand-50)); }
.whatis__fig img { width: 100%; max-width: 160px; height: auto; margin-inline: auto; border-radius: var(--radius-lg); }
.whatis__fig figcaption { margin-top: var(--space-3); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); }
.whatis__copy h2 { margin-bottom: var(--space-4); }
.whatis__copy p { max-width: 68ch; color: var(--ink-700); }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.tile { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-5); border-radius: var(--radius-lg); background: var(--surface-50); box-shadow: inset 0 0 0 1px var(--line-100); font-family: "Manrope", sans-serif; font-weight: 700; line-height: 1.3; color: var(--navy-900); }
.tile .icon { flex: none; color: var(--brand-600); }
.tiles__note { margin: var(--space-5) 0 0; text-align: center; font-size: .95rem; color: var(--color-text-muted); }

.linetabs__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: var(--space-2); }
.linetab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: 10px 6px 12px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--surface-50);
  box-shadow: inset 0 0 0 1px var(--line-100);
  font-family: "Manrope", sans-serif;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  color: var(--ink-700);
  transition: background-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.linetab img { width: auto; height: 84px; object-fit: contain; }
.linetab:hover { box-shadow: inset 0 0 0 1px var(--brand-300); }
.linetab[aria-selected="true"] { background: var(--brand-50); box-shadow: inset 0 0 0 2px var(--brand-600); color: var(--brand-700); }
.linepanel { margin-top: var(--space-4); padding: var(--space-5) var(--space-6); border-radius: var(--radius-lg); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-100); }
.linepanel[hidden] { display: none; }
.linepanel h3 { margin-bottom: var(--space-2); font-size: 1.15rem; }
.linepanel p { margin: 0; max-width: 70ch; color: var(--ink-700); }

.treat { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.treat__item { padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface-50); box-shadow: inset 0 0 0 1px var(--line-100); }
.treat__n { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: var(--space-3); border-radius: 50%; background: var(--grad-brand); font-family: "Manrope", sans-serif; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--white); }
.treat h3 { margin-bottom: var(--space-2); font-size: 1.05rem; }
.treat p { margin: 0; font-size: .95rem; color: var(--color-text-muted); }

.bandcta { padding-block: var(--space-6) var(--space-8); }
.bandcta__box {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: clamp(28px, 4.5vw, 56px);
  border-radius: var(--radius-2xl);
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}
.bandcta__box::before { content: ""; position: absolute; z-index: -1; inset: -40% -8% auto auto; width: 50%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .25), transparent); }
.bandcta__box h2 { margin: 0 0 var(--space-2); color: var(--white); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); }
.bandcta__box p { margin: 0; color: rgba(255, 255, 255, .9); }
.bandcta__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.bandcta .btn--primary { background: var(--white); color: var(--brand-700); box-shadow: var(--shadow-md); }
.bandcta .btn--primary:hover { background: var(--brand-50); color: var(--brand-700); }
.bandcta .btn--ghost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: var(--white); }
.bandcta .btn--ghost:hover { background: rgba(255, 255, 255, .22); color: var(--white); border-color: rgba(255, 255, 255, .5); }

/* grid cells must be allowed to shrink below their content, or a wide child (the scrolling tab strip) stretches the whole page */
.page-panels > .container { grid-template-columns: minmax(0, 1fr); }
.panel, .page-panels > .container > *, .contact__grid > *, .about__grid > *, .hero__grid > *, .feature__grid > *, .page-hero__grid > * { min-width: 0; }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.has-js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.has-js .reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
/* The header phone block is the first thing to go when width gets tight — the number
   stays in the top bar and in the mobile bar. English labels are the limiting case. */
@media (max-width: 1279px) {
  .header__inner { gap: var(--space-4); }
  .header-phone { display: none; }
}

/* Below this the nav can no longer sit on one line beside the language switch and the
   CTA, so the whole thing moves into the menu. */
@media (max-width: 1140px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header__actions { margin-left: auto; }
}

@media (max-width: 1024px) {
  :root { --header-box: 72px; --header-h: 88px; }
  body { padding-bottom: 92px; }
  .mbar { display: flex; }
  .hero__grid, .about__grid, .feature__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 600px; }
  .hero__frame { aspect-ratio: 4 / 3; }
  .hero__card { left: 14px; bottom: 14px; }
  .about__media { max-width: 560px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: 1fr; }
  .team__grid .quote-panel { grid-column: auto; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .feature__side .btn { width: auto; }
}

/* Steps stack into a vertical timeline once four columns get cramped. */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; padding: 0 0 0 68px; gap: var(--space-4); }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--brand-300), var(--brand-600)); }
  .step { padding: var(--space-5); }
  .step__node { top: 14px; left: -68px; transform: none; width: 52px; height: 52px; box-shadow: none; }
  .step--final .step__node { box-shadow: none; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__figure, .page-hero__panel { justify-self: start; }
  .whatis { grid-template-columns: 1fr; }
  .whatis__fig { max-width: 240px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .treat { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .topbar__inner { min-height: 0; padding-block: var(--space-1); gap: var(--space-3); }
  .topbar__group { gap: var(--space-4); }
  .socials__label { display: none; }
}

@media (max-width: 760px) {
  .checkgrid, .linkcards { grid-template-columns: 1fr; }

  /* Card rows become swipeable: one row per group instead of a long single-file stack. */
  .svc-grid, .rcards {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: minmax(250px, 80%);
    gap: var(--space-3);
    margin-inline: calc(-1 * var(--space-4));
    padding: 6px var(--space-4) 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--space-4);
    scrollbar-width: none;
  }
  .svc-grid::-webkit-scrollbar, .rcards::-webkit-scrollbar { display: none; }
  .svc-grid > *, .rcards > * { scroll-snap-align: start; }
  .svc-grid:focus-visible, .rcards:focus-visible { outline-offset: -3px; }

  /* the phone-width tab strip scrolls sideways instead of wrapping into three rows */
  .linetabs__list { display: flex; overflow-x: auto; scrollbar-width: none; padding-bottom: var(--space-2); }
  .linetabs__list::-webkit-scrollbar { display: none; }
  .linetab { flex: 0 0 96px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --header-box: 66px; --header-h: 80px; }
  .container { padding-inline: var(--space-4); }
  .section { padding-block: clamp(44px, 11vw, 64px); }
  .section-head { margin-bottom: var(--space-6); }

  .topbar__item--address, .topbar__item--email { display: none; }
  .header { padding-top: 8px; }
  .header__inner { width: calc(100% - 20px); min-height: 56px; gap: var(--space-2); padding: 5px 6px 5px 16px; }
  .brand__img { height: 32px; }
  .header__cta { display: none; }
  .lang-switch__btn { min-width: 40px; min-height: 36px; padding: 0 var(--space-2); }
  .burger { width: 44px; height: 44px; }

  .hero { padding-top: calc(var(--header-box) + 20px); }
  .hero h1 { font-size: clamp(2.2rem, 9.6vw, 2.9rem); }
  .hero__text { font-size: 1.05rem; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__frame { aspect-ratio: 4 / 3.1; border-radius: var(--radius-xl); }
  .hero__card { left: 10px; bottom: 10px; padding: var(--space-3) var(--space-4); }
  .hero__card-num { font-size: 2rem; }
  .strip__logos img { height: 26px; }

  .svc-group__head { gap: var(--space-3); margin-bottom: var(--space-4); }
  .svc-group__n { width: 40px; height: 40px; }
  .svc-group + .svc-group { margin-top: var(--space-7); }
  .svc-grid, .rcards { margin-inline: calc(-1 * var(--space-4)); }

  .feature { border-radius: var(--radius-xl); }
  .feature__list, .pillars { grid-template-columns: 1fr; }
  .feature__side { justify-items: stretch; }
  .feature__side .btn { width: 100%; }
  .ctaband__inner { flex-direction: column; align-items: flex-start; border-radius: var(--radius-xl); }
  .ctaband__actions, .ctaband__actions .btn { width: 100%; }
  .booking__actions { grid-template-columns: 1fr; }
  .booking__phone { width: 100%; }
  .approach__note { border-radius: var(--radius-lg); text-align: left; }
  .tiles { grid-template-columns: 1fr; }
  .linepanel { padding: var(--space-4); }
  .bandcta__box { border-radius: var(--radius-xl); }
  .bandcta__actions, .bandcta__actions .btn { width: 100%; }
  .page-hero .hero__cta .btn { flex: 1 1 100%; }

  .map-frame { aspect-ratio: 1 / 1; }
  .map-frame__card { top: 10px; left: 10px; max-width: calc(100% - 20px); padding: 9px 12px; }
  .map-frame__card strong { font-size: .92rem; }
  .map-frame__addr { font-size: .78rem; }
  .map-frame__cta { margin-top: 3px; font-size: .8rem; }

  .footer { border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-6) var(--space-4); }
  .footer__about, .footer__grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .brand__img { height: 30px; }
  .header__inner { padding-left: 14px; }
  .lang-switch { padding: 3px; }
  .lang-switch__btn { min-width: 36px; }
}

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

@media print {
  .topbar, .header, .mbar, .ctaband, .bandcta, .map-frame { display: none !important; }
  body { font-size: 12pt; padding-bottom: 0; }
  .hero, .page-hero { margin-top: 0; padding-top: 24px; }
  .booking { background: none; color: #000; box-shadow: none; border: 1px solid #999; }
  .booking h3, .booking__phone-num { color: #000; }
}

@media (max-width: 900px) {
  .whatis__fig { max-width: none; display: flex; flex-direction: column; align-items: center; }
  .whatis__fig img { width: auto; max-height: 230px; }
}
