/* ==== CSS RESET & NORMALIZE (MOBILE-FIRST) ==== */
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, 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; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  background: #F8FAFC;
  color: #23282D;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: #3C4C36; text-decoration: none; transition: color 0.2s; }
a:hover, a:active { color: #A57164; text-decoration: underline; }


/* ==== TYPOGRAPHY & HEADINGS ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #223044;
  margin-bottom: 20px;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1rem; }
.subtitle {
  color: #526074;
  font-size: 1.2rem;
  margin-bottom: 24px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
strong { font-weight: 700; }

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
  .subtitle { font-size: 1rem; }
}


/* ==== FLEXBOX LAYOUTS & CONTAINER ==== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(60, 76, 54, 0.04);
}
@media (max-width: 900px) {
  .section {
    margin-bottom: 40px;
    padding: 30px 10px;
  }
}

/* ==== HEADER ==== */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #E1E5EA;
  box-shadow: 0 2px 10px rgba(34, 48, 68, 0.035);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 18px;
}
.logo img {
  width: 155px;
  height: auto;
  transition: opacity 0.2s;
}
.logo:hover img { opacity: 0.85; }

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #3C4C36;
  padding: 7px 9px;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F2E9E1;
  color: #A57164;
}

.cta.primary {
  background: #3C4C36;
  color: #fff;
  border-radius: 6px;
  padding: 11px 32px;
  font-size: 1.07rem;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  margin-left: 18px;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(60,76,54,0.10);
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.cta.primary:hover,
.cta.primary:focus {
  background: #A57164;
  color: #fff;
  box-shadow: 0 4px 16px rgba(60,76,54,0.18);
}

/* ==== BURGER MENU / MOBILE NAV ==== */
.mobile-menu-toggle {
  display: none;
  background: #F2E9E1;
  border: none;
  border-radius: 7px;
  font-size: 2rem;
  padding: 4px 10px;
  color: #3C4C36;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #A57164;
  color: #fff;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2001;
  background: rgba(34,48,68,0.70);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 48px 32px 36px 26px;
  border-radius: 0 0 0 28px;
  margin-top: 0;
  min-width: 65vw;
  box-shadow: -2px 6px 32px rgba(34,48,68,0.12);
}
.mobile-menu-close {
  background: #fff;
  border: none;
  font-size: 2rem;
  color: #3C4C36;
  margin: 28px 32px 0 0;
  align-self: flex-end;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.18s;
  z-index: 2401;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #A57164;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.2rem;
  color: #223044;
  padding: 13px 0 10px 5px;
  border-radius: 5px;
  font-weight: 500;
  transition: background 0.1s, color 0.1s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2E9E1;
  color: #A57164;
}
@media (max-width: 579px) {
  .mobile-menu nav { min-width: min(90vw,340px); padding: 46px 10px 26px 12px; }
  .mobile-menu-close { margin: 25px 12px 0 0; }
}

/* ==== HERO SECTION ==== */
.hero {
  background: linear-gradient(100deg, #F2E9E1 0%, #eaf1f3 100%);
  padding: 48px 0 32px 0;
  margin-bottom: 60px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  padding-top: 12px;
}
.hero h1 { color: #3C4C36; }
.hero .cta.primary { margin-left: 0; margin-top: 18px; }

@media (max-width: 700px) {
  .hero { padding: 34px 0 24px 0; }
}

/* ==== FLEX PATTERNS FOR CARDS, FEATURES ETC. ==== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 8px rgba(60,76,54,0.06);
  padding: 28px 18px 22px 18px;
  min-width: 220px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 28px rgba(60,76,54,0.12);
  transform: translateY(-3px) scale(1.025);
}
.feature-grid img { width: 42px; height: 42px; margin-bottom: 7px; }
.feature-grid h3 {
  font-size: 1rem;
  color: #3C4C36;
  margin-bottom: 5px;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 700px) {
  .feature-grid { flex-direction: column; gap: 16px; }
  .feature-grid > div { min-width: 0; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(60,76,54,0.06);
  padding: 24px 18px 20px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 16px; }
}

/* ==== UL LISTS, SERVICE LISTS, ETC. ==== */
ul, ol {
  margin-bottom: 18px;
  margin-left: 26px;
}
ul li, ol li {
  font-size: 1rem;
  margin-bottom: 9px;
  line-height: 1.55;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding-left: 0;
  margin-left: 0;
  list-style: none;
  margin-top: 10px;
  margin-bottom: 24px;
}
.service-list li {
  flex: 1 1 280px;
  background: #F8FAFC;
  padding: 25px 17px 22px 17px;
  box-shadow: 0 1px 6px rgba(60,76,54,0.04);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.service-list img { width: 37px; height: 37px; margin-bottom: 6px; }
.service-list li:hover {
  box-shadow: 0 8px 28px rgba(60,76,54,0.11);
  transform: translateY(-2px) scale(1.015);
}
@media (max-width: 768px) {
  .service-list { flex-direction: column; gap: 16px; }
}

.voucher-options { list-style: disc inside; margin-bottom: 18px; font-size: 1rem; }
.calendar-list {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  flex-wrap: wrap;
  background: none;
}
.testimonial-card > div {
  flex: 1 1 260px;
  min-width: 242px;
  background: #fff;
  border-left: 6px solid #A57164;
  box-shadow: 0 2px 10px rgba(60,76,54,0.06);
  border-radius: 11px;
  padding: 26px 18px 19px 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #23282D;
  font-size: 1rem;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.testimonial-card > div:hover {
  box-shadow: 0 10px 28px rgba(60,76,54,0.15);
  transform: translateY(-2px) scale(1.018);
}
.testimonial-card span {
  color: #A57164;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.testimonial-card p { color: #223044; font-weight: 400; }
@media (max-width: 900px) {
  .testimonial-card { flex-direction: column; gap: 16px; }
}

/* ==== TEXT SECTIONS ==== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: none;
  max-width: 900px;
  margin-bottom: 9px;
}

.map-placeholder {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 14px;
  background: #F2E9E1;
  border-radius: 10px;
  margin-top: 12px;
}
.map-placeholder img { width: 44px; height: 44px; }

/* ==== FOOTER ==== */
footer {
  width: 100%;
  background: #3C4C36;
  color: #fff;
  padding: 38px 0 30px 0;
  margin-top: 58px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 23px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #A57164;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.17s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #F2E9E1;
  text-decoration: underline;
}
footer address {
  font-style: normal;
  display: flex;
  flex-wrap: wrap;
  gap: 22px 42px;
  margin-bottom: 13px;
  align-items: flex-start;
  color: #F2E9E1;
  font-size: 0.98rem;
}
footer address img { width: 19px; height: 19px; margin-right: 6px; vertical-align: middle; }
footer span {
  display: block;
  color: #eee;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
}
@media (max-width: 650px) {
  footer .container { gap: 14px; padding-left: 0; padding-right: 0; }
  footer address { gap: 12px 10px; }
}

/* ==== BUTTONS & LINK STYLES ==== */
button,
.cta.primary,
input[type="submit"],
input[type="button"] {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  border: none;
  outline: none;
  background: #3C4C36;
  color: #fff;
  border-radius: 6px;
  padding: 11px 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(60,76,54,0.07);
  margin-right: 8px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.cta.secondary {
  background: #fff;
  color: #3C4C36;
  border: 2px solid #3C4C36;
  font-weight: 600;
}
.cta.secondary:hover,
.cta.secondary:focus {
  background: #A57164;
  color: #fff;
  border-color: #A57164;
}
button:disabled,
.cta.primary:disabled {
  background: #b6bfc0;
  color: #fff;
  cursor: not-allowed;
}

/* ==== SPACING & ALIGNMENT (MANDATORY 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; }

/* ==== UTILITIES ==== */
.enrollment-info, .waiting-list-info, .contact-info, .invitation-text {
  font-size: 1.04rem;
  color: #3C4C36;
  margin-top: 16px;
  margin-bottom: 0;
}
.mail { color: #A57164; font-weight: 600; }

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #223044;
  color: #fff;
  box-shadow: 0 -4px 24px rgba(34,48,68,0.15);
  z-index: 3000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  padding: 24px 16px 18px 16px;
  transition: transform 0.32s;
  transform: translateY(100%);
  opacity: 1;
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner .cookie-text {
  font-size: 1rem;
  color: #fff;
  max-width: 540px;
  margin-right: 13px;
  line-height: 1.55;
}
.cookie-banner .cookie-btn {
  background: #A57164;
  color: #fff;
  border-radius: 5px;
  padding: 11px 20px;
  font-size: 1rem;
  margin-bottom: 7px;
  margin-right: 7px;
  cursor: pointer;
  transition: background 0.2s, color 0.18s;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}
.cookie-banner .cookie-btn.secondary {
  background: #fff;
  color: #3C4C36;
  border: 2px solid #A57164;
  font-weight: 600;
}
.cookie-banner .cookie-btn.secondary:hover,
.cookie-banner .cookie-btn.secondary:focus {
  background: #A57164;
  color: #fff;
}
.cookie-banner .cookie-btn.reject {
  background: #eee;
  color: #3C4C36;
  border: 2px solid #737373;
}
.cookie-banner .cookie-btn.reject:hover,
.cookie-banner .cookie-btn.reject:focus {
  background: #A57164;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px 8px 16px 8px; }
  .cookie-banner .cookie-text { margin-right: 0; }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  z-index: 4000;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(34, 48, 68, 0.73);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.23s;
}
.cookie-modal.visible {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal .modal-content {
  background: #fff;
  color: #3C4C36;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(60,76,54,0.20);
  padding: 36px 28px 28px 28px;
  max-width: 420px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal .modal-content h2 {
  color: #223044;
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 25px; right: 25px;
  background: #3C4C36;
  color: #fff;
  border: none;
  font-size: 1.5rem;
  border-radius: 6px;
  padding: 4px 11px;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  background: #A57164;
}
.cookie-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e7e7e7;
  padding: 12px 0 7px 0;
}
.cookie-modal .cookie-category:last-child {
  border: none;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 38px; height: 22px;
  background: #E1E5EA;
  border-radius: 14px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-modal .cookie-toggle:checked {
  background: #A57164;
}
.cookie-modal .cookie-toggle:before {
  content: "";
  position: absolute;
  left: 4px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.21s;
}
.cookie-modal .cookie-toggle:checked:before {
  left: 18px;
}
@media (max-width: 480px) {
  .cookie-modal .modal-content { padding: 18px 5vw 18px 5vw; }
}

/* ==== MISC AND OTHER STYLES ==== */
::-webkit-scrollbar {width: 11px; background: #E8EDEE;}
::-webkit-scrollbar-thumb {background: #CFCFCF; border-radius: 7px;}
::-webkit-selection {background: #A57164; color: #fff;}
::selection {background: #A57164; color: #fff;}

/* ==== RESPONSIVE LAYOUTS ==== */
@media (max-width: 1200px) { .container { max-width: 1000px; } }
@media (max-width: 900px) {
  .container { max-width: 740px; }
  .feature-grid, .service-list, .card-container, .content-grid { gap: 13px; }
}
@media (max-width: 700px) {
  .container { max-width: 97vw; padding-left: 0; padding-right: 0; }
  .section { padding: 20px 7px; }
}

/* ===== ACCESSIBILITY ===== */
:focus { outline: 2px dashed #A57164; outline-offset: 2px; }

/* ==== PRINT ==== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body, main, .container, .section { background: #fff !important; color: #000 !important; box-shadow: none !important; }
}
