/* === CSS 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,
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 {
  font-family: 'Roboto', Arial, sans-serif;
  background: #f7f9fa url('../assets/textures/organic-paper.png') repeat;
  color: #2b2d2a;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.02em;
  position: relative;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}

a {
  color: #2E7D9F;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover, a:focus {
  color: #216158;
  text-decoration: underline;
}

/* === BRAND FONTS === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #193452;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.15;
}

h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

h4, h5, h6 {
  margin-bottom: 10px;
}

.subtitle {
  color: #5b5e57;
  font-size: 1.2rem;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 20px;
}

p, ul, ol {
  margin-bottom: 16px;
}

ul, ol {
  padding-left: 24px;
}

strong {
  font-weight: 600;
  color: #295a3a;
}

/* === CONTAINER & FLEX PATTERNS === */
.container {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 16px;
}

.content-wrapper {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 28px 0 rgba(34, 70, 26, 0.07);
}

@media (max-width: 768px) {
  .section {
    padding: 26px 6px;
    margin-bottom: 40px;
  }
}

/* === FLEXBOX PATTERNS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fcfdfb;
  margin-bottom: 20px;
  position: relative;
  border-radius: 15px;
  box-shadow: 0 1px 8px 0 rgba(34, 70, 26, 0.05);
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
}
.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;
    gap: 18px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f0f7f2;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 1px 8px 0 rgba(34, 70, 26, 0.09);
  border: 1.5px solid #d2dfd2;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 576px) {
  .card, .testimonial-card {
    padding: 18px 10px;
  }
}

/* == HERO SECTION == */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}

section:first-of-type {
  background: linear-gradient(135deg, #fcfdfb 65%, #e5ede5 100%);
  margin-bottom: 48px;
}

/* == MAIN NAVIGATION == */
header {
  background: #f7f9fa;
  box-shadow: 0 1px 10px 0 rgba(28,40,13,0.04);
  padding-top: 8px;
  padding-bottom: 8px;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  color: #245c3b;
  font-weight: 500;
  font-size: 16px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #e5ede5;
  color: #193452;
}
.btn-primary {
  font-family: 'Montserrat', sans-serif;
  background: #2E7D9F;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 36px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 24px 0 rgba(29,53,82,0.09);
  cursor: pointer;
  margin-left: 8px;
  margin-right: 8px;
  display: inline-block;
  transition: background 0.24s, transform 0.15s;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #245c3b;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
 
@media (max-width: 1020px) {
  .main-nav {
    gap: 10px;
  }
}

@media (max-width: 900px) {
  header .container {
    gap: 10px;
    padding: 0 6px;
  }
  .main-nav {
    display: none;
  }
  .btn-primary {
    margin-right: 0;
  }
}

/* == MOBILE MENU == */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: #193452;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 51;
  position: relative;
  padding: 7px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #e5ede5;
}

@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: inline-block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(237, 244, 228, 0.98);
  z-index: 100;
  padding: 0;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  transition: transform 0.35s cubic-bezier(0.75, -0.02, 0.34, 1.11), opacity 0.25s;
}
.mobile-menu.open {
  display: flex;
  animation: mobileMenuSlideIn 0.35s cubic-bezier(0.75, -0.02, 0.34, 1.11);
}
@keyframes mobileMenuSlideIn {
  0% { opacity: 0; transform: translateX(100%); }
  100% { opacity: 1; transform: translateX(0); }
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  gap: 16px;
  margin-top: 48px;
  padding: 32px 28px 0 28px;
}
.mobile-menu-close {
  font-size: 2rem;
  color: #193452;
  background: none;
  border: none;
  margin: 16px 28px 0 0;
  align-self: flex-end;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.18s;
  z-index: 101;
}
.mobile-menu-close:hover {
  background: #e2ede2;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #245c3b;
  padding: 10px 0;
  width: 100%;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #cdf0e1;
  color: #193452;
}

/* == SECTION HEADINGS/UX == */
.section h2, .content-wrapper > h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
  color: #193452;
  letter-spacing: 0.01em;
}

.section h3, h3 {
  font-size: 1.28rem;
  color: #245c3b;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

/* == FEATURE GRID == */
.feature-grid,
ul.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  margin-bottom: 12px;
  padding: 0;
}
.feature-grid > li, .feature-grid > div {
  flex: 1 1 240px;
  background: #fbfcfa;
  border-radius: 18px;
  padding: 20px 18px 20px 22px;
  box-shadow: 0 2px 18px 0 rgba(33, 94, 68, 0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-width: 220px;
  min-height: 190px;
  transition: box-shadow 0.25s, transform 0.2s;
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 9px;
}
.feature-grid > li:hover, .feature-grid > div:hover {
  box-shadow: 0 4px 20px 0 rgba(41, 90, 58, 0.14);
  transform: translateY(-4px) scale(1.03);
}

@media (max-width: 900px) {
  .feature-grid {
    gap: 18px;
  }
  .feature-grid > li, .feature-grid > div {
    min-width: 136px;
    padding: 16px 10px;
    font-size: 0.99rem;
  }
}
@media (max-width: 640px) {
  .feature-grid {
    flex-direction: column;
  }
  .feature-grid > li, .feature-grid > div {
    width: 100%;
    min-width: unset;
    min-height: 136px;
  }
}
/* == SERVICE LISTS == */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-bottom: 18px;
  padding: 0;
  align-items: stretch;
}

