/* ---- 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 { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body { line-height: 1; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; border: 0; }
button { background: none; border: none; font: inherit; cursor: pointer; }

/* ---- CUSTOM VARIABLES & FALLBACKS ---- */
:root {
  --color-primary: #2A4756;
  --color-secondary: #59A985;
  --color-accent: #F5FCF9;
  --color-bg: #FAFAF8;
  --color-muted: #E4E7E2;
  --color-card: #FCFCFB;
  --color-dark: #14222b;
  --color-text: #2A4756;
  --color-link: #38796d;
  --color-cta: #59A985;
  --color-cta-hover: #469f74;
  --color-border: #dadad9;
  --shadow-card: 0 4px 18px 0 rgba(42,71,86,0.07);
  --font-display: 'Montserrat', 'Georgia', serif;
  --font-body: 'Roboto', 'Georgia', serif;
  --font-serif: 'Georgia', serif;
  --font-sans: 'Roboto', Arial, sans-serif;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 1.35rem; line-height: 1.2; margin-bottom: 16px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }
p { margin-bottom: 18px; }
.text-section li, ul, ol { margin-bottom: 10px; }
a { color: var(--color-link); transition: color 0.2s; }
a:hover, a:focus { color: var(--color-secondary); text-decoration: underline; }

/* ---- GLOBAL LAYOUT & CONTAINERS ---- */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  background: none;
  margin-bottom: 32px;
}
.text-section {
  margin-bottom: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

main { padding-top: 24px; min-height: 60vh; }

/* ---- NAVIGATION BAR ---- */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(42,71,86,0.05);
  padding: 0;
  z-index: 99;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}
header nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px;
}
header nav a {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--color-primary);
  padding: 7px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
header nav .cta-primary {
  background: var(--color-cta);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 7px 22px;
  border-radius: 24px;
  box-shadow: 0 2px 8px 0 rgba(89,169,133,0.11);
  margin-left: 10px;
  transition: background 0.2s, box-shadow 0.2s;
}
header nav .cta-primary:hover,
header nav .cta-primary:focus {
  background: var(--color-cta-hover);
  box-shadow: 0 4px 14px 0 rgba(62,160,120,0.21);
  color: #fff;
}

/* ---- MOBILE NAVIGATION ---- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  line-height: 1;
  background: none;
  border: none;
  color: var(--color-primary);
  padding: 3px 8px;
  border-radius: 8px;
  z-index: 160;
  transition: background 0.15s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--color-accent);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(42,71,86, 0.92);
  z-index: 200;
  padding: 0 28px;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(0.72,0.1,0.14,1), opacity 0.33s;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 0 8px 0;
  font-size: 2.2rem;
  color: #fff;
  background: transparent;
  border-radius: 8px;
  padding: 6px 9px;
  transition: background 0.1s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: var(--color-accent); color: var(--color-secondary); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 19px;
  margin-top: 34px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.28rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  padding: 10px 2px;
  border-radius: 6px;
  width: 100%;
  display: block;
  transition: background 0.14s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus { background: var(--color-accent); color: var(--color-secondary); }

@media (max-width: 991px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 992px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* ---- HERO & FEATURE SECTIONS ---- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 16px;
}
.feature {
  flex: 1 1 200px;
  max-width: 260px;
  background: var(--color-card);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 30px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--color-border);
  transition: transform 0.20s, box-shadow 0.21s;
}
.feature img { width: 54px; height: 54px; margin-bottom: 5px; }
.feature:hover, .feature:focus-within {
  box-shadow: 0 8px 32px 0 rgba(42,71,86,0.13);
  transform: translateY(-6px) scale(1.019);
  border-color: var(--color-secondary);
}
.feature h3 { margin-top: 0; margin-bottom: 8px; font-size: 1.11rem; }
.feature p {
  color: var(--color-dark);
  font-size: 1rem;
}

/* ---- CARDS, TIPS, TESTIMONIALS ---- */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card {
  position: relative;
  background: var(--color-card);
  border-radius: 13px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  flex: 1 1 260px;
  min-width: 220px;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 12px 32px 0 rgba(42,71,86,.13);
}
.card-content { padding: 28px 22px; display: flex; flex-direction: column; justify-content: center; gap: 15px; }

.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-slider {
  display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; margin-top: 10px; }
