/* === 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,
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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e5eef6 100%);
  color: #124164;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
.cookie-consent-banner.hidden {
  display: none !important;
}
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
table { border-collapse: collapse; width: 100%; }

/* === VARIABLE FALLBACKS === */
:root {
  --color-primary: #124164;
  --color-secondary: #3dc16e;
  --color-accent: #f8f9fa;
  --color-text: #124164;
  --color-bg: #f8f9fa;
  --color-dark: #06172b;
  --shadow-md: 0 2px 16px rgba(18, 65, 100, 0.08);
  --shadow-lg: 0 6px 32px rgba(18, 65, 100, 0.16);
  --radius: 18px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.375rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; margin-bottom: 10px; }
p, ul, ol { margin-bottom: 18px; }
strong { font-weight: 700; }
.subheadline {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 22px;
  letter-spacing: 0.01em;
}

/* === GLOBAL LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  padding: 28px 22px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px) scale(1.025);
  z-index: 2;
}

.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;
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 32px;
  background: var(--color-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  color: var(--color-dark);
  min-width: 270px;
  flex: 1 1 270px;
  font-size: 1.03rem;
  transition: box-shadow .2s, transform .2s;
}
.testimonial-card strong {
  color: var(--color-secondary);
  margin-top: 8px;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px) scale(1.04);
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 18px;
  align-items: stretch;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 28px 20px 22px 20px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow .2s, transform .2s;
}
.feature img {
  width: 42px; height: 42px; object-fit: contain;
  margin-bottom: 6px;
}
.feature:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px) scale(1.03);
}

.services-list {
  display: flex; flex-direction: column; gap: 26px;
}
.services-list li,
.services-list .service {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 28px 24px;
  margin-bottom: 10px;
  gap: 8px;
}
.services-list li h2,
.services-list .service h2 {
  font-size: 1.14rem;
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-bottom: 4px;
}
.services-list .price,
.services-list li .price {
  font-size: 1.06rem;
  color: var(--color-secondary);
  font-weight: 700;
  margin-top: 2px;
}

.cta-section {
  background: linear-gradient(97deg, #124164 6%, #3dc16e 94%);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin-bottom: 60px;
  padding: 60px 0 60px 0;
}
.cta-section .content-wrapper {
  align-items: center;
}
.cta-section h2 {
  color: #fff;
  margin-bottom: 12px;
}
.cta-section p {
  color: #ededed;
  margin-bottom: 22px;
}

/* === HEADER & NAVIGATION === */
header {
  width: 100%;
  height: 72px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(18,65,100,0.03);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 24px;
}
header .logo {
  display: flex; align-items: center; height: 60px; margin-right: 20px;
}
header .logo img { height: 44px; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
}
.main-nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.03rem;
  position: relative;
  padding: 7px 6px;
  border-radius: 5px;
  transition: background .17s, color .2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}
.cta.primary {
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 40px;
  padding: 11px 34px;
  margin-left: 16px;
  box-shadow: 0 2px 16px rgba(61,193,110,0.13);
  border: none; outline: none;
  font-size: 1.06rem;
  transition: background .2s, transform .15s, box-shadow .17s;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}
.cta.primary:hover, .cta.primary:focus {
  background: #124164;
  color: #fff !important;
  transform: translateY(-1.5px) scale(1.02);
  box-shadow: var(--shadow-lg);
}
.mobile-menu-toggle {
  background: var(--color-secondary);
  border: none;
  color: #fff;
  font-size: 2rem;
  border-radius: 12px;
  padding: 5px 15px;
  cursor: pointer;
  margin-left: 16px;
  transition: background .18s;
  display: none;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #124164;
  color: #fff;
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18, 65, 100, 0.98);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.82,0,.19,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 16px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #fff;
  color: var(--color-primary);
  border: none;
  font-size: 2rem;
  border-radius: 12px;
  padding: 5px 16px 5px 10px;
  align-self: flex-end;
  margin: 24px 0 18px 0;
  cursor: pointer;
  transition: background .17s;
  z-index: 1250;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: var(--color-secondary); color: #fff; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 14px 0 0 0;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.17rem;
  font-family: var(--font-display);
  font-weight: 600;
  width: 100%;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  transition: color .15s, background .16s;
  border-radius: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary); background: rgba(255,255,255,0.08);
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(115deg, #124164 0%, #3dc16e 82%, #f8f9fa 100%);
  min-height: 390px;
  padding: 80px 0 80px 0;
  border-radius: 0 0 36px 36px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 22px;
}
.hero h1, .hero .subheadline {
  color: #fff;
}
.hero .cta.primary { margin-top: 15px; }

