/* ==========================================================================
   nugarosskausmai.lt - osteopathic clinic
   Single stylesheet. No build step, no external requests.
   Sections: 1 tokens / 2 base / 3 layout / 4 components / 5 blocks
             6 footer / 7 responsive / 8 motion & print
   ========================================================================== */

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
  /* Palette */
  --c-white: #ffffff;
  --c-soft: #f5f8ff;
  --c-soft-2: #eef4ff;
  --c-soft-3: #e2ecff;
  --c-primary: #1f6feb;
  --c-primary-dark: #1552b8;
  --c-primary-darker: #103f8d;
  --c-navy: #0d2a5c;
  --c-navy-deep: #0b2350;
  --c-ink: #111827;
  --c-ink-soft: #374151;
  --c-muted: #6b7280;
  --c-border: #e4eaf5;
  --c-border-strong: #cfdcf3;
  --c-focus: #0b4bbd;

  /* Typography: honest system stack, no network fonts */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", "Noto Sans", Arial, sans-serif;

  /* Exactly four sizes. Everything else is weight, colour, case, spacing. */
  --fs-body: 1rem;
  --fs-h3: clamp(1.1875rem, 1.08rem + 0.5vw, 1.375rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.7vw, 2.5rem);
  --fs-h1: clamp(2.125rem, 1.5rem + 2.9vw, 3.5rem);

  --lh-tight: 1.15;
  --lh-heading: 1.25;
  --lh-body: 1.7;

  /* Spacing scale (4px grid) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.5rem;
  --sp-8: 3rem;
  --sp-9: 4rem;
  --sp-10: 5rem;

  --section-y: clamp(3.5rem, 2rem + 6vw, 6.25rem);

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-pill: 999px;

  /* Shadows: barely-there */
  --sh-sm: 0 1px 2px rgba(16, 40, 80, 0.04);
  --sh-md: 0 6px 20px rgba(16, 40, 80, 0.06);
  --sh-lg: 0 18px 48px rgba(16, 40, 80, 0.09);

  /* Layout */
  --container: 1200px;
  --container-pad: clamp(1rem, 0.6rem + 1.6vw, 2rem);
  --header-h: 76px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-ink-soft);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--sp-4);
  color: var(--c-ink);
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
}
h2 {
  font-size: var(--fs-h2);
}
h3,
h4 {
  font-size: var(--fs-h3);
}

p {
  margin: 0 0 var(--sp-4);
}

a {
  color: var(--c-primary-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--c-primary-darker);
}

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

/* <picture> only switches image formats - it must never become a layout box,
   otherwise height:100% on the inner <img> stops resolving against the frame. */
picture {
  display: contents;
}

ul,
ol {
  padding-left: 1.25rem;
}

strong {
  color: var(--c-ink);
}

/* Visible, high-contrast focus everywhere */
:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

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

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -100px;
  z-index: 200;
  background: var(--c-primary);
  color: #fff;
  padding: var(--sp-3) var(--sp-5);
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* ==========================================================================
   3. Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--soft {
  background: var(--c-soft);
}

.section--soft-2 {
  background: var(--c-soft-2);
}

.section--tight {
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4rem);
}

.section__head {
  max-width: 720px;
  margin: 0 auto var(--sp-8);
  text-align: center;
}

.section__head p {
  color: var(--c-muted);
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin: 0 0 var(--sp-3);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-primary-dark);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
  flex: none;
}

/* Centred variant, used inside .section__head */
.eyebrow--center {
  justify-content: center;
}

/* Small layout utilities (kept deliberately few) */
.text-center {
  text-align: center;
}

.section-action {
  text-align: center;
  margin: var(--sp-7) 0 0;
}

.flow-0 {
  margin-bottom: 0;
}

.mt-lg {
  margin-top: var(--sp-8);
}

.accent {
  color: var(--c-primary);
}

.lead {
  color: var(--c-muted);
}

/* Decorative background circles */
.blob {
  position: absolute;
  border-radius: 50%;
  background: var(--c-soft-2);
  z-index: -1;
  pointer-events: none;
}

.blob--tl {
  width: 420px;
  height: 420px;
  top: -180px;
  left: -180px;
}

.blob--br {
  width: 520px;
  height: 520px;
  bottom: -260px;
  right: -220px;
  background: var(--c-soft);
}

/* ==========================================================================
   4. Components
   ========================================================================== */

