/* -----------------------------------------------
    CSS RESET & NORMALIZE
----------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article,
aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, main, menu, nav,
output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* Remove outline for mouse, show for keyboard */
:focus {
  outline: 2px solid #D6B161;
  outline-offset: 2px;
}
html {
  scroll-behavior: smooth;
  background: #F7F6F3;
}
body {
  min-height: 100vh;
  color: #234352;
  background: #F7F6F3;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #234352;
  text-decoration: none;
  transition: color 0.2s;
}

ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}
strong, b {
  font-weight: 700;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #234352;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.8rem; margin-bottom: 14px; line-height: 1.1; }
h2 { font-size: 2rem; margin-bottom: 18px; line-height: 1.18; }
h3 { font-size: 1.25rem; margin-bottom: 10px; line-height: 1.22; font-weight: 600; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 8px; }

.subheadline {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #576672;
  margin-bottom: 20px;
}

/* -----------------------------------------------
   LAYOUT CONTAINERS & UTILITIES
----------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px rgba(35,67,82, 0.10);
  transition: box-shadow 0.3s;
}

/* -----------------------------------------------
   HEADER & NAVIGATION
----------------------------------------------- */
header {
  background: #fff;
  border-bottom: 1px solid #E5E3DC;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 6px 16px rgba(35,67,82, 0.04);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 20px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 12px;
  border-radius: 8px;
  color: #234352;
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F6E9CD;
  color: #B58B2B;
}
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: #fff;
  background: #D6B161;
  border-radius: 26px;
  box-shadow: 0 2px 12px rgba(214, 177, 97, 0.15);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
  border-bottom: 2.5px solid #B58B2B;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #B58B2B;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 24px rgba(185,160,88,0.23);
}
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 26px;
  padding: 11px 28px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #B58B2B;
  background: #F6E9CD;
  border: 1px solid #E3C88A;
  transition: background 0.2s, color 0.2s, border 0.2s;
  letter-spacing: 0.04em;
  margin-top: 18px;
}
.cta-secondary:hover,
.cta-secondary:focus {
  background: #D6B161;
  color: #fff;
  border: 1px solid #D6B161;
}

