/* ==== 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  color: #233145;
  background-color: #F6F6F3;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
}
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 16px;
}
img {
  max-width: 100%;
  height: auto;
  border: none;
  display: block;
}
a {
  color: #395B32; /* Deep green accent for links */
  text-decoration: none;
  transition: color 0.25s;
}
a:hover,
a:focus {
  color: #66815B;
  text-decoration: underline;
}
strong {
  font-weight: bold;
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  color: #233145;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
h1 { font-size: 32px; }
h2 { font-size: 24px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
h5, h6 { font-size: 16px; }
@media (min-width: 600px) {
  h1 { font-size: 48px; }
  h2 { font-size: 32px; }
  h3 { font-size: 24px; }
}

p, li {
  font-size: 16px;
  color: #374036;
  margin-bottom: 8px;
}
.subheadline {
  font-size: 18px;
  color: #395B32;
  margin-bottom: 32px;
}

/* ========= LAYOUT BASE ========= */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 2px 10px rgba(119, 150, 136, 0.06);
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 24px 10px;
    margin-bottom: 40px;
    border-radius: 18px;
  }
  .content-wrapper {
    gap: 16px;
  }
}

main {
  margin-top: 0;
}

/* ========= NATURE ORGANIC SHAPE DECOR ========= */
.section:before {
  content: '';
  position: absolute;
  left: -40px;
  top: -30px;
  width: 90px;
  height: 45px;
  background: #A3D2CA33;
  border-radius: 60% 40% 70% 30%/30% 60% 40% 70%;
  z-index: 0;
  pointer-events: none;
  filter: blur(8px);
}
.section:after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -40px;
  width: 110px;
  height: 60px;
  background: #FFD44744;
  border-radius: 40% 70% 50% 60%/60% 30% 70% 40%;
  z-index: 0;
  pointer-events: none;
  filter: blur(10px);
}

/* Remove organic shapes for mobile for performance */
@media (max-width: 500px) {
  .section:before, .section:after {
    display: none;
  }
}

/* ==== FLEXBOX LAYOUTS ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 320px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(119,150,136,0.09);
  padding: 28px 24px;
  min-width: 270px;
  display: flex;
  flex-direction: column;
  transition: transform 0.16s, box-shadow 0.19s;
}
.card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 8px 18px 0 rgba(163, 210, 202, 0.18);
}

.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;
  }
}

.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  min-width: 260px;
  max-width: 370px;
  background: #F8FBF8;
  border-radius: 18px;
  box-shadow: 0 1px 5px 0 rgba(119,130,100,0.06);
  font-size: 16px;
  color: #234117;
  border: 1px solid #A3D2CA26;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  color: #13190D;
  margin-bottom: 0;
}
.testimonial-card .customer-name {
  font-weight: bold;
  color: #395B32;
  font-size: 15px;
  letter-spacing: 0.2px;
}
.testimonial-card .service-type {
  font-size: 14px;
  color: #66815B;
}
.testimonial-card .rating {
  font-size: 18px;
  color: #FFD447;
  letter-spacing: 2px;
  font-family: 'Oswald', Arial, sans-serif;
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px 0 rgba(119,186,131,0.07);
}

/* ===== HERO SECTION ===== */
.hero {
  background: #A3D2CA10;
  padding: 40px 0 70px 0;
  margin-bottom: 40px;
  min-height: 320px;
}
.hero .container { justify-content: center; }
.hero .content-wrapper {
  padding: 30px 0 0 0;
  max-width: 640px;
  align-items: flex-start;
}
.hero h1 {
  font-size: 32px;
  color: #233145;
  margin-bottom: 18px;
}
.hero .subheadline {
  font-size: 18px;
  color: #395B32;
}
@media (min-width: 600px) {
  .hero h1 { font-size: 48px; }
  .hero .subheadline { font-size: 22px; }
}
@media (max-width: 600px) {
  .hero { padding: 18px 0 35px 0; }
}

/* ====== FEATURE GRID ====== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 260px;
  background: #F6F8F5;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(119,186,131,0.05);
  padding: 22px 18px 18px 18px;
  border: 1px solid #E0E3DA;
  transition: box-shadow 0.16s;
}
.feature-item:hover { box-shadow: 0 6px 24px 0 rgba(119,186,131,0.10); }
.feature-item img {
  width: 40px;
  height: 40px;
  filter: grayscale(16%) brightness(0.85);
}
.feature-item h3 {
  color: #395B32;
  font-size: 18px;
  margin-bottom: 3px;
  margin-top: 0px;
}

/* CTA Section */
.cta {
  background: #FFD44712;
  border-radius: 16px;
  box-shadow: none;
  padding: 36px 20px;
  margin-bottom: 50px;
  position: relative;
}
.cta h2 {
  color: #233145;
}
.cta p {
  color: #395B32;
  font-size: 18px;
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-secondary {
  font-family: 'Oswald', Arial, sans-serif;
  padding: 14px 38px;
  border-radius: 30px;
  font-size: 18px;
  display: inline-block;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(163,210,202,0.11);
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.19s, color 0.19s, transform 0.15s, box-shadow 0.15s;
}
.btn-primary {
  background: #395B32;
  color: #fff !important;
}
.btn-primary:hover, .btn-primary:focus {
  background: #66815B;
  transform: translateY(-2px) scale(1.02);
}
.btn-secondary {
  background: #A3D2CA;
  color: #233145;
  border: 2px solid #395B32;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #d3ebe6;
  color: #395B32;
}

/* ====== TABLES ====== */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #FCFDF8;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 1px 8px 0 rgba(119,186,131,0.06);
}
.price-table th, .price-table td {
  padding: 14px 18px;
  text-align: left;
}
.price-table thead th {
  background-color: #A3D2CA22;
  color: #233145;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
}
.price-table tbody tr {
  border-bottom: 1px solid #E0E3DA;
}
.price-table tbody tr:last-child {
  border-bottom: none;
}
.price-table td {
  color: #233145;
  font-size: 16px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}
