/* RESET & BASE STYLES */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #F8FBFB;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #29405d;
  background: #F8FBFB;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #23314A;
  text-decoration: none;
  transition: color .21s;
}
a:hover, a:focus {
  color: #FFB545;
}
strong, b { font-weight: bold; }

/* BRAND COLORS - SOFT PASTEL PALETTE */
:root {
  --sf-primary: #23314A;
  --sf-secondary: #FFB545;
  --sf-accent: #F4F6F8;
  --sf-bg: #F8FBFB;
  --pastel-blue: #e5ecfb;
  --pastel-peach: #FFE3BE;
  --pastel-green: #ddf5ea;
  --pastel-lavender: #eee5fb;
  --pastel-pink: #ffe9ef;
  --pastel-yellow: #fff8e4;
  --gray-700: #44536d;
  --gray-400: #7f8fa6;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--sf-primary);
  line-height: 1.12;
  margin-bottom: 12px;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.15rem; margin-bottom: 8px; font-weight: 600; }
.subtitle {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 400;
  color: #44536d;
  margin-bottom: 18px;
}

/* LAYOUT UTILITIES */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width:768px) {
  .section { padding: 30px 8px; margin-bottom: 40px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }
  .container { padding: 0 8px; }
}

/* HEADER */
header {
  width: 100%;
  padding: 0;
  background: linear-gradient(90deg, var(--pastel-blue) 70%, var(--pastel-peach) 130%);
  box-shadow: 0 3px 24px 0 rgba(180,187,207,0.12);
  position: relative;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 10px 18px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background .22s, color .22s;
  color: var(--sf-primary);
}
header nav a:hover, header nav a:focus {
  background: var(--pastel-lavender);
  color: var(--sf-secondary);
}
.cta-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--sf-secondary);
  color: var(--sf-primary);
  padding: 11px 29px;
  border-radius: 38px;
  font-weight: 700;
  font-size: 1.06rem;
  box-shadow: 0 2px 12px 0 rgba(255,181,69,0.09);
  transition: background 0.17s, color 0.17s, box-shadow 0.25s;
  border: none;
  cursor: pointer;
  text-align: center;
  margin-left: 14px;
  letter-spacing: 0.01em;
}
.cta-primary:hover, .cta-primary:focus {
  background: #FFD687;
  color: var(--sf-primary);
  box-shadow: 0 2px 18px 0 rgba(255,180,69,0.15);
}

header img {
  height: 52px; width: auto;
  margin-right: 18px;
  vertical-align: middle;
}

@media (max-width:1020px) {
  header .container {
    flex-direction: row;
    gap: 12px;
  }
  header nav {
    gap: 15px;
  }
}

@media (max-width:900px) {
  header nav { display: none; }
  .cta-primary { display: none; }
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 16px;
  top: 22px;
  background: var(--sf-secondary);
  color: var(--sf-primary);
  border: none;
  font-size: 2rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  z-index: 101;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(255,181,69, 0.09);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--sf-secondary);
}
@media (max-width:900px) {
  .mobile-menu-toggle { display: block; }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  overflow-y: auto;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, var(--pastel-peach) 25%, var(--pastel-blue) 75%);
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform .35s cubic-bezier(.63,.12,.73,1);
  padding: 0;
  box-shadow: 0 0 32px 0 rgba(85, 102, 166, 0.19);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--sf-primary);
  font-size: 2.3rem;
  position: absolute;
  right: 22px;
  top: 16px;
  cursor: pointer;
  z-index: 11;
  width: 48px; height: 48px;
  border-radius: 50%;
  transition: background .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: var(--pastel-lavender); color: var(--sf-secondary); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 96px;
  padding-left: 38px;
  font-size: 1.16rem;
}
.mobile-nav a {
  color: var(--sf-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 0;
  border-radius: 8px;
  font-size: 1.16rem;
  margin-bottom: 10px;
  width: 100%;
  transition: background .18s, color .18s;
  min-width: 180px;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--sf-secondary);
  background: var(--pastel-lavender);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg, var(--pastel-blue) 45%, var(--pastel-peach) 120%);
  padding: 58px 0 38px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}
