/* -----------------------------------------
   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 {
  font-size: 16px;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: #fff;
  color: #205375;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
  font-size: 1rem;
  overflow-x: hidden;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #205375;
  text-decoration: none;
  transition: color 0.15s cubic-bezier(.4,0,.2,1);
}
a:focus, a:hover {
  color: #37a0a8;
  outline: none;
}

button {
  font-family: inherit;
  font-size: 1rem;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* Remove input, textarea outlines on mobile */
input, textarea, select, button {
  outline: none;
  font-family: inherit;
}

/* -----------------------------------------
   BRAND FONTS
----------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans:wght@400;600&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #205375;
  line-height: 1.18;
  margin-bottom: 12px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.17rem;
  margin-bottom: 12px;
}

h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}

p, ul, ol, address {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  color: #205375;
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.7;
}

small {
  font-size: 0.92rem;
  color: #7d8fa9;
}

strong {
  font-weight: 600;
}


/* -----------------------------------------
   GENERAL LAYOUT
----------------------------------------- */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

main {
  flex: 1 0 auto;
}

.section,
.hero, .features, .services, .testimonials, .cta,
.about, .team, .about-cta, .articles,
.comparison-table, .workshop-schedule,
.contact-details, .contact-cta, .map,
.legal, .confirmation {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 16px 0 rgba(32,83,117,.07);
  position: relative;
  transition: box-shadow 0.3s;
}
.section:last-child,
.hero:last-child, .features:last-child, .services:last-child, .testimonials:last-child, .cta:last-child,
.about:last-child, .team:last-child, .about-cta:last-child, .articles:last-child,
.comparison-table:last-child, .workshop-schedule:last-child,
.contact-details:last-child, .contact-cta:last-child, .map:last-child,
.legal:last-child, .confirmation:last-child {
  margin-bottom: 0;
}


/* -----------------------------------------
   HEADER & NAVIGATION
-----------------------------------------*/
header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  box-shadow: 0 1px 8px 0 rgba(32,83,117,.05);
  z-index: 1100;
  position: relative;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 18px;
}

.logo img {
  height: 36px;
  width: auto;
  filter: grayscale(10%) saturate(1.2) contrast(1.1);
  display: block;
  padding: 4px 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 6px;
  color: #205375;
  transition: color 0.18s, background 0.18s;
  border-radius: 8px;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #f1f6fa;
  color: #37a0a8;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  background: #37a0a8;
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 28px;
  box-shadow: 0 2px 8px 0 rgba(54,199,204,0.08), 0 0.5px 1.5px 0 rgba(32,83,117,0.04);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  margin-left: 18px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #205375;
  color: #fff;
  box-shadow: 0 6px 16px 0 rgba(32,83,117,0.12);
  text-decoration: none;
}

button.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  font-size: 2rem;
  color: #205375;
  border-radius: 10px;
  padding: 6px 12px;
  margin-left: 18px;
  transition: background 0.15s;
  z-index: 1180;
}
button.mobile-menu-toggle:focus, button.mobile-menu-toggle:hover {
  background: #f1f6fa;
}

/* -----------------------------------------
   MOBILE MENU
----------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 6px 30px 0 rgba(32,83,117,0.18);
  z-index: 1200;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.7,.2,.23,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 24px 0 0;
  font-size: 2rem;
  color: #205375;
  background: #f9f6ee;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px 0 rgba(32,83,117,0.04);
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #e4f6f7;
  color: #37a0a8;
}

.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 36px 20px 36px;
  gap: 16px;
}
.mobile-nav a {
  font-size: 1.17rem;
  color: #205375;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  padding: 14px 0 14px 0;
  width: 100%;
  border-radius: 8px;
  transition: background 0.15s, color 0.16s;
  margin-bottom: 8px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #f5fafd;
  color: #37a0a8;
}

.mobile-menu.open {
  box-shadow: 0 12px 48px 0 rgba(32,83,117,0.16);
}

/* -----------------------------------------
   HERO, FEATURES, CTA, TESTIMONIALS
----------------------------------------- */
.hero {
  background: #F9F6EE;
  margin-top: 40px;
  box-shadow: 0 2px 16px 0 rgba(32,83,117,0.06);
  min-height: 260px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}

.features .content-wrapper,
.services .content-wrapper,
.articles .content-wrapper,
.comparison-table .content-wrapper,
.team .content-wrapper,
.workshop-schedule .content-wrapper,
.contact-details .content-wrapper,
.contact-cta .content-wrapper,
.map .content-wrapper,
.legal .content-wrapper,
.confirmation .content-wrapper,
.about .content-wrapper,
.about-cta .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.features ul, .services ul, .articles ul, .team ul, .workshop-schedule ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.features ul li,
.services ul li,
.articles ul li,
.team ul li,
.workshop-schedule ul li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(32,83,117,0.07);
  padding: 24px 22px;
  flex: 1 1 280px;
  min-width: 240px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.features ul li:hover,