.service-list > li {
  flex: 1 1 220px;
  background: #FAFDFB;
  border-radius: 16px;
  padding: 20px 18px 20px 22px;
  box-shadow: 0 1px 7px 0 rgba(41, 90, 58, 0.07);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 160px;
  position: relative;
}

.service-list .price {
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 700;
  background: #e5ede5;
  color: #295a3a;
  border-radius: 8px;
  padding: 4px 10px;
  align-self: flex-start;
}

@media (max-width: 800px) {
  .service-list {
    gap: 14px;
  }
  .service-list > li {
    min-width: 130px;
    padding: 13px 5px 13px 10px;
    font-size: 0.98rem;
  }
}
@media (max-width: 600px) {
  .service-list {
    flex-direction: column;
  }
  .service-list > li {
    width: 100%;
    min-width: unset;
    margin-bottom: 14px;
  }
}

.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.blog-list article {
  flex: 1 1 280px;
  background: #fbfcfa;
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow: 0 1px 7px 0 rgba(41, 90, 58, 0.06);
  margin-bottom: 12px;
  transition: box-shadow 0.22s, transform 0.16s;
}
.blog-list article:hover {
  box-shadow: 0 3px 18px 0 rgba(41,90,58,0.13);
  transform: translateY(-4px) scale(1.03);
}
@media (max-width: 650px) {
  .blog-list {
    flex-direction: column;
    gap: 12px;
  }
  .blog-list article {
    width: 100%;
  }
}

/* == PLAN COMPARISON, SERVICE INCLUSIONS, CATEGORIES == */
.plan-comparison, .service-inclusions, .blog-categories {
  background: #f5f9f8;
  border-radius: 16px;
  margin-bottom: 16px;
  padding: 17px 20px;
  box-shadow: 0 1px 6px 0 rgba(27,53,82,0.03);
}
.plan-comparison h3,
.service-inclusions h3,
.blog-categories h3 {
  font-size: 1.09rem;
  color: #295a3a;
  margin-bottom: 10px;
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
}
.plan-comparison ul,
.service-inclusions ul,
.blog-categories ul {
  margin-bottom:0;
  padding-left:18px;
}

/* == MAP EMBED == */
.map-embed {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 6px;
  margin-top: 8px;
  margin-bottom: 14px;
}
.map-embed img {
  width: 100%;
  max-width: 360px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(27,53,82,0.06);
}

@media (max-width: 600px) {
  .map-embed img {
    max-width: 100%;
  }
}

/* === TABLES (PRICING) === */
table {
  width: 100%;
  border-collapse: collapse;
  background: #f7f9fa;
  border-radius: 12px;
  margin-bottom: 24px;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  box-shadow: 0 1px 8px 0 rgba(33, 94, 68, 0.059);
  overflow: hidden;
}
thead {
  background: #e5ede5;
}
thead th {
  padding: 16px 10px;
  font-size: 1.06rem;
  color: #21551e;
  font-weight: 600;
  text-align: left;
  border-bottom: 2px solid #d2dfd2;
}
tbody td {
  padding: 12px 10px;
  border-bottom: 1px solid #e9e9df;
}
tbody tr:last-child td {
  border-bottom: none;
}
td {
  color: #294e42;
}

/* === TESTIMONIALS === */
blockquote {
  font-style: italic;
  color: #1c4030;
  margin-bottom: 8px;
  quotes: "\201C" "\201D" "\2018" "\2019";
  font-size: 1.09rem;
  position: relative;
  line-height: 1.7;
  z-index: 2;
}
blockquote:before {
  content: open-quote;
  color: #95BC68;
  font-size: 3rem;
  vertical-align: -0.5em;
  line-height: 1;
  margin-right: 6px;
  opacity: 0.32;
  font-family: 'Montserrat', serif;
}
cite {
  color: #295a3a;
  font-style: normal;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-top: 4px;
}

/* === NEWSLETTER SIGNUP === */
.newsletter-signup {
  background: #e5ede5;
  border-radius: 18px;
  padding: 18px 26px;
  margin-top: 36px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 1px 8px 0 rgba(27,53,82,0.03);
}

