/* =========================================================
   BASE
   ========================================================= */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

a {
  color: inherit;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&display=swap');

/* =========================================================
   VARIABLES
   ========================================================= */
:root {
  /* Wix / TM */
  --wix-gray-1: #dedada;
  --wix-gray-2: #cfcaca;
  --wix-pink: #e06575;
  --wix-pink-hover: #f08a97;
  --wix-text: #2b2b2b;

  /* Fysioflix */
  --fysioflix-blue: #737da8;
  --fysioflix-blue-dark: #66709a;
  --fysioflix-gold: #d7b46a;
}

/* =========================================================
   BODY
   ========================================================= */
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
  color: #1b1f2a;
  background: #fff;
}

/* Forside */
body.home {
  background: #fdfaf5;
  color: #1b1f2a;
}

/* Montserrat kun på Wix/TM */
.page-wix,
.tm-page,
.wix-simple {
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* =========================================================
   NAVBAR (forside)
   ========================================================= */
.navbar-fx {
  background: var(--fysioflix-blue);
  padding: 14px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.navbar-fx .brand img {
  height: 44px;
  width: auto;
}

.navlinks {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.navlinks a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

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

@media (max-width: 768px) {
  .navbar-inner {
    justify-content: center;
    flex-wrap: wrap;
  }

  .navlinks {
    justify-content: center;
    width: 100%;
  }
}

/* =========================================================
   HERO / CARDS (forside)
   ========================================================= */
.hero-wrap {
  padding: 56px 0;
}

.fx-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.fx-img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  padding: 32px;
}

.fx-card-header {
  padding: 18px 18px 0;
  text-align: center;
}

.fx-card-header p {
  max-width: 320px;
  margin: 0 auto 12px;
}

.fx-card-body {
  padding: 0 18px 18px;
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero buttons (ser ut som knapper uansett) */
.fx-btn,
.fx-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.2;
}

/* Primary */
.fx-btn {
  background: var(--fysioflix-blue);
  color: #fff;
  border-color: var(--fysioflix-blue);
}

.fx-btn:hover {
  background: var(--fysioflix-blue-dark);
  border-color: var(--fysioflix-blue-dark);
  color: #fff;
}

/* Outline */
.fx-btn-outline {
  background: transparent;
  color: var(--fysioflix-blue);
  border-color: var(--fysioflix-blue);
}

.fx-btn-outline:hover {
  background: rgba(115, 125, 168, .12);
  color: var(--fysioflix-blue-dark);
  border-color: var(--fysioflix-blue-dark);
}

/* =========================================================
   FOOTER (forside)
   ========================================================= */
#footer-container {
  background: var(--fysioflix-blue);
  color: #fff;
  padding: 36px 0;
}

#footer-container h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 10px;
}

#footer-container p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, .92);
}

#footer-container a {
  display: block;
  color: #fff;
  margin-bottom: 8px;
  text-decoration: none;
}

#footer-container a:hover {
  text-decoration: underline;
}

#footer-container .btn-primary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
}

#footer-container .btn-primary:hover {
  background: rgba(255, 255, 255, .10);
}

/* Social icons */
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-links i {
  font-size: 18px;
  color: var(--fysioflix-gold);
}

.social-links a:hover i {
  opacity: .85;
}

/* =========================================================
   TM LANGUAGE SELECTOR (/tm)
   ========================================================= */
.tm-page {
  background: #dedada;
  color: #2b2b2b;
  min-height: 100vh;
}

.tm-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 16px 60px;
}

/* =========================================================
   WIX LANDING (TØRSLEFF) – base
   ========================================================= */

/* Top strip */
.wix-top {
  background: var(--wix-gray-1);
  padding: 16px 0 0;
  border-bottom: 1px solid rgba(0, 0, 0, .10);
}

.page-wix .wix-logo {
  display: flex;
  justify-content: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 6px 16px 12px;
}

.wix-logo img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

/* Pattern strip */
.wix-pattern {
  background-color: #bfb9b8;
  background-image: url("/assets/pattern.png");
  background-size: 520px auto;
  background-repeat: repeat;
  padding: 26px 16px 34px;
  border-bottom: 1px solid rgba(0, 0, 0, .10);
}

/* Button grid */
.wix-navgrid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
}

