/* --- CSS RESET & NORMALIZATION --- */
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,
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;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F5F6F7;
  color: #08415C;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- BRAND FONTS --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800|Open+Sans:400,600&display=swap');
:root {
  --color-primary: #08415C;
  --color-secondary: #E4B363;
  --color-accent: #F5F6F7;
  --text-dark: #08415C;
  --text-light: #fff;
  --shadow-lg: 0 10px 32px rgba(8, 65, 92, 0.12), 0 2px 8px rgba(228,179,99,0.08);
  --shadow-card: 0 3px 20px rgba(8,65,92,0.09);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 8px;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  background: var(--color-accent);
  color: var(--text-dark);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}
h1 { font-size: 2.6rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2rem;   line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 1.3rem; line-height: 1.25; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 10px; }
p, li, ul, ol { font-size: 1rem; line-height: 1.7; margin-bottom: 12px; }
strong { font-weight: 700; }

/* Artistiska och kreativa typografiska detaljer */
h1, .hero h1 { text-shadow: 2px 6px 16px rgba(228,179,99,0.13); }
h2 { position: relative; }
h2:after {
  content: '';
  display: block;
  margin: 4px 0 0 0;
  width: 62px;
  height: 6px;
  border-radius: 2px 10px 10px 2px;
  background: var(--color-secondary);
}

.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 24px;
  padding-right: 24px;
  margin: 0 auto;
}

/* --- HEADER & NAV --- */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(8,65,92,0.09);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}
.logo img {
  height: 48px;
  width: auto;
  margin-right: 16px;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a.cta.primary {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
  box-shadow: 0 3px 10px rgba(228,179,99,0.12);
  margin-left: 10px;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.main-nav a.cta.primary:hover {
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 4px 18px rgba(8,65,92,0.14);
}
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: var(--color-accent);
  font-size: 2.1rem;
  border: 0;
  border-radius: var(--radius-md);
  padding: 7px 17px;
  margin-left: auto;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-secondary);
}

/* --- MOBILE OFFCANVAS MENU --- */
.mobile-menu {
  position: fixed;
  z-index: 2000;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(8,65,92,0.98);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.8,.1,.32,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0; /* Will be set on .mobile-nav */
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  padding: 16px 20px 12px 14px;
  color: var(--color-secondary);
  background: transparent;
  border: none;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 25px;
  width: 100%;
  padding: 0 38px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  text-align: left;
  padding: 16px 0;
  transition: color 0.16s, background 0.16s;
  border-radius: var(--radius-md);
}
.mobile-nav a:hover {
  color: var(--color-secondary);
  background: rgba(228,179,99,0.08);
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(90deg, var(--color-accent) 65%, rgba(228,179,99,0.10) 98%);
  border-bottom-left-radius: 100px 40px;
  border-bottom-right-radius: 100px 40px;
  margin-bottom: 64px;
  position: relative;
}
.hero .container {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 700px;
  gap: 16px;
  text-shadow: 0 1px 9px rgba(256,256,256,0.09);
}
.hero a.cta.primary {
  margin-top: 24px;
}

/* --- SECTIONS, FLEX LAYOUT PATTERNS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.features {
  margin-bottom: 60px;
}
.features .feature-grid, .features .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 26px 32px;
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item img {
  width: 48px;
  height: 48px;
}
.feature-item:hover {
  box-shadow: 0 5px 32px 0 rgba(8,65,92,0.19);
  transform: translateY(-3px) scale(1.025);
}

/* --- SERVICES, CARDS & CONTENT --- */
.services .service-list, .services ul {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.services .service-list > div {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px 32px;
  flex: 1 1 260px;
  min-width: 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.services .service-list > div:hover {
  box-shadow: 0 6px 28px 0 rgba(8,65,92,0.14);
  transform: translateY(-2px) scale(1.017);
}

.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  transition: box-shadow 0.19s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(8,65,92,0.14), 0 2px 16px rgba(228,179,99,0.09);
  transform: translateY(-2px) scale(1.014);
}
.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;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: rgba(228,179,99,0.06);
  padding: 40px 0 54px 0;
  border-radius: 55px 55px 0 0;
  box-shadow: 0 14px 36px -16px rgba(8,65,92,0.07) inset;
}
.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #fff;
  border-radius: var(--radius-lg) var(--radius-md) var(--radius-md) var(--radius-lg);
  box-shadow: 0 3px 16px rgba(8,65,92,0.09);
  color: #08415C;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.15s;
}
.testimonial-card p {
  font-size: 1.13rem;
  font-style: italic;
  color: #08415C;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #444;
  opacity: 0.8;
  margin-left: 16px;
}
.testimonial-card:hover {
  box-shadow: 0 7px 24px 0 rgba(8,65,92,0.13);
  transform: translateY(-2px) scale(1.011);
}

