/* ============================
   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, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: linear-gradient(135deg, #E3F5D6 0%, #ffffff 100%);
  color: #203340;
  min-height: 100vh;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 1em;
}
a {
  color: #27836A;
  text-decoration: none;
  transition: color 0.22s;
}
a:hover, a:focus {
  color: #176351;
}
strong, b {
  font-weight: 700;
}
em, i {
  font-style: italic;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #203340;
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: 2.4rem; margin-bottom: 24px; }
h2 { font-size: 1.7rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; font-weight: 600; }
p {
  font-size: 1rem;
  margin-bottom: 17px;
  color: #203340;
}
address {
  font-style: normal;
  color: #203340;
  margin-bottom: 20px;
}

/* ============================
   LAYOUT CONTAINERS
   ============================ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

/* ============================
   HEADER & NAVIGATION
   ============================ */
header {
  background: linear-gradient(90deg, #B7E0A2 0%, #E3F5D6 90%);
  box-shadow: 0 3px 18px rgba(39,131,106,.06);
  padding: 0 0 8px 0;
  position: relative;
  z-index: 20;
}
header > .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 18px 0 18px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #203340;
  padding: 8px 6px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover {
  background: #B7E0A2;
  color: #27836A;
}

.btn-primary {
  background: linear-gradient(90deg, #27836A 60%, #B7E0A2 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 10px 27px;
  border: none;
  border-radius: 28px;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(39,131,106,0.09);
  transition: background 0.2s, transform 0.15s, box-shadow 0.18s;
  display: inline-block;
  margin-left: 22px;
  margin-right: 0;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #1f6d57 60%, #90c67b 100%);
  transform: translateY(-2px) scale(1.045);
  box-shadow: 0 6px 24px 0 rgba(39,131,106,0.16);
}

/* Hamburger Icon */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #203340;
  cursor: pointer;
  display: none;
  align-items: center;
  margin-left: 18px;
  line-height: 1;
  padding: 3px 7px;
  border-radius: 6px;
  transition: background 0.1s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #B7E0A2;
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39,131,106,0.89);
  backdrop-filter: blur(2px);
  z-index: 100;
  transform: translateX(-105vw);
  transition: transform 0.37s cubic-bezier(.47,1.64,.41,.8);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 40px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  cursor: pointer;
  z-index: 102;
  padding: 2px 8px;
  border-radius: 5px;
  transition: background 0.09s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: rgba(255,255,255,0.12);
}
.mobile-nav {
  margin-top: 45px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 23px;
  align-items: flex-start;
  padding-left: 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 5px;
  width: 100%;
  min-width: 80vw;
  transition: background 0.13s;
  line-height: 1.3;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #B7E0A2;
  color: #203340;
}
@media (max-width: 1024px) {
  .container {
    max-width: 92vw;
  }
}
@media (max-width: 900px) {
  header nav,
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Logo */
header a img {
  height: 40px;
  width: auto;
  margin: 8px 0 8px 0;
}

/* ==========================
   SECTION SPACING & PATTERNS
   ========================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  position: relative;
  min-width: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 13px 0 rgba(32,51,64,0.07);
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 30px 0 rgba(39,131,106,0.12);
  transform: translateY(-2px) scale(1.025);
}

.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;
  background: #f4fbed;
  border-radius: 16px;
  box-shadow: 0 3px 18px -9px #27836A44;
  margin-bottom: 24px;
  position: relative;
  transition: box-shadow 0.23s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 7px 34px -2px #27836A33;
}

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

/* ==========================
   SPECIAL COMPONENTS
   ========================== */
.feature_grid, .service-list, .tips-list, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature_grid li,
.service-list .service-item,
.tips-list article,
.blog-list article {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 10px 0 rgba(39,131,106,0.08);
  padding: 24px 22px 20px 22px;
  flex: 1 1 240px;
  min-width: 230px;
  max-width: 340px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.18s, transform 0.14s;
  min-height: 210px;
  position: relative;
}
.feature_grid li:hover, .service-list .service-item:hover, .tips-list article:hover,.blog-list article:hover {
  box-shadow: 0 10px 42px -6px #27836A24;
  transform: translateY(-3px) scale(1.022);
}
.feature_grid img {
  width: 35px;
  height: 35px;
  object-fit: contain;
  margin-bottom: 7px;
}
.service-price {
  color: #27836A;
  font-weight: 700;
  font-size: 1.09rem;
  margin-top: 10px;
}

.testimonial-card p {
  color: #203340;
  font-size: 1.09rem;
  margin-bottom: 4px;
}
.testimonial-name {
  font-weight: 700;
  color: #27836A;
  font-size: 1rem;
  margin-left: 18px;
}

.testimonial-rating-summary {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 8px 0 #27836A11;
  padding: 12px 18px;
  margin-top: 14px;
  color: #203340;
  letter-spacing: 0.02em;
  font-size: 1.08rem;
}

.filter_topics, .blog-categories, .recent-posts {
  margin-top: 15px;
  background: #f1fff8;
  border-radius: 13px;
  padding: 14px 16px 18px 18px;
  color: #203340;
  font-size: 1.04rem;
}
.filter_topics ul, .blog-categories ul, .recent-posts ul {
  list-style-type: disc;
}

/* ==========================
   TEXT SECTIONS
   ========================== */
.text-section {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  color: #203340;
  background: none;
  font-size: 1.06rem;
}
.text-section ul, .text-section ol {
  padding-left: 18px;
  margin-bottom: 12px;
}
.text-section li {
  margin-bottom: 8px;
}

/* ==========================
   FOOTER
   ========================== */
footer {
  background: linear-gradient(90deg,#fff 50%,#B7E0A2 100%);
  padding: 26px 0 8px 0;
  color: #203340;
  font-size: 1rem;
  box-shadow: 0 -3px 18px rgba(39,131,106,.05);
  margin-top: 70px;
}
footer > .container {
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 23px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
footer nav a {
  color: #27836A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 0.99rem;
  letter-spacing: .03em;
  padding: 6px 7px;
  border-radius: 6px;
  transition: background 0.11s;
  margin-bottom: 6px;
}
footer nav a:hover {
  background: #E3F5D6;
  color: #203340;
}
.footer-contact {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.97rem;
  color: #203340;
  letter-spacing: 0.03em;
  text-align: center;
  opacity: .85;
}
footer a {
  outline: none;
}

/* ==========================
   COOKIE BANNER & MODAL
   ========================== */
#cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg,#B7E0A2 10%, #E3F5D6 100%);
  color: #203340;
  padding: 22px 16px 16px 16px;
  box-shadow: 0 -6px 32px 0 #27836A22;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  font-size: 1.06rem;
  transition: transform 0.32s cubic-bezier(.47,1.64,.41,.8);
  transform: translateY(0);
}
#cookie-banner.hide {
  transform: translateY(120%);
}
#cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 7px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #27836A;
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 9px 22px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, transform 0.14s;
  box-shadow: 0 2px 7px 0 #27836A11;
}
.cookie-btn.settings {
  background: #fff;
  color: #27836A;
  border: 2px solid #B7E0A2;
}
.cookie-btn.reject {
  background: #B7E0A2;
  color: #203340;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #176351;
  color: #fff;
  transform: scale(1.04);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #27836A;
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #E3F5D6;
  color: #203340;
}