/* === FOOTER === */
footer {
  background: #f7f9fa;
  margin-top: 36px;
  border-top: 2px solid #e3ece3;
  font-size: 0.98rem;
  color: #406645;
  padding: 38px 0 14px 0;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
.footer-brand img {
  width: 48px;
  height: auto;
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #2E7D9F;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.17s;
}
.footer-nav a:hover {
  color: #193452;
}
.footer-contact p, .footer-contact a {
  color: #406645;
  line-height: 1.5;
  font-size: 0.98rem;
}
footer p {
  margin: 0;
  margin-top: 14px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 0 6px;
  }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #193452;
  color: #fff;
  padding: 18px 16px 18px 24px;
  z-index: 2000;
  box-shadow: 0 0 24px 0 rgba(28,43,13,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  transition: transform 0.3s, opacity 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner-text {
  max-width: 74vw;
  font-size: 1rem;
  line-height: 1.6;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 9px 20px;
  margin: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cookie-btn.accept {
  background: #95BC68;
  color: #193452;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #bbdcb9;
  color: #193452;
}
.cookie-btn.reject {
  background: #ec948b;
  color: #193452;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e67668;
}
.cookie-btn.settings {
  background: #dde8d4;
  color: #295a3a;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #cdf0e1;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 12px 8px 14px 12px;
  }
  .cookie-banner-text {
    max-width: 100vw;
    font-size: 0.98rem;
  }
}

/* === COOKIE SETTINGS MODAL === */
.cookie-modal {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 2100;
  background: rgba(39, 58, 38, 0.17);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.24s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #f9fdf8;
  border-radius: 22px;
  box-shadow: 0 4px 40px 0 rgba(41,106,58,0.13);
  max-width: 410px;
  width: 86vw;
  padding: 34px 28px 23px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  font-size: 1rem;
  color: #193452;
}
.cookie-modal-content h2 {
  font-size: 1.3rem;
  color: #295a3a;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 7px;
  font-weight: 600;
}
.cookie-modal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
}
.cookie-modal-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
  font-size: 1rem;
}
.cookie-modal-list label {
  color: #21551e;
}
.cookie-modal-toggle {
  width: 36px;
  height: 18px;
  background: #dde8d4;
  border-radius: 18px;
  position: relative;
  cursor: pointer;
  vertical-align: middle;
  display: inline-block;
  transition: background 0.22s;
}
.cookie-modal-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}
.cookie-modal-toggle .toggle-circle {
  position: absolute;
  left: 3px; top: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #95BC68;
  transition: transform 0.2s;
}
.cookie-modal-toggle input:checked + .toggle-circle {
  transform: translateX(17px);
  background: #2E7D9F;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 2px;
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 15px;
  background: none;
  border: none;
  font-size: 1.12rem;
  color: #295a3a;
  cursor: pointer;
  border-radius: 50%;
  padding: 7px;
  transition: background 0.19s;
}
.cookie-modal-close:hover {
  background: #e3ede3;
}

/* === ORGANIC/NATURE-INSPIRED ELEMENTS === */
.section, .feature-grid > li, .service-list > li, .plan-comparison, .service-inclusions, .testimonial-card, .blog-list article, .newsletter-signup, .cookie-modal-content {
  border-radius: 18px;
  box-shadow: 0 2px 19px 0 rgba(33, 94, 68, 0.05);
}
.section, .content-wrapper, .text-section, .testimonial-card, .feature-item {
  background-image: url('../assets/textures/organic-paper.png'), none;
  background-repeat: repeat;
}

/* Add hand-drawn organic lines as decorative pseudo-elements */
.section > .container > .content-wrapper > h2::before {
  content: '';
  display: block;
  width: 60px; height: 6px;
  background: #95BC68;
  border-radius: 11px;
  margin-bottom: 8px;
  opacity: 0.28;
}

/* === FORM ELEMENTS === */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 15px;
  border-radius: 7px;
  border: 1.5px solid #dde8d4;
  box-shadow: none;
  margin-bottom: 18px;
  transition: border-color 0.16s;
  background: #fcfdfb;
  color: #193452;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #2E7D9F;
}
button {
  font-family: inherit;
  font-size: 1rem;
}

/* == GENERAL RESPONSIVE LAYOUT == */
@media (max-width: 1120px) {
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
}
@media (max-width: 750px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.29rem; }
  .btn-primary { font-size: 0.99rem; padding: 9px 23px; }
}
@media (max-width: 600px) {
  .content-wrapper { gap: 13px; }
  h1 { font-size: 1.4rem; margin-bottom: 9px; }
  h2 { font-size: 1.08rem; }
  .section { padding: 18px 2px; margin-bottom: 26px; }
}

/* == MISC == */
::-webkit-input-placeholder { color: #8c997c; opacity: 1; }
::-moz-placeholder { color: #8c997c; opacity: 1; }
:-ms-input-placeholder { color: #8c997c; opacity: 1; }
::placeholder { color: #8c997c; opacity: 1; }

/* Hide scrollbars on mobile menu when open */
.mobile-menu, .cookie-modal { -webkit-overflow-scrolling: touch; }

/* === ACCESSIBILITY === */
:focus-visible {
  outline: 2.5px dashed #2E7D9F;
  outline-offset: 0.5px;
}

/* === PRINT STYLES === */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff; color: #222; font-size: 14px; }
}