/* --- ABOUT & TEXT SECTIONS --- */
.about .content-wrapper,
.legal .content-wrapper,
.contact .content-wrapper 
{
  background: #fff;
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about ul, .features ul, .legal ul, .contact ul, .services ul, .about ol, .services ol {
  margin-left: 22px;
  margin-bottom: 14px;
}
.about ul li, .features ul li, .legal ul li, .contact ul li, .services ul li, .about ol li, .services ol li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.about ul li:before, .features ul li:before, .services ul li:before, .about ol li:before, .legal ul li:before, .contact ul li:before {
  content: '✦';
  color: var(--color-secondary);
  font-size: 1.1rem;
  position: absolute;
  left: 0;
  top: 2px;
}
.about ol li:before {
  content: counter(item) '.';
  color: var(--color-primary);
  left: 0;
  font-weight: 700;
}

/* --- CTA BUTTONS & LINKS --- */
.cta,
.btn, 
a.cta, a.btn,
.cta.primary, a.cta.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 165px;
  padding: 15px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: var(--color-primary);
  color: var(--color-accent);
  text-shadow: none;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 10px rgba(8,65,92,0.07);
  transition: background 0.19s, color 0.16s, box-shadow 0.17s, transform 0.18s;
  cursor: pointer;
  margin-top: 18px;
  margin-bottom: 6px;
}
.cta.primary, a.cta.primary {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 2px 14px rgba(228,179,99,0.18);
}
.cta:hover, a.cta:hover, .cta.primary:hover, a.cta.primary:hover {
  background: var(--color-primary);
  color: #fff !important;
  transform: translateY(-2px) scale(1.027);
  box-shadow: 0 8px 26px -3px rgba(8,65,92,0.18);
}
.cta:focus, .cta.primary:focus {
  outline: 2px solid var(--color-secondary);
}