/* === TABLES === */
.price-table {
  width: 100%;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin: 26px 0 36px 0;
  overflow: hidden;
  font-size: 1.04rem;
}
.price-table th, .price-table td {
  padding: 19px 12px;
  text-align: left;
}
.price-table th {
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
}
.price-table tr:nth-child(even) td {
  background: #f1f7fa;
}
.price-table tr td {
  border-bottom: 1px solid #e9eef3;
}
.price-table tr:last-child td {
  border-bottom: none;
}

/* === FOOTER === */
footer {
  background: linear-gradient(95deg, #124164 60%, #3dc16e 140%);
  color: #fff;
  padding: 40px 0 22px 0;
  border-radius: 24px 24px 0 0;
  margin-top: 70px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.92;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 400;
  transition: color .18s, opacity .19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary); opacity: 1;
}
.brand-info {
  font-size: 0.98rem;
  line-height: 1.6;
  opacity: 0.95;
}
.social-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.social-links a img {
  width: 34px; height: 34px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
  transition: filter .15s, transform .15s;
}
.social-links a:hover img {
  filter: drop-shadow(0 6px 12px rgba(61,193,110,.18));
  transform: scale(1.13);
}

/* === CARDS & PROFILE LISTS === */
.trainer-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 28px 0 18px 0;
}
.trainer-profile {
  flex: 1 1 270px;
  min-width: 250px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 28px 21px 19px 21px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .18s, transform .16s;
}
.trainer-profile:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px) scale(1.03);
}
.trainer-profile h2 {
  font-size: 1.11rem;
  margin-bottom: 2px;
}
.trainer-profile p { font-size: 1rem;margin-bottom: 0; }
.trainer-values, .feature-list, .content-wrapper ul {
  display: flex; flex-direction: column; gap: 14px;margin-bottom:18px;
}
.trainer-values li, .feature-list li, .content-wrapper ul li {
  display: flex; align-items: center; gap: 10px; font-size: 1rem;
}
.trainer-values li img, .feature-list li img, .content-wrapper ul li img {
  width: 28px; height: 28px; margin-right: 4px;
}

/* === BUTTONS === */
button, .cta, .cta.primary {
  font-family: var(--font-display);
  font-size: 1.01rem;
  border: none;
  cursor: pointer;
  border-radius: 40px;
  padding: 11px 28px;
  background: var(--color-secondary);
  color: #fff;
  font-weight: 600;
  transition: background .16s, color .15s, box-shadow .15s, transform .13s;
}
button:active, .cta:active { outline: none; }

/* === FORM & CONTACT === */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 11px;
  background: #f1f7fa;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 12px;
}

