/* RESET & BASE ------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #191919;
  background: #fff;
  line-height: 1.6;
  font-weight: 400;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 1em;
}
li {
  margin-bottom: .5em;
}
a {
  color: #191919;
  text-decoration: none;
  transition: color .18s;
  word-break: break-word;
}
a:focus {
  outline: 2px solid #21205F;
  outline-offset: 2px;
}

/* CONTAINER ---------------------------------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* TYPOGRAPHY --------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #111;
  margin-bottom: 18px;
  line-height: 1.2;
}
h1 { font-size: 2.4rem; letter-spacing: -1px; margin-top: 0; }
h2 { font-size: 2rem; letter-spacing: -.5px; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.12rem; }
@media (min-width: 768px) {
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.25rem; }
}
p {
  font-size: 1rem;
  margin-bottom: 14px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
strong, b {
  font-weight: 700;
  color: #111;
}

/* BUTTONS ------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #191919;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 32px;
  border: none;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(25,25,25,.07);
  margin-top: 14px;
  cursor: pointer;
  text-shadow: 0 1px 0 #0001;
  transition: background .22s, box-shadow .22s, color .15s;
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: #21205F;
  color: #F7F7F2;
  box-shadow: 0 4px 18px rgba(33,32,95,.13);
}

/* HEADER -------------------------------------- */
header {
  background: #fff;
  border-bottom: 1px solid #e9e9ef;
  box-shadow: 0 2px 8px rgba(30,30,30,.03);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  min-height: 72px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  margin-left: 24px;
}
header nav a {
  color: #111;
  font-weight: 500;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 8px 0;
  font-size: 1.04rem;
  position: relative;
}
header nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #21205F;
  transition: width .22s;
  margin-top: 3px;
}
header nav a:hover:after,
header nav a:focus:after {
  width: 100%;
}
header .btn-primary {
  margin-left: 0;
}
header img {
  max-height: 54px;
  margin-right: 10px;
}

/* MOBILE HEADER MENU -------------------------- */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #111;
  padding: 6px 16px;
  cursor: pointer;
  z-index: 40;
  transition: color .18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible {
  color: #21205F;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(32,32,32,0.98);
  z-index: 1000;
  transition: transform .34s cubic-bezier(.8,.2,.1,1), opacity .2s;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu > .mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vw;
  max-width: 350px;
  background: #fff;
  height: 100vh;
  padding: 70px 30px 30px 30px;
  gap: 24px;
  box-shadow: -8px 0 24px rgba(32,32,32,.18);
  position: relative;
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 36px;
  background: none;
  border: none;
  font-size: 2.25rem;
  color: #191919;
  z-index: 10;
  cursor: pointer;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus-visible {
  color: #21205F;
}
.mobile-nav a {
  color: #21205F;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.28rem;
  padding: 10px 0;
  width: 100%;
  text-align: left;
  border-radius: 8px;
  transition: background .15s, color .12s;
  margin-bottom: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F7F7F2;
  color: #191919;
}

@media (max-width: 1100px) {
  header nav {
    gap: 16px;
    margin-left: 10px;
  }
}
@media (max-width: 960px) {
  header nav {
    display: none;
  }
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }
}
@media (min-width: 961px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none!important;
  }
}

