/* ============================================
   HÄLSOFABRIKEN — Designsystem
   Modern & sportig, lokal & ärlig
   ============================================ */

:root {
  /* Bas-paletten — kan tweakas via JS */
  --hf-saffron: #F2B544;
  --hf-saffron-deep: #E09A1F;
  --hf-saffron-soft: #FCEFCB;
  --hf-coral: #C97863;
  --hf-coral-soft: #F4DDD3;
  --hf-mint: #B8D8C9;

  --hf-bg: #FAF7F2;
  --hf-bg-warm: #F5EFE6;
  --hf-surface: #FFFFFF;
  --hf-ink: #1A1A1A;
  --hf-ink-soft: #4A4A4A;
  --hf-ink-mute: #8A8A85;
  --hf-line: rgba(26,26,26,0.08);
  --hf-line-strong: rgba(26,26,26,0.16);

  /* Typografi */
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Spacing & radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(26,26,26,0.04), 0 2px 8px rgba(26,26,26,0.04);
  --shadow-md: 0 6px 24px rgba(26,26,26,0.08), 0 2px 8px rgba(26,26,26,0.04);
  --shadow-lg: 0 24px 60px rgba(26,26,26,0.14), 0 4px 12px rgba(26,26,26,0.06);

  --container: 1240px;
  --header-h: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--hf-bg);
  color: var(--hf-ink);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; padding: 0; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 6.4vw, 88px); letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4.2vw, 56px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; }
p  { text-wrap: pretty; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.hf-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--hf-line);
}
.hf-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}
.hf-logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.hf-logo img { height: 36px; width: auto; }
.hf-nav { display: flex; gap: 6px; flex: 1; }
.hf-nav a {
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--hf-ink-soft);
  transition: all 0.15s ease;
  position: relative;
}
.hf-nav a:hover { color: var(--hf-ink); background: rgba(26,26,26,0.04); }
.hf-nav a.active { color: var(--hf-ink); }
.hf-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--hf-saffron);
  border-radius: 2px;
}
.hf-header__cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.hf-phone {
  font-size: 14px;
  color: var(--hf-ink-soft);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hf-phone-icon {
  width: 14px; height: 14px;
  color: var(--hf-saffron-deep);
}

/* Mobile menu */
.hf-burger { display: none; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.15s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--hf-ink);
  color: #fff;
}
.btn--primary:hover { background: #000; box-shadow: var(--shadow-md); }

.btn--saffron {
  background: var(--hf-saffron);
  color: var(--hf-ink);
}
.btn--saffron:hover { background: var(--hf-saffron-deep); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: transparent;
  color: var(--hf-ink);
  border-color: var(--hf-line-strong);
}
.btn--ghost:hover { border-color: var(--hf-ink); background: rgba(26,26,26,0.03); }

.btn--white {
  background: #fff;
  color: var(--hf-ink);
  box-shadow: var(--shadow-sm);
}
.btn--white:hover { box-shadow: var(--shadow-md); }

.btn-arrow {
  width: 18px; height: 18px;
  transition: transform 0.18s ease;
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ============================================
   SECTION CHROME
   ============================================ */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hf-ink-soft);
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1.5px;
  background: var(--hf-saffron-deep);
}

.section-head { margin-bottom: 48px; max-width: 720px; }
.section-head h2 { margin-top: 14px; }
.section-head p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--hf-ink-soft);
  max-width: 600px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__left {}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  border-radius: var(--r-pill);
  background: var(--hf-saffron-soft);
  border: 1px solid rgba(224, 154, 31, 0.25);
  font-size: 13px;
  font-weight: 500;
  color: #6B4A0F;
  margin-bottom: 28px;
}
.hero__tag-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--hf-saffron-deep);
  box-shadow: 0 0 0 4px rgba(224,154,31,0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(224,154,31,0.18); }
  50% { box-shadow: 0 0 0 8px rgba(224,154,31,0.05); }
}

.hero h1 {
  margin-bottom: 22px;
}
.hero h1 .hl {
  background: linear-gradient(120deg, var(--hf-saffron) 0%, var(--hf-saffron-deep) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-style: italic;
}
.hero__lead {
  font-size: 19px;
  color: var(--hf-ink-soft);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.55;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 540px;
  border-top: 1px solid var(--hf-line);
  padding-top: 32px;
}
.hero__stat {
  display: flex; flex-direction: column; gap: 4px;
}
.hero__stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--hf-ink);
}
.hero__stat-lbl {
  font-size: 13px;
  color: var(--hf-ink-mute);
  letter-spacing: 0.01em;
}