/* --- Buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn__icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn--primary {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
  color: #fff;
}

.btn--outline {
  background: var(--c-white);
  border-color: var(--c-border-strong);
  color: var(--c-primary-dark);
}

.btn--outline:hover {
  border-color: var(--c-primary);
  color: var(--c-primary-darker);
  background: var(--c-soft);
}

.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--c-primary-dark);
}

.btn--light:hover {
  background: var(--c-soft-2);
  color: var(--c-primary-darker);
}

.btn--sm {
  min-height: 42px;
  padding: 0.5rem 1.125rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

/* --- Cards --- */

.card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--sh-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease,
    border-color 0.2s ease;
}

.card h3 {
  margin-bottom: var(--sp-2);
}

.card p:last-child {
  margin-bottom: 0;
  color: var(--c-muted);
}

.card--hover:hover {
  box-shadow: var(--sh-md);
  border-color: var(--c-border-strong);
  transform: translateY(-3px);
}

/* --- Icon chips --- */

.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--c-soft-2);
  color: var(--c-primary);
  margin-bottom: var(--sp-4);
  flex: none;
}

.icon-chip svg {
  width: 26px;
  height: 26px;
}

.icon-chip--round {
  border-radius: 50%;
}

.icon-chip--plain {
  background: transparent;
  width: auto;
  height: auto;
}

/* --- Media placeholders / photos --- */

.media {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-soft-2);
  box-shadow: var(--sh-md);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--round-lg {
  border-radius: var(--r-xl);
}

/* Very wide photo used as a full-width section illustration, not a portrait */
.photo-band {
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--c-soft-2);
  box-shadow: var(--sh-md);
}

.photo-band img {
  width: 100%;
  height: auto;
}

.photo-band figcaption {
  padding: var(--sp-4) clamp(1rem, 0.7rem + 1vw, 1.5rem);
  background: var(--c-white);
  color: var(--c-muted);
  line-height: 1.5;
}

/* --- Checklist --- */

.checklist {
  list-style: none;
  margin: 0 0 var(--sp-6);
  padding: 0;
  display: grid;
  gap: var(--sp-3);
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
}

.checklist svg {
  width: 24px;
  height: 24px;
  flex: none;
  margin-top: 2px;
  color: var(--c-primary);
}

/* --- Prose (blog articles, long text) --- */

.prose {
  max-width: 760px;
}

.prose h2 {
  margin-top: var(--sp-8);
}

.prose h3 {
  margin-top: var(--sp-6);
}

.prose ul,
.prose ol {
  margin: 0 0 var(--sp-4);
  padding-left: 1.375rem;
}

.prose li {
  margin-bottom: var(--sp-2);
}

.prose blockquote {
  margin: var(--sp-6) 0;
  padding: var(--sp-5) var(--sp-6);
  border-left: 4px solid var(--c-primary);
  background: var(--c-soft);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic;
  color: var(--c-ink-soft);
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

/* --- Breadcrumbs --- */

.breadcrumbs {
  color: var(--c-muted);
  margin-bottom: var(--sp-4);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin: 0;
  padding: 0;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: var(--sp-2);
  color: var(--c-border-strong);
}

/* ==========================================================================
   5. Blocks
   ========================================================================== */

/* --- Header --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--c-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: var(--c-ink);
  flex: none;
}

.logo__mark {
  width: 30px;
  height: 38px;
  color: var(--c-primary);
  flex: none;
}

.logo__name {
  display: block;
  font-size: var(--fs-h3);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 0.1rem + 0.8vw, 1.125rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  display: block;
  padding: var(--sp-2) 0;
  font-weight: 500;
  color: var(--c-ink-soft);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.nav__link:hover {
  color: var(--c-primary-dark);
}

.nav__link[aria-current="page"] {
  color: var(--c-primary-dark);
  font-weight: 700;
  border-bottom-color: var(--c-primary);
}

/* Compact call pill: last child of <nav>, right of the menu on desktop */
.nav__cta {
  flex: none;
}

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  margin-left: auto;
  background: var(--c-white);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-md);
  color: var(--c-ink);
  cursor: pointer;
}

.burger svg {
  width: 24px;
  height: 24px;
}

.burger__close {
  display: none;
}

.burger[aria-expanded="true"] .burger__open {
  display: none;
}