.testimonial-card {
  display: flex; align-items: center; gap: 20px; padding: 20px 26px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 18px 0 rgba(42,71,86,0.11);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-serif);
  min-width: 240px;
  max-width: 360px;
  flex: 1 1 250px;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: var(--color-dark);
  font-size: 1rem;
  margin: 0 0 8px 0;
  font-weight: 500;
  font-style: italic;
}
.testimonial-card span {
  font-family: var(--font-sans);
  font-size: 0.99rem;
  color: var(--color-primary);
  font-weight: 700;
}

.tips-list, .daily-habits, .wellness-challenges,
.nutrition-tips, .diet-examples,
.routine-examples, .sleep-environments,
.mental-health-tips, .stress-management,
.activity-suggestions, .motivation-tips {
  background: var(--color-accent);
  border-radius: 11px;
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px 0 rgba(42,71,86,0.07);
}
.tips-list ul, .daily-habits ul, .wellness-challenges ul,
.nutrition-tips ul, .diet-examples ul,
.routine-examples ul, .sleep-environments ul,
.mental-health-tips ul, .stress-management ul,
.activity-suggestions ul, .motivation-tips ul {
  padding-left: 18px;
  margin-bottom: 0;
}
.tips-list li, .daily-habits li, .wellness-challenges li,
.nutrition-tips li, .diet-examples li,
.routine-examples li, .sleep-environments li,
.mental-health-tips li, .stress-management li,
.activity-suggestions li, .motivation-tips li {
  margin-bottom: 10px;
  font-size: 1.01rem;
  color: var(--color-primary);
  font-family: var(--font-serif);
}

/* ---- CONTACT & MAP ---- */
.contact-info {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-info > div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-accent);
  border-radius: 8px;
  padding: 10px 16px;
  min-width: 210px;
  box-shadow: 0 2px 12px 0 rgba(42,71,86,0.05);
}
.contact-info img {
  width: 32px; height: 32px;
  border-radius: 50%;
}
.map {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  background: var(--color-card);
  border-radius: 11px;
  padding: 10px 18px;
  min-height: 55px;
  box-shadow: 0 1px 8px 0 rgba(42,71,86,0.07);
}
.map img { width: 42px; height: 42px; }
.map span { font-size: 1rem; font-family: var(--font-serif); color: var(--color-dark); }

/* ---- BUTTONS & CTAS ---- */
.cta-primary {
  display: inline-block;
  background: var(--color-cta);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 24px;
  box-shadow: 0 2px 8px 0 rgba(42,71,86,.10);
  margin-top: 12px;
  transition: background 0.18s, box-shadow 0.22s, transform 0.11s;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-cta-hover);
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 18px 0 rgba(42,71,86,.16);
}