/*******************************/
/* === RESPONSIVE DESIGN === */
/*******************************/
@media (max-width: 1024px) {
  .container { max-width: 96vw; }
  .feature-grid,.testimonials,.trainer-profiles,footer .container {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav { gap: 10px; }
  .card,
  .feature,
  .trainer-profile,
  .testimonial-card {
    min-width: 200px;
    padding: 21px 14px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { max-width: 98vw; padding: 0 9px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-block; }
  footer .container {
    flex-direction: column;
    gap: 28px; align-items: flex-start;
  }
  .feature-grid, .testimonials, .trainer-profiles {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section { flex-direction: column; gap: 18px; }
  .hero { min-height: 260px; padding: 48px 0 44px 0; border-radius: 0 0 24px 24px; }
  header { flex-wrap: wrap; height: auto; padding-top: 8px; padding-bottom: 8px; }
  .cta-section { padding: 37px 0 44px 0; }
}
@media (max-width: 500px) {
  html { font-size: 14px; }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.07rem; }
  .hero { padding: 24px 0 26px 0; }
  .section { padding: 20px 6px; margin-bottom: 36px; }
  .testimonials, .feature-grid, .trainer-profiles { gap: 12px; }
}

/* === TRANSITIONS & MICRO-INTERACTIONS === */
a, button, .main-nav a, .cta, .cta.primary, .feature, .card, .testimonial-card,
.trainer-profile, .footer-nav a {
  transition: background .19s, color .16s, box-shadow .18s, transform .16s, opacity .14s;
}

/************************************/
/* === COOKIE CONSENT BANNER ===   */
/************************************/
.cookie-consent-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  width: 100%;
  z-index: 3000;
  background: #fff;
  box-shadow: 0 -2px 18px rgba(18, 65, 100, 0.15);
  padding: 22px 16px 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  transition: transform .28s cubic-bezier(.77,0,.44,1), opacity .26s;
  border-radius: 16px 16px 0 0;
}
.cookie-consent-banner.hide {
  transform: translateY(100%);
  opacity: 0;
}
.cookie-consent-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-consent-text {
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 3px;
  text-align: center;
}
.cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 6px;
  justify-content: center;
}
.cookie-accept, .cookie-reject, .cookie-settings {
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 8px 28px;
  border-radius: 30px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  margin: 0 4px;
  outline: none;
  box-shadow: 0 2px 10px rgba(61,193,110,0.08);
  transition: background .17s, color .13s, transform .12s;
}
.cookie-accept { background: var(--color-secondary); color: #fff; }
.cookie-reject { background: transparent; border: 2px solid var(--color-secondary); color: var(--color-secondary); }
.cookie-settings { background: var(--color-primary); color: #fff; }
.cookie-accept:hover,
.cookie-settings:hover {
  background: #0e3350; color: #fff;
}
.cookie-reject:hover {
  background: #ececec; color: var(--color-primary);
}

/************************************/
/* === COOKIE MODAL === */
/************************************/
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(18,65,100,0.86);
  z-index: 3500;
  display: flex;
  align-items: center; justify-content: center;
  transition: opacity .23s;
  opacity: 0; pointer-events: none;
}
.cookie-modal.open {
  opacity: 1; pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 24px;
  min-width: 300px;
  max-width: 92vw;
  max-height: 100vh;
  padding: 38px 26px 26px 26px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  animation: cookieModalSlide .29s cubic-bezier(.8,0,.3,1);
}
@keyframes cookieModalSlide {
  from { transform: translateY(70px) scale(.94); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}
.cookie-category {
  display: flex; align-items: flex-start; gap: 14px;
}
.cookie-category label {
  font-size: 1.02rem;
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 600;
}
.cookie-toggle {
  width: 40px; height: 22px; border-radius: 22px;
  background: #e3efea;
  position: relative;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background .18s;
  margin-right: 7px;
}
.cookie-toggle[aria-checked="true"] {
  background: var(--color-secondary);
}
.cookie-toggle .slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%; background: #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,.10);
  transition: left .15s;
}
.cookie-toggle[aria-checked="true"] .slider {
  left: 20px;
}
.cookie-modal-actions {
  display: flex; gap: 18px; margin-top: 14px;
  justify-content: flex-end; width: 100%;
}
.cookie-modal .modal-close {
  background: transparent; color: var(--color-secondary);
  border: none; font-size: 1.14rem; font-weight: 700;
  padding: 5px 16px; cursor: pointer;
  position: absolute; top: 12px; right: 22px;
  border-radius: 7px;
  transition: background .15s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #e2ece4; color: #124164;
}

/************************************/
/* === ACCESSIBILITY === */
/************************************/
:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 3px;
}

/************************************/
/* === SCROLLBAR === */
/************************************/
::-webkit-scrollbar { width: 7px; background: #eaf1f4; }
::-webkit-scrollbar-thumb { background: #d2eae0; border-radius: 8px; }

