/* --- 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 {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: #22505E;
  background: #fff;
  line-height: 1.6;
}

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

ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
strong {
  font-weight: 600;
}

/* --- TYPOGRAPHY --- */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 20px;
}
@media (min-width: 900px) {
  h1, .h1 { font-size: 3rem; }
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
@media (min-width: 900px) {
  h2, .h2 { font-size: 2.2rem; }
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 11px;
}
@media (min-width: 900px) {
  h3, .h3 { font-size: 1.3rem; }
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
}
p, li, dt, dd, cite, em {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 10px;
}
blockquote {
  font-style: italic;
  font-size: 1.05rem;
  color: #22505E;
  position: relative;
  margin: 0 0 10px 0;
}
cite {
  font-size: 0.98rem;
  color: #787878;
  font-style: normal;
  margin-top: 5px;
}

/* --- LAYOUT STRUCTURE --- */
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(34,80,94,0.025), 0 1px 6px 0 rgba(34,80,94,0.03);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 768px) {
  .section {
    padding: 24px 6px;
    margin-bottom: 32px;
    border-radius: 12px;
  }
  .container {
    padding: 0 8px;
  }
}


/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  border-bottom: 1px solid #f3f3f3;
  position: relative;
  z-index: 100;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.main-nav ul {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-left: 24px;
}
.main-nav ul li {
  display: flex; align-items: center;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #22505E;
  padding: 8px 8px;
  border-radius: 6px;
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.18s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: #F6F5F3;
  color: #AA7B1B;
}
.logo-link img {
  display: block;
  height: 34px;
  width: auto;
}
.cta-btn {
  background: #22505E;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  padding: 10px 28px;
  margin-left: 18px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(34,80,94,0.07);
  transition: background 0.18s, color 0.16s, box-shadow 0.25s;
  letter-spacing: 0.02em;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #AA7B1B;
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(160,123,27,0.10);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #22505E;
  font-size: 2rem;
  cursor: pointer;
  margin-left: auto;
  z-index: 2002;
  padding: 7px 15px;
  border-radius: 8px;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F6F5F3;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  max-width: 100vw;
  background: #fff;
  box-shadow: 0 2px 28px 0 rgba(34,80,94,0.13);
  z-index: 3000;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.57,0.02,0.29,1.41);
  padding: 0 24px;
  pointer-events: none;
  opacity: 0.985;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #22505E;
  font-size: 2rem;
  align-self: flex-end;
  margin: 22px 0 8px 0;
  padding: 0 5px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.16s;
  z-index: 3100;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F6F5F3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  color: #22505E;
  padding: 12px 0 12px 3px;
  border-radius: 6px;
  margin-bottom: 4px;
  transition: background 0.18s, color 0.16s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6F5F3;
  color: #AA7B1B;
}
@media (max-width: 1024px) {
  .main-nav ul, .main-nav .cta-btn { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}


/* --- HERO --- */
.hero {
  padding: 60px 0 38px 0;
  background: #F6F5F3;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-bottom: 1.5px solid #f1ece4;
  margin-bottom: 0;
}
.hero .container {
  padding: 0 16px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 12px;
}
.hero h1 {
  color: #22505E;
}
.hero p {
  font-size: 1.15rem;
  color: #4e6870;
  margin-bottom: 18px;
  line-height: 1.8;
}


/* --- FLEXBOX UTILITIES --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
  box-shadow: 0 1px 7px rgba(34,80,94,0.09);
  background: #fff;
  padding: 28px 18px;
  min-width: 240px;
  flex: 1 1 284px;
  transition: box-shadow 0.22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px 0 rgba(34,80,94,0.12);
}
.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;
    align-items: flex-start;
    gap: 18px;
  }
}

/* --- GENERIC CARDS & FEATURES --- */
.feature-grid,
.habits-grid,
.tips-grid,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 12px;
}