.burger[aria-expanded="true"] .burger__close {
  display: block;
}

/* --- Hero --- */

.hero {
  position: relative;
  padding-top: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  padding-bottom: clamp(4rem, 2.5rem + 6vw, 7rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}

.hero h1 {
  margin-bottom: var(--sp-5);
}

.hero__lead {
  color: var(--c-muted);
  max-width: 34rem;
  margin-bottom: var(--sp-6);
}

.hero__perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-8);
  padding: 0;
  list-style: none;
}

.hero__perk {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  line-height: 1.45;
  color: var(--c-muted);
}

.hero__perk svg {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--c-primary);
}

.hero__perk strong {
  display: block;
  color: var(--c-ink);
}

.hero__media {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  width: min(100%, 460px);
  aspect-ratio: 1;
  margin-inline: auto;
  background: var(--c-soft-3);
  border-radius: 50%;
  z-index: 0;
}

.hero__photo {
  position: relative;
  z-index: 1;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  max-width: 420px;
  width: 100%;
}

.hero__photo img {
  width: 100%;
  height: auto;
}

/* --- Features band (overlaps hero) --- */

.features {
  position: relative;
  z-index: 5;
  margin-top: clamp(-3.5rem, -2rem - 3vw, -2rem);
}

.features__card {
  background: var(--c-white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.features__item {
  text-align: center;
  padding: var(--sp-3) var(--sp-4);
  border-right: 1px solid var(--c-border);
}

.features__item:last-child {
  border-right: 0;
}

.features__item svg {
  width: 32px;
  height: 32px;
  margin: 0 auto var(--sp-3);
  color: var(--c-primary);
}

.features__item h3 {
  font-size: var(--fs-body);
  margin-bottom: var(--sp-2);
}

.features__item p {
  margin: 0;
  line-height: 1.5;
  color: var(--c-muted);
}

/* --- Split (about) --- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}

.split--media-first .split__media {
  order: -1;
}

.split__body p {
  color: var(--c-muted);
}

/* --- Grids --- */

.grid {
  display: grid;
  gap: var(--sp-5);
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid--center {
  text-align: center;
}

.grid--center .icon-chip {
  margin-inline: auto;
}

/* --- Steps --- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-5);
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps__item {
  position: relative;
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}

.steps__item::after {
  content: "";
  position: absolute;
  top: 27px;
  left: calc(100% - var(--sp-2));
  width: var(--sp-6);
  border-top: 2px dashed var(--c-border-strong);
}

.steps__item:last-child::after {
  display: none;
}

.steps__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  background: var(--c-soft-2);
  color: var(--c-primary-dark);
  font-weight: 800;
  font-size: var(--fs-h3);
}

.steps__item h3 {
  margin-bottom: var(--sp-1);
}

.steps__item p {
  margin: 0;
  color: var(--c-muted);
}

/* --- Price --- */

.price {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--sp-6);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.5rem);
  box-shadow: var(--sh-md);
}

.price__tag {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  font-weight: 800;
  color: var(--c-ink);
  letter-spacing: -0.03em;
}

.price__value {
  font-size: var(--fs-h1);
  line-height: 1;
  color: var(--c-primary);
}

.price__unit {
  color: var(--c-muted);
  font-weight: 600;
}

.price__meta {
  margin: var(--sp-3) 0 0;
  color: var(--c-muted);
}

/* --- Testimonial slider --- */

.testimonial {
  position: relative;
  background: var(--c-soft-2);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.testimonial__slide {
  display: none;
}

.testimonial__slide.is-active {
  display: block;
}

/* No photo: the quote carries the block on its own, so it is centred and
   width-limited instead of being stretched across the full panel. */
.testimonial__body {
  max-width: 46rem;
  margin-inline: auto;
  padding: clamp(2rem, 1.2rem + 2.6vw, 3.5rem) clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  text-align: center;
}

.testimonial__quote-mark {
  width: 56px;
  height: 56px;
  color: var(--c-white);
  margin: 0 auto var(--sp-4);
}

.testimonial__text {
  font-style: italic;
  font-size: var(--fs-h3);
  color: var(--c-ink-soft);
  margin-bottom: var(--sp-5);
}

.testimonial__author {
  font-weight: 800;
  color: var(--c-ink);
}

.testimonial__role {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  color: var(--c-muted);
  margin-bottom: 0;
}

.testimonial__role svg {
  width: 18px;
  height: 18px;
  color: var(--c-primary);
  flex: none;
}

.slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}

.slider__dots {
  display: flex;
  gap: var(--sp-2);
}

.slider__dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--c-border-strong);
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.slider__dot[aria-current="true"] {
  background: var(--c-primary);
  transform: scale(1.2);
}