/* --- FOOTER --- */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 44px 0 0 0;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  box-shadow: 0 -3px 18px 0 rgba(8,65,92,0.10);
}
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 42px;
  margin-bottom: 18px;
  padding-bottom: 32px;
  border-bottom: 1.5px solid #e4b36344;
}
.footer-brand {
  flex: 2 1 270px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-brand img {
  height: 40px;
  margin-bottom: 10px;
}
.footer-brand a {
  color: var(--color-secondary);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.18s;
}
.footer-brand a:hover { color: #fff; }
.footer-nav {
  flex: 1 1 190px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-nav a {
  color: #fff;
  opacity: 0.87;
  transition: color 0.17s, opacity 0.15s;
}
.footer-nav a:hover { color: var(--color-secondary); opacity: 1; }
.footer-social {
  flex: 1 1 110px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(228,179,99,0.08);
  width: 38px; height: 38px;
  border-radius: 50%;
  transition: background 0.19s;
}
.footer-social a:hover {
  background: var(--color-secondary);
}
.footer-social img {
  width: 22px; height: 22px;
}
.footer-copy {
  text-align: center;
  color: #fff;
  opacity: 0.8;
  padding: 14px 0;
  font-size: 0.97rem;
}

/* --- PAGE-SPECIFIC STYLES (THANK YOU) --- */
.thankyou .content-wrapper {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 46px 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- COACH PROFILE --- */
.coach-profile {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 13px #e4b36313;
  padding: 28px 22px 20px 28px;
  margin-bottom: 18px;
}
.coach-profile h3 {
  color: var(--color-primary);
}

/* --- CONTACT SECTION --- */
.contact ul li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 12px;
  padding-left: 0;
}
.contact ul li img {
  width: 26px;
  height: 26px;
  margin-right: 6px;
}
.contact ul li:before {
  display: none;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #08415C;
  width: 100vw;
  z-index: 3000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 -6px 36px 0 rgba(8,65,92,0.09);
  border-top: 3px solid var(--color-secondary);
  padding: 26px 3vw 26px 3vw;
  animation: fade-in-up 0.44s cubic-bezier(.7,.12,.19,1.1);
}
@keyframes fade-in-up {
  0% { transform: translateY(80px); opacity: 0; }
  98% { opacity: 1; }
  100% { transform: translateY(0); }
}
.cookie-consent-banner p {
  font-size: 1.05rem;
  margin-bottom: 0;
  flex: 1 1 200px;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-btn {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, box-shadow 0.13s;
  box-shadow: 0 2px 8px #e4b36319;
}
.cookie-btn.accept {
  background: var(--color-primary);
  color: #fff;
  margin-right: 2px;
}
.cookie-btn:hover {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-secondary);
}

/* --- COOKIE MODAL --- */
.cookie-modal-backdrop {
  position: fixed; left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(8,65,92,0.77);
  z-index: 3500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fade-in-modal 0.18s;
}
@keyframes fade-in-modal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 99%;
  max-width: 410px;
  margin-bottom: 0;
  box-shadow: 0 0 42px 0 rgba(8,65,92,0.15);
  padding: 36px 30px 28px 30px;
  z-index: 4000;
  animation: slide-up-modal 0.24s cubic-bezier(.52,.1,.72,1.2);
}
@keyframes slide-up-modal {
  0% { transform: translateY(44px); }
  100% { transform: translateY(0); }
}

.cookie-modal h2 {
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-bottom: 18px;
  background: none;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.cookie-category-label {
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 3px;
}
.cookie-category-desc {
  color: #3d4657;
  font-size: 0.98rem;
  opacity: 0.9;
}
.cookie-toggle {
  accent-color: var(--color-secondary);
  width: 24px;
  height: 24px;
  cursor: pointer;
}
.cookie-modal-btns {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal-close {
  color: var(--color-secondary);
  background: none;
  border: none;
  font-size: 1.5rem;
  position: absolute;
  top: 18px;
  right: 18px;
  cursor: pointer;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
  .container {
    max-width: 96vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .feature-grid, .service-list, .footer-cols {
    flex-wrap: wrap;
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-list, .footer-cols {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .main-nav {
    gap: 5px;
    flex-wrap: wrap;
  }
  .footer-cols {
    gap: 18px;
    padding-bottom: 19px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 4px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    margin-bottom: 30px;
    border-bottom-left-radius: 40px 24px;
    border-bottom-right-radius: 40px 24px;
  }
  .hero .container {
    min-height: 210px;
    padding-top: 48px;
    padding-bottom: 8px;
  }
  .hero .content-wrapper {
    padding: 0 4px;
    gap: 8px;
  }
  .section, .features {
    padding: 28px 8px;
    margin-bottom: 36px;
    border-radius: var(--radius-md);
  }
  .feature-grid, .service-list, .card-container, .card-grid, .footer-cols {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .services .service-list > div, .card {
    min-width: 80vw;
    max-width: 98vw;
    padding: 23px 12px;
  }
  .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  .card-content {
    gap: 8px;
  }
  .about .content-wrapper, .legal .content-wrapper, .contact .content-wrapper {
    padding: 21px 7px;
  }
  .testimonials {
    border-radius: 24px 24px 0 0;
    padding: 18px 0 34px 0;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 17px 8px;
    font-size: 0.99rem;
  }
  .footer-cols {
    flex-direction: column;
    padding-bottom: 6px;
  }
  .footer-brand, .footer-nav, .footer-social {
    flex: 1 1 95vw;
    gap: 0px;
  }
  .footer-brand { margin-bottom: 6px; }
  .footer-social { justify-content: flex-start; }
}
@media (max-width: 520px) {
  html { font-size: 95%; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.27rem; }
  .hero { border-radius: 26px 26px 18px 18px; margin-bottom: 18px; }
  .cta, .cta.primary, .btn, a.cta { padding: 10px 10px; min-width: 40vw; font-size: 1rem; }
  .footer-brand p, .footer-brand a, .footer-copy { font-size: 0.88rem; }
  .cookie-consent-banner { flex-direction: column; gap: 10px; padding: 19px 2vw; }
  .cookie-modal { padding: 18px 4vw; }
}


/* --- ANIMATION & MICRO-INTERACTIONS --- */
.cta, .cta.primary, .btn, a.cta, .cookie-btn {
  transition: background 0.20s, color 0.15s, box-shadow 0.15s, transform 0.16s;
}
.feature-item, .services .service-list > div, .testimonial-card, .card {
  transition: box-shadow 0.18s, transform 0.19s;
}
input, button {
  font-family: inherit;
}

/* --- Z-INDEX STACKING ORDER --- */
header { z-index: 1000; }
.mobile-menu { z-index: 2000; }
.cookie-consent-banner { z-index: 3000; }
.cookie-modal-backdrop { z-index: 3500; }
.cookie-modal { z-index: 4000; }

/* --- ACCESSIBILITY FOCUSES --- */
a:focus,
button:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* --- VISUAL UNIQUENESS (CREATIVE ELEMENTS) --- */
.about .content-wrapper, .legal .content-wrapper, .contact .content-wrapper {
  border-left: 8px solid var(--color-secondary);
  background: linear-gradient(99deg, #fff 93%, #E4B36311 100%);
}
.hero {
  position: relative;
  overflow: hidden;
}
.hero:before {
  content: '';
  position: absolute;
  right: -80px; top: -40px;
  width: 210px; height: 108px;
  border-radius: 90px 90px 70px 70px;
  background: var(--color-secondary);
  opacity: 0.17;
  z-index: 0;
}
.hero .content-wrapper { position: relative; z-index: 2; }

/* --- END --- */
