/*--------------------------------------------------
  0. CSS RESET & NORMALIZE
--------------------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100%;
  width: 100%;
  font-family: 'Roboto', Arial, sans-serif;
  color: #253855;
  background: #F9FAFB;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
:focus {
  outline: 2px solid #39B5E0;
  outline-offset: 2px;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: #39B5E0; }
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  text-align: left;
  padding: 8px 16px;
  font-size: 16px;
}
th {
  background: #EDF1F2;
  font-weight: 600;
}
tr:nth-child(even) {
  background: #F7F9FB;
}

/*--------------------------------------------------
  1. BRAND & TYPOGRAPHY
--------------------------------------------------*/
:root {
  --color-primary: #253855;
  --color-secondary: #39B5E0;
  --color-accent: #F2F2F2;
  --color-bg: #F9FAFB;
  --color-white: #fff;
  --color-border: #E1E3E6;
  --color-shadow: rgba(37,56,85,0.06);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: #253855;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
  line-height: 1.25;
}
h3 {
  font-size: 1.375rem;
  line-height: 1.3;
}
h4 {
  font-size: 1.125rem;
}
.subtitle, .subheadline {
  font-size: 1.125rem;
  color: #5282a2;
  margin-bottom: 24px;
}
p, li, address, .text-section, .feature-item span {
  font-family: var(--font-body);
  color: #253855;
  font-size: 1rem;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}

/*--------------------------------------------------
  2. LAYOUT & CONTAINERS
--------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 24px;
  padding-right: 24px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/*--------------------------------------------------
  3. HEADER & MAIN NAVIGATION
--------------------------------------------------*/
header {
  background: var(--color-white);
  box-shadow: 0 4px 16px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo img {
  height: 36px;
  width: auto;
  margin-right: 20px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 8px 0;
  position: relative;
  color: #253855;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #EDF1F2;
  color: #39B5E0;
}
.btn-primary {
  background: var(--color-secondary);
  color: var(--color-white) !important;
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  border-radius: 28px;
  padding: 12px 32px;
  margin-left: 28px;
  font-size: 1.125rem;
  box-shadow: 0 2px 12px rgba(57,181,224,0.08);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.2s, color 0.2s;
  display: inline-block;
  text-align: center;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #253855;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,56,85,0.10);
}

/*--------------------------------------------------
  4. MOBILE NAVIGATION
--------------------------------------------------*/
.mobile-menu-toggle {
  background: transparent;
  border: none;
  font-size: 2rem;
  margin-left: 24px;
  color: #253855;
  display: none;
  cursor: pointer;
  z-index: 1201;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover { color: #39B5E0; }
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 340px;
  height: 100vh;
  background: var(--color-white);
  box-shadow: -2px 0 18px var(--color-shadow);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.86,0,.07,1);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  padding: 32px 0 0 0;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: -6px 0 18px var(--color-shadow);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 0 24px 12px 0;
  background: none;
  border: none;
  font-size: 2rem;
  color: #253855;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover { color: #39B5E0; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
  width: 100%;
  align-items: flex-start;
  padding: 0 28px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #253855;
  padding: 12px 0;
  width: 100%;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EDF1F2;
  color: #39B5E0;
}

/* Overlay when menu is open */
.mobile-menu.open::before {
  content: '';
  position: fixed;
  z-index: 1199;
  inset: 0;
  background: rgba(37,56,85,0.25);
  pointer-events: auto;
}

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  header .btn-primary { display: none; }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/*--------------------------------------------------
  5. FLEXBOX LAYOUTS & REQUIRED CLASSES
--------------------------------------------------*/
.card-container, .card-grid, .feature-grid, .content-grid, .service-list, .service-details, .workshop-list, .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px var(--color-shadow);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.16s;
}
.card:hover { box-shadow: 0 6px 32px rgba(37,56,85,0.11); transform: translateY(-4px); }
.content-grid { 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;
  background: var(--color-accent);
  border-radius: 16px;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 20px;
  min-width: 240px;
  flex: 1 1 280px;
  color: #253855;
}
.testimonial-card p {
  color: #253855;
  font-size: 1.063rem;
}
.testimonial-author { font-size: 0.95rem; color: #5282a2; }
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 10px var(--color-shadow);
  padding: 24px 18px;
  min-width: 210px;
  flex: 1 1 220px;
  transition: box-shadow 0.13s, transform 0.13s;
}
.feature-item img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  margin-bottom: 4px;
}
.feature-item:hover {
  box-shadow: 0 5px 24px rgba(57,181,224,0.15);
  transform: translateY(-3px);
}