.slider__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-border-strong);
  border-radius: 50%;
  background: var(--c-white);
  color: var(--c-primary-dark);
  cursor: pointer;
}

.slider__arrow:hover {
  border-color: var(--c-primary);
  background: var(--c-soft);
}

.slider__arrow svg {
  width: 20px;
  height: 20px;
}

/* --- CTA band --- */

.cta-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-5);
  background: var(--c-soft-2);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
}

.cta-band__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  flex: none;
  border-radius: var(--r-lg);
  background: var(--c-white);
  color: var(--c-primary);
}

.cta-band__icon svg {
  width: 36px;
  height: 36px;
}

.cta-band h2 {
  margin-bottom: var(--sp-1);
}

.cta-band p {
  margin: 0;
  color: var(--c-muted);
}

/* --- Conditions list --- */

.conditions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
}

.condition {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--sh-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.condition:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}

.condition__num {
  display: inline-block;
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-2);
}

.condition h3 {
  margin-bottom: var(--sp-2);
}

.condition p {
  margin: 0;
  color: var(--c-muted);
}

/* --- FAQ --- */

.faq {
  display: grid;
  gap: var(--sp-3);
  max-width: 880px;
  margin-inline: auto;
}

.faq__item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.faq__item[open] {
  border-color: var(--c-border-strong);
  box-shadow: var(--sh-sm);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5);
  font-weight: 700;
  color: var(--c-ink);
  cursor: pointer;
  list-style: none;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q:hover {
  color: var(--c-primary-dark);
}

.faq__q::after {
  content: "";
  width: 12px;
  height: 12px;
  flex: none;
  border-right: 2px solid var(--c-primary);
  border-bottom: 2px solid var(--c-primary);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -4px;
}

.faq__item[open] .faq__q::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.faq__a {
  padding: 0 var(--sp-5) var(--sp-5);
  color: var(--c-muted);
}

.faq__a > :last-child {
  margin-bottom: 0;
}

/* --- Location (single place of practice) --- */

.place {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  align-items: center;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.5rem);
  box-shadow: var(--sh-md);
  max-width: 960px;
  margin-inline: auto;
}

.place__name {
  margin-bottom: var(--sp-4);
}

/* --- Map (click to load, no external request before that) --- */

.map {
  margin: 0;
}

.map__frame {
  position: relative;
  aspect-ratio: 8 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--sh-md);
  background: var(--c-soft-2);
}

.map__scheme {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Button is injected by JS, so it never sits there dead without scripting */
.map__load {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: var(--sh-lg);
}

.map__load:active {
  transform: translate(-50%, -50%) translateY(1px);
}

.map__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
  color: var(--c-muted);
}

.map__note span {
  flex: 1 1 16rem;
  line-height: 1.5;
}

/* --- Wayfinding card: photo of the courtyard with the route arrows --- */

.wayfind {
  max-width: 960px;
  margin-inline: auto;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.5rem);
  box-shadow: var(--sh-md);
}

.wayfind__head p:last-child {
  margin-bottom: 0;
  color: var(--c-muted);
}

.wayfind__figure {
  margin: var(--sp-5) 0 0;
}

.wayfind__figure img {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
}

.wayfind__figure figcaption {
  margin-top: var(--sp-3);
  color: var(--c-muted);
  line-height: 1.5;
}

.location__list {
  list-style: none;
  margin: 0 0 var(--sp-5);
  padding: 0;
  display: grid;
  gap: var(--sp-3);
}

.location__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
}

.location__list svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 3px;
  color: var(--c-primary);
}

.location__list a {
  text-decoration: none;
  word-break: break-word;
}

.location__list a:hover {
  text-decoration: underline;
}

/* --- Page hero (inner pages) --- */

.page-hero {
  background: var(--c-soft);
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  border-bottom: 1px solid var(--c-border);
}

.page-hero__inner {
  max-width: 780px;
}

.page-hero h1 {
  margin-bottom: var(--sp-4);
}