.feature-grid > div, 
.habits-grid > div, 
.tips-grid > div, 
.service-list > .service-item {
  background: #fff;
  box-shadow: 0 1px 6px rgba(34,80,94,0.04);
  border-radius: 13px;
  flex: 1 1 260px;
  min-width: 225px;
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border: 1.5px solid #F6F5F3;
  transition: box-shadow 0.21s, border-color 0.15s;
  margin-bottom: 0;
}
.feature-grid > div:hover, 
.service-list > .service-item:hover, 
.habits-grid > div:hover, 
.tips-grid > div:hover {
  border-color: #E0A22733;
  box-shadow: 0 4px 16px rgba(34,80,94,0.10);
}
.feature-grid img {
  margin-bottom: 10px;
  width: 38px;
  height: 38px;
}
.price {
  display: inline-block;
  background: #F6F5F3;
  color: #AA7B1B;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 3px 11px;
  border-radius: 8px;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .feature-grid, .habits-grid, .tips-grid, .service-list {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div, .service-list > .service-item, .habits-grid > div, .tips-grid > div {
    min-width: 0;
    width: 100%;
  }
}


/* --- SPECIAL SECTIONS --- */
.about-intro, .about-story, .team, .why-us, .services-teaser,
.services-details, .process, .workshop-overview, .workshop-benefits,
.resources, .habit-overview, .guides, .thankyou,
.contact-block, .location-block, .faq, .legal {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(34,80,94,0.025), 0 1px 6px 0 rgba(34,80,94,0.03);
}
@media (max-width: 768px) {
  .about-intro, .about-story, .team, .why-us, .services-teaser, .services-details, .process, .workshop-overview, .workshop-benefits, .resources, .habit-overview, .guides, .thankyou, .contact-block, .location-block, .faq, .legal {
    padding: 24px 6px;
    border-radius: 12px;
  }
}

.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  margin-bottom: 60px;
  background: #F6F5F3;
  border-radius: 14px;
  box-shadow: 0 1px 6px 0 rgba(160,123,27,0.04);
}
.cta-block .content-wrapper {
  align-items: center;
  text-align: center;
}
.cta-block h2 {
  color: #22505E;
}
.cta-block .cta-btn {
  margin-top: 18px;
}
@media (max-width: 768px) {
  .cta-block { padding: 24px 8px; margin-bottom:32px; }
}

.newsletter {
  background: #fffde8;
  border: 1.5px solid #F6F5F3;
  margin-bottom: 60px;
  border-radius: 14px;
}

.detailed-tip-sections h3 {
  margin-top: 20px;
}

/* --- TESTIMONIALS --- */
.testimonials .testimonial-card,
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
  background-color: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 8px 0 rgba(34,80,94,0.07);
  border: 1.5px solid #F6F5F3;
  max-width: 560px;
}
.testimonials .testimonial-card:last-child,
.testimonial-card:last-child {
  margin-bottom: 0;
}
.testimonial-card blockquote {
  color: #22505E;
  margin-bottom: 9px;
}
.testimonial-card cite {
  color: #AA7B1B;
  font-weight: 500;
}

@media (max-width: 900px) {
  .testimonials .content-wrapper {
    flex-direction: column;
    gap: 16px;
  }
  .testimonials .testimonial-card {
    max-width: 100%;
    padding: 16px 12px;
  }
}

/* --- SPECIAL FLEX ARRANGEMENTS FROM SPEC --- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}


/* --- FOOTER --- */
footer {
  padding: 40px 0 20px 0;
  background: #F6F5F3;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 10px;
  justify-content: center;
}
.footer-menu a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.96rem;
  color: #22505E;
  opacity: 0.78;
  transition: color 0.15s, opacity 0.18s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #AA7B1B;
  opacity: 1.0;
}
.footer-meta {
  color: #525252;
  font-size: 0.96rem;
  opacity: 0.76;
  text-align: center;
}

/* --- LEGAL LISTS -- */
.legal h1, .legal h2 {
  margin-top: 22px;
}
.legal ul, .legal ol {
  margin-bottom: 12px;
}
.legal ul li {
  margin-bottom: 6px;
  list-style-type: disc;
  margin-left: 20px;
}
.legal a {
  color: #22505E;
  border-bottom: 1px dotted #AA7B1B;
  transition: border-bottom 0.15s, color 0.17s;
}
.legal a:hover, .legal a:focus {
  color: #AA7B1B;
  border-bottom: 1.5px solid #AA7B1B;
}

/* --- FAQ --- */
.faq dl {
  margin-top: 20px;
}
.faq dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 14px;
  margin-bottom: 6px;
  color: #22505E;
}
.faq dd {
  margin-left: 0;
  margin-bottom: 10px;
  color: #55666A;
  font-size: 1rem;
}

/* --- BUTTONS & INTERACTIONS --- */
button, .cta-btn, input[type="submit"] {
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 8px;
  outline: none;
  transition: background 0.18s, color 0.15s, box-shadow 0.18s, border-color 0.18s;
}
button:active, .cta-btn:active {
  box-shadow: 0 2px 8px 0 rgba(160,123,27,0.10);
}

/* --- LINKS --- */
a {
  transition: color 0.16s, border-bottom 0.15s;
}
a:focus {
  outline: 2px solid #AA7B1B33;
  outline-offset: 2px;
}

/* --- LIST STYLES --- */
ul, ol {
  margin-bottom: 16px;
  padding-left: 18px;
}
.content-wrapper ul {
  margin-bottom: 8px;
}
.content-wrapper ul li {
  padding-left: 0;
  margin-bottom: 7px;
  list-style-type: disc;
}
.content-wrapper ol {
  margin-bottom: 8px;
  padding-left: 25px;
}
.content-wrapper ol li {
  margin-bottom: 7px;
}

