/* ==========================================================================
   PULS FYSIO - Professional Template Stylesheet
   Design: Clinical Warmth - Editorial, refined, medically professional
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette */
  --puls-white: #ffffff;
  --puls-purple: #2b2e62;
  --puls-purple-dark: #1f2147;
  --puls-purple-light: #3d4084;
  --puls-green: #19ce99;
  --puls-green-dark: #14a87c;
  --puls-mint: #66ceae;
  --puls-mint-soft: #d8f1e7;
  --puls-yellow: #fdcb58;
  --puls-cream: #faf7f2;
  --puls-sand: #f3efe8;
  --puls-ink: #0e1030;

  /* Neutrals */
  --neutral-50:  #fafafa;
  --neutral-100: #f4f4f5;
  --neutral-200: #e4e4e7;
  --neutral-300: #d4d4d8;
  --neutral-400: #a1a1aa;
  --neutral-500: #71717a;
  --neutral-600: #52525b;
  --neutral-700: #3f3f46;
  --neutral-800: #27272a;

  /* Typography */
  --font-display: "Fraunces", "DM Serif Display", Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  /* Scale */
  --step--2: clamp(0.75rem, 0.73rem + 0.1vw, 0.8rem);
  --step--1: clamp(0.875rem, 0.85rem + 0.12vw, 0.95rem);
  --step-0:  clamp(1rem, 0.97rem + 0.15vw, 1.1rem);
  --step-1:  clamp(1.125rem, 1.08rem + 0.22vw, 1.25rem);
  --step-2:  clamp(1.35rem, 1.25rem + 0.5vw, 1.5rem);
  --step-3:  clamp(1.6rem, 1.4rem + 1vw, 1.9rem);
  --step-4:  clamp(2rem, 1.7rem + 1.5vw, 2.6rem);
  --step-5:  clamp(2.5rem, 2rem + 2.5vw, 3.6rem);
  --step-6:  clamp(3rem, 2.3rem + 3.5vw, 4.8rem);
  --step-7:  clamp(3.6rem, 2.6rem + 5vw, 6.2rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;
  --r-full: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(15, 16, 48, 0.06), 0 1px 3px rgba(15, 16, 48, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 16, 48, 0.08), 0 2px 4px rgba(15, 16, 48, 0.04);
  --shadow-lg: 0 18px 40px rgba(15, 16, 48, 0.10), 0 4px 12px rgba(15, 16, 48, 0.05);
  --shadow-xl: 0 30px 60px -15px rgba(15, 16, 48, 0.25);
  --shadow-glow: 0 0 0 1px rgba(25, 206, 153, 0.15), 0 10px 30px rgba(25, 206, 153, 0.2);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur-base: 280ms;
  --dur-slow: 520ms;

  /* Layout */
  --container: 80rem; /* 1280px */
  --container-narrow: 64rem;
  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--puls-ink);
  background: var(--puls-cream);
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--puls-purple);
}

::selection {
  background: var(--puls-green);
  color: var(--puls-purple);
}

:focus-visible {
  outline: 2px solid var(--puls-green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--puls-purple);
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--puls-green);
  display: inline-block;
}

.eyebrow--light {
  color: var(--puls-mint);
}

.eyebrow--light::before {
  background: var(--puls-green);
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--puls-green);
  --btn-color: var(--puls-purple);
  --btn-border: transparent;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  min-height: 52px;
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--btn-color);
  background: var(--btn-bg);
  border: 1.5px solid var(--btn-border);
  border-radius: var(--r-full);
  cursor: pointer;
  user-select: none;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out);
  box-shadow: 0 4px 14px rgba(25, 206, 153, 0.25);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(25, 206, 153, 0.4);
}

.btn:active {
  transform: translateY(0);
}

.btn .arrow {
  transition: transform var(--dur-base) var(--ease-out);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn--primary {
  --btn-bg: var(--puls-green);
  --btn-color: var(--puls-purple);
}

.btn--dark {
  --btn-bg: var(--puls-purple);
  --btn-color: var(--puls-white);
  box-shadow: 0 4px 14px rgba(43, 46, 98, 0.25);
}

.btn--dark:hover {
  box-shadow: 0 10px 26px rgba(43, 46, 98, 0.4);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-color: var(--puls-purple);
  --btn-border: rgba(43, 46, 98, 0.2);
  box-shadow: none;
}

.btn--ghost:hover {
  --btn-bg: var(--puls-purple);
  --btn-color: var(--puls-white);
  box-shadow: 0 10px 26px rgba(43, 46, 98, 0.2);
}

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-color: var(--puls-white);
  --btn-border: rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.btn--ghost-light:hover {
  --btn-bg: var(--puls-white);
  --btn-color: var(--puls-purple);
}

.btn--disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.3);
}