.page-hero p {
  color: var(--c-muted);
  margin-bottom: 0;
}

/* --- Testimonial cards (list page) --- */

.quote-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--sh-sm);
  break-inside: avoid;
  margin-bottom: var(--sp-5);
}

.quote-card svg {
  width: 36px;
  height: 36px;
  color: var(--c-soft-3);
  margin-bottom: var(--sp-3);
}

.quote-card blockquote {
  margin: 0 0 var(--sp-4);
  font-style: italic;
  color: var(--c-ink-soft);
}

.quote-card blockquote p:last-child {
  margin-bottom: 0;
}

.quote-card figcaption {
  font-weight: 800;
  color: var(--c-ink);
}

.quote-card figcaption span {
  display: block;
  font-weight: 500;
  color: var(--c-muted);
}

.quotes {
  columns: 2;
  column-gap: var(--sp-5);
}

/* --- Blog --- */

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.post-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}

.post-card__media {
  background: var(--c-soft-2);
  aspect-ratio: 5 / 3;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__body {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card__meta {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-primary-dark);
  margin-bottom: var(--sp-2);
}

.post-card h3 {
  margin-bottom: var(--sp-2);
}

.post-card h3 a {
  color: var(--c-ink);
  text-decoration: none;
}

.post-card h3 a:hover {
  color: var(--c-primary-dark);
}

.post-card p {
  color: var(--c-muted);
  margin-bottom: var(--sp-4);
}

.post-card__more {
  margin-top: auto;
  font-weight: 700;
  text-decoration: none;
}

.post-card__more:hover {
  text-decoration: underline;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  color: var(--c-muted);
  margin-bottom: var(--sp-6);
}

.article__figure {
  margin: 0 0 var(--sp-7);
}

.article__figure img {
  width: 100%;
  border-radius: var(--r-lg);
}

/* --- Card that must fill its grid cell (equal-height rows) --- */

.card--flex {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* --- Highlighted note / callout --- */

.note {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  background: var(--c-soft);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--r-md);
  padding: var(--sp-5);
}

.note svg {
  width: 26px;
  height: 26px;
  flex: none;
  margin-top: 2px;
  color: var(--c-primary);
}

.note p {
  margin: 0;
}

.note p + p {
  margin-top: var(--sp-3);
}

/* --- Pills (qualifications, tags) --- */

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  list-style: none;
  margin: 0 0 var(--sp-5);
  padding: 0;
}

.pills li {
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-pill);
  background: var(--c-white);
  font-weight: 600;
  color: var(--c-ink-soft);
}

/* --- Stats row --- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-5);
  list-style: none;
  margin: 0;
  padding: 0;
}

.stats__value {
  display: block;
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--c-primary);
}

.stats__label {
  display: block;
  margin-top: var(--sp-2);
  color: var(--c-muted);
}

/* --- Credentials / education timeline --- */

.creds {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-5);
}

.creds li {
  position: relative;
  padding-left: var(--sp-6);
  border-left: 2px solid var(--c-border);
  padding-bottom: var(--sp-1);
}

.creds li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-primary);
  border: 3px solid var(--c-white);
  box-shadow: 0 0 0 2px var(--c-soft-3);
}

.creds h3 {
  margin-bottom: var(--sp-1);
}

.creds p {
  margin: 0;
  color: var(--c-muted);
}

/* --- Blog grid --- */

.posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
  list-style: none;
  margin: 0;
  padding: 0;
}

/* --- Article footer navigation --- */

.article__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: space-between;
  border-top: 1px solid var(--c-border);
  margin-top: var(--sp-8);
  padding-top: var(--sp-5);
}

/* ==========================================================================
   6. Footer
   ========================================================================== */

.site-footer {
  background: var(--c-navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding-top: var(--sp-9);
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr 1.2fr;
  gap: var(--sp-7);
  padding-bottom: var(--sp-8);
}

.footer__brand .logo {
  color: #fff;
  margin-bottom: var(--sp-4);
}

.footer__brand .logo__mark {
  color: #7fb0ff;
}

.footer__brand p {
  max-width: 30ch;
}

.footer__col h3 {
  font-size: var(--fs-body);
  margin-bottom: var(--sp-4);
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-2);
}

.footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-3);
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
}

.footer__contact svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  color: #7fb0ff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-block: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__author a {
  text-decoration: underline;
}