.services ul li:hover,
.articles ul li:hover,
.team ul li:hover,
.workshop-schedule ul li:hover {
  box-shadow: 0 6px 24px 0 rgba(32,83,117,0.13);
  transform: translateY(-3px) scale(1.012);
}
.features ul li img {
  height: 40px;
  width: 40px;
  margin-bottom: 6px;
  filter: grayscale(12%) brightness(1.08);
}
.features ul li h3 {
  font-size: 1.13rem;
  margin-bottom: 6px;
  color: #205375;
}

/* CTA section */
.cta {
  background: #F9F6EE;
  text-align: center;
  margin-bottom: 0;
}
.cta .content-wrapper {
  align-items: center;
  gap: 18px;
}

.cta-btn {
  margin-top: 6px;
}

/* Testimonials */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.testimonial-card {
  background: #fff;
  box-shadow: 0 1px 16px 0 rgba(32,83,117,0.10);
  border-radius: 14px;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 350px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(54,199,204,0.16);
  transform: translateY(-2px);
}
.testimonial-card p {
  font-size: 1.07rem;
  color: #1c334a;
  margin-bottom: 10px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #37818d;
}
.testimonial-card strong {
  color: #205375; font-weight: 600;
}

/* Comparison Table */
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 10px 0 rgba(32,83,117,0.07);
  font-size: 1rem;
  margin-top: 20px;
}
.comparison-table th, .comparison-table td {
  padding: 14px 12px;
  text-align: left;
}
.comparison-table th {
  background: #f9f6ee;
  color: #205375;
  font-weight: 700;
}
.comparison-table tr:nth-child(even) {
  background: #f6fbfd;
}
.comparison-table tr:nth-child(odd) {
  background: #fff;
}
.comparison-table tr:hover {
  background: #eefafd;
}

/* Card Container Utility */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(32,83,117,0.07);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  transition: box-shadow 0.18s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(32,83,117,0.13);
  transform: translateY(-2px) scale(1.012);
}

.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -----------------------------------------
   FOOTER
