/* CSS RESET & BASE **********************************************************/
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
body {
  background: #FFF;
  color: #243440;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; border-radius: 12px; }
a { color: #1A4D8F; text-decoration: none; transition: color .18s; }
a:hover, a:focus { color: #F4903D; }

/* TYPOGRAPHY ***************************************************************/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #1A4D8F;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 { font-size: 2.25rem; line-height: 1.2; margin-bottom: 24px; }
h2 { font-size: 1.5rem; line-height: 1.3; margin-bottom: 20px; }
h3 { font-size: 1.125rem; line-height: 1.4; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }

p { margin-bottom: 20px; }
ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
  list-style-position: outside;
}
li {
  margin-bottom: 12px;
}
strong, b {
  font-weight: 700;
  color: #1A4D8F;
}

/* CONTAINER & LAYOUT *******************************************************/
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 30px 0 rgba(244, 144, 61, 0.06);
}

/* FLEXBOX PATTERNS *********************************************************/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff6f0;
  border-radius: 20px;
  box-shadow: 0 2px 10px 0 rgba(244, 144, 61, 0.08);
  padding: 32px 24px;
  flex: 1 1 270px;
  transition: box-shadow .18s, transform .18s;
}
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(244, 144, 61, 0.14);
  transform: translateY(-6px);
}
.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;
  margin-bottom: 24px;
  background: #fff3e7;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(26, 77, 143, 0.06);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION *************************************************************/
.hero {
  background: linear-gradient(90deg, #fff7e9 0%, #e7e9eb 85%);
  border-radius: 0 0 36px 36px;
  padding: 80px 0 60px 0;
  margin-bottom: 56px;
  box-shadow: 0 4px 22px 0 rgba(244, 144, 61, 0.05);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  text-align: center;
}
.hero h1 {
  color: #AD5300;
  font-size: 2.5rem;
  margin-bottom: 25px;
}
.hero p {
  color: #1A4D8F;
  font-size: 1.125rem;
  margin-bottom: 32px;
}

/* FEATURE / COURSE GRIDS ***************************************************/
.feature-grid, .trainer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.feature-grid > div, .trainer-card {
  flex: 1 1 240px;
  background: #fff6f0;
  padding: 24px 16px;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(244,144,61,0.07);
  transition: box-shadow .18s, transform .18s;
  min-width: 220px;
}
.feature-grid > div:hover, .trainer-card:hover {
  box-shadow: 0 8px 28px 0 rgba(244,144,61,0.14);
  transform: translateY(-5px);
}

/* TABLES *******************************************************************/
.timetable-table, .pricing-table, .comparison-chart {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 28px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 10px 0 rgba(26,77,143,0.06);
}
.timetable-table th, .pricing-table th, .comparison-chart th {
  background: #1A4D8F;
  color: #fff;
  font-weight: 700;
  padding: 18px 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  text-align: left;
}
.timetable-table td, .pricing-table td, .comparison-chart td {
  padding: 16px 12px;
  color: #333;
  background: #f8fafc;
  border-bottom: 1px solid #e7e9eb;
  vertical-align: top;
}
.timetable-table tr:last-child td,
.pricing-table tr:last-child td,
.comparison-chart tr:last-child td { border-bottom: none; }

.benefits-list, .footer-contact ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style-type: none;
  margin-left: 0;
}
.benefits-list li, .footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff6f0;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 1rem;
}
.benefits-list img, .footer-contact img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

/* ALERTS / FEEDS ***********************************************************/
.alert-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff0e0;
  color: #81470b;
  border-radius: 13px;
  padding: 14px 20px;
  margin-bottom: 16px;
  font-size: 1rem;
  box-shadow: 0 1px 4px 0 rgba(244, 144, 61, 0.11);
}
.alert-box img {
  width: 22px;
  height: 22px;
}

/******** CTA-BUTTONS *******************************************************/
.cta-button {
  display: inline-block;
  padding: 15px 36px;
  background: #F4903D;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  border: none;
  border-radius: 32px;
  box-shadow: 0 2px 8px 0 rgba(244,144,61,0.12);
  cursor: pointer;
  font-weight: 700;
  margin-top: 16px;
  margin-bottom: 16px;
  text-align: center;
  transition: background .18s, color .18s, box-shadow .18s, transform .18s;
}
.cta-button:hover, .cta-button:focus {
  background: #AD5300;
  color: #fff4e5;
  box-shadow: 0 6px 24px 0 rgba(244,144,61,0.16);
  transform: translateY(-2px) scale(1.035);
}