.faq-item {
  background: #F7FDFB;
  padding: 19px 18px;
  border-radius: 10px;
  box-shadow: 0 1px 5px 0 rgba(163,210,202,0.08);
  border-left: 5px solid #A3D2CA;
  margin-bottom: 10px;
}
.faq-item strong {
  display: block;
  font-family: 'Oswald', Arial, sans-serif;
  color: #233145;
  margin-bottom: 6px;
}

/* Partners List */
.partners-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-left: 0;
  margin-bottom: 0;
}
.partners-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #E0E3DA;
}
.partners-list img {
  width: 38px;
  height: 38px;
}

/* Contact List */
ul li img {
  margin-right: 10px;
  vertical-align: middle;
  width: 22px;
  height: 22px;
  display: inline-block;
}
ul li a {
  text-decoration: underline dotted;
  color: #395B32;
  font-weight: 500;
}
ul li a:hover {
  color: #66815B;
}

/* ================= HEADER ================== */
header {
  background: #F6F6F3;
  box-shadow: 0 2px 8px 0 rgba(163,210,202,0.11);
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 70px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 0;
  padding-bottom: 0;
}
.logo img {
  width: 158px;
  height: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 16px;
  color: #395B32;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 2px 8px 2px 8px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #A3D2CA33;
  color: #233145;
}
header .btn-primary {
  margin-left: 20px;
}

.mobile-menu-toggle {
  display: none;
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    background: none;
    color: #395B32;
    border: none;
    font-size: 32px;
    padding: 8px 14px;
    border-radius: 50%;
    transition: background 0.19s;
    margin-left: 18px;
    z-index: 110;
  }
  .mobile-menu-toggle:active, .mobile-menu-toggle:focus {
    background: #A3D2CA44;
  }
}

