/* --- CSS RESET AND BASE TYPOGRAPHY --- */
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;}
body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: #fff;
  color: #25432d;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  text-decoration: none;
  color: #386140;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #e06614;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
strong, b {
  font-weight: 700;
}
em, i {
  font-style: italic;
}
.button, .cta-button {
  font-family: 'Georgia', serif;
  background-color: #386140;
  color: #fff;
  border: none;
  border-radius: 44px;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(56, 97, 64, 0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.12s;
  display: inline-block;
}
.button:hover, .cta-button:hover, .button:focus, .cta-button:focus {
  background: #e06614;
  color: #fff;
  box-shadow: 0 6px 20px rgba(224, 102, 20, 0.16);
  transform: translateY(-2px) scale(1.02);
}
iframe {
  max-width: 100%;
}

/* --- GLOBAL CONTAINER --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- TYPOGRAPHY SCALE --- */
h1 {
  font-family: 'Georgia', serif;
  font-size: 2.625rem;
  line-height: 1.13;
  font-weight: 600;
  color: #25432d;
  margin-bottom: 16px;
}
h2 {
  font-family: 'Georgia', serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  color: #25432d;
  margin-bottom: 20px;
}
h3 {
  font-family: 'Georgia', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: #386140;
  margin-bottom: 12px;
}
h4 {
  font-family: 'Georgia', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #25432d;
  margin-bottom: 10px;
}
p {
  font-family: 'Georgia', serif;
  font-size: 1rem;
  color: #25432d;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  h1 { font-size: 2rem;}
  h2 { font-size: 1.4rem;}
  h3 { font-size: 1.08rem;}
}

/* Section/Spacing Utility Classes */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 600px) {
  .section {padding: 24px 6px; margin-bottom: 36px;}
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(56, 97, 64, 0.08);
  margin-bottom: 24px;
  border: 1px solid #eee6da;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #faf8f4;
  border-radius: 14px;
  padding: 24px 18px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px rgba(56, 97, 64, 0.04);
  border: 1px solid #e3dfd6;
  transition: box-shadow 0.17s, border-color 0.17s;
}
.feature-item:hover {
  box-shadow: 0 3px 18px rgba(56, 97, 64, 0.11);
  border-color: #F4D58D;
}
@media (max-width: 600px) {
  .feature-item {padding: 16px 8px;}
}

/* ---- LAYOUT: HEADER & NAV ---- */
header {
  background: #fff;
  border-bottom: 1px solid #eee6da;
  box-shadow: 0 2px 12px rgba(56, 97, 64, 0.03);
  z-index: 25;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 18px;
  position: relative;
}
.logo img {
  height: 55px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 22px;
}
.main-nav a {
  font-family: 'Georgia', serif;
  font-size: 1rem;
  color: #25432d;
  opacity: 0.88;
  transition: color 0.18s, opacity 0.18s;
  padding: 6px 6px;
}
.main-nav a:hover, .main-nav a.active {
  color: #e06614;
  opacity: 1;
}
.cta-button {
  margin-left: 22px;
  margin-right: 0;
}
.mobile-menu-toggle {
  display: none;
  background: #386140;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 1.8rem;
  cursor: pointer;
  transition: background 0.17s, transform 0.15s;
  z-index: 110;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #e06614;
  outline: none;
  transform: scale(1.09);
}