/*--------------------------------------------------
  6. HERO & CTA SECTIONS
--------------------------------------------------*/
.hero {
  background: linear-gradient(120deg,#F9FAFB 65%,#D5E9F6 100%);
  padding: 60px 0 40px 0;
  margin-bottom: 48px;
}
.hero .content-wrapper {
  align-items: flex-start;
  text-align: left;
  gap: 12px;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.3rem;
}
.hero .subheadline {
  color: #5282a2;
  font-weight: 400;
  margin-bottom: 20px;
}
.cta {
  background: #FFF;
  padding: 40px 0 30px 0;
  box-shadow: 0 4px 28px var(--color-shadow);
  border-radius: 20px;
  margin: 20px 0 40px 0;
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 14px;
}
.cta h2 { margin-bottom: 18px; }

/*--------------------------------------------------
  7. FEATURES & SERVICES
--------------------------------------------------*/
.features {
  background: transparent;
  margin-bottom: 60px;
  padding: 40px 0 30px 0;
}
.features .content-wrapper > h2 {
  margin-bottom: 22px;
}
.feature-grid, .feature-list {
  width: 100%;
}
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 1px 10px var(--color-shadow);
  padding: 18px 16px;
  min-width: 200px;
  flex: 1 1 220px;
  color: #253855;
  font-size: 1rem;
}
.feature-list li img {
  height: 32px;
  width: 32px;
}