/* Buttons */
.wix-btn {
  min-height: 56px;
  padding: 12px 16px;
  background: var(--wix-pink);
  border-radius: 2px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: .2px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.wix-btn:hover {
  background: var(--wix-pink-hover);
}

/* Pink band */
.wix-band {
  background: var(--wix-pink);
  padding: 1rem;
  text-align: center;
}

.wix-band .wix-title {
  margin: 0;
  font-weight: 300;
  font-size: clamp(30px, 4.4vw, 60px);
  line-height: 1.06;
}

/* Lower gray */
.wix-lower {
  background: var(--wix-gray-2);
  padding: 62px 16px 70px;
  text-align: center;
}

.wix-lower .wix-subtitle {
  margin: 0 0 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(30px, 4.4vw, 60px);
}

.wix-lower .wix-tag {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-weight: 400;
  font-size: clamp(14px, 1.7vw, 22px);
}

/* Responsive */
@media (max-width: 720px) {
  .wix-navgrid {
    grid-template-columns: 1fr;
  }

  .wix-pattern {
    padding: 18px 14px 26px;
  }

  .wix-logo img {
    width: 64px;
    height: 64px;
  }
}

/* =========================================================
   WIX FOOTER (TM-sider)
   ========================================================= */
.wix-footer {
  text-align: center;
  padding: 18px 0 28px;
  background: var(--wix-gray-2);
  color: rgba(0, 0, 0, .55);
  font-size: 12px;
  border-top: 1px solid rgba(0, 0, 0, .08);
}

/* =========================================================
   WIX CONTENT (undersider: info, film, metode, brosjyre...)
   ========================================================= */
.wix-content {
  background: var(--wix-gray-2);
  padding: 34px 16px 56px;
}

/* (valgfritt, men greit å ha for de sidene som bruker panel) */
.wix-panel {
  max-width: 980px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .35);
  border: 1px solid rgba(0, 0, 0, .08);
  padding: 22px;
  border-radius: 2px;
}

.wix-note {
  font-size: 13px;
  color: rgba(0, 0, 0, .55);
}

.wix-backrow {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.wix-backrow a {
  background: var(--wix-pink);
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 2px;
  font-weight: 500;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .12);
}

.wix-backrow a:hover {
  background: var(--wix-pink-hover);
}

/* placeholder, hvis den brukes noe sted */
.wix-video {
  width: 100%;
  aspect-ratio: 16/9;
  background: rgba(0, 0, 0, .12);
  border: 1px solid rgba(0, 0, 0, .08);
}

/* =========================================================
   FILM SIDE – enkel visning (video + copyright)
   ========================================================= */
.wix-video-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 16px 60px;
  text-align: center;
}

.wix-video-player {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid rgba(0, 0, 0, .15);
}

.wix-copyright {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(0, 0, 0, .55);
}

/* =========================================================
   Ragna og Tørsleff - kontakt
   ========================================================= */
.wix-info {
  background: #ffffff;
  text-align: center;
  padding: 44px 16px 36px;
}

.wix-info-title {
  margin: 0 0 28px;
  font-weight: 600;
  font-size: 22px;
  color: rgba(0, 0, 0, .78);
}

.wix-people {
  display: flex;
  justify-content: center;
  gap: 120px;
  flex-wrap: wrap;
}

.wix-person {
  margin: 0;
  width: 260px;
}

.wix-person img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 2px;
  background: #f2f2f2;
}

.wix-person-name {
  margin-top: 10px;
  font-size: 15px;
  color: rgba(0, 0, 0, .72);
}

.wix-person-mail {
  display: inline-block;
  font-size: 14px;
  color: rgba(0, 0, 0, .62);
  text-decoration: underline;
}

.wix-person-mail:hover {
  color: rgba(0, 0, 0, .78);
}

/* =========================================================
   WIX SPONSORS BUTTON STRIP
   ========================================================= */
.wix-sponsors {
  background: var(--wix-gray-2);
  padding: 52px 16px 72px;
  text-align: center;
}

.wix-sponsor-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  background: var(--wix-pink);
  color: #fff;
  text-decoration: none;
  border-radius: 2px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .12);
  font-weight: 500;
  letter-spacing: .2px;
}

.wix-sponsor-btn:hover {
  background: var(--wix-pink-hover);
}

@media (max-width: 900px) {
  .wix-people {
    gap: 48px;
  }

  .wix-person {
    width: 240px;
  }

  .wix-person img {
    width: 240px;
    height: 240px;
  }
}

/* =========================================================
   BROSJYRE VISNING
   ========================================================= */

.wix-panel--center {
  text-align: center;
}

.wix-brochure-img {
  max-width: 100%;
  height: auto;
  margin: 0 auto 28px;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}

/* PDF-knapp */
.wix-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px 20px;
  background: var(--wix-pink);
  color: #fff;
  text-decoration: none;
  border-radius: 2px;
  font-weight: 500;
  letter-spacing: .2px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .12);
}

.wix-download:hover {
  background: var(--wix-pink-hover);
}

/* =========================================================
   SIMPLE INFO PAGE (tm-no-info-no) – matches screenshot
   ========================================================= */

body.wix-simple {
  background: #ffffff;
  color: #2b2b2b;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.wix-simple-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 72px 16px 90px;
}

.wix-simple-wrap h1 {
  margin: 0 0 22px;
  font-weight: 800;
  letter-spacing: -0.2px;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.08;
  color: rgba(0, 0, 0, .78);
}

.wix-simple-text p {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.55;
  color: rgba(0, 0, 0, .62);
}

.wix-simple-btn {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  padding: 0 44px;
  background: var(--wix-pink);
  color: #fff;
  text-decoration: none;
  border-radius: 2px;
  font-size: 22px;
  font-weight: 500;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .12);
}

.wix-simple-btn:hover {
  background: var(--wix-pink-hover);
}

@media (max-width: 600px) {
  .wix-simple-text p {
    font-size: 18px;
  }

  .wix-simple-btn {
    min-height: 60px;
    padding: 0 34px;
    font-size: 20px;
  }
}