/* ---------------------------------------------------
   RESET & BASE STYLES
--------------------------------------------------- */
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;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #22292B;
  color: #F6EFCF;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #88BBA7;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #F6EFCF;
}
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 1.2em;
}
li {
  margin-bottom: 0.5em;
}

/* ---------------------------------------------------
   TYPOGRAPHY
--------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: #F6EFCF;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
h1 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}
p, blockquote {
  margin-bottom: 16px;
}
blockquote {
  background: #2d3e41;
  border-left: 4px solid #88BBA7;
  color: #F6EFCF;
  padding: 20px 28px;
  font-style: italic;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
cite {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #88BBA7;
  font-size: 1rem;
  font-style: normal;
  display: block;
  margin-top: 4px;
}
strong, b {
  font-weight: bold;
}

/* ---------------------------------------------------
   BRAND COLORS & BASE CLASSES
--------------------------------------------------- */
:root {
  --primary: #253841;
  --secondary: #88BBA7;
  --accent: #F6EFCF;
  --dark-bg: #22292B;
  --metallic: #788289;
  --shadow: 0 4px 24px rgba(20,30,30,0.16);
  --border-radius: 12px;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ---------------------------------------------------
   HEADER & NAVIGATION
--------------------------------------------------- */
header {
  background: #253841;
  box-shadow: 0 1px 10px 0 rgba(25,30,38,0.06);
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 18px;
}
header img {
  height: 46px;
  min-width: 48px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: #F6EFCF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .03em;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition);
}
.main-nav a:hover,
.main-nav a:focus,
.main-nav a.active {
  border-color: #88BBA7;
}
.cta-btn.primary {
  background: linear-gradient(90deg, #88BBA7 0%, #788289 100%);
  color: #22292B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: var(--border-radius);
  padding: 12px 32px;
  font-size: 1rem;
  box-shadow: 0 2px 10px 0 rgba(50,60,60,0.10);
  letter-spacing: 0.07em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  margin-left: 10px;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: linear-gradient(90deg, #F6EFCF 0%, #88BBA7 100%);
  color: #253841;
  box-shadow: 0 4px 16px 0 rgba(136,187,167,0.24);
}

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2d3e41;
  color: #F6EFCF;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 10px;
  transition: background var(--transition), color var(--transition);
  z-index: 200;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #88BBA7;
  color: #22292B;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #22292B;
  box-shadow: 6px 0 24px 0 rgba(34,41,43,0.90);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform var(--transition);
  padding: 32px 24px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: #2d3e41;
  color: #F6EFCF;
  border: none;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 44px; height: 44px;
  margin-bottom: 30px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  z-index: 10002;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #88BBA7;
  color: #253841;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  color: #F6EFCF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  padding: 14px 4px;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #88BBA7;
  color: #253841;
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: none;
  }
}
@media (max-width: 991px) {
  .main-nav, .cta-btn.primary {
    display: none !important;
  }
}

/* ---------------------------------------------------
   HERO & SECTION LAYOUTS
--------------------------------------------------- */
.section,
.hero-section,
.features-section,
.services-section,
.about-section,
.testimonials-section,
.contact-section,
.confirmation-section,
.legal-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  background: #22292B;
}
.hero-section {
  background: #253841;
  border-bottom: 2px solid #788289;
  box-shadow: var(--shadow);
}
.hero-section .content-wrapper {
  min-height: 320px;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding: 32px 0;
}
@media (max-width: 768px) {
  .section,
  .hero-section,
  .features-section,
  .services-section,
  .about-section,
  .testimonials-section,
  .contact-section,
  .confirmation-section,
  .legal-section {
    padding: 32px 8px;
    margin-bottom: 38px;
  }
  .hero-section .content-wrapper {
    min-height: 190px;
    padding: 18px 0;
  }
}