/* --------------------------------------------------------------------------
   5. Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(43, 46, 98, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--dur-base) var(--ease-out);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  color: var(--puls-white);
  transition: opacity var(--dur-fast) var(--ease-out);
}

.brand:hover { opacity: 0.85; }

.brand__mark {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.9;
  color: var(--puls-white);
}

.brand__mark .dot {
  color: var(--puls-green);
}

.brand__tagline {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

@media (min-width: 960px) {
  .nav-desktop { display: flex; }
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0.1rem;
  transition: color var(--dur-fast) var(--ease-out);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--puls-green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--dur-base) var(--ease-out);
}

.nav-link:hover { color: var(--puls-white); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--puls-white); }

.nav-cta {
  display: none;
}

@media (min-width: 960px) {
  .nav-cta { display: inline-flex; }
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--puls-white);
  border-radius: 10px;
  transition: background var(--dur-fast) var(--ease-out);
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (min-width: 960px) {
  .menu-toggle { display: none; }
}

.menu-toggle .icon-bar {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  transition: transform var(--dur-base) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out);
  transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .icon-bar--top {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .icon-bar--mid {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .icon-bar--bot {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--puls-purple);
  padding: 2.5rem clamp(1.25rem, 5vw, 2.5rem) 2.5rem;
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out);
  z-index: 90;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

@media (min-width: 960px) {
  .mobile-menu { display: none !important; }
}

.mobile-menu a:not(.btn) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--puls-white);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color var(--dur-fast) var(--ease-out), padding var(--dur-base) var(--ease-out);
}

.mobile-menu a:not(.btn):hover {
  color: var(--puls-green);
  padding-left: 0.5rem;
}

.mobile-menu a:not(.btn)::after {
  content: "→";
  opacity: 0.4;
  font-family: var(--font-body);
  font-size: 1.25rem;
}

.mobile-menu .btn {
  margin-top: 1.5rem;
  width: 100%;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--puls-purple);
  color: var(--puls-white);
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(5rem, 12vw, 9rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 80% 30%, rgba(25, 206, 153, 0.14) 0%, transparent 55%),
    linear-gradient(115deg, rgba(43, 46, 98, 0.92) 0%, rgba(43, 46, 98, 0.7) 45%, rgba(43, 46, 98, 0.55) 100%);
  z-index: -1;
}

.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.hero__eyebrow {
  color: var(--puls-mint);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.9s var(--ease-out) 0.05s both;
}

.hero__eyebrow::before { background: var(--puls-green); }

.hero__title {
  font-family: var(--font-display);
  font-size: var(--step-7);
  font-weight: 400;
  color: var(--puls-white);
  letter-spacing: -0.025em;
  line-height: 0.98;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.9s var(--ease-out) 0.15s both;
}

.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--puls-green);
  position: relative;
  display: inline-block;
}

.hero__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.08em;
  height: 0.18em;
  background: rgba(25, 206, 153, 0.2);
  z-index: -1;
  border-radius: 2px;
}

.hero__lead {
  font-size: var(--step-1);
  color: rgba(255, 255, 255, 0.86);
  max-width: 32rem;
  line-height: 1.55;
  margin-bottom: 2.25rem;
  animation: fadeUp 0.9s var(--ease-out) 0.3s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3rem;
  animation: fadeUp 0.9s var(--ease-out) 0.45s both;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  animation: fadeUp 0.9s var(--ease-out) 0.6s both;
}

.hero__trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero__trust-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--puls-green);
  line-height: 1;
}

.hero__trust-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* Hero visual (decorative card) */
.hero__visual {
  position: relative;
  display: none;
}

@media (min-width: 900px) {
  .hero__visual {
    display: block;
    animation: fadeUp 1s var(--ease-out) 0.4s both;
  }
}

.hero__card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-xl);
  padding: 2rem;
  color: var(--puls-white);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  max-width: 380px;
  margin-left: auto;
}

.hero__card::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: var(--puls-green);
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  z-index: -1;
}

