/* ---------- Variables ---------- */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f4f7fa;
  --color-dark: #10233d;
  --color-text: #2b3a4a;
  --color-primary: #0c5ba8;
  --color-primary-dark: #094a8a;
  --color-muted: #5c6b7a;
  --color-white: #ffffff;
  --color-logo-green: #1db24c;
  --font-body: "Inter", sans-serif;
  --radius: 12px;
  --max-width: 1180px;
  --shadow: 0 20px 40px -20px rgba(16, 35, 61, 0.3);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-dark);
}

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

.section { padding: 96px 0; }
.alt-bg { background: var(--color-bg-alt); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.eyebrow.center { text-align: center; }

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 20px;
}
.section-title.center { text-align: center; }

.section-lead {
  max-width: 640px;
  color: var(--color-muted);
  margin: 0 auto 56px;
  font-size: 1.05rem;
}
.section-lead.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}
.btn-outline {
  border-color: var(--color-white);
  color: var(--color-white);
}
.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}
.facility .btn-outline {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.facility .btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(16,35,61,0.08);
}

.site-header .container {
  max-width: none;
  padding: 0 32px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  white-space: nowrap;
  color: var(--color-dark);
}
.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.logo span { color: var(--color-primary); }
.logo.light { color: var(--color-white); }
.logo.light span { color: #7fb8ec; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 32px;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 10px 20px;
  border-radius: 999px;
  transition: background 0.25s ease;
}
.main-nav ul:hover {
  background: rgba(12, 91, 168, 0.08);
}
.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  color: var(--color-text);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.phone-cta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.3;
}
.phone-label {
  font-size: 0.75rem;
  color: var(--color-muted);
}
.phone-number {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, #0c5ba8 0%, #10233d 100%);
}

.hero-photo-left {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50%;
  background: url("../pictures/traening.jpg") center/cover no-repeat;
}