/* Cookie Settings Modal */
#cookie-modal {
  position: fixed;
  left: 50vw;
  top: 50vh;
  transform: translate(-50%,-50%) scale(1);
  min-width: 304px;
  max-width: 98vw;
  width: 458px;
  background: #fff;
  color: #203340;
  border-radius: 19px;
  box-shadow: 0 8px 48px #27836A1b;
  padding: 30px 32px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 2200;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.33s cubic-bezier(.47,1.64,.41,.8), visibility 0.28s;
}
#cookie-modal.hide {
  opacity: 0;
  visibility: hidden;
}
#cookie-modal h2 {
  font-size: 1.38rem;
  margin-bottom: 7px;
  color: #27836A;
}
#cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin-bottom: 7px;
}
#cookie-modal label {
  font-size: 1rem;
}
.cookie-category input[type=checkbox]{
  accent-color: #27836A;
  width: 19px;
  height: 19px;
  border-radius: 5px;
  margin-right: 9px;
}
#cookie-modal .category-essential label {
  font-weight: 700;
}
#cookie-modal .cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 18px;
  justify-content: flex-end;
}
#cookie-modal .modal-close {
  position: absolute;
  top: 17px;
  right: 19px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #27836A;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 7px;
  transition: background 0.08s;
}
#cookie-modal .modal-close:focus, #cookie-modal .modal-close:hover {
  background: #E3F5D6;
}

/* ==========================
   RESPONSIVE DESIGN
   ========================== */
@media (max-width: 1024px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.33rem; }
  .content-wrapper { gap: 24px; }
  .feature_grid li, .service-list .service-item, .tips-list article, .blog-list article { min-width: 180px; max-width: 100%; padding: 19px 13px; }
}
@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
  }
  header > .container {
    flex-direction: row;
    gap: 13px;
    padding: 8px 6px 0 6px;
  }
  section, .section {
    padding: 28px 8px;
    margin-bottom: 40px;
  }
  .content-wrapper {
    margin-top: 18px;
    gap: 15px;
  }
  .feature_grid, .service-list, .tips-list, .blog-list {
    gap: 16px;
  }
  .feature_grid li, .service-list .service-item, .tips-list article, .blog-list article {
    min-width: 90vw;
    max-width: 98vw;
    margin-bottom: 14px;
  }
  .container {
    padding: 0 4px;
  }
  .text-section {
    font-size: 0.97rem;
    gap: 11px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 7px;
    padding: 16px;
    margin-bottom: 15px;
    font-size: 1rem;
  }
  #cookie-modal {
    padding: 15px 4vw 12px 4vw;
    min-width: 90vw;
    width: 95vw;
    max-width: 99vw;
  }
  #cookie-banner {
    font-size: 0.98rem;
    padding: 12px 4vw 11px 4vw;
    gap: 6px;
  }
}
@media (max-width: 460px) {
  html { font-size: 15px; }
  .feature_grid li, .service-list .service-item, .tips-list article, .blog-list article {
    padding: 9px 4vw !important;
  }
  #cookie-banner {
    font-size: 0.92rem;
  }
}

/* ============================
   TRANSITIONS, HOVER EFFECTS
   ============================ */
section, .card, .btn-primary, .feature_grid li, .service-list .service-item, .testimonial-card, .tips-list article, .blog-list article {
  transition: box-shadow .19s, background .18s, transform .15s;
}

/* ============================
   DISABLED/STATE CLASSES
   ============================ */
.btn-primary[disabled], .cookie-btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

/* ============================
   MISC
   ============================ */
::-webkit-scrollbar {
  width: 7px;
  background: #E3F5D6;
}
::-webkit-scrollbar-thumb {
  background: #B7E0A2;
  border-radius: 8px;
}
.hide {
  display: none !important;
}

/* Ensure no grid or columns: display: flex ONLY for all main containers. */