.hero .container, .hero .content-wrapper {
  align-items: center;
  text-align: center;
}
.hero h1 {
  color: var(--sf-primary);
  font-weight: 800;
}
.hero .subtitle {
  color: var(--gray-700);
  max-width: 550px;
  margin: 0 auto 26px auto;
}
.hero .cta-primary {
  margin: 0 auto;
}
@media (max-width:640px) {
  .hero { padding: 34px 0 18px 0; }
}

/* FEATURES/USP LISTS */
.features {
  background: var(--pastel-green);
  border-radius: 18px;
  box-shadow: 0 3px 22px 0 rgba(173, 213, 202, 0.11);
  margin-top: 45px;
  margin-bottom: 42px;
}
.features .content-wrapper {
  gap: 26px;
}
.features h2 {
  color: var(--sf-primary);
  font-weight: 800;
  margin-bottom: 8px;
}
.feature-grid,
.usp-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-left: 0;
  margin-top: 10px;
  margin-bottom: 0;
  padding: 0;
}
.feature-grid li,
.usp-list li {
  background: var(--pastel-pink);
  box-shadow: 0 2px 18px 0 rgba(255,180,230,0.10);
  border-radius: 15px;
  padding: 24px 18px 20px 18px;
  min-width: 210px;
  max-width: 285px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  font-size: 1rem;
  color: var(--gray-700);
  transition: box-shadow 0.18s;
}
.feature-grid li:hover,
.usp-list li:hover {
  box-shadow: 0 3px 23px 0 rgba(255,153,179,0.17);
}
.feature-grid img {
  width: 44px; height: 44px;
  margin-bottom: 10px;
  opacity: 0.85;
  filter: drop-shadow(0 3px 4px #fff7); 
}
.feature-grid h3 { font-size: 1.13rem; margin-bottom: 2px; }

@media (max-width: 860px) {
  .feature-grid,
  .usp-list {
    flex-direction: column;
    gap: 22px;
  }
}

/* CARDS & CARD CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--pastel-yellow);
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 13px 0 rgba(255,236,180,0.13);
  position: relative;
  transition: box-shadow 0.18s, transform 0.19s;
  padding: 26px 24px;
  min-width: 260px;
  flex: 1 1 280px;
}
.card:hover {
  box-shadow: 0 6px 35px 0 rgba(233,204,140,0.17);
  transform: translateY(-5px) scale(1.01);
}

/* SERVICE/CONTENT GRIDS */
.service-grid, .trainer-profiles, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.service-grid > div, .trainer-profiles > div {
  flex: 1 1 230px;
  background: var(--pastel-lavender);
  border-radius: 13px;
  padding: 25px 18px;
  box-shadow: 0 2px 13px 0 rgba(204,191,247,0.13);
  margin-bottom: 20px;
  text-align: left;
  min-width: 180px;
}
.content-grid > * {
  flex: 1 1 225px;
  min-width: 180px;  
}
@media (max-width:900px) {
  .service-grid, .trainer-profiles, .content-grid {
    flex-direction: column !important;
    gap: 18px;
    justify-content: flex-start;
  }
}

/* TEXT-IMAGE SECTION (if used) */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.text-image-section > * {
  flex: 1 1 200px;
}
@media (max-width:768px) {
  .text-image-section {
    flex-direction: column;
    gap: 24px;
  }
}

/* TESTIMONIALS */
.testimonials {
  background: var(--pastel-lavender);
  border-radius: 17px;
  margin-top: 30px;
  box-shadow: 0 2px 25px 0 rgba(198,153,247,0.09);
  margin-bottom: 42px;
  padding: 28px 0 40px 0;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px 18px 24px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 19px 0 rgba(203,189,225,0.11);
  max-width: 340px;
  min-width: 220px;
  color: #23314a;
  font-size: 1.08rem;
}
.testimonial-card blockquote {
  font-style: italic;
  color: #29405d;
  quotes: "\201C" "\201D";
}
.testimonial-card blockquote:before { content: open-quote; color: var(--sf-secondary); font-size: 1.5rem; font-weight: bold; }
.testimonial-meta {
  font-size: 0.98rem;
  color: var(--gray-400);
  font-style: normal;
}

.ratings-summary {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.11rem;
  margin-top: 8px;
  color: #29405d;
}
.ratings-summary img { height: 22px; width: 22px; margin-right: 3px; vertical-align: middle; }

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

/* FEATURE ITEM (for icon+text sections, if used) */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ABOUT/LEGAL/QUOTE/BLOCKS */
blockquote, .motivational-quote {
  background: var(--pastel-peach);
  border-left: 4px solid var(--sf-secondary);
  color: #29405d;
  font-style: italic;
  padding: 10px 20px;
  border-radius: 11px;
  margin: 14px 0;
  font-family: 'Montserrat', Arial, sans-serif;
}
.privacy-overview, .data-handling-practices, .gdpr-compliance-text, .cookie-usage-text, .cookie-management-info, .user-choices-description, .terms-intro, .user-obligations, .liability-clauses {
  background: var(--pastel-pink);
  border-radius: 10px;
  padding: 16px 14px;
  margin: 14px 0 12px 0;
  font-size: 1.028rem;
}

/* PRICING TABLE */
.pricing-table {
  width: 100%;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 2px 10px 0 rgba(241,199,79, 0.06);
  border-collapse: collapse;
  margin: 18px 0 16px 0;
}
.pricing-table th, .pricing-table td {
  padding: 15px 10px;
  border: none;
  color: #23314A;
  font-size: 1rem;
  text-align: left;
}
.pricing-table th {
  background: var(--pastel-yellow);
  font-weight: 700;
  color: #856414;
}
.pricing-table tbody tr {
  border-top: 1px solid #f2e4c7;
}
.pricing-table tbody tr:nth-child(even) {background: var(--pastel-peach);}
.pricing-table td { vertical-align: top; }

/* CTA SECTION */
.cta {
  background: linear-gradient(90deg, var(--pastel-blue), #ffe7df 140%);
  border-radius: 20px;
  text-align: center;
  margin-bottom: 0;
  box-shadow: 0 2px 25px 0 rgba(255,181,175,0.08);
  padding: 38px 0;
}
.cta .content-wrapper { align-items: center; }
.cta h2 {
  font-size: 2rem;
  color: var(--sf-primary);
  font-weight: 800;
  margin-bottom: 12px;
}
.cta p {
  color: #44536d;
  margin-bottom: 24px;
}

/* CONFIRMATION MESSAGE (THANK YOU PAGE) */
.confirmation-message {
  background: var(--pastel-green);
  border-radius: 12px;
  padding: 16px 14px;
  color: #29405d;
  font-size: 1.08rem;
  margin-bottom: 7px;
}
.next-steps-info {
  background: var(--pastel-yellow);
  border-radius: 12px;
  padding: 12px 12px;
  color: #876f2f;
  font-size: 1rem;
  margin-bottom: 18px;
}

/* CONTACT PAGE SECTIONS */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}
.contact-info div {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.08rem;
  color: #29405d;
  background: var(--pastel-lavender);
  padding: 8px 13px;
  border-radius: 9px;
}
.contact-info img {
  width: 24px; height: 24px; margin-right: 2px;
}
.contact-form-hint {
  margin-top: 11px;
  background: var(--pastel-pink);
  border-radius: 9px;
  padding: 11px 13px;
  color: var(--gray-400);
  font-size: 0.98rem;
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, var(--pastel-lavender) 66%, var(--pastel-blue) 180%);
  color: #23314a;
  padding: 30px 0 14px 0;
  margin-top: 55px;
  border-radius: 18px 18px 0 0;
  font-size: 1rem;
}
footer .container {
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 11px;
}
.footer-links a {
  color: #23314a;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 5px 8px;
  border-radius: 6px;
  background: none;
  transition: background .14s, color .14s;
}
.footer-links a:hover { background: var(--pastel-pink); color: var(--sf-secondary); }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-size: 0.98rem;
  color: #374a64;
}
.footer-contact > div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-contact img {
  width: 19px; height: 19px; opacity: 0.79; }