/* =========== MOBILE NAV MENU =========== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 240, 0.97);
  z-index: 150;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.75,.07,.36,1.01);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 30px 28px 0 0;
  background: none;
  border: none;
  font-size: 34px;
  color: #395B32;
  cursor: pointer;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background-color: #A3D2CA22;
}
.mobile-nav {
  width: 100vw;
  padding: 44px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  background: none;
  margin-bottom: 40px;
  z-index: 201;
  text-align: left;
}
.mobile-nav a {
  width: 100%;
  padding: 16px 34px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 18px;
  color: #395B32;
  font-weight: 500;
  border-radius: 0 22px 22px 0;
  transition: background 0.15s, color 0.14s;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  background: none;
  position: relative;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A3D2CA33;
  color: #233145;
}

@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ====== FOOTER ====== */
footer {
  background: #F6F6F3;
  padding: 52px 0 16px 0;
  border-top: 2px solid #A3D2CA22;
  font-size: 15px;
}
.footer-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.footer-logo {
  flex: 1 1 240px;
  text-align: left;
  color: #233145;
}
.footer-logo img {
  width: 128px;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 220px;
}
.footer-nav a {
  color: #395B32;
  font-family: 'Roboto', Arial, sans-serif;
  text-transform: uppercase;
  font-size: 15px;
  padding: 2px 4px;
  border-radius: 7px;
  transition: background 0.12s, color 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #A3D2CA22;
  color: #233145;
}
.footer-social {
  flex: 1 1 100px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.footer-social span {
  color: #233145;
  font-weight: bold;
}
.footer-social a img {
  width: 36px; height: 36px;
  filter: grayscale(17%) brightness(0.85);
  margin-right: 7px;
}
.footer-bottom {
  text-align: center;
  color: #8c9b85;
  font-size: 14px;
  border-top: 1.5px dashed #A3D2CA33;
  padding: 12px 0 2px 0;
  letter-spacing: .02em;
}
@media (max-width: 900px) {
  .footer-sections {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .footer-social { flex-direction: row; gap: 12px; }
}

/* ================= Cookie Consent ================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 300;
  background: #fffbe5;
  color: #233145;
  padding: 22px 10vw 14px 10vw;
  border-top: 2px solid #FFD44777;
  box-shadow: 0 -2px 18px 0 rgba(199,179,77,0.08);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.32s, transform 0.35s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(140%);
}
.cookie-banner .cookie-banner-text {
  max-width: 600px;
  font-size: 15px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 15px;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.16s;
}
.cookie-banner .accept-cookies {
  background: #395B32;
  color: #fff;
}
.cookie-banner .accept-cookies:hover, .cookie-banner .accept-cookies:focus {
  background: #66815B;
}
.cookie-banner .reject-cookies {
  background: #F8FBF8;
  border: 1px solid #A3D2CA80;
  color: #395B32;
}
.cookie-banner .reject-cookies:hover, .cookie-banner .reject-cookies:focus {
  background: #A3D2CA26;
}
.cookie-banner .settings-cookies {
  background: #FFD447;
  color: #233145;
}
.cookie-banner .settings-cookies:hover, .cookie-banner .settings-cookies:focus {
  background: #FCF0AD;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 16px 14px 16px;
    gap: 19px;
  }
  .cookie-banner .cookie-btns { width: 100%; }
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 450;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(87,109,73, 0.17);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
  opacity: 0; pointer-events: none;
}
.cookie-modal-overlay.open { opacity: 1; pointer-events: auto; }
.cookie-modal {
  background: #fafcf6;
  border-radius: 20px;
  box-shadow: 0 7px 48px 0 rgba(119,150,136,0.23);
  padding: 38px 20px 24px 32px;
  min-width: 300px;
  max-width: 95vw;
  width: 430px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 17px;
  animation: organicPop 0.46s cubic-bezier(.71,1.5,.5,1);
}
@keyframes organicPop {
  0% { opacity: 0; transform: scale(0.93); }
  60% { transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #233145;
  font-family: 'Oswald', Arial, sans-serif;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 12px 0 9px 0;
  border-bottom: 1.5px dashed #A3D2CA20;
}
.cookie-category:first-child { border-top: 1.5px dashed #A3D2CA20; }
.cookie-category label { color: #395B32; font-weight: bold; font-size: 17px; flex: 1; }
.cookie-category .toggle-input {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #A3D2CA40;
  border-radius: 10px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-category .toggle-input:checked {
  background: #A3D2CA;
}
.cookie-category .toggle-input:before {
  content: "";
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(39,55,45,0.13);
  transition: transform 0.13s;
}
.cookie-category .toggle-input:checked:before {
  transform: translateX(16px);
}
.cookie-category .cookie-locked {
  font-size: 17px;
  color: #233145;
  margin-left: 10px;
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 18px;
  background: none;
  border: none;
  font-size: 28px;
  color: #395B32;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-modal-close:hover,.cookie-modal-close:focus {
  background: #A3D2CA20;
  border-radius: 50%;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .cookie-modal-actions button {
  padding: 9px 19px;
  border-radius: 30px;
  border: none;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.cookie-modal .cookie-save {
  background: #395B32;
  color: #fff;
}
.cookie-modal .cookie-save:hover { background: #66815B; }
.cookie-modal .cookie-cancel {
  background: #fff;
  color: #395B32;
  border: 1px solid #A3D2CA80;
}
.cookie-modal .cookie-cancel:hover { background: #A3D2CA26; }

/* =========== FORMS (if present) ============ */
input, textarea, select {
  font-family: inherit;
  font-size: 16px;
  border-radius: 10px;
  border: 1.5px solid #A3D2CA80;
  padding: 9px 14px;
  margin-bottom: 18px;
  background: #F8FBF8;
  color: #233145;
  box-shadow: 0 1px 3px 0 rgba(165,201,178,0.06);
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #66815B;
}

/* ==== ORGANIC SHAPES ==== */
.organic-shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50% 40% 70% 60%/30% 70% 40% 80%;
  opacity: 0.19;
  filter: blur(2px);
}

/* ===================== RESPONSIVE ========================== */
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding-left: 2vw;
    padding-right: 2vw;
  }
}
@media (max-width: 700px) {
  h1 { font-size: 26px; }
  h2 { font-size: 20px; }
  h3 { font-size: 17px; }
  .card {
    padding: 16px 10px;
  }
}
@media (max-width: 500px) {
  .footer-logo img { width: 100px; }
  .footer-social a img { width: 30px; height: 30px; }
}

/* ======= MISC ORGANIC/NATURE DETAILS ======= */
body {
  background-color: #F6F6F3;
  background-image: url('assets/bg-texture-leaf.png'), linear-gradient(120deg, #f9fbe7 0%, #F6F6F3 100%);
  background-repeat: repeat, no-repeat;
  background-size: 340px, cover;
}

/* Accessibility: proper contrast for testimonials */
.testimonial-card, .testimonials-list, .faq-list, .price-table, .feature-grid, .feature-item, .footer-logo, .footer-nav, .footer-social, .partners-list {
  color-scheme: light;
}

/* ==== End of Nature Organic Theme CSS ==== */