/* TESTIMONIALS ************************************************************/
.testimonial-card {
  background: #fff8f2;
  border-left: 6px solid #F4903D;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(26,77,143,0.08);
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 600px;
}
.testimonial-card p {
  font-size: 1.125rem;
  color: #2e363b;
  margin-bottom: 14px;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #AD5300;
}
.testimonial-meta span:last-child {
  color: #1A4D8F;
  font-weight: 500;
}

/* FOOTER *******************************************************************/
footer {
  background: #fff6f0;
  color: #131e2d;
  margin-top: 60px;
  border-top: 2px solid #F4903D10;
  border-radius: 30px 30px 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  padding: 40px 20px 24px 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-nav a {
  color: #AD5300;
  font-weight: 700;
  font-size: 1rem;
  transition: color .18s;
  padding: 8px 14px;
  border-radius: 5px;
}
.footer-nav a:hover { background: #F4903D21; color: #1A4D8F; }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.footer-contact img {
  width: 21px;
  height: 21px;
  margin-right: 7px;
}
.footer-info {
  color: #7C807F;
  margin-top: 8px;
  font-size: 0.95rem;
}

/* HEADER & NAVIGATION ******************************************************/
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(30,46,72,0.04);
  padding-top: 16px;
  padding-bottom: 16px;
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  color: #1A4D8F;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background .14s, color .18s;
  font-size: 1.06rem;
}
header nav a:hover, header nav a:focus {
  color: #F4903D;
  background: #1a4d8f10;
}
header img {
  max-height: 48px;
  border-radius: 10px;
}