.footer-brand {
  text-align: center;
  font-size: 0.88rem;
  color: #44536d;
  margin-top: 13px;
}
@media (max-width:670px) {
  .footer-links, .footer-contact {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/* TABLES/ULS */
table { border-collapse: collapse; width: 100%; }
ul, ol {
  margin-left: 1.8em;
  padding-left: 0;
  margin-bottom: 14px;
}
ul {
  list-style: disc outside;
  font-size: 1rem;
  color: var(--gray-700);
  margin-bottom: 0;
}

/* MICROINTERACTIONS, TRANSITIONS & ANIMATIONS */
button, .cta-primary, a {
  transition: background 0.18s, color 0.16s, box-shadow 0.17s, transform 0.17s;
}
.service-grid > div:hover, .card:hover, .testimonial-card:hover {
  box-shadow: 0 4px 30px 0 rgba(200,140,220,0.11);
  transform: translateY(-4px) scale(1.01);
}

/* RESPONSIVE FLEX HANDLING */
@media (max-width: 900px) {
  .container { padding: 0 5px; }
  .footer-brand { font-size: 0.79rem; }
  .about .content-wrapper, .features .content-wrapper, .service-grid, .trainer-profiles, .content-grid  {
   gap: 15px;
  }
}

@media (max-width: 650px) {
  .card, .service-grid > div { min-width: 90vw; max-width: 98vw; }
  .features, .testimonials, .cta, .about, .section {
    border-radius: 14px;
    padding-left: 2vw;
    padding-right: 2vw;
  }
}

/* COOKIE CONSENT BANNER + MODAL */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, var(--pastel-lavender) 50%, var(--pastel-peach) 120%);
  box-shadow: 0 -2px 12px 0 rgba(160,120,170,0.13);
  padding: 20px 12px 22px 12px;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  font-size: 1.02rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.33s cubic-bezier(.65,.02,.49,1);
}
.cookie-banner.show { opacity: 1; pointer-events: all }
.cookie-banner .cookie-banner-text {
  flex: 1 1 200px;
  color: #29405d;
  font-size: 1.061rem;
  margin-right: 9px;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 17px;
  border-radius: 25px;
  border: none;
  box-shadow: 0 1px 4px 0 rgba(186,180,170,0.11);
  cursor: pointer;
}
.cookie-btn.accept {
  background: var(--sf-secondary);
  color: var(--sf-primary);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #FFD687;
  color: #23314A;
}
.cookie-btn.reject {
  background: #fff;
  color: #d67e38;
  border: 1.5px solid var(--sf-secondary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--pastel-yellow);
  color: #23314A;
}
.cookie-btn.settings {
  background: var(--pastel-lavender);
  color: var(--sf-primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--pastel-green);
}
@media (max-width:690px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.98rem;
    padding: 19px 5px 21px 5px;
  }
  .cookie-btn { width: 100%; }
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(43,54,100,0.23);
}
.cookie-modal-backdrop.show { display: block; }
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(0.93);
  z-index: 10001;
  min-width: 340px;
  max-width: 95vw;
  background: var(--pastel-lavender);
  border-radius: 18px;
  box-shadow: 0 10px 55px 0 rgba(120,80,160,.13);
  padding: 28px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadein-modal .25s cubic-bezier(.71,.18,.36,.82);
}
@keyframes fadein-modal { 0% { opacity:0; transform:translate(-50%,-50%) scale(.85);} 100%{ opacity:1; transform:translate(-50%,-50%) scale(1);} }
.cookie-modal h2 { color: var(--sf-primary); font-size: 1.25rem; font-weight: 700; margin-bottom: 5px; }
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.cookie-category input[type=checkbox], .cookie-category input[type=radio] {
  accent-color: var(--sf-secondary);
  width: 19px; height: 19px;
  margin-right: 7px;
}
.cookie-category .essential {
  opacity: 0.7;
  font-style: italic;
  color: #6f6f6f;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #23314a;
  font-size: 2rem;
  position: absolute;
  right: 17px;
  top: 12px;
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { background: #fff4e1; }

@media (max-width:450px) {
  .cookie-modal { min-width: 99vw; padding: 17px 3vw 14px 3vw; }
  .cookie-modal-actions { flex-direction: column; gap: 8px; }
}

/* ACCESSIBILITY FOCUS STATES */
:focus {
  outline: 2px solid var(--sf-secondary);
  outline-offset: 2px;
}

/* MISC */
::-webkit-scrollbar {
  width: 11px;
  background: var(--pastel-blue);
}
::-webkit-scrollbar-thumb {
  background: var(--pastel-peach);
  border-radius: 8px;
}
@media (max-width:480px) {
  html, body { font-size: 15px; }
}

/* END CSS */