/* Hamburger for Mobile */
.mobile-menu-toggle {
  display: none;
}
/* ----- MOBILE MENU NAVIGATION ----- */
.mobile-menu-toggle {
  font-size: 2rem;
  background: #fff;
  color: #234352;
  padding: 8px 12px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 1px 8px rgba(35,67,82,.06);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 120;
  margin-left: 12px;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #F6E9CD;
  color: #B58B2B;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 60px rgba(35,67,82,0.12);
  z-index: 200;
  transform: translateX(-105vw);
  transition: transform 0.35s cubic-bezier(.52,.01,.32,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 42px 30px 24px 30px;
  gap: 24px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.4s cubic-bezier(.51,.01,.44,1.03);
}
.mobile-menu-close {
  background: transparent;
  color: #234352;
  font-size: 2rem;
  border: none;
  margin-bottom: 22px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #B58B2B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #234352;
  font-weight: 500;
  padding: 11px 0 11px 8px;
  border-radius: 8px;
  transition: background 0.21s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6E9CD;
  color: #B58B2B;
}

/* Hide main nav & show burger on small screens */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (max-width: 1024px) {
  header .cta-primary {
    display: none;
  }
}

/* -----------------------------------------------
   HOME PAGE / FEATURE GRIDS & CARDS
----------------------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin: 28px 0 0 0;
}
.feature-grid > div {
  background: #F7F6F3;
  border: 1.5px solid #E3C88A;
  border-radius: 14px;
  padding: 27px 22px 21px 22px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  box-shadow: 0 2px 8px rgba(214, 177, 97, 0.09);
  transition: box-shadow 0.22s;
  position: relative;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 16px rgba(214, 177, 97, 0.17);
  border-color: #D6B161;
}
.feature-grid h3 {
  color: #234352;
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 6px;
}

/* Testimonial cards */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(35, 67, 82, 0.05), 0 0px 2px #E5E3DC;
  border: 1.7px solid #D6B161;
  margin-bottom: 20px;
  margin-top: 8px;
}
.testimonial-card p {
  font-size: 1rem;
  color: #234352;
}
.testimonial-card strong {
  color: #B58B2B;
  font-weight: 700;
}
.star-rating {
  color: #D6B161;
  font-size: 1.17rem;
  letter-spacing: 2px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* Cards & Card container patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(35,67,82,0.09);
  padding: 32px 24px 24px 24px;
  border: 1.3px solid #E3C88A;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(35,67,82,0.16);
  border-color: #D6B161;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Trainer list (vara-tranare) */
.trainer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 22px 0 12px 0;
}
.trainer-list > div {
  flex: 1 1 270px;
  min-width: 220px;
  max-width: 300px;
  background: #F7F6F3;
  border: 1.3px solid #E3C88A;
  border-radius: 14px;
  padding: 23px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(214, 177, 97, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.2s, border-color 0.22s;
}
.trainer-list > div:hover {
  border-color: #D6B161;
  box-shadow: 0 8px 30px rgba(214, 177, 97, 0.14);
}

.price-table {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 18px 0;
}
.price-table > div {
  flex: 1 1 220px;
  min-width: 190px;
  max-width: 260px;
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid #E3C88A;
  text-align: left;
  box-shadow: 0 2px 8px rgba(35, 67, 82, 0.055);
  padding: 20px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border-color 0.18s;
}
.price-table > div:hover {
  border-color: #D6B161;
  box-shadow: 0 8px 26px rgba(214, 177, 97, 0.12);
}
.price-table h3 {
  color: #234352;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 8px;
  font-size: 1.13rem;
}

/* Booking instructions (boka-tid) */
.booking-instructions {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 16px 0 0 0;
}
.booking-instructions > div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.01rem;
  background: #F7F6F3;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #E3C88A;
}
.booking-instructions img {
  height: 24px; width: 24px;
}

/* Contact info */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 22px 0;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #234352;
}
.contact-details img {
  width: 22px; height: 22px;
}
/* Address map section */
.address-map {
  background: #F7F6F3;
  border-radius: 12px;
  padding: 18px 14px;
  margin: 24px 0 0 0;
  border-left: 3.5px solid #D6B161;
}