.services {
  margin-bottom: 60px;
  padding: 40px 0 30px 0;
}
.service-list, .service-details, .workshop-list, .coaching-types {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.service-list li,
.service-details li,
.workshop-list li {
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 26px 18px;
  min-width: 200px;
  flex: 1 1 260px;
}
.service-list strong,
.service-details .price strong,
.workshop-list .price strong {
  color: #39B5E0;
  font-size: 1.2rem;
}
.service-list h3,
.service-details h2,
.workshop-list h3 {
  margin-bottom: 9px;
  font-size: 1.23rem;
}
.service-details .price, .workshop-list .price { margin: 7px 0 0 0; display: inline-block; color: #39B5E0; font-weight: 700; }
.coaching-types {
  gap: 14px;
}
.coaching-types li { color: #253855; font-size: 1rem; }

/*--------------------------------------------------
  8. TABLES & PRICING
--------------------------------------------------*/
.course-comparison, .pricing-table {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 24px;
  background: #FFF;
  box-shadow: 0 4px 14px var(--color-shadow);
}
.course-comparison th, .pricing-table th {
  background: #F2F2F2;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.course-comparison tr, .pricing-table tr {
  border-bottom: 1px solid var(--color-border);
}
.course-comparison td, .pricing-table td {
  font-size: 1rem;
  padding: 12px 14px;
}

/*--------------------------------------------------
  9. TESTIMONIALS
--------------------------------------------------*/
.testimonials {
  background: #f3f7fa;
  margin-bottom: 60px;
  padding: 40px 0 24px 0;
}
.testimonials .content-wrapper {
  align-items: flex-start;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  margin-top: 18px;
}
.testimonial-card {
  background: #FFF;
  border-left: 4px solid #39B5E0;
  min-width: 220px;
  max-width: 430px;
  padding: 24px;
  box-shadow: 0 2px 16px var(--color-shadow);
  border-radius: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.19s, transform 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px rgba(57,181,224,0.13);
  transform: translateY(-6px);
}
.testimonial-card p { color: #253855; line-height: 1.55; margin-bottom: 12px; }
.testimonial-author {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #5282a2;
  margin-top: 3px;
  font-style: italic;
}

/*--------------------------------------------------
  10. LEGAL & TEXT SECTIONS
--------------------------------------------------*/
.legal, .text-section {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 32px 20px;
  margin-bottom: 48px;
}
.legal h1 { font-size: 2rem; margin-bottom: 20px; }
.legal .text-section, .text-section {
  font-family: var(--font-body);
  font-size: 1.06rem;
  color: #253855;
  margin-bottom: 0;
}

/*--------------------------------------------------
  11. FOOTER
--------------------------------------------------*/
footer {
  background: #f1f4f7;
  border-top: 1px solid #E1E3E6;
  margin-top: 40px;
  font-size: 1rem;
  color: #253855;
}
footer .container {
  flex-direction: column;
  padding-top: 30px;
  padding-bottom: 12px;
  gap: 0;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}
.footer-logo img {
  height: 38px;
  width: auto;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 17px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #253855;
  font-size: 1rem;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus { color: #39B5E0; }
.footer-contact {
  font-size: 1rem;
  color: #253855;
}
.footer-contact a {
  color: #253855;
  border-radius: 3px;
  padding: 0 2px;
  transition: color 0.13s, background 0.13s;
}
.footer-contact a:hover, .footer-contact a:focus {
  background: #EDF1F2;
  color: #39B5E0;
}
.footer-contact address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-contact img {
  height: 18px; margin-right: 7px; vertical-align: middle;
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 10px;
}
.footer-social a img {
  height: 28px; width: 28px;
  margin-right: 0;
  transition: filter 0.15s, transform 0.18s;
  filter: grayscale(25%);
}
.footer-social a:hover img { filter: none; transform: scale(1.13) rotate(-3deg); }
.footer-bottom {
  padding: 10px 0 0 0;
  color: #717c8a;
  font-size: 0.95rem;
  text-align: left;
}

@media (max-width: 1024px) {
  .footer-top { flex-direction: column; gap: 18px; }
}

/*--------------------------------------------------
  12. CONTACT PAGE AND MAP
--------------------------------------------------*/
.contact { background: transparent; margin-bottom: 60px; }
.contact .content-wrapper { align-items: flex-start; }
.footer-contact .map {
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f6f8f9;
  padding: 12px 12px 12px 6px;
  border-radius: 9px;
}
.footer-contact .map img {
  height: 42px; width: 42px;
}
.footer-contact .map p { font-size: 0.98rem; color: #253855; padding-top: 5px; }

/*--------------------------------------------------
  13. COOKIE CONSENT BANNER & MODAL
--------------------------------------------------*/
.cookie-banner {
  position: fixed;
  z-index: 2000;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #fff;
  color: #253855;
  border-top: 1px solid #E1E3E6;
  box-shadow: 0 -2px 16px rgba(37,56,85,0.09);
  padding: 18px 18px 16px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.35s cubic-bezier(.87,0,.14,1);
  font-size: 1rem;
  will-change: transform;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner .cookie-text {
  max-width: 620px;
  font-size: 1rem;
  color: #253855;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-cookie {
  border-radius: 22px;
  font-size: 1rem;
  border: none;
  padding: 8px 26px;
  font-family: var(--font-display);
  cursor: pointer;
  font-weight: 600;
  transition: background 0.19s, color 0.18s, box-shadow 0.18s;
}
.btn-cookie.accept {
  background: #39B5E0;
  color: #fff;
  box-shadow: 0 2px 14px rgba(57,181,224,0.11);
}
.btn-cookie.accept:hover, .btn-cookie.accept:focus {
  background: #253855;
  color: #fff;
}
.btn-cookie.reject {
  background: #EDF1F2;
  color: #253855;
}
.btn-cookie.reject:hover, .btn-cookie.reject:focus {
  background: #cccfd2;
  color: #253855;
}
.btn-cookie.settings {
  background: #FFFBF0;
  color: #253855;
  border: 1px solid #E1E3E6;
}
.btn-cookie.settings:hover,
.btn-cookie.settings:focus {
  background: #FFF4CD;
  color: #253855;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  z-index: 2100;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,56,85,0.32);
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal.open { display: flex; }
.cookie-modal .modal-dialog {
  background: #fff;
  padding: 36px 26px 20px 26px;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(37,56,85,0.14);
  width: 94vw;
  max-width: 430px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 13px;
  right: 17px;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #253855;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .modal-close:hover { color: #39B5E0; }
.cookie-modal h2 { font-size: 1.22rem; margin-bottom: 8px; }
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f6f8fa;
  border-radius: 8px;
  padding: 12px 10px;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category input[type='checkbox'] {
  accent-color: #39B5E0;
  margin-right: 7px;
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-category input[disabled] {
  accent-color: #253855;
  cursor: not-allowed;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

/*--------------------------------------------------
  14. RESPONSIVE DESIGN
--------------------------------------------------*/
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container {
    padding-left: 12px; padding-right: 12px;
  }
  header .container {
    height: 62px;
  }
  .hero {
    padding-top: 38px; padding-bottom: 18px;
  }
  .cta, .section, .features, .services, .testimonials, .legal {
    padding: 23px 0 16px 0;
    margin-bottom: 34px;
  }
  .cta .content-wrapper, .hero .content-wrapper {
    padding-left: 0;
    padding-right: 0;
    align-items: flex-start !important;
    gap: 13px;
  }
  .feature-grid, .feature-list, .card-container, .content-grid {
    flex-direction: column !important;
    gap: 18px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
  .about .text-section ul {
    margin-bottom: 2px;
  }
  .footer-top {
    flex-direction: column;
    gap: 15px;
  }
  .footer-contact address { font-size: 0.97rem; }
  .feature-item, .feature-list li, .card, .service-list li, .service-details li, .workshop-list li {
    min-width: 10px !important;
    width: 100%;
    padding: 16px 8px;
  }
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }
  tr { margin-bottom: 14px; }
  th, td { padding-left: 0; padding-right: 0; }
  .course-comparison th, .pricing-table th {font-size: 0.98rem;}
  th { background: #EDF1F2; }
  footer .container { padding-top: 19px; padding-bottom: 7px; }
  .footer-social {
    gap: 12px;
    justify-content: flex-start;
    margin-bottom: 7px;
  }
}

/* CRITICAL: flex-direction enforcement for .text-image-section on mobile */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 16px; align-items: flex-start; }
}

/* CRITICAL: NO grid/column break-inside etc. used anywhere */

/*--------------------------------------------------
  15. UTILITIES & MICRO-INTERACTIONS
--------------------------------------------------*/
.shadow-light {
  box-shadow: 0 2px 10px var(--color-shadow);
}
.rounded-lg { border-radius: 18px; }
.mb-20 { margin-bottom: 20px; }
.mt-24 { margin-top: 24px; }
.gap-20 { gap: 20px; }
.flex-center { display:flex; align-items:center; justify-content:center; }
.flex-col { flex-direction: column; }

/* Button animation */
.btn-primary, .btn-cookie {
  transition: background 0.18s, box-shadow 0.2s, color 0.18s, transform 0.16s;
}
.btn-primary:active, .btn-cookie:active {
  transform: scale(0.97);
}

/*--------------------------------------------------
  16. MISCELLANEOUS
--------------------------------------------------*/
::-webkit-scrollbar { width: 10px; background: #F2F2F2; }
::-webkit-scrollbar-thumb { background: #dbe0e6; border-radius: 9px; }

/* Hide visually but accessible for screen-readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