/* --- FORM ELEMENTS (Newsletter) --- */
input, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 7px;
  border: 1px solid #F6F5F3;
  padding: 12px 11px;
  outline: none;
  background: #fff;
  margin-bottom: 12px;
  box-sizing: border-box;
}
input:focus, textarea:focus {
  border-color: #AA7B1B;
}

/* --- MEDIA QUERIES & RESPONSIVENESS --- */
@media (max-width: 900px) {
  h1, .h1 { font-size: 1.8rem; }
  h2, .h2 { font-size: 1.18rem; }
  .container { padding: 0 10px; }
}
@media (max-width: 600px) {
  h1, .h1 { font-size: 1.3rem; }
  h2, .h2 { font-size: 1.08rem; }
  .section, .about-intro, .about-story, .team, .why-us, .services-teaser, .services-details, .process, .workshop-overview, .workshop-benefits, .resources, .habit-overview, .guides, .thankyou, .contact-block, .location-block, .faq, .legal {
    padding: 16px 2px;
    margin-bottom: 18px;
  }
  .footer-menu { gap: 10px; }
  .footer-meta { font-size: 0.89rem; }
}

/* --- SPACING, WHITE SPACE & HIERARCHY --- */
.section, .about-intro, .about-story, .team, .why-us, .services-teaser, .services-details, .process, .workshop-overview, .workshop-benefits, .resources, .habit-overview, .guides, .thankyou, .contact-block, .location-block, .faq, .legal {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section, .about-intro, .about-story, .team, .why-us, .services-teaser, .services-details, .process, .workshop-overview, .workshop-benefits, .resources, .habit-overview, .guides, .thankyou, .contact-block, .location-block, .faq, .legal {
    margin-bottom: 32px;
    padding: 20px 8px;
  }
}

/* --- MODALS --- */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,80,94,0.17);
  z-index: 4060;
  align-items: center;
  justify-content: center;
  transition: opacity 0.23s;
}
.modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 14px;
  max-width: 415px;
  width: 93vw;
  box-shadow: 0 6px 38px 0 rgba(34,80,94,0.12);
  padding: 36px 22px 24px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 9px;
  right: 9px;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #22505E;
  cursor: pointer;
  border-radius: 7px;
  padding: 3px 9px;
  transition: background 0.17s;
  z-index: 100;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F6F5F3;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #22505E;
}
.cookie-category input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: #AA7B1B;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 4000;
  background: #fff;
  box-shadow: 0 -2px 28px 0 rgba(34,80,94,0.12);
  border-top: 2px solid #F6F5F3;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 10px 14px 12px;
  gap: 13px;
  animation: cookie-banner-slideup 0.42s cubic-bezier(0.53,0.05,0.41,1.33);
}
@keyframes cookie-banner-slideup {
  0% { transform: translateY(100px); opacity: 0; }
  98% { opacity: 1; }
  100% { transform: translateY(0); }
}
.cookie-consent-text {
  font-size: 1rem;
  color: #22505E;
  text-align: center;
  margin-bottom: 6px;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  width: 100%;
}
.cookie-btn {
  border-radius: 7px;
  border: none;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  transition: background 0.17s, color 0.17s, box-shadow 0.21s;
  box-shadow: 0 1px 3px rgba(160,123,27,0.04);
}
.cookie-btn.accept {
  background: #22505E;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #AA7B1B;
}
.cookie-btn.reject {
  background: #F6F5F3;
  color: #22505E;
  border: 1.5px solid #DDE4E7;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fff3dc;
  color: #AA7B1B;
  border-color: #E0A22788;
}
.cookie-btn.settings {
  background: #fff;
  color: #AA7B1B;
  border: 1.5px solid #E0A227;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #fffaec;
  color: #22505E;
  border-color: #22505Eaa;
}
@media (max-width: 500px) {
  .cookie-consent-banner { padding: 13px 2px 10px 2px; }
  .cookie-actions { flex-direction: column; gap: 8px; }
}

/* --- COOKIE CATEGORIES FOR MODAL ---*/
.cookie-categories-list {
  margin-top: 6px;
  margin-bottom: 12px;
}
.cookie-categories-list .cookie-category {
  margin-bottom: 8px;
}
.cookie-category label {
  font-size: 0.96rem;
}
.cookie-category .always-on {
  margin-left: 8px; 
  color: #787878;
  font-size: 0.96rem;
}

/* --- MICRO-INTERACTIONS --- */
.cta-btn, .cookie-btn {
  will-change: background, color, box-shadow;
}
.cta-btn:active, .cookie-btn:active {
  transform: translateY(1px) scale(0.985);
}

/* --- UTILITIES --- */
.mt-32 { margin-top: 32px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-24 { margin-bottom: 24px !important; }

/* --- Hide elements visually --- */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* --- END --- */