.hero-photo-right {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background: url("../pictures/akupunktur.jpg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
}
.hero-overlay-left {
  left: 0;
  background: linear-gradient(180deg, rgba(16,35,61,0.35) 0%, rgba(16,35,61,0.65) 100%);
}
.hero-overlay-right {
  right: 0;
  background: linear-gradient(180deg, rgba(12,91,168,0.25) 0%, rgba(16,35,61,0.15) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  row-gap: 22px;
  align-items: start;
  padding: 60px 24px 60px 32px;
  box-sizing: border-box;
}

.hero-row1-left, .hero-row1-right { grid-row: 1; }
.hero-row2-left, .hero-row2-right { grid-row: 2; }
.hero-row3-left, .hero-row3-right { grid-row: 3; }
.hero-row4-left, .hero-row4-right { grid-row: 4; }
.hero-row1-left, .hero-row2-left, .hero-row3-left, .hero-row4-left { grid-column: 1; }
.hero-row1-right, .hero-row2-right, .hero-row3-right, .hero-row4-right { grid-column: 2; }

.hero-spacer { visibility: hidden; }

.hero-akupunktur-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 600;
  color: var(--color-white);
}
.hero-akupunktur-link {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 6px;
  transition: color 0.2s ease;
}
.hero-akupunktur-link:hover { color: #9fd0ff; }

.hero-akupunktur-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.hero-akupunktur-list li {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 0;
  max-width: 680px;
  color: var(--color-white);
}

.hero .eyebrow { color: #9fd0ff; }

.hero-text {
  max-width: 560px;
  color: rgba(255,255,255,0.88);
  font-size: 1.08rem;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Ydelser columns ---------- */
.ydelser-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}
.ydelser-column h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.ydelser-column p {
  color: var(--color-text);
  font-size: 1.02rem;
  margin-bottom: 18px;
}
.ydelser-column p:last-child { margin-bottom: 0; }
.ydelser-column p a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ydelser-column p a:hover { color: var(--color-primary-dark); }

@media (max-width: 720px) {
  .ydelser-columns { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Text block ---------- */
.text-block {
  max-width: 720px;
  margin: 0 auto;
}
.text-block p {
  color: var(--color-text);
  font-size: 1.05rem;
  margin-bottom: 20px;
}
.text-block p:last-child { margin-bottom: 0; }
.text-block p a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-block p a:hover { color: var(--color-primary-dark); }

/* ---------- Trainer link ---------- */
.trainer-link {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.trainer-link:hover { color: var(--color-primary-dark); }

/* ---------- Mette's story ---------- */
.mette-story .eyebrow { color: var(--color-primary); }
.content-warning {
  text-align: center;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: var(--color-bg-alt);
  border-radius: 8px;
  padding: 12px 20px;
  margin-bottom: 24px;
}
.story-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.gallery-item-toggle {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 30px -22px rgba(16,35,61,0.3);
}
.gallery-item-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: filter 0.3s ease;
}
.gallery-item-img.blurred {
  filter: blur(18px);
}
.gallery-item-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.95rem;
  background: rgba(16,35,61,0.35);
  transition: opacity 0.3s ease;
}
.gallery-item-toggle[aria-pressed="true"] .gallery-item-label {
  opacity: 0;
  pointer-events: none;
}
.story-back { text-align: center; margin-top: 24px; }
.story-back a {
  font-weight: 700;
  color: var(--color-primary);
}
.story-back a:hover { color: var(--color-primary-dark); }

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

.services-gray {
  background: var(--color-bg-alt);
}

/* ---------- Cards / Services ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--color-white);
  border: 1px solid rgba(16,35,61,0.08);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: 0 12px 30px -22px rgba(16,35,61,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.card-icon { font-size: 1.8rem; margin-bottom: 16px; }
.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p { color: var(--color-muted); font-size: 0.95rem; }

.card-link {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ---------- Trainers ---------- */
.trainers {
  background: #e9f7ee;
}
.trainers .eyebrow { color: var(--color-logo-green); }
.trainers .section-title { color: var(--color-dark); }
.trainer-title { color: var(--color-muted); }
.trainer-link { color: var(--color-primary); }
.trainer-link:hover { color: var(--color-primary-dark); }
.trainer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 560px;
  margin: 0 auto;
}
.trainer-card { text-align: center; }
.trainer-photo {
  aspect-ratio: 1/1;
  width: 100%;
  border-radius: 50%;
  background: linear-gradient(155deg, #9fd0ff 0%, #0c5ba8 100%);
  object-fit: cover;
  display: block;
  margin: 0 auto 16px;
  box-shadow: 0 12px 30px -18px rgba(16,35,61,0.3);
}
.trainer-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.trainer-title { color: var(--color-muted); font-size: 0.88rem; }

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-image {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(155deg, #cfe4f8 0%, #0c5ba8 100%);
  box-shadow: var(--shadow);
}

.facility-slideshow {
  position: relative;
  overflow: hidden;
}
.facility-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.facility-slide.active {
  opacity: 1;
}

.split-text p { color: var(--color-muted); margin-bottom: 16px; }

.check-list { margin: 20px 0 28px; }
.check-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
  color: var(--color-text);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* ---------- Related ---------- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 30px 26px;
  border-left: 4px solid var(--color-primary);
  box-shadow: 0 12px 30px -22px rgba(16,35,61,0.2);
}
.related-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.related-card p { color: var(--color-muted); font-size: 0.95rem; margin-bottom: 16px; }

/* ---------- Pricing ---------- */
.pricing-group-title {
  text-align: center;
  font-size: 1.3rem;
  margin: 48px 0 8px;
}
.pricing-group-title:first-of-type { margin-top: 24px; }
.pricing-group-note {
  text-align: center;
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pricing-grid:not(.pricing-grid-3) {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  margin: 0 auto;
}
.price-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: center;
  box-shadow: 0 12px 30px -22px rgba(16,35,61,0.2);
  position: relative;
}
.price-card.featured {
  background: var(--color-dark);
  color: var(--color-white);
  transform: scale(1.03);
  box-shadow: var(--shadow);
}
.price-card.featured .price { color: var(--color-white); }
.price-card.featured ul li { color: rgba(255,255,255,0.8); }
.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
}
.price-card h3, .price-card h4 { margin-bottom: 10px; font-size: 1.2rem; }
.price {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.price span { font-size: 0.9rem; font-weight: 400; color: var(--color-muted); }
.price-pending { font-size: 1.3rem; margin-bottom: 0; }
.price-note { font-size: 0.85rem; color: var(--color-muted); }
.price-card ul { margin-bottom: 8px; text-align: left; }
.price-card ul li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--color-muted);
}
.price-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}
.price-card.featured ul li::before { color: #7fb8ec; }

@media (max-width: 960px) {
  .pricing-grid, .pricing-grid:not(.pricing-grid-3) { grid-template-columns: 1fr; max-width: 420px; }
  .price-card.featured { transform: none; }
}

/* ---------- Contact ---------- */
.contact-info { margin: 24px 0; }
.contact-info li { margin-bottom: 8px; color: var(--color-text); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--color-bg-alt);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px -22px rgba(16,35,61,0.2);
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-dark);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(16,35,61,0.15);
  background: var(--color-white);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.form-note {
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-inner p { margin-top: 10px; font-size: 0.9rem; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 0.9rem; }
.footer-nav a:hover { color: var(--color-white); }
.footer-contact p { margin: 0 0 6px; }
.copyright {
  text-align: center;
  font-size: 0.8rem;
  padding-top: 24px;
  color: rgba(255,255,255,0.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .trainer-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav { position: fixed; top: 66px; left: 0; right: 0; bottom: 0; height: calc(100vh - 66px); height: calc(100dvh - 66px); background: var(--color-white); transform: translateX(100%); transition: transform 0.25s ease; padding: 32px 24px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; flex-direction: column; justify-content: flex-start; gap: 32px; z-index: 99; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 24px; padding: 16px; border-radius: 16px; }
  .main-nav a { font-size: 1.1rem; }
  .nav-toggle { display: flex; }
  .phone-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding: 48px 24px; row-gap: 16px; }
  .hero-row1-right, .hero-row2-right, .hero-row3-right, .hero-row4-right { grid-column: 1; }
  .hero-row1-right { grid-row: 5; }
  .hero-row2-right { grid-row: 6; }
  .hero-row3-right { grid-row: 7; }
  .hero-row4-right { grid-row: 8; }
  .hero-spacer { display: none; }
  .hero-overlay { width: 100%; height: 50%; bottom: auto; }
  .hero-overlay-right { top: auto; bottom: 0; }
  .hero-photo-left, .hero-photo-right { width: 100%; height: 50%; bottom: auto; }
  .hero-photo-right { top: auto; bottom: 0; }
  .card-grid { grid-template-columns: 1fr; }
  .trainer-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { min-height: 520px; }
}