/* MAIN & SECTIONS ---------------------------- */
main, section {
  width: 100%;
}
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
}
@media (max-width: 600px) {
  section {
    padding: 32px 0 32px 0;
    margin-bottom: 40px;
  }
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 100%;
  margin-top: 14px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.info-box {
  background: #F7F7F2;
  border-left: 4px solid #21205F;
  box-shadow: 0 2px 14px rgba(30,30,30,0.04);
  padding: 24px 28px;
  border-radius: 10px;
  margin-top: 18px;
  margin-bottom: 22px;
}
.faq {
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 7px;
  padding: 18px 23px;
  margin-top: 24px;
}

/* FLEXBOX LAYOUT PATTERNS --------------------- */
.card-container,
.features,
.content-grid,
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: #fff;
  border: 1px solid #e4e5e7;
  border-radius: 14px;
  padding: 32px 24px;
  box-shadow: 0 4px 18px rgba(41,41,51,.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: box-shadow .23s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 30px rgba(41,41,61,.14);
  border-color: #21205F11;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section,
  .content-wrapper,
  .feature-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  padding: 22px 18px;
  box-shadow: 0 2px 8px rgba(40,40,48,.05);
}

/* TESTIMONIALS ------------------------------- */
.testimonial-card {
  background: #fff;
  color: #191919;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 28px 24px;
  border-radius: 13px;
  margin-bottom: 20px;
  box-shadow: 0 8px 28px rgba(46,46,66,0.11);
  border: 1px solid #dfdfdf;
  max-width: 600px;
  transition: box-shadow .22s, border-color .19s;
}
.testimonial-card strong {
  font-size: 1.02em;
  letter-spacing: .2px;
  color: #21205F;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 14px 36px rgba(30,30,52,0.15);
  border-color: #21205F22;
}

/* FOOTER -------------------------------------- */
footer {
  background: #121212;
  color: #eee;
  padding: 46px 0 30px 0;
  margin-top: 60px;
  border-top: 1px solid #181820;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: stretch;
}
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.footer-logo img {
  max-height: 42px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
footer nav a {
  color: #F7F7F2;
  font-weight: 500;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: color .14s;
}
footer nav a:hover, footer nav a:focus {
  color: #43B7A8;
}
.footer-contact {
  font-size: .98rem;
  margin-bottom: 12px;
  color: #cccccc;
}
.footer-contact img {
  vertical-align: middle;
  margin-right: 8px;
  max-height: 18px;
}
.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 8px;
}
.footer-social a img {
  max-height: 27px;
  filter: grayscale(1) brightness(.98);
  opacity: .75;
  transition: opacity .15s, filter .18s;
}
.footer-social a:hover img {
  opacity: 1;
  filter: grayscale(0) brightness(1.1);
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* CARDS & ICONS ------------------------------- */
.feature-grid > div, .features > div {
  display: flex;
  flex-direction: column;
  background: #F7F7F2;
  border-radius: 11px;
  box-shadow: 0 2px 18px rgba(41,41,51,.07);
  padding: 28px 21px 22px 21px;
  min-width: 210px;
  flex: 1 1 210px;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid #e1e1ed;
  transition: box-shadow .17s, border-color .18s;
}
.feature-grid > div:hover,
.features > div:hover {
  box-shadow: 0 6px 24px rgba(33,32,95,0.13);
  border-color: #21205F25;
}
.feature-grid img, .features img {
  max-height: 45px;
}

.trainer-profile {
  background: #fff;
  border-left: 5px solid #43B7A8;
  box-shadow: 0 2px 18px rgba(30,30,30,0.06);
  border-radius: 9px;
  padding: 22px 20px 18px 24px;
  margin-bottom: 20px;
}

.location-map {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}
.location-map img {
  height: 38px;
}

/* TABLES -------------------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
}
th, td {
  padding: 10px 14px;
  border-bottom: 1px solid #ececec;
  text-align: left;
  font-size: 1rem;
}
th {
  background: #fafafb;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #191919;
}

/* UTILS --------------------------------------- */
.mt-2 { margin-top: 12px; }
.mb-2 { margin-bottom: 12px; }
.mt-4 { margin-top: 24px; }
.mb-4 { margin-bottom: 24px; }
.text-center { text-align: center; }

/* SPACING/ALIGNMENT PATTERNS ------------------ */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

@media (max-width: 768px) {
  .section { padding: 28px 8px; margin-bottom: 32px; }
  .card-container,
  .content-grid,
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* ANIMATION & MICRO-INTERACTIONS --------------- */
.btn-primary,
.feature-grid > div,
.card,
.testimonial-card,
.mobile-menu,
.cookie-banner,
.cookie-modal {
  transition: box-shadow .23s, background .23s, border-color .19s, color .17s, opacity .2s, transform .34s;
}

/* COOKIE CONSENT BANNER ----------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #21205F;
  color: #F7F7F2;
  z-index: 1200;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 22px 32px 22px 32px;
  font-size: 1rem;
  box-shadow: 0 -4px 24px rgba(33,32,95,0.27);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity .17s, transform .33s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 8px 22px;
  font-size: 1rem;
  border-radius: 19px;
  background: #fff;
  color: #21205F;
  border: none;
  margin-right: 4px;
  cursor: pointer;
  transition: background .18s, color .15s;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(41,41,81,.08);
}
.cookie-banner button.accept {
  background: #43B7A8;
  color: #fff;
}
.cookie-banner button.reject {
  background: #e5e5e5;
  color: #191919;
}
.cookie-banner button.settings {
  background: #fff;
  color: #21205F;
  border: 1px solid #21205F22;
}
.cookie-banner button:hover,
.cookie-banner button:focus-visible {
  background: #21205F;
  color: #fff;
}
.cookie-banner button.accept:hover {
  background: #217875;
  color: #fff;
}
.cookie-banner button.reject:hover {
  background: #191919;
  color: #fff;
}
.cookie-banner .cookie-message {
  flex: 1 1 300px;
  min-width: 180px;
}
@media (max-width: 640px) {
  .cookie-banner {
    padding: 22px 14px;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    font-size: .98rem;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* COOKIE PREFERENCES MODAL -------------------- */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(20,20,20,.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1300;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s;
}
.cookie-modal.visible {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(33,32,95,.19);
  padding: 35px 34px 24px 34px;
  width: 97vw;
  max-width: 400px;
  color: #191919;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: stretch;
  position: relative;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  top: 12px;
  right: 17px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #21205F;
  cursor: pointer;
  z-index: 12;
}
.cookie-modal h3 {
  margin-bottom: 4px;
  font-size: 1.25rem;
  color: #21205F;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #efefef;
  font-size: 1rem;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #21205F;
}
.cookie-category input[disabled] {
  accent-color: #e5e5e5;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal .cookie-modal-actions button {
  background: #21205F;
  color: #fff;
  border: none;
  padding: 8px 24px;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: background .22s, color .15s;
  cursor: pointer;
}
.cookie-modal .cookie-modal-actions button.cancel {
  background: #e5e5e5;
  color: #191919;
}
.cookie-modal .cookie-modal-actions button.save:active {
  background: #191919;
  color: #fff;
}
.cookie-modal .cookie-modal-actions button.cancel:active {
  background: #191919;
  color: #fff;
}

@media (max-width: 480px) {
  .cookie-modal .cookie-modal-content { padding: 24px 6px 14px 7px; }
}

/* TABLET/MOBILE ADJUSTMENTS ------------------ */
@media (max-width: 600px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.35rem; }
  .card, .testimonial-card, .feature-grid > div, .info-box, .faq {
    padding: 18px 12px;
  }
}

/* CUSTOM SCROLLBAR --------------------------- */
body, .mobile-menu, .cookie-modal-content {
  scrollbar-width: thin;
  scrollbar-color: #21205F #ececf0;
}
body::-webkit-scrollbar { width: 8px; background: #ececf0; }
body::-webkit-scrollbar-thumb { background: #21205F; border-radius: 5px; }

/* ACCENTS/ICONS ------------------------------- */
.feature-grid img, .features img, .footer-contact img, .footer-social img {
  filter: grayscale(1) brightness(1.05) contrast(.94);
}

/* ACCENT COLORS AND CONTRAST ----------------- */
.btn-primary, .cookie-modal .cookie-modal-actions button.save {
  background: #21205F;
  color: #fff;
}
.btn-primary:active, .cookie-modal .cookie-modal-actions button.save:active {
  background: #191919;
}
.testimonial-card strong, .feature-grid > div h3, .trainer-profile h3 {
  color: #21205F;
}

/* OVERRIDES (FOR MONOCHROME/SOPHISTICATED) --- */
body {
  background: #fff;
  color: #191919;
}
header, section, .feature-grid > div, .faq, .info-box, .trainer-profile, .card {
  background: #fff;
}
footer, .cookie-banner {
  background: #121212;
  color: #F7F7F2;
}

/* VISUAL HIERARCHY ---------------------------- */
h1 {
  font-size: 2.2rem;
  line-height: 1.1;
  letter-spacing: -1.2px;
}
h2 {
  color: #191919;
  font-size: 1.4rem;
}
@media (min-width: 800px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
}

/* MISC ---------------------------------------- */
a[href^="tel"], a[href^="mailto"] {
  color: #43B7A8;
  text-decoration: underline;
  word-break: break-all;
}
a[href^="tel"]:hover, a[href^="mailto"]:hover {
  color: #21205F;
}

/* Hide visually but keep accessible (for modals) */
.visually-hidden {
  position: absolute!important;
  width: 1px!important;
  height: 1px!important;
  padding: 0!important;
  margin: -1px!important;
  overflow: hidden!important;
  clip: rect(0,0,0,0)!important;
  border: 0!important;
}

/* END OF STYLE.CSS */