/* -----------------------------------------------
   FOOTER
----------------------------------------------- */
footer {
  background: #234352;
  color: #fff;
  padding-top: 46px;
  padding-bottom: 28px;
  margin-top: 54px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
footer a {
  color: #D6B161;
  transition: color 0.2s;
  font-weight: 500;
}
footer a:hover, footer a:focus { color: #F6E9CD; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.98rem;
  color: #fff;
  margin-top: 9px;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer-contact img {
  width: 20px;
  height: 20px;
}

/* -----------------------------------------------
   COOKIE CONSENT BANNER
----------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #fff6e0;
  color: #234352;
  box-shadow: 0 -1.5px 16px 0 rgba(35,67,82,.08);
  border-top: 1px solid #E3C88A;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 18px 19px 18px;
  font-size: 1rem;
  animation: cookieUp 0.55s cubic-bezier(.6,.23,.38,1) 1;
}
@keyframes cookieUp {
  from { opacity: 0; transform: translateY(80px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 17px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 22px;
  padding: 10px 24px;
  font-size: 0.97rem;
  letter-spacing: 0.03em;
  margin: 0 5px 0 0;
  transition: background 0.2s, color 0.2s;
}
.cookie-btn.accept {
  background: #D6B161;
  color: #fff;
  border-bottom: 2px solid #B58B2B;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #B58B2B;
}
.cookie-btn.reject {
  background: #fff;
  border: 1.4px solid #D6B161;
  color: #B58B2B;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #F6E9CD;
}
.cookie-btn.settings {
  background: #F7F6F3;
  border: 1px solid #E3C88A;
  color: #234352;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #F2E4B6;
}

/* Cookie Modal */
.cookie-modal.closed {
  display: none;
}
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,67,82,0.45);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.38s cubic-bezier(.4,.15,.59,1.13) 1;
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px 24px 32px;
  min-width: 315px;
  max-width: 88vw;
  box-shadow: 0 8px 38px rgba(35,67,82,0.17);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-content h2 {
  font-size: 1.21rem;
  margin-bottom: 6px;
  color: #234352;
}
.cookie-modal-close {
  background: transparent;
  border: none;
  color: #234352;
  font-size: 1.68rem;
  align-self: flex-end;
  cursor: pointer;
}
.cookie-modal-close:hover { color: #B58B2B; }
.cookie-category {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.cookie-toggle {
  height: 24px;
  width: 44px;
  border-radius: 14px;
  background: #F2E4B6;
  position: relative;
  border: 1px solid #D6B161;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.16s;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle-indicator {
  position: absolute;
  left: 2px; top: 2px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 7px rgba(214,177,97,0.10);
  transition: left 0.16s, background 0.19s;
}
.cookie-toggle input:checked + .cookie-toggle-indicator {
  left: 22px; background: #D6B161;
}
/* Essential disabled */
.cookie-category input[disabled] + .cookie-toggle-indicator {
  background: #C3BC9F !important;
}

/* Modal CTA buttons */
.cookie-modal-actions {
  display: flex;
  gap: 11px;
  margin-top: 6px;
}
.cookie-modal-actions .cookie-btn {
  font-size: 1rem;
  padding: 9px 18px;
}

/* -----------------------------------------------
   RESPONSIVE & FLEX ADJUSTMENTS
----------------------------------------------- */
@media (min-width: 769px) {
  .text-image-section { flex-direction: row; }
}
@media (max-width: 1024px) {
  .container, footer .container {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 22px;
  }
  .feature-grid, .trainer-list, .price-table, .content-grid, .card-container {
    flex-wrap: wrap;
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
  .main-nav { gap: 16px; }
}
@media (max-width: 768px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 36px;
  }
  .content-wrapper {
    max-width: 98vw;
  }
  .feature-grid, .trainer-list, .price-table, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .trainer-list > div, .price-table > div, .card {
    min-width: 0;
    max-width: 100vw;
    width: 100%;
  }
  h1   { font-size: 2rem; }
  h2   { font-size: 1.3rem; }
  .cta-primary,
  .cta-secondary {
    width: 100%;
    justify-content: center;
  }
  .testimonial-card {
    padding: 12px 7px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 480px) {
  .cookie-modal-content {
    padding: 16px 6vw 15px 6vw;
    min-width: unset;
  }
}

/* -----------------------------------------------
   INTERACTIONS, MICRO-ANIMATIONS, REFINEMENT
----------------------------------------------- */
button, .cta-primary, .cta-secondary, .cookie-btn {
  transition: background 0.22s, color 0.22s, box-shadow 0.15s, border-color 0.13s;
}
.card, .feature-grid > div, .trainer-list > div, .testimonial-card, .price-table > div {
  transition: box-shadow 0.18s, border-color 0.16s;
}
::selection { background: #F6E9CD; color: #234352; }

/* -----------------------------------------------
   OTHER TYPOGRAPHIC STYLES
----------------------------------------------- */
hr {
  border: 0;
  border-top: 1px solid #E3C88A;
  margin: 26px 0;
}
blockquote {
  padding: 18px 22px;
  background: #F6E9CD;
  border-left: 4px solid #D6B161;
  font-style: italic;
  border-radius: 7px;
  margin-bottom: 18px;
}

/* -----------------------------------------------
   MISC UTILITIES & FIXES
----------------------------------------------- */
.mt-18 { margin-top: 18px; }
.mt-28 { margin-top: 28px; }
.mb-12 { margin-bottom: 12px; }
.text-center { text-align: center; }
.fs-18 { font-size: 1.13rem; }

/* -----------------------------------------------
   BRAND FONTS - FALLBACKS
----------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600;700&display=swap');