----------------------------------------- */
footer {
  background: #F9F6EE;
  border-top: 1px solid #e7eae0;
  width: 100%;
  padding-top: 32px;
  padding-bottom: 20px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-bottom: 2px;
}
.footer-nav a {
  color: #205375;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 6px;
  border-radius: 8px;
  transition: background 0.16s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus { background: #e5efee; color: #37a0a8; }


/* -----------------------------------------
   UTILITY CLASSES & 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; }


/* -----------------------------------------
   LEGAL PAGE STYLES
----------------------------------------- */
.legal {
  background: #fff;
  box-shadow: 0 1px 16px 0 rgba(32,83,117,0.03);
  border-radius: 14px;
  padding: 40px 20px;
}
.legal h1, .legal h2, .legal h3 { margin-bottom: 14px; }
.legal ul { list-style: disc inside; margin-bottom: 20px; }
.legal li { margin-bottom: 10px; }


/* -----------------------------------------
   COOKIE CONSENT BANNER
----------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: calc(100vw - 24px);
  max-width: 490px;
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 0 24px 0 rgba(32,83,117,0.13);
  padding: 26px 22px 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  z-index: 2200;
  opacity: 0;
  transition: transform 0.34s cubic-bezier(.4,0,.2,1), opacity 0.28s;
  pointer-events: none;
}
.cookie-banner.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner p {
  font-size: 1rem;
  color: #205375;
  margin-bottom: 6px;
}
.cookie-button-row {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 2px;
}
.cookie-btn {
  padding: 10px 20px;
  border-radius: 24px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  background: #37a0a8;
  color: #fff;
  cursor: pointer;
  transition: background 0.16s, color 0.13s, box-shadow 0.18s;
  box-shadow: 0 1px 6px 0 rgba(32,83,117,0.04);
  min-width: 100px;
}
.cookie-btn.reject {
  background: #e3e9ef;
  color: #205375;
}
.cookie-btn.settings {
  background: #f9f6ee;
  color: #205375;
  border: 1px solid #e3e9ef;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #205375;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #cfd6e0;
  color: #205375;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #eceae3;
  color: #205375;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed; left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(32,83,117,.33);
  z-index: 2260;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 32px 0 rgba(32,83,117,0.18);
  padding: 34px 28px 28px 28px;
  max-width: 430px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookie-modal-fade-in 0.44s cubic-bezier(.4,0,.2,1);
}
@keyframes cookie-modal-fade-in {
  from { opacity: 0; transform: scale(0.93); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal-close {
  position: absolute; right: 18px; top: 18px;
  background: #f9f6ee;
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  color: #205375;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 6px 0 rgba(32,83,117,0.05);
  transition: background 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #e4f6f7;
}
.cookie-modal h3 {
  font-size: 1.08rem;
  color: #205375;
  margin-bottom: 8px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 10px;
  padding: 6px 0;
}
.cookie-toggle label {
  font-size: 1rem;
  color: #205375;
}
.cookie-modal-close {
  cursor: pointer;
}

.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 22px;
  margin-left: 14px;
}
.switch input { display: none; }
.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #e3e9ef;
  border-radius: 22px;
  transition: background 0.14s;
}
.switch input:checked + .slider {
  background-color: #37a0a8;
}
.switch .slider:before {
  position: absolute;
  content: '';
  height: 18px; width: 18px;
  left: 2px; bottom: 2px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.15s;
  box-shadow: 0 0.5px 2px 0 rgba(32,83,117,0.09);
}
.switch input:checked + .slider:before {
  transform: translateX(24px);
}

.cookie-category-expl {
  font-size: 0.98rem;
  color: #5a7193;
  margin: 0 0 12px 0;
}

/* -----------------------------------------
   RESPONSIVE DESIGN
----------------------------------------- */
@media (max-width: 1080px) {
  .container {
    max-width: 980px;
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 920px) {
  header .container,
  .footer-nav {
    gap: 8px !important;
  }
  .main-nav {
    gap: 18px;
  }
  .footer-nav {
    gap: 11px;
  }
  .features ul, .services ul, .articles ul, .team ul, .workshop-schedule ul {
    gap: 14px;
  }
}
@media (max-width: 848px) {
  .features ul li,
  .services ul li,
  .articles ul li,
  .team ul li,
  .workshop-schedule ul li {
    min-width: 188px;
    padding: 15px 8px;
  }
  .testimonial-card { min-width: 180px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header .container {
    height: auto;
    flex-wrap: wrap;
    gap: 10px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  button.mobile-menu-toggle {
    display: flex;
  }
  .hero, .section, .features, .services, .testimonials, .cta,
  .about, .team, .about-cta, .articles, .comparison-table,
  .workshop-schedule, .contact-details, .contact-cta, .map,
  .legal, .confirmation {
    padding: 26px 6vw;
    margin-bottom: 34px;
    border-radius: 11px;
  }
  .features ul, .services ul, .articles ul, .team ul, .workshop-schedule ul, .testimonials .content-wrapper {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section { flex-direction: column; gap: 18px; } 
  .content-grid { flex-direction: column; gap: 16px; }
  .card-container { flex-direction: column; gap: 12px; }
  .testimonial-card { min-width: 0; max-width: 100%; padding: 14px 9vw; } 
  .container { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 540px) {
  html { font-size: 14px; }
  .hero, .section, .features, .services, .testimonials, .cta,
  .about, .team, .about-cta, .articles, .comparison-table,
  .workshop-schedule, .contact-details, .contact-cta, .map,
  .legal, .confirmation {
    padding: 17px 2vw;
    margin-bottom: 24px;
    border-radius: 7px;
  }
  .testimonial-card { padding: 10px 5vw; }
  .cookie-banner { padding: 13px 8px 15px 12px; }
  .cookie-modal { padding: 20px 9px 10px 13px; }
}

/* Table wrapper - for small screens */
@media (max-width: 720px) {
  .comparison-table table,
  .comparison-table thead,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table th,
  .comparison-table td {
    display: block;
    width: 100%;
  }
  .comparison-table thead { display: none; }
  .comparison-table tr {
    margin-bottom: 22px;
    box-shadow: 0 1px 7px 0 rgba(32,83,117,.06);
    border-radius: 8px;
    background: #f9f6ee;
  }
  .comparison-table td {
    padding: 10px 8px;
    border-bottom: none;
    position: relative;
  }
  .comparison-table td:before {
    position: absolute;
    left: 8px; top: 10px;
    width: 110px;
    font-weight: 600;
    color: #6a839b;
    content: attr(data-label);
    padding-right: 4px;
    font-size: 0.98em;
  }
}

/* -----------------------------------------
   ANIMATION & INTERACTIONS
----------------------------------------- */
.card, .testimonial-card, .features ul li, .services ul li, .articles ul li {
  transition: box-shadow 0.22s, transform 0.14s;
}
.card:hover, .testimonial-card:hover, .features ul li:hover, .services ul li:hover, .articles ul li:hover {
  box-shadow: 0 10px 38px 0 rgba(32,83,117,0.18);
  transform: translateY(-3px) scale(1.013);
}
.cta-btn, .footer-nav a, .main-nav a, .mobile-nav a, .cookie-btn {
  transition: background 0.17s, color 0.15s, box-shadow 0.13s;
}

/* Hide skip link visually, but make available to screen readers */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  background: #fff;
  color: #205375;
  padding: 14px;
  z-index: 2300;
  display: block;
}