.hero__card-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--puls-mint);
  margin-bottom: 0.5rem;
}

.hero__card-value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.hero__card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.hero__card-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__card-list li:last-child { border-bottom: none; }

.hero__card-list svg {
  flex-shrink: 0;
  color: var(--puls-green);
}

/* Hero bottom marquee / divider */
.hero__marquee {
  margin-top: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* --------------------------------------------------------------------------
   7. Section Base
   -------------------------------------------------------------------------- */
.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
  position: relative;
}

.section--cream    { background: var(--puls-cream); }
.section--sand     { background: var(--puls-sand); }
.section--white    { background: var(--puls-white); }
.section--mint     { background: var(--puls-mint-soft); }
.section--purple   { background: var(--puls-purple); color: var(--puls-white); }
.section--purple h2, .section--purple h3 { color: var(--puls-white); }

.section-header {
  display: grid;
  gap: 1rem;
  max-width: 42rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.section-title {
  font-size: var(--step-5);
  font-weight: 400;
  color: var(--puls-purple);
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.section--purple .section-title {
  color: var(--puls-white);
}

.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--puls-green);
}

.section-subtitle {
  font-size: var(--step-1);
  color: rgba(43, 46, 98, 0.72);
  line-height: 1.6;
  max-width: 38rem;
}

.section--purple .section-subtitle {
  color: rgba(255, 255, 255, 0.78);
}

/* --------------------------------------------------------------------------
   8. Treatment cards (Behandling)
   -------------------------------------------------------------------------- */
.treatment-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .treatment-grid { grid-template-columns: repeat(2, 1fr); }
}

.treatment-card {
  position: relative;
  background: var(--puls-white);
  border: 1px solid rgba(43, 46, 98, 0.08);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  cursor: pointer;
  isolation: isolate;
}

.treatment-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 100% 0%, rgba(25, 206, 153, 0.08) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
  z-index: -1;
}

.treatment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(25, 206, 153, 0.3);
}

.treatment-card:hover::before {
  opacity: 1;
}

.treatment-card__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--puls-green);
  letter-spacing: 0.15em;
  margin-bottom: 0.25rem;
}

.treatment-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(25, 206, 153, 0.12), rgba(102, 206, 174, 0.2));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--puls-purple);
  border: 1px solid rgba(25, 206, 153, 0.2);
  margin-bottom: 0.5rem;
  transition: transform var(--dur-base) var(--ease-out);
}

.treatment-card:hover .treatment-card__icon {
  transform: rotate(-5deg) scale(1.05);
}

.treatment-card__title {
  font-size: var(--step-2);
  font-weight: 500;
  color: var(--puls-purple);
  line-height: 1.15;
  margin-bottom: 0.25rem;
}

.treatment-card__body {
  color: rgba(43, 46, 98, 0.75);
  font-size: var(--step-0);
  line-height: 1.65;
  flex-grow: 1;
}

.treatment-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--puls-purple);
  padding-top: 1rem;
  border-top: 1px dashed rgba(43, 46, 98, 0.15);
}

.treatment-card__link .arrow {
  transition: transform var(--dur-base) var(--ease-out);
}

.treatment-card:hover .treatment-card__link { color: var(--puls-green-dark); }
.treatment-card:hover .treatment-card__link .arrow { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   9. Therapist cards (Om oss / Terapeuter)
   -------------------------------------------------------------------------- */
.therapist-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.therapist {
  background: var(--puls-white);
  border: 1px solid rgba(43, 46, 98, 0.08);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  transition: box-shadow var(--dur-base) var(--ease-out);
}

@media (min-width: 820px) {
  .therapist {
    grid-template-columns: 5fr 7fr;
    min-height: 460px;
  }
}

.therapist:hover { box-shadow: var(--shadow-lg); }

.therapist__media {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--puls-sand);
  overflow: hidden;
}

@media (min-width: 820px) {
  .therapist__media {
    aspect-ratio: auto;
  }
}

.therapist__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease-out);
}

.therapist:hover .therapist__media img {
  transform: scale(1.04);
}

.therapist__badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--puls-white);
  color: var(--puls-purple);
  padding: 0.5rem 0.95rem;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.therapist__badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--puls-green);
  box-shadow: 0 0 0 4px rgba(25, 206, 153, 0.2);
}

.therapist__badge--unavailable .dot {
  background: var(--puls-yellow);
  box-shadow: 0 0 0 4px rgba(253, 203, 88, 0.2);
}