/* ==========================================================================
   6b. BDAR consent bar
   ========================================================================== */

/* Hidden until main.js decides it is needed: without JavaScript nothing
   third-party can load, so there is nothing to ask consent for. */
.bdar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  max-height: 70dvh;
  overflow-y: auto;
  background: var(--c-white);
  border-top: 1px solid var(--c-border-strong);
  box-shadow: 0 -10px 40px rgba(16, 40, 80, 0.14);
  padding-block: var(--sp-4);
  padding-bottom: calc(var(--sp-4) + env(safe-area-inset-bottom));
}

.bdar[hidden] {
  display: none;
}

.bdar__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4) var(--sp-6);
}

.bdar__text {
  flex: 1 1 26rem;
}

.bdar__title {
  margin-bottom: var(--sp-1);
  font-weight: 700;
  color: var(--c-ink);
}

.bdar__text p:last-child {
  margin-bottom: 0;
  color: var(--c-muted);
  line-height: 1.5;
}

.bdar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

/* ==========================================================================
   7. Responsive
   ========================================================================== */

@media (max-width: 1240px) {
  .features__card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: var(--sp-5);
  }

  .features__item:nth-child(3n) {
    border-right: 0;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-6);
  }

  .posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps__item:nth-child(2n)::after,
  .steps__item::after {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablet and mobile nav.
   Breakpoint must stay in sync with the matchMedia query in main.js. */
@media (max-width: 1240px) {
  :root {
    --header-h: 68px;
  }

  .js .burger {
    display: inline-flex;
  }

  .js .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    background: var(--c-white);
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--sh-lg);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: var(--sp-4) 0 var(--sp-6);
    display: none;
  }

  .js .nav.is-open {
    display: block;
  }

  .js .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-inline: var(--container-pad);
  }

  .js .nav__link {
    padding: var(--sp-4) 0;
    border-bottom: 1px solid var(--c-border);
  }

  .js .nav__link[aria-current="page"] {
    border-bottom-color: var(--c-primary);
  }

  /* Inside the burger panel the pill becomes a full-width button */
  .js .nav__cta {
    display: flex;
    margin: var(--sp-5) var(--container-pad) 0;
  }

  /* No-JS fallback: nav wraps under the logo, always reachable */
  .nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .site-header__inner {
    flex-wrap: wrap;
    padding-block: var(--sp-3);
  }

  .js .site-header__inner {
    flex-wrap: nowrap;
    padding-block: 0;
  }

  .nav__list {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__media {
    order: -1;
  }

  .hero__photo {
    max-width: 340px;
  }

  .split,
  .grid--4,
  .grid--3,
  .conditions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    gap: var(--sp-7);
  }

  .split--media-first .split__media,
  .split__media {
    order: -1;
  }

  .place {
    grid-template-columns: 1fr;
  }

  .cta-band {
    grid-template-columns: auto 1fr;
  }

  .cta-band .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .quotes {
    columns: 1;
  }

  .price {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .features__card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features__item {
    border-right: 0;
    border-bottom: 1px solid var(--c-border);
    padding-bottom: var(--sp-5);
  }

  .features__item:nth-last-child(-n + 2) {
    border-bottom: 0;
    padding-bottom: var(--sp-3);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
}

@media (max-width: 560px) {
  .split,
  .grid--2,
  .grid--3,
  .grid--4,
  .conditions,
  .steps,
  .posts {
    grid-template-columns: 1fr;
  }

  .hero__perks {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }

  .btn {
    width: 100%;
  }

  .bdar__actions {
    flex: 1 1 100%;
  }

  .btn-row .btn {
    width: 100%;
  }

  .nav__cta,
  .map__load,
  .slider__arrow,
  .burger {
    width: auto;
  }

  .burger,
  .slider__arrow {
    width: 48px;
  }

  .cta-band {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .blob {
    display: none;
  }

  .features__card {
    grid-template-columns: 1fr;
  }

  .features__item {
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: var(--sp-4);
    align-items: start;
  }

  .features__item svg {
    margin: 0;
    grid-row: span 2;
  }

  .features__item:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--c-border);
  }

  .features__item:last-child {
    border-bottom: 0;
  }
}

/* ==========================================================================
   8. Motion & print
   ========================================================================== */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .slider__controls,
  .cta-band,
  .blob {
    display: none !important;
  }

  body {
    color: #000;
  }
}