/* ---------------------------------------------------
   FLEXBOX LAYOUTS FOR CONTENT & CARDS
--------------------------------------------------- */
.card-container,
.card-grid,
.feature-grid,
.stats-grid,
.feature-list ul,
.benefit-list ul,
.levels-list ul,
.group-vs-individual-comparison ul,
.service-list,
.class-modes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card,
.feature-grid > div,
.feature-list ul > li,
.benefit-list ul > li,
.stats-grid > div,
.service-list > div,
.class-modes-grid > div,
.levels-list ul > li,
.group-vs-individual-comparison ul > li {
  background: #253841;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px 0 rgba(23,30,32,0.14);
  padding: 24px 20px;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 260px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover,
.feature-grid > div:hover,
.feature-list ul > li:hover,
.benefit-list ul > li:hover,
.stats-grid > div:hover,
.service-list > div:hover,
.class-modes-grid > div:hover {
  box-shadow: 0 6px 24px 0 rgba(136,187,167,0.20);
  transform: translateY(-2px) scale(1.014);
}
@media (max-width: 768px) {
  .card-container,
  .card-grid,
  .feature-grid,
  .service-list,
  .class-modes-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card,
  .feature-grid > div,
  .service-list > div,
  .class-modes-grid > div {
    min-width: unset;
    width: 100%;
    padding: 18px 12px;
  }
}

.content-grid,
.levels-overview,
.approach-description,
.first-steps-overview,
.materials-supplied,
.retreats-overview,
.enrichment-programs,
.group-class-benefits,
.individual-class-benefits,
.customized-program-highlight,
.schedule-flexibility,
.location-options {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .content-grid,
  .text-image-section,
  .levels-overview,
  .approach-description,
  .first-steps-overview,
  .materials-supplied {
    flex-direction: column;
    gap: 16px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  margin-bottom: 24px;
  background: #F6EFCF;
  color: #253841;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px 0 rgba(34,56,65,0.11);
  border-left: 6px solid #88BBA7;
  transition: box-shadow var(--transition), background var(--transition);
}
.testimonial-card blockquote {
  background: none;
  border: none;
  color: #253841;
  padding: 0;
  margin: 0 0 4px 0;
}
.testimonial-card cite {
  font-weight: 500;
  color: #88BBA7;
}
.testimonial-card:hover {
  background: #E3DEC9;
  box-shadow: 0 4px 18px 0 rgba(136,187,167,0.11);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}

/* ---------------------------------------------------
   FOOTER
--------------------------------------------------- */
footer {
  background: #22292B;
  border-top: 2px solid #253841;
  padding: 46px 0 0 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.footer-nav a {
  color: #88BBA7;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .95rem;
  transition: color var(--transition);
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #F6EFCF;
  text-decoration: underline;
}
.contact-footer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
  font-size: .98rem;
  color: #F6EFCF;
  margin-bottom: 8px;
}
.contact-footer span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 2px;
}
footer img {
  height: 44px;
}
footer p {
  color: #788289;
  padding: 10px 0 24px 0;
  font-size: .93rem;
  text-align: center;
}
@media (max-width: 768px) {
  .footer-nav {
    gap: 16px;
  }
  .contact-footer {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
}

/* ---------------------------------------------------
   LEGAL/POLICY PAGES
--------------------------------------------------- */
.legal-section h1, .legal-section h2 {
  color: #F6EFCF;
}
.legal-section {
  background: #1a2224;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}
.legal-section ul, .legal-section ol {
  margin-bottom: 18px;
  margin-left: 24px;
}
.legal-section li {
  color: #F6EFCF;
}

/* ---------------------------------------------------
   COOKIE CONSENT BANNER + MODAL
--------------------------------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
  background: #253841;
  color: #F6EFCF;
  box-shadow: 0 -4px 22px 0 rgba(34,56,65,0.22);
  z-index: 10000;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 1rem;
  transition: transform var(--transition), opacity var(--transition);
}
.cookie-consent-banner.hidden {
  transform: translateY(160px);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: .98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  margin-left: 4px;
  transition: background var(--transition), color var(--transition);
  letter-spacing: .03em;
}
.cookie-btn.accept {
  background: #88BBA7;
  color: #22292B;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #F6EFCF;
  color: #253841;
}
.cookie-btn.reject {
  background: #F44336;
  color: #F6EFCF;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #da251c;
  color: #F6EFCF;
}
.cookie-btn.settings {
  background: #253841;
  color: #F6EFCF;
  border: 1.5px solid #88BBA7;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #88BBA7;
  color: #22292B;
}

.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 98%;
  max-width: 410px;
  background: #253841;
  color: #F6EFCF;
  box-shadow: 0 4px 42px 0 rgba(34,56,65,0.38);
  border-radius: 18px;
  z-index: 10001;
  padding: 38px 26px 24px 26px;
  transform: translate(-50%, -50%) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #F6EFCF;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #88BBA7;
}
.cookie-modal .category-desc {
  font-size: 0.98rem;
  color: #B4cfd4;
  margin-left: 4px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 17px;
  right: 18px;
  background: none;
  border: none;
  color: #F6EFCF;
  font-size: 1.5rem;
  cursor: pointer;
}
.cookie-modal .modal-close:hover {
  color: #88BBA7;
}

@media (max-width: 520px) {
  .cookie-modal {
    padding: 22px 6px 16px 6px;
  }
}

/* ---------------------------------------------------
   BUTTONS & INTERACTIVE
--------------------------------------------------- */
button, .cta-btn, input[type="submit"], input[type="button"] {
  outline: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
button:focus, .cta-btn:focus {
  box-shadow: 0 0 0 3px #88BBA7;
}

/* ---------------------------------------------------
   ICONS & DECOR
--------------------------------------------------- */
.feature-grid img, .feature-list img, .benefit-list img, .stats-grid img, .contact-footer img, .contact-details img, .map-embed img {
  filter: grayscale(40%) brightness(1.08) contrast(1.06);
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  margin-right: 8px;
}

/* Metallic accent border for industrial appearance */
.card, .feature-grid > div, .testimonial-card {
  border-top: 2.5px solid #788289;
}

/* Shadow effect for cards, not for sections */
.card, .testimonial-card, .feature-grid > div {
  box-shadow: 0 2px 14px 0 rgba(136,139,130,0.12);
}

/* Typography for industrial style headings */
h1, h2 {
  text-transform: uppercase;
  letter-spacing: .06em;
}
h3, h4 {
  letter-spacing: .04em;
}

/* For numbers and stats */
.stats-grid > div h4 {
  font-size: 2rem;
  font-weight: 900;
  color: #88BBA7;
  margin-bottom: 4px;
}
.stats-grid > div p {
  color: #F6EFCF;
  font-size: 1rem;
  opacity: .88;
}

/* ---------------------------------------------------
   RESPONSIVE DESIGN (mobile first)
--------------------------------------------------- */
@media (max-width: 576px) {
  h1 { font-size: 1.36rem; }
  h2 { font-size: 1.1rem; }
  h3 { font-size: 1rem; }
  .container, .footer .container {
    padding: 0 6px;
  }
  .card, .feature-grid > div {
    padding: 14px 8px;
  }
}

/* ---------------------------------------------------
   MISCELLANEOUS
--------------------------------------------------- */
.map-embed, .confirmation-section, .contact-section {
  background: #253841;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}
.next-steps ul {
  list-style: disc inside;
  margin-bottom: 16px;
}
.booking-steps ol {
  padding-left: 20px;
  margin-bottom: 14px;
  list-style: decimal inside;
}
.levels-overview ul, .benefit-list ul, .first-steps-overview ul, .materials-supplied ul, .enrichment-programs ul, .location-options ul, .core-values ul, .team-intros ul, .faq-cheat-sheet ul {
  padding-left: 14px;
  margin-bottom: 0px;
}
.levels-overview li, .benefit-list li {
  padding: 6px 0;
}

.approach-description, .first-steps-overview, .materials-supplied, .milestones, .team-intros, .core-values, .group-class-benefits, .individual-class-benefits, .faq-cheat-sheet, .customized-program-highlight, .schedule-flexibility, .location-options, .retreats-overview, .enrichment-programs {
  background: #253841;
  color: #F6EFCF;
  padding: 22px 18px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 9px 0 rgba(21,34,41,.05);
  margin-bottom: 20px;
  border-left: 3px solid #88BBA7;
}

/* Add subtle focus for accessibility */
a:focus-visible, .cta-btn:focus-visible, .main-nav a:focus-visible, .mobile-nav a:focus-visible {
  outline: 2px solid #88BBA7;
  outline-offset: 2px;
}

/* ---------------------------------------------------
   PRINT TWEAKS
--------------------------------------------------- */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cta-btn, .cookie-consent-banner, .cookie-modal { display: none !important; }
}