/* Mobile menu - hidden by default */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #faf8f4;
  box-shadow: 0 0 50px rgba(56, 97, 64, 0.12);
  z-index: 9999;
  transform: translateX(-105%);
  opacity: 0;
  transition: transform 0.36s cubic-bezier(.77,0,.175,1), opacity 0.25s;
  display: flex;
  flex-direction: column;
  padding: 30px 24px 18px 24px;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #25432d;
  cursor: pointer;
  margin-bottom: 18px;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #e06614;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 10px;
}
.mobile-nav a {
  font-family: 'Georgia', serif;
  font-size: 1.4rem;
  color: #25432d;
  padding: 10px 0;
  border-bottom: 1px solid #e3dfd6;
  transition: color 0.17s, background .14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #e06614;
  background: #faf2e6;
}
@media (max-width: 1100px) {
  .main-nav {
    gap: 14px;
    margin-left: 10px;
  }
  .cta-button {margin-left: 10px;}
}
@media (max-width: 900px) {
  .main-nav {gap: 7px;}
}
@media (max-width: 930px) {
  .main-nav, .cta-button {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 600px) {
  header .container {padding-left: 6px; padding-right: 6px;}
  .mobile-menu {padding: 24px 6px 8px;}
  .mobile-nav a {font-size: 1.08rem; padding: 8px 0;}
}

/* ---- HERO SECTION ---- */
.hero {
  padding: 54px 0 32px;
  background: #faf8f4;
  margin-bottom: 0;
}
.hero h1 {
  color: #386140;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.125rem;
  color: #25432d;
  opacity: 0.89;
}
.hero .cta-button {
  margin-top: 16px;
}

/* ---- FEATURE GRIDS ---- */
.feature-grid, .tips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.feature-item, .tip-item {
  flex: 1 1 235px;
  min-width: 195px;
  background: #fff;
}

/* cards for services */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-card {
  flex: 1 1 220px;
  min-width: 210px;
  background: #f7f5ed;
  border-radius: 16px;
  box-shadow: 0 1px 10px rgba(56, 97, 64, 0.07);
  border: 1px solid #e3dfd6;
  padding: 22px 18px 15px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.17s, border-color 0.17s;
}
.service-card:hover {
  box-shadow: 0 4px 20px rgba(224,102,20,0.10);
  border-color: #F4D58D;
}
.service-card h3 {
  color: #386140;
  margin-bottom: 8px;
}
.service-card span {
  margin-top: 9px;
  color: #e06614;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: 'Georgia', serif;
}
@media (max-width: 900px) {
  .feature-grid, .tips-grid, .service-cards {
    gap: 14px;
  }
  .feature-item, .tip-item, .service-card {min-width: 150px;}
}
@media (max-width: 600px) {
  .feature-grid, .tips-grid, .service-cards {
    flex-direction: column;
    gap: 16px;
  }
  .feature-item, .tip-item, .service-card {
    width: 100%;
    min-width: 0;
  }
}

/* --- TESTIMONIALS --- */
.testimonials {
  padding: 52px 0 28px;
  background: #faf8f4;
}
.testimonials h2 {
  color: #25432d;
  margin-bottom: 30px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.testimonial-card {
  background: #fff;
  box-shadow: 0 1px 14px rgba(56,97,64,0.07);
  border-radius: 19px;
  border: 1px solid #eee6da;
  padding: 24px 22px;
  min-width: 230px;
  max-width: 390px;
  flex: 1 1 300px;
  color: #25432d;
  font-family: 'Georgia', serif;
  font-size: 1.1rem;
  margin: 0 auto 18px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.11s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 38px rgba(224,102,20,0.09);
}
.testimonial-card strong {
  color: #386140;
  font-weight: 700;
}
@media (max-width: 900px) {
  .testimonial-slider {gap: 18px;}
  .testimonial-card {font-size: 1rem;}
}
@media (max-width: 600px) {
  .testimonials {padding: 26px 0 13px;}
  .testimonial-slider {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: unset;
    padding: 14px 8px;
  }
}

/* --- CTA SECTION --- */
.cta-section {
  background: #386140;
  padding: 44px 0;
  text-align: center;
  margin-bottom: 0;
}
.cta-section .cta-button {
  background: #F4D58D;
  color: #25432d;
  font-size: 1.13rem;
  margin-top: 0;
  margin-bottom: 0;
  font-family: 'Georgia', serif;
}
.cta-section .cta-button:hover {
  background: #e06614;
  color: #fff;
}

/* --- ABOUT/LEGAL/OTHER CONTENT --- */
.about-section, .legal, .contact-section {
  background: #fff;
  border-radius: 20px;
  padding: 36px 24px;
  margin-bottom: 60px;
  box-shadow: 0 2px 14px rgba(56, 97, 64, 0.04);
  border: 1px solid #e3dfd6;
}
@media (max-width: 600px) {
  .about-section, .legal, .contact-section {
    padding: 16px 6px;
    margin-bottom: 36px;
  }
}

/* --- INTERACTIVE ELEMENTS --- */
.interactive-faq ul, .exercise-videos ul, .meditation-tips ul {
  padding-left: 1em;
}
.interactive-faq li, .exercise-videos li, .meditation-tips li, .tips-list li {
  margin-bottom: 14px;
  color: #25432d;
  font-family: 'Georgia', serif;
}
.routine-suggestion, .meditation-tips, .local-sleep-services {
  background: #f7f5ed;
  border-left: 5px solid #F4D58D;
  border-radius: 11px;
  padding: 14px 18px;
  margin-top: 12px; margin-bottom: 14px;
}
.price-info {
  font-family: 'Georgia', serif;
  color: #e06614;
  font-size: 1.16rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: inline-block;
}
.cta-info {
  background: #faf8f4;
  border-radius: 8px;
  border-left: 3px solid #F4D58D;
  padding: 9px 16px;
  font-size: 0.96rem;
  margin-top: 13px;
}

/* --- FOOTER --- */
footer {
  background: #faf8f4;
  border-top: 1px solid #e3dfd6;
  padding: 45px 0 10px;
  font-family: 'Georgia', serif;
  color: #25432d;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}
.footer-logo img {
  width: 84px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}
.text-section, .footer-links, .legal-links, .social-links {
  min-width: 160px;
}
footer h4 {
  color: #386140;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
footer ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 8px;
}
footer ul li {
  margin-bottom: 5px;
}
footer a {
  color: #386140;
  font-family: 'Georgia', serif;
  opacity: 0.84;
  transition: color 0.16s, opacity 0.15s;
  font-size: 1rem;
}
footer a:hover, footer a:focus {
  color: #e06614;
  opacity: 1;
}
.social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.social-links a img {
  display: inline-block;
  width: 26px;
  margin-right: 6px;
  transition: filter 0.18s;
}
.social-links a:hover img {
  filter: brightness(0.55) sepia(1) hue-rotate(-40deg) saturate(5);
}
footer .copyright {
  font-size: 0.97rem;
  text-align: center;
  color: #b5aca0;
  padding: 8px 0 2px;
}
@media (max-width: 900px){
  footer .content-wrapper {gap: 18px;}
  .footer-logo img {width:58px;}
}
@media (max-width: 650px){
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 5px;
  }
  .footer-logo img {margin-bottom:0;}
}

/* --- THANKS/PAGE-SPECIFIC --- */
.thanks .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.thanks h1, .thanks p {
  text-align: center;
}
.thanks .cta-button {
  margin-top: 16px;
}

/* --- COOKIE CONSENT BANNER/BUTTONS --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #faf8f4;
  color: #25432d;
  border-top: 1px solid #e3dfd6;
  padding: 24px 16px 18px 16px;
  box-shadow: 0 -4px 38px rgba(56,97,64,0.09);
  z-index: 99099;
  width: 100%;
  font-family: 'Georgia', serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  transition: transform 0.34s, opacity 0.34s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-consent-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
.cookie-consent-text {
  flex: 1 1 350px;
  max-width: 440px;
  font-size: 1rem;
  margin-right: 20px;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-accept, .cookie-reject, .cookie-settings {
  padding: 8px 18px;
  border-radius: 20px;
  border: none;
  font-family: 'Georgia', serif;
  font-size: 1rem;
  font-weight: 600;
  background: #386140;
  color: #fff;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow .17s;
  box-shadow: 0 1px 8px rgba(56,97,64,0.04);
}
.cookie-reject {
  background: #e06614;
}
.cookie-settings {
  background: #F4D58D;
  color: #25432d;
}
.cookie-accept:hover, .cookie-settings:hover, .cookie-reject:hover {
  background: #25432d;
  color: #fff;
}

@media (max-width: 900px){
  .cookie-consent-banner {flex-direction: column;gap: 22px;}
  .cookie-consent-text {margin-right: 0;}
}
@media (max-width: 600px){
  .cookie-consent-banner {padding: 16px 8px 10px;}
  .cookie-consent-actions {gap: 8px;}
  .cookie-accept, .cookie-reject, .cookie-settings {
    font-size: 0.93rem;
    padding: 7px 14px;
  }
}

/* COOKIE PREFERENCES MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(56,97,64,0.16);
  z-index: 99100;
  opacity: 1;
  transition: opacity 0.23s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 19px;
  padding: 34px 30px 26px 30px;
  min-width: 320px;
  max-width: 90vw;
  box-shadow: 0 8px 42px rgba(56,97,64,0.09);
  border: 1px solid #eee6da;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h2 {
  color: #386140;
  font-size: 1.34rem;
  margin-bottom: 8px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}
.cookie-modal-category:last-child {margin-bottom: 0;}
.cookie-modal-category label {
  font-family: 'Georgia', serif;
  font-size: 1.05rem;
  color: #25432d;
}
.cookie-category-toggle {
  accent-color: #e06614;
  width: 24px;
  height: 24px;
}
.cookie-modal .essential {
  color: #888;
  font-size: 0.98rem;
  margin-left: 34px;
  font-style: italic;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  font-size: 2.0rem;
  color: #25432d;
  cursor: pointer;
}
.cookie-modal-close:hover {color: #e06614;}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 17px;
}
.cookie-modal-actions button {
  font-family: 'Georgia', serif;
  font-size: 1rem;
  border-radius: 22px;
  border: none;
  background: #386140;
  color: #fff;
  padding: 9px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal-actions button:hover {
  background: #e06614;
}
@media (max-width:600px){
  .cookie-modal {
    padding: 18px 7px 13px 7px;
    min-width: 0;
    max-width: 98vw;
  }
}

/* --- FORMS --- */
input, select, textarea {
  font-family: 'Georgia', serif;
  color: #25432d;
  border: 1px solid #e3dfd6;
  border-radius: 8px;
  padding: 10px;
  font-size: 1rem;
  background: #faf8f4;
  width: 100%;
  margin-bottom: 12px;
  transition: border-color 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #F4D58D;
  outline: none;
}

button {
  font-family: 'Georgia', serif;
  font-size: 1rem;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  0% {opacity: 0; transform: translateY(24px);}
  100% {opacity: 1; transform: translateY(0);}
}
.hero, .features, .service-card, .testimonial-card, .cta-section, .about-section, .legal, .thanks, .cookie-consent-banner, .cookie-modal {
  animation: fadeInUp 0.8s cubic-bezier(.77,0,.175,1) both;
}

/* --- SCROLLBARS --- */
::-webkit-scrollbar {width: 8px;background: #f7f5ed;}
::-webkit-scrollbar-thumb {background: #e3dfd6; border-radius: 6px;}

/* --- SELECTION COLOR --- */
::selection {
  background: #F4D58D;
  color: #25432d;
}

/* --- UTILITY CLASSES FOR FLEX LAYOUTS --- */
.flex-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 20px;
}
.flex-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px;
}
.align-center {
  align-items: center !important;
}
.align-start {
  align-items: flex-start !important;
}
.justify-center {
  justify-content: center !important;
}
.justify-between {
  justify-content: space-between !important;
}

/* --- VISUAL ACCESSIBILITY --- */
@media (max-width: 440px) {
  h1, h2, h3 {word-break: break-word;}
}
@media (max-width: 350px) {
  .cta-button, .button {font-size: 0.95rem; padding: 8px 10px;}
}