/* Hero right — collage */
.hero__right {
  position: relative;
  height: 620px;
}
.hero-card {
  position: absolute;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }

.hero-card--main {
  top: 0; right: 0;
  width: 78%; height: 70%;
  background: var(--hf-coral-soft);
}
.hero-card--milon {
  bottom: 0; left: 0;
  width: 56%; height: 50%;
  background: var(--hf-saffron);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  z-index: 2;
}
.hero-card--milon .milon-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero-card--milon h3 {
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.05;
  color: var(--hf-ink);
  margin-top: 8px;
}
.hero-card--milon .milon-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hero-card--milon .milon-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--hf-ink);
  color: #fff;
  display: grid; place-items: center;
  transition: transform 0.2s ease;
}
.hero-card--milon:hover .milon-arrow { transform: rotate(-45deg); }

.hero-card--badge {
  bottom: 24px; right: -10px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--hf-ink);
  color: #fff;
  display: grid; place-items: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  z-index: 3;
  animation: spin-slow 30s linear infinite;
}
.hero-card--badge .b-inner {
  background: var(--hf-saffron);
  color: var(--hf-ink);
  width: 80%; height: 80%;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* Marquee */
.marquee {
  background: var(--hf-ink);
  color: #fff;
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid var(--hf-line);
}
.marquee__track {
  display: flex;
  gap: 48px;
  animation: marquee 32s linear infinite;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee__track span::after {
  content: "✱";
  color: var(--hf-saffron);
  font-size: 16px;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================
   SERVICES — behandlingar
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-card {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--hf-surface);
  overflow: hidden;
  border: 1px solid var(--hf-line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card__media {
  aspect-ratio: 4/3;
  background: var(--hf-bg-warm);
  position: relative;
  overflow: hidden;
}
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.service-card__num {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  background: rgba(255,255,255,0.92);
  padding: 5px 9px;
  border-radius: 6px;
  font-weight: 600;
  color: var(--hf-ink);
}
.service-card__body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card__body h3 { font-size: 22px; }
.service-card__desc {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--hf-ink-soft);
  flex: 1;
}
.service-card__link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hf-ink);
}
.service-card__link svg { width: 14px; transition: transform 0.18s ease; }
.service-card:hover .service-card__link svg { transform: translateX(3px); }

/* ============================================
   MILON FEATURE — stort showcase
   ============================================ */
.milon-feature {
  background: var(--hf-ink);
  color: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
}
.milon-feature__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.milon-feature__media {
  min-height: 540px;
  background: var(--hf-saffron);
  position: relative;
  overflow: hidden;
}
.milon-feature__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.milon-feature__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(242,181,68,0.0) 0%, rgba(26,26,26,0.4) 100%);
}
.milon-feature__content {
  padding: clamp(36px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.milon-feature__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hf-saffron);
  margin-bottom: 18px;
}
.milon-feature h2 { color: #fff; }
.milon-feature h2 em {
  font-style: italic;
  color: var(--hf-saffron);
  font-weight: 700;
}
.milon-feature__lead {
  margin-top: 18px;
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
}

.milon-bullets {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}
.milon-bullets li {
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
}
.milon-bullets li::before {
  content: "";
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--hf-saffron);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8L6.5 11L12.5 5' stroke='%231A1A1A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center; background-repeat: no-repeat;
  flex-shrink: 0;
}