/* ---- FOOTER ---- */
footer {
  background: #fff;
  border-top: 1.2px solid var(--color-border);
  box-shadow: 0 -2px 10px 0 rgba(42,71,86,0.04);
  padding: 40px 0 24px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--color-dark);
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
footer nav { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; margin-bottom: 8px; }
footer nav a {
  color: var(--color-primary);
  font-size: 15px;
  padding: 4px 8px;
  border-radius: 5px;
  transition: color 0.14s, background 0.11s;
}
footer nav a:hover, footer nav a:focus { color: var(--color-secondary); background: var(--color-accent); }
footer p { color: var(--color-dark); font-size: 0.94rem; }

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 2px solid var(--color-border);
  box-shadow: 0 -3px 18px 0 rgba(42,71,86,0.09);
  z-index: 210;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 24px 18px 18px 20px;
  transition: transform 0.32s cubic-bezier(0.8,0.08,0.14,1), opacity .25s;
}
.cookie-consent-banner.hide {
  transform: translateY(160%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-text {
  flex: 2 1 320px;
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: 1.06rem;
  margin-bottom: 0;
}
.cookie-consent-banner .cookie-actions {
  display: flex; flex-direction: row; flex-wrap: wrap;
  gap: 13px;
}
.cookie-btn {
  display: inline-block;
  font-size: 0.96rem;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 8px;
  background: var(--color-cta);
  color: #fff;
  padding: 8px 19px;
  border: none;
  margin: 0; min-width: 90px;
  transition: background 0.14s, box-shadow 0.11s;
}
.cookie-btn.secondary { background: var(--color-accent); color: var(--color-cta); border: 1.3px solid var(--color-cta); }
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus { background: var(--color-muted); color: var(--color-cta-hover); }

.cookie-btn:hover, .cookie-btn:focus { background: var(--color-cta-hover); color: #fff; box-shadow: 0 2px 9px 0 rgba(89,169,133,.12); }

/* ---- COOKIE PREFERENCES MODAL ---- */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 220;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(42,71,86,0.43);
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
}
.cookie-modal.open {
  display: flex;
  opacity: 1;
}
.cookie-modal .modal-dialog {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 48px 0 rgba(42,71,86,0.25);
  padding: 36px 32px 32px 32px;
  max-width: 430px;
  min-width: 260px;
  margin: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeInModal 0.33s cubic-bezier(.72,0,.53,1);
}
@keyframes fadeInModal {
  from { transform: translateY(90px); opacity: 0; }
  to   { transform: translateY(0px); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.23rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.cookie-category {
  display: flex; flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-muted);
}
.cookie-category:last-child { border-bottom: 0; }
.cookie-category label {
  font-family: var(--font-body); font-size: 1.01rem; color: var(--color-dark);
  font-weight: 500;
}
.cookie-switch {
  width: 38px;
  height: 18px;
  position: relative;
  display: inline-block;
}
.cookie-switch input {
  opacity: 0; width: 0; height: 0;
}
.cookie-slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-muted);
  border-radius: 12px;
  transition: background 0.16s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--color-cta);
}
.cookie-slider::before {
  content: "";
  position: absolute; left: 2.5px; top: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s;
}
.cookie-switch input:checked + .cookie-slider::before {
  transform: translateX(16px);
}
.cookie-modal .modal-actions {
  display: flex; flex-direction: row; gap: 14px; justify-content: flex-end; margin-top: 10px; }
.cookie-modal .close-modal {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--color-secondary);
  cursor: pointer;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus { color: var(--color-primary); }

/* ---- Table lists & Feature items ---- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---- Additional Styles ---- */
strong { font-weight: 700; color: var(--color-secondary); }
::-webkit-input-placeholder { color: #b2b2b2; }
:-moz-placeholder, ::-moz-placeholder { color: #b2b2b2; opacity: 1; }
:-ms-input-placeholder { color: #b2b2b2; }
input, select, textarea {
  font-family: var(--font-body);
  border-radius: 8px;
  border: 1.5px solid var(--color-muted);
  padding: 10px 14px;
  outline: none;
  margin-bottom: 10px;
  font-size: 1rem;
  background: #fff;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--color-cta);
  box-shadow: 0 2px 5px 0 rgba(89,169,133,.10);
}

/* ---- Responsive Styles ---- */
@media (max-width: 1080px) {
  .container { max-width: 100%; }
  .feature-grid { justify-content: flex-start; gap: 18px; }
}
@media (max-width: 990px) {
  .testimonial-slider, .feature-grid, .card-container, .contact-info {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .content-grid { flex-direction: column; gap: 20px; }
}
@media (max-width: 770px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .section { padding: 30px 7px; }
  .container { padding: 0 7px; }
  .content-wrapper, .text-section { margin-bottom: 18px; }
  .feature, .card, .testimonial-card { padding: 18px 9px !important; max-width: 100%; }
  .feature-grid, .card-container, .testimonial-slider { gap: 14px; }
  .map, .contact-info > div { min-width: 0; }
  footer { padding: 28px 0 18px 0; }
}
@media (max-width: 640px) {
  .map, .contact-info, .feature-grid, .testimonial-slider, .card-container { flex-direction: column; gap: 13px; }
  .cta-primary, .cookie-btn { padding: 11px 18px; font-size: 1rem; }
  .cookie-consent-banner { flex-direction: column; gap: 12px; padding: 16px 8px; font-size: 0.97rem; }
  .cookie-consent-banner .cookie-actions { gap: 9px; }
  .cookie-modal .modal-dialog { max-width: 97vw; padding: 19px 6px; min-width: 0; }
}
@media (max-width: 540px) {
  html { font-size: 15px; }
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.07rem; }
}
/* ---- Utility ---- */
.hide { display: none !important; }
.d-block { display: block; }
.visually-hidden { position: absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; border:0!important; }
/* ---- END ---- */