.therapist__body {
  padding: clamp(1.75rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}

.therapist__role {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--puls-green-dark);
  font-weight: 600;
}

.therapist__name {
  font-size: var(--step-4);
  font-weight: 500;
  color: var(--puls-purple);
  line-height: 1.05;
}

.therapist__title {
  font-size: var(--step-1);
  color: rgba(43, 46, 98, 0.7);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.therapist__desc {
  color: rgba(43, 46, 98, 0.78);
  font-size: var(--step-0);
  line-height: 1.7;
}

.therapist__note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  background: rgba(253, 203, 88, 0.12);
  border: 1px solid rgba(253, 203, 88, 0.3);
  border-radius: 10px;
  color: var(--puls-purple);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 1rem;
}

.therapist__note svg { flex-shrink: 0; color: #c48a00; }

.therapist__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* --------------------------------------------------------------------------
   10. Location section
   -------------------------------------------------------------------------- */
.location {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}

@media (min-width: 900px) {
  .location { grid-template-columns: 1fr 1fr; align-items: center; }
}

.location__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.location__features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.location-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--puls-white);
  border: 1px solid rgba(43, 46, 98, 0.06);
  border-radius: var(--r-lg);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}

.location-feature:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.location-feature__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--puls-mint-soft);
  color: var(--puls-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-feature h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--puls-purple);
  margin-bottom: 0.2rem;
}

.location-feature p {
  color: rgba(43, 46, 98, 0.72);
  font-size: 0.95rem;
  line-height: 1.55;
}

.location__map {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  min-height: 480px;
  border: 1px solid rgba(43, 46, 98, 0.08);
}

@media (min-width: 900px) {
  .location__map { min-height: 600px; }
}

.location__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(1.05) contrast(1.02);
}

/* --------------------------------------------------------------------------
   11. Contact cards
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}

.contact-card {
  background: var(--puls-white);
  border: 1px solid rgba(43, 46, 98, 0.08);
  border-radius: var(--r-xl);
  padding: 2rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.contact-card__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--puls-mint-soft);
  color: var(--puls-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  position: relative;
}

.contact-card__icon::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px dashed rgba(25, 206, 153, 0.3);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--puls-purple);
}

.contact-card p, .contact-card a {
  color: rgba(43, 46, 98, 0.78);
  font-size: 1rem;
  line-height: 1.5;
}

.contact-card a:hover { color: var(--puls-green-dark); }

.contact-card__label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(43, 46, 98, 0.5);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   12. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 0;
  background: var(--puls-purple);
  color: var(--puls-white);
  overflow: hidden;
  isolation: isolate;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 80% at 20% 50%, rgba(25, 206, 153, 0.18) 0%, transparent 55%),
    radial-gradient(40% 80% at 80% 50%, rgba(102, 206, 174, 0.14) 0%, transparent 55%);
  z-index: -1;
}

.cta-band__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1fr;
  text-align: center;
}

@media (min-width: 820px) {
  .cta-band__inner {
    grid-template-columns: 1.5fr auto;
    text-align: left;
  }
}

.cta-band h2 {
  font-size: var(--step-5);
  font-weight: 400;
  line-height: 1.05;
  color: var(--puls-white);
  margin-bottom: 0.75rem;
}

.cta-band h2 em {
  font-style: italic;
  color: var(--puls-green);
}

.cta-band p {
  font-size: var(--step-1);
  color: rgba(255, 255, 255, 0.82);
  max-width: 40rem;
}

@media (min-width: 820px) {
  .cta-band p { margin: 0; }
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--puls-purple-dark);
  color: rgba(255, 255, 255, 0.72);
  padding: clamp(4rem, 8vw, 5rem) 0 2rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 120%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(25, 206, 153, 0.5), transparent);
  transform: translateX(-50%);
}

.footer-grid {
  display: grid;
  gap: 3rem 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 22rem;
}

.footer-brand__mark {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--puls-white);
  letter-spacing: -0.02em;
  line-height: 0.9;
}

.footer-brand__mark .dot { color: var(--puls-green); }

.footer-brand p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.footer-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--puls-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.footer-social a:hover {
  background: var(--puls-green);
  color: var(--puls-purple);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--puls-white);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--dur-fast) var(--ease-out), padding var(--dur-fast) var(--ease-out);
}

.footer-col a:hover {
  color: var(--puls-green);
  padding-left: 4px;
}

.footer-hours li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.95rem;
}

.footer-hours .day {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.footer-hours .time { color: var(--puls-white); font-weight: 500; }
.footer-hours .time--closed { color: var(--puls-green); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.48);
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom__links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--dur-fast) var(--ease-out);
}

.footer-bottom__links a:hover { color: var(--puls-white); }

/* --------------------------------------------------------------------------
   14. Legal / content pages
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--puls-purple);
  color: var(--puls-white);
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(4rem, 9vw, 6rem);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 80% 30%, rgba(25, 206, 153, 0.14) 0%, transparent 55%);
}

.page-hero__inner { position: relative; }

.page-hero h1 {
  font-size: var(--step-6);
  font-weight: 400;
  color: var(--puls-white);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 1rem;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--puls-green);
}

.page-hero p {
  font-size: var(--step-1);
  color: rgba(255, 255, 255, 0.78);
  max-width: 42rem;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--puls-mint); }
.breadcrumb a:hover { color: var(--puls-green); }

.prose {
  max-width: 44rem;
  margin-inline: auto;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(43, 46, 98, 0.88);
}

.prose h2 {
  font-size: var(--step-3);
  font-weight: 500;
  color: var(--puls-purple);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(43, 46, 98, 0.1);
}

.prose h2:first-child { padding-top: 0; border-top: none; margin-top: 0; }

.prose h3 {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--puls-purple);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.prose p { margin-bottom: 1.1rem; }

.prose ul, .prose ol {
  margin: 1rem 0 1.25rem 1.5rem;
}

.prose li { margin-bottom: 0.5rem; }

.prose a {
  color: var(--puls-green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.prose a:hover { color: var(--puls-purple); }

.prose strong { color: var(--puls-purple); font-weight: 600; }

.prose blockquote {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--puls-green);
  background: var(--puls-mint-soft);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--puls-purple);
}

.prose hr {
  margin: 3rem 0;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(43, 46, 98, 0.2), transparent);
}

/* TOC / aside */
.content-layout {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}