/* BURGER MOBILE MENU ******************************************************/
.mobile-menu-toggle {
  display: none;
  background: #fff6f0;
  border: none;
  font-size: 2rem;
  color: #F4903D;
  padding: 8px 12px;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(244, 144, 61, 0.09);
  cursor: pointer;
  margin-left: auto;
  transition: background .18s, color .16s, box-shadow .18s;
  z-index: 2030;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F4903D;
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(244,144,61,0.14);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff6f0;
  transform: translateX(-100%);
  transition: transform .36s cubic-bezier(.52,.02,.44,1.04);
  z-index: 2050;
  box-shadow: 4px 0 32px 0 rgba(30, 46, 72, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 34px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #AD5300;
  font-size: 2.4rem;
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2060;
  border-radius: 8px;
  padding: 2px 13px 3px 13px;
  cursor: pointer;
  transition: background .18s, color .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F4903D;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  gap: 12px;
  margin-top: 46px;
  padding-left: 34px;
}
.mobile-nav a {
  color: #1A4D8F;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 16px 0 7px 2px;
  border-radius: 8px;
  width: 95%;
  transition: background .18s, color .14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4903D22;
  color: #F4903D;
}

@media (max-width: 1040px) {
  .feature-grid, .trainer-grid {
    gap: 16px;
  }
  .card-container, .content-grid {
    gap: 16px;
  }
  .container { padding: 0 10px; }
}

@media (max-width: 800px) {
  .feature-grid > div, .trainer-card {
    min-width: 180px;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
  .container {
    padding: 0 8px;
  }
  header .container {
    flex-direction: row;
    gap: 14px;
  }
  .hero { padding: 54px 0 30px 0; border-radius: 0 0 20px 20px; }
  .mobile-menu-toggle {
    display: block;
  }
  nav, .cta-button {
    display: none;
  }
  .footer-contact {
    flex-direction: column;
    gap: 7px;
    font-size: 0.97rem;
  }
  .card-container, .content-grid, .feature-grid, .trainer-grid {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    max-width: 100%;
    font-size: 1rem;
    padding: 14px 10px;
  }
  .section {
    margin-bottom: 36px;
    padding: 26px 6px;
    border-radius: 11px;
  }
  .text-image-section, .feature-item {
    flex-direction: column;
    gap: 14px;
  }
  .timetable-table, .pricing-table, .comparison-chart {
    font-size: 0.99rem;
  }
}

@media (max-width: 520px) {
  h1 { font-size: 1.2rem; }
  h2 { font-size: 1rem; }
  .hero { padding-top: 26px; }
  .footer-contact { font-size: 0.9rem; }
}

/* NEXT CLASSES HIGHLIGHT ***************************************************/
.next-classes-highlight {
  background: #FFE4CC;
  border-radius: 14px;
  box-shadow: 0 1px 7px 0 rgba(244,144,61,0.10);
  padding: 24px 24px;
  margin-bottom: 22px;
}
.next-classes-highlight h2 {
  color: #AD5300;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.next-classes-highlight ul { margin-left: 20px; }

/************ COOKIES BANNER / MODAL ****************************************/
.cookie-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 98vw;
  max-width: 440px;
  background: #fff6f0;
  border-radius: 19px 19px 0 0;
  box-shadow: 0 2px 13px 3px rgba(244,144,61,0.10);
  padding: 24px 18px 18px 18px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 19px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1A4D8F;
  font-size: 1.085rem;
  border: 1.5px solid #F4903D30;
  animation: cookie-banner-in 0.5s cubic-bezier(.57,1.6,.24,1) 1;
}
@keyframes cookie-banner-in {
  from { transform: translateX(-50%) translateY(40px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.cookie-banner .cta-accept, .cookie-banner .cta-reject, .cookie-banner .cta-settings {
  padding: 9px 20px;
  border-radius: 20px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  outline: none;
  cursor: pointer;
  font-weight: 700;
  transition: background .16s, color .12s, box-shadow .16s;
}
.cta-accept {
  background: #F4903D;
  color: #fff;
}
.cta-accept:hover, .cta-accept:focus { background: #AD5300; }
.cta-reject {
  background: #fff;
  color: #F4903D;
  border: 2px solid #F4903D;
}
.cta-reject:hover, .cta-reject:focus {
  background: #FFE4CC;
  color: #AD5300;
}
.cta-settings {
  background: #fff6f0;
  color: #1A4D8F;
  border: 1.5px solid #E7E9EB;
}
.cta-settings:hover, .cta-settings:focus { background: #fff3e7; }

/* COOKIE MODAL *************************************************************/
.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 3010;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 38px 5px rgba(244,144,61,0.16);
  transform: translate(-50%, -50%) scale(0.95);
  opacity: 0;
  min-width: 330px;
  max-width: 97vw;
  padding: 34px 28px 22px 28px;
  display: none;
  flex-direction: column;
  animation: cookie-modal-in 0.38s cubic-bezier(.48,1.8,.22,1.04) 1 forwards;
}
.cookie-modal.active {
  display: flex;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
@keyframes cookie-modal-in {
  from { opacity: 0; transform: translate(-50%, -46%) scale(0.8); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal-close {
  position: absolute;
  top: 11px; right: 14px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #F4903D;
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
}
.cookie-modal-close:hover { background: #FFF6F0; color: #AD5300; }
.cookie-modal h2 {
  margin-top: 0;
  margin-bottom: 16px;
  color: #1A4D8F;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 1rem;
}
.cookie-toggle {
  width: 38px;
  min-width: 38px;
  height: 24px;
  border-radius: 13px;
  background: #e7e9eb;
  position: relative;
  transition: background .22s;
  cursor: pointer;
  border: none;
}
.cookie-toggle[data-checked="true"] {
  background: #F4903D;
}
.cookie-toggle[data-checked="true"]::after {
  left: 20px;
  background: #fff6f0;
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  top: 3.5px; left: 2.7px;
  width: 17px;
  height: 17px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px 0 rgba(26,77,143, 0.11);
  transition: left .22s, background .15s;
}
.cookie-category .category-label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #1A4D8F;
  margin-right: 7px;
}
.cookie-category .category-description {
  color: #383838;
  font-size: 0.98rem;
}
/* Category required state */
.cookie-category[data-required="true"] .cookie-toggle {
  background: #1A4D8F;
  cursor: not-allowed;
}
.cookie-category[data-required="true"] .cookie-toggle::after {
  background: #fff;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  align-items: center;
}

/**************** MISC HELPERS **********************************************/
.text-section {
  margin-bottom: 12px;
}
.map-embed {
  background: #E7E9EB;
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 18px;
  color: #243440;
  font-size: 0.97rem;
}
.updates-feed {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/******** UTILS ************************************************************/
.visually-hidden { position: absolute!important; width:1px!important; height:1px!important; overflow: hidden!important; }

/****************** END OF CSS *************************************/