.milon-offer {
  margin-top: 36px;
  padding: 22px 24px;
  border-radius: var(--r-md);
  border: 1px dashed rgba(242,181,68,0.45);
  background: rgba(242,181,68,0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.milon-offer__txt {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.milon-offer__txt strong {
  color: var(--hf-saffron);
  font-size: 18px;
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

/* ============================================
   TRAINING / GRID
   ============================================ */
.train-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 16px;
  grid-auto-rows: 280px;
}
.train-tile {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--hf-bg-warm);
}
.train-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.6,.2,1);
}
.train-tile:hover img { transform: scale(1.04); }
.train-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.7) 100%);
}
.train-tile__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 22px;
  color: #fff;
}
.train-tile__body h3 { color: #fff; font-size: 24px; }
.train-tile__body p {
  margin: 6px 0 0;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.train-tile--big { grid-row: span 2; grid-column: 1; }
.train-tile--big .train-tile__body h3 { font-size: 32px; }

/* ============================================
   SCHEDULE
   ============================================ */
.schedule {
  background: var(--hf-bg-warm);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px);
}
.schedule__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.schedule__tabs {
  display: flex;
  gap: 4px;
  background: var(--hf-surface);
  padding: 4px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hf-line);
}
.schedule__tab {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--hf-ink-soft);
  transition: all 0.15s ease;
}
.schedule__tab.is-active {
  background: var(--hf-ink);
  color: #fff;
}
.schedule__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.day-col {
  background: var(--hf-surface);
  border-radius: var(--r-md);
  min-width: 0;
  padding: 14px 10px;
  border: 1px solid var(--hf-line);
}
.day-col__name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hf-ink-mute);
  margin-bottom: 4px;
  font-weight: 600;
}
.day-col__date {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.class-pill {
  background: var(--hf-bg);
  border-radius: var(--r-sm);
  padding: 8px 10px;
  margin-bottom: 6px;
  font-size: 12.5px;
  border-left: 2.5px solid var(--hf-saffron);
  cursor: pointer;
  transition: all 0.15s ease;
}
.class-pill:hover { background: var(--hf-saffron-soft); }
.class-pill__time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--hf-ink-mute);
  font-weight: 600;
}
.class-pill__name {
  font-weight: 600;
  margin-top: 1px;
  word-break: break-word;
  hyphens: auto;
  font-size: 12px;
  line-height: 1.25;
}
.class-pill--coral { border-left-color: var(--hf-coral); }
.class-pill--coral:hover { background: var(--hf-coral-soft); }
.class-pill--mint { border-left-color: #6FAE91; }
.class-pill--mint:hover { background: var(--hf-mint); }
.class-pill--sand { border-left-color: #C9A96E; }
.class-pill--sand:hover { background: rgba(201,169,110,0.12); }
.class-pill--saffron { border-left-color: var(--hf-saffron); }
.class-pill--saffron:hover { background: var(--hf-saffron-soft); }

/* class-pill is now a button */
button.class-pill {
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
  display: block;
}
.class-pill__end { color: var(--hf-ink-2); font-weight: 500; }
.class-pill__instr {
  font-size: 11px;
  color: var(--hf-ink-2);
  margin-top: 2px;
  font-weight: 500;
}

.schedule__sub {
  margin-top: 8px;
  color: var(--hf-ink-2);
  font-size: 14px;
}
.schedule__tools {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.schedule__tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.1;
  padding: 8px 14px;
}
.schedule__tab-sub {
  font-size: 10px;
  font-weight: 500;
  font-family: var(--font-mono);
  opacity: 0.7;
  letter-spacing: 0.04em;
}
.schedule__pdf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hf-line);
  background: var(--hf-surface);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--hf-ink);
  font-family: inherit;
  transition: all 0.15s ease;
}
.schedule__pdf:hover {
  background: var(--hf-ink);
  color: #fff;
  border-color: var(--hf-ink);
}
.schedule__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.schedule__chip {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hf-line);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  color: var(--hf-ink);
  cursor: pointer;
  transition: all 0.15s ease;
}
.schedule__chip:hover { background: var(--hf-bg-warm); }
.schedule__chip.is-active {
  background: var(--hf-ink);
  color: #fff;
  border-color: var(--hf-ink);
}
.day-col__month {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hf-ink-2);
  margin-top: -2px;
  margin-bottom: 12px;
}
.day-col__empty {
  font-size: 11px;
  color: var(--hf-ink-3, #9a9a9a);
  font-style: italic;
  padding: 8px 4px;
  text-align: center;
}
.schedule__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--hf-line);
  font-size: 12px;
  color: var(--hf-ink-2);
}
.schedule__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.schedule__legend .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--hf-ink);
  display: inline-block;
}
.schedule__legend .dot--coral { background: var(--hf-coral); }
.schedule__legend .dot--mint { background: #6FAE91; }
.schedule__legend .dot--sand { background: #C9A96E; }
.schedule__legend .dot--saffron { background: var(--hf-saffron); }

/* ============================================
   MODAL — pass-detalj
   ============================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(26,26,26,0.55);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.18s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  background: var(--hf-surface);
  border-radius: var(--r-xl);
  max-width: 540px;
  width: 100%;
  padding: 36px;
  position: relative;
  animation: slideUp 0.22s ease;
  max-height: 90vh;
  overflow-y: auto;
}
@keyframes slideUp { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--hf-line);
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  color: var(--hf-ink);
  font-family: inherit;
  line-height: 1;
}
.modal-close:hover { background: var(--hf-bg-warm); }
.modal-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  margin: 12px 0 24px;
  line-height: 1.1;
}
.modal-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--hf-bg-warm);
  border-radius: var(--r-md);
}
.modal-meta > div { display: flex; flex-direction: column; gap: 2px; }
.modal-meta strong {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hf-ink-2);
  font-weight: 600;
}
.modal-meta span { font-size: 14px; font-weight: 500; }
.modal-desc {
  color: var(--hf-ink-2);
  line-height: 1.6;
  margin-bottom: 24px;
}
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================
   PRINT — schemat som PDF
   ============================================ */
@media print {
  body.printing-schedule * { visibility: hidden !important; }
  body.printing-schedule #schedule-print-target,
  body.printing-schedule #schedule-print-target * { visibility: visible !important; }
  body.printing-schedule #schedule-print-target {
    position: absolute !important;
    left: 0; top: 0;
    width: 100%;
    background: #fff !important;
    box-shadow: none !important;
    padding: 24px !important;
  }
  body.printing-schedule .schedule__tools,
  body.printing-schedule .schedule__pdf,
  body.printing-schedule .schedule__filter,
  body.printing-schedule .liv-fab,
  body.printing-schedule #liv-widget { display: none !important; }
  body.printing-schedule .schedule__head { margin-bottom: 16px; }
  body.printing-schedule .schedule__grid {
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 4px !important;
  }
  body.printing-schedule .day-col { padding: 8px !important; }
  body.printing-schedule .class-pill {
    padding: 6px 8px !important;
    page-break-inside: avoid;
  }
  body.printing-schedule .class-pill__name { font-size: 11px; }
  body.printing-schedule .class-pill__time { font-size: 9px; }
  body.printing-schedule .class-pill__instr { display: none; }
  body.printing-schedule .day-col__empty { display: none; }
  body.printing-schedule .schedule__legend { font-size: 10px; }
  @page { size: A4 landscape; margin: 12mm; }
}

/* ============================================
   TESTIMONIAL / QUOTE
   ============================================ */
.quote-block {
  background: var(--hf-saffron);
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.quote-block::before {
  content: "”";
  position: absolute;
  font-family: var(--font-display);
  font-size: 360px;
  line-height: 1;
  top: -60px; right: 20px;
  color: rgba(26,26,26,0.08);
  font-weight: 700;
}
.quote-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0;
  max-width: 880px;
  position: relative;
}
.quote-block__author {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  position: relative;
}
.quote-block__author::before {
  content: "";
  width: 36px; height: 1.5px;
  background: var(--hf-ink);
}

/* ============================================
   FAQ
   ============================================ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(32px, 5vw, 80px);
}
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item {
  border-bottom: 1px solid var(--hf-line);
  padding: 22px 0;
}
.faq-item__q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  gap: 16px;
}
.faq-item__icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--hf-bg-warm);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.faq-item__icon svg {
  width: 14px; height: 14px;
  transition: transform 0.25s ease;
}
.faq-item.is-open .faq-item__icon {
  background: var(--hf-saffron);
}
.faq-item.is-open .faq-item__icon svg { transform: rotate(45deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  color: var(--hf-ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
  padding-right: 48px;
}
.faq-item.is-open .faq-item__a {
  max-height: 320px;
  padding-top: 14px;
}

/* ============================================
   CONTACT / FOOTER
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-card {
  background: var(--hf-surface);
  border: 1px solid var(--hf-line);
  border-radius: var(--r-lg);
  padding: 28px;
}
.contact-card h3 { font-size: 20px; margin-bottom: 6px; }
.contact-card p { font-size: 15px; color: var(--hf-ink-soft); margin: 6px 0 0; }
.map-embed {
  width: 100%; height: 360px;
  border: 0;
  border-radius: var(--r-lg);
  filter: saturate(0.85) contrast(1.05);
}

.footer {
  background: var(--hf-ink);
  color: rgba(255,255,255,0.78);
  padding: 80px 0 32px;
}
.footer h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__col a { font-size: 14.5px; transition: color 0.15s ease; }
.footer__col a:hover { color: var(--hf-saffron); }
.footer__brand img { height: 40px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer__brand p { font-size: 14px; max-width: 320px; }
.footer__bot {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  gap: 16px;
}

/* ============================================
   CHATBOT / FAB + Bot-intro
   ============================================ */
.fab-chat {
  position: fixed;
  bottom: 24px; right: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  border-radius: var(--r-pill);
  background: var(--hf-ink);
  color: #fff;
  box-shadow: var(--shadow-lg);
  z-index: 40;
  transition: transform 0.18s ease, padding 0.18s ease;
  font-size: 14px;
  font-weight: 600;
}
.fab-chat:hover { transform: translateY(-2px); }
.fab-chat__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--hf-saffron);
  color: var(--hf-ink);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  position: relative;
}
.fab-chat__avatar::after {
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #4ade80;
  border: 2px solid var(--hf-ink);
}
.fab-chat__lbl { display: flex; flex-direction: column; line-height: 1.2; }
.fab-chat__lbl small {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.7;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

/* Bot intro section */
.bot-intro {
  background: var(--hf-bg-warm);
  border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.bot-intro__avatar {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--hf-saffron);
  display: grid; place-items: center;
  position: relative;
  flex-shrink: 0;
}
.bot-intro__avatar::after {
  content: "";
  position: absolute;
  bottom: 8px; right: 8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #4ade80;
  border: 4px solid var(--hf-bg-warm);
}
.bot-intro__avatar span {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--hf-ink);
  letter-spacing: -0.03em;
}
.bot-intro__avatar--photo {
  overflow: hidden;
  background: var(--hf-saffron);
  width: 160px; height: 160px;
}
.bot-intro__avatar--photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.bot-intro__body h2 { font-size: clamp(28px, 3vw, 40px); }
.bot-intro__body p {
  margin-top: 12px;
  color: var(--hf-ink-soft);
  font-size: 16px;
  max-width: 540px;
}
.bot-intro__chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 18px;
}
.bot-intro__chips span {
  background: #fff;
  border: 1px solid var(--hf-line);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--hf-ink-soft);
}
@media (max-width: 760px) {
  .bot-intro { grid-template-columns: 1fr; text-align: center; }
  .bot-intro__avatar { margin: 0 auto; }
  .bot-intro__body p { margin-left: auto; margin-right: auto; }
  .bot-intro__chips { justify-content: center; }
  .fab-chat__lbl { display: none; }
  .fab-chat { padding: 6px; }
}