@media (min-width: 960px) {
  .content-layout { grid-template-columns: 260px 1fr; gap: 4rem; }
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  align-self: start;
  padding: 1.5rem;
  background: var(--puls-white);
  border: 1px solid rgba(43, 46, 98, 0.08);
  border-radius: var(--r-lg);
}

.toc h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--puls-purple);
  margin-bottom: 1rem;
}

.toc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.toc a {
  display: block;
  font-size: 0.9rem;
  color: rgba(43, 46, 98, 0.7);
  padding: 0.35rem 0.5rem;
  border-left: 2px solid transparent;
  transition: all var(--dur-fast) var(--ease-out);
}

.toc a:hover {
  color: var(--puls-purple);
  border-left-color: var(--puls-green);
  padding-left: 0.75rem;
}

/* About page - philosophy / values block */
.values-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }

.value-card {
  background: var(--puls-white);
  border: 1px solid rgba(43, 46, 98, 0.08);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  text-align: left;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.value-card__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--puls-green);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--puls-purple);
  margin-bottom: 0.5rem;
}

.value-card p {
  color: rgba(43, 46, 98, 0.72);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 52rem;
  margin-inline: auto;
}

.faq-item {
  background: var(--puls-white);
  border: 1px solid rgba(43, 46, 98, 0.08);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-out);
}

.faq-item[open] { border-color: rgba(25, 206, 153, 0.3); }

.faq-item summary {
  list-style: none;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--puls-purple);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--puls-green-dark);
  transition: transform var(--dur-base) var(--ease-out);
  flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item summary:hover { color: var(--puls-green-dark); }

.faq-item__body {
  padding: 0 1.5rem 1.5rem;
  color: rgba(43, 46, 98, 0.78);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   15. Utility anims on scroll
   Only hide reveals when JS is active (html.js class added by main.js).
   Fallback: visible by default for no-JS / accessibility.
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }
.js .reveal[data-delay="4"] { transition-delay: 0.32s; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   16. Tiny details
   -------------------------------------------------------------------------- */
.divider-wave {
  display: block;
  width: 100%;
  height: 48px;
  color: var(--puls-cream);
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  background: var(--puls-mint-soft);
  color: var(--puls-purple);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: var(--r-full);
  border: 1px solid rgba(25, 206, 153, 0.2);
}