/* ============================================
   PAGE-SPECIFIC: BOKA
   ============================================ */
.boka-shell {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
  align-items: start;
}
.boka-side {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.boka-side__card {
  background: var(--hf-surface);
  border: 1px solid var(--hf-line);
  border-radius: var(--r-lg);
  padding: 28px;
  margin-bottom: 16px;
}
.boka-widget {
  background: var(--hf-surface);
  border: 1px solid var(--hf-line);
  border-radius: var(--r-lg);
  min-height: 600px;
  overflow: hidden;
}
.boka-widget__placeholder {
  padding: 60px 40px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  background: repeating-linear-gradient(
    45deg,
    var(--hf-bg-warm),
    var(--hf-bg-warm) 12px,
    var(--hf-bg) 12px,
    var(--hf-bg) 24px
  );
  min-height: 600px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__right { height: 460px; margin-top: 16px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .train-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .train-tile--big { grid-column: 1 / -1; }
  .milon-feature__grid { grid-template-columns: 1fr; }
  .milon-feature__media { min-height: 280px; }
  .schedule__grid { grid-template-columns: repeat(3, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .boka-shell { grid-template-columns: 1fr; }
  .boka-side { position: relative; top: 0; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hf-nav { display: none; }
  .hf-burger { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .schedule__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); }
  .hero__stat-num { font-size: 28px; }
  .hero-card--badge { width: 100px; height: 100px; font-size: 12px; }
  .hf-header__cta .btn--ghost { display: none; }
  .hf-phone span { display: none; }
}

/* ==========================================================
   MilonCompare — Q vs Standard table
   ========================================================== */
.compare {
  margin-top: 32px;
  background: var(--hf-surface);
  border: 1px solid var(--hf-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare__head,
.compare__row {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1.4fr;
  align-items: stretch;
}
.compare__head {
  background: var(--hf-ink);
  color: #fff;
}
.compare__h {
  padding: 22px 24px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.compare__h:last-child { border-right: 0; }
.compare__h--label { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); font-weight: 500; }
.compare__h--q { background: var(--hf-saffron); color: var(--hf-ink); }
.compare__badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(26,26,26,0.12);
  color: var(--hf-ink);
  font-weight: 600;
}
.compare__badge--muted { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }

.compare__row {
  border-top: 1px solid var(--hf-line);
}
.compare__row:nth-child(even) { background: var(--hf-bg); }
.compare__cell {
  padding: 18px 24px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.45;
  border-right: 1px solid var(--hf-line);
}
.compare__cell:last-child { border-right: 0; }
.compare__cell--label {
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  color: var(--hf-ink);
}
.compare__cell--q { color: var(--hf-ink); }
.compare__cell--std { color: var(--hf-ink-mute); }
.compare__check {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--hf-saffron-deep);
  margin-top: 2px;
}
.compare__dash {
  width: 20px; height: 20px; flex-shrink: 0;
  display: grid; place-items: center;
  font-weight: 700;
  color: var(--hf-ink-mute);
  margin-top: 0;
}

.compare__cta {
  margin-top: 28px;
  padding: 24px 28px;
  background: var(--hf-saffron-soft);
  border: 1px solid rgba(224,154,31,0.25);
  border-radius: var(--r-lg);
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.compare__cta strong {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: -0.01em;
}
.compare__cta span {
  color: #6B4A0F;
  font-size: 15px;
}

@media (max-width: 820px) {
  .compare__head, .compare__row { grid-template-columns: 1fr; }
  .compare__h, .compare__cell { border-right: 0; border-bottom: 1px solid var(--hf-line); }
  .compare__h:last-child, .compare__cell:last-child { border-bottom: 0; }
  .compare__cell--label { background: var(--hf-bg-warm); padding-top: 14px; padding-bottom: 14px; }
  .compare__row:nth-child(even) { background: var(--hf-surface); }
}

/* ==========================================================
   Team — personalpresentation
   ========================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.team-card {
  background: var(--hf-surface);
  border: 1px solid var(--hf-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.team-card__media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--hf-bg-warm);
}
.team-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.team-card:hover .team-card__media img { transform: scale(1.04); }
.team-card__years {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--hf-ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  font-weight: 600;
}
.team-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.team-card__body h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
}
.team-card__skills {
  font-size: 12px;
  color: var(--hf-ink-2);
  font-style: italic;
  margin-top: 4px;
  margin-bottom: 8px;
  line-height: 1.4;
}

/* ============================================
   FULL TEAM — instruktörer & reception (sekundär)
   ============================================ */
.staff-block { margin-top: 40px; }
.staff-block__h {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hf-ink-2);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hf-line);
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.staff-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--r-md);
  background: var(--hf-surface);
  border: 1px solid var(--hf-line);
  transition: background 0.18s ease;
}
.staff-mini:hover { background: var(--hf-bg-warm); }
.staff-mini__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--hf-saffron-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.staff-mini__avatar img { width: 100%; height: 100%; object-fit: cover; }
.staff-mini__init {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--hf-saffron-deep);
  letter-spacing: -0.02em;
}
.staff-mini__name {
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.staff-mini__role {
  font-size: 12px;
  color: var(--hf-ink-2);
  margin-top: 2px;
}
.team-card__role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hf-saffron-deep);
  font-weight: 600;
}
.team-card__body p {
  font-size: 14.5px;
  color: var(--hf-ink-soft);
  margin: 4px 0 12px;
  flex: 1;
}
.team-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hf-ink);
  align-self: flex-start;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  background: var(--hf-saffron-soft);
  transition: background 0.18s ease, gap 0.2s ease;
}
.team-card__cta svg { width: 14px; height: 14px; }
.team-card__cta:hover {
  background: var(--hf-saffron);
  gap: 12px;
}

@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }

/* ==========================================================
   Local SEO — orter
   ========================================================== */
.local-seo {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: var(--hf-ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(32px, 4vw, 56px);
}
.local-seo__head h2 {
  margin-top: 14px;
  color: #fff;
  font-size: clamp(28px, 3.4vw, 44px);
}
.local-seo__head .eyebrow { color: var(--hf-saffron); }
.local-seo__head p {
  margin-top: 18px;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  max-width: 480px;
}
.local-seo__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.local-seo__chip {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.local-seo__chip:hover {
  background: rgba(242,181,68,0.1);
  border-color: rgba(242,181,68,0.4);
}
.local-seo__city {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.local-seo__note {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.local-seo__chip:first-child .local-seo__city { color: var(--hf-saffron); }
.local-seo__chip:first-child {
  background: rgba(242,181,68,0.12);
  border-color: rgba(242,181,68,0.3);
}

@media (max-width: 880px) {
  .local-seo { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .local-seo__grid { grid-template-columns: 1fr; }
}
