/* =========================
   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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #FAF9F5;
  color: #2C2C1B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  outline: none;
  background: none;
  border: none;
  box-shadow: none;
}
ul, ol {
  list-style: none;
}

/* =========================
   CUSTOM PROPERTIES
   ========================= */
:root {
  --primary: #244D89;
  --secondary: #F2C230;
  --accent: #285935;
  --forest: #2B4627;
  --offwhite: #FAF9F5;
  --earth-dark: #3A2916;
  --earth-mid: #AB9046;
  --sand: #F6EFD7;
  --green-light: #A6C8A3;
  --shadow-card: 0 2px 16px 0 rgba(44,76,34,0.07);
  --shadow-elevation: 0 3px 12px 0 rgba(44,76,34,0.13);
  --radius-card: 18px;
  --radius-btn: 32px;
  --radius-section: 38px;
  --focus-outline: 2px solid var(--secondary);
}

/* =========================
   TYPOGRAPHY
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--forest);
}
h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  font-weight: 600;
}
h1, h2, h3, h4 {
  line-height: 1.18;
}
p, ul, ol, blockquote {
  font-size: 1rem;
  color: var(--earth-dark);
  line-height: 1.7;
  margin-bottom: 16px;
}
ul, ol {
  padding-left: 22px;
}
strong {
  font-weight: 700;
  color: var(--forest);
}
a:hover, a:focus {
  color: var(--primary);
}
blockquote {
  background: var(--sand);
  border-left: 4px solid var(--primay, #244D89);
  padding: 14px 24px;
  margin-bottom: 16px;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--forest);
}

/* ============
   CONTAINER
   ============ */
.container {
  width: 100%;
  max-width: 1190px;
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
}
.content-wrapper {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

/* ============
   HEADER & NAV
   ============ */
header {
  background: var(--offwhite);
  box-shadow: 0 2px 12px rgba(42,67,26,0.03);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}
header img {
  max-height: 48px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  padding: 7px 16px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 1rem;
  color: var(--forest);
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: var(--green-light);
  color: var(--primary);
}
.cta-btn {
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--radius-btn);
  padding: 11px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-left: 6px;
  box-shadow: 0 2px 10px rgba(36,77,137,0.07);
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border: none;
  transition: background 0.17s, box-shadow 0.17s, color 0.17s;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: var(--forest) !important;
  box-shadow: 0 6px 28px rgba(36,77,137,0.08);
  outline: var(--focus-outline);
}
.cta-btn.secondary {
  background: var(--sand);
  color: var(--primary) !important;
  box-shadow: 0 1px 8px rgba(100,90,10,0.07);
  border: 1.1px solid var(--earth-mid);
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: var(--secondary);
  color: var(--forest) !important;
  border-color: var(--secondary);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2.3rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 41;
}
.mobile-menu-toggle:focus {
  outline: var(--focus-outline);
}

/* ================
   MOBILE MENU NAV
   ================ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(44,76,34,0.97);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px 24px 24px;
  transform: translateX(100vw);
  transition: transform 0.37s cubic-bezier(0.47,1.54,0.27,0.82);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.3rem;
  background: none;
  color: #fff;
  align-self: flex-end;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  border: none;
  margin-bottom: 20px;
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-menu-close:focus {
  outline: var(--focus-outline);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  color: #fff;
  padding: 13px 18px;
  border-radius: var(--radius-btn);
  background: none;
  transition: background 0.18s;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--earth-dark);
  outline: var(--focus-outline);
}

/* Hide desktop nav on mobile & show burger */
@media (max-width: 980px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

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

/* ====================
   SECTIONS & LAYOUTS
   ==================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-section);
  background: var(--offwhite);
  box-shadow: 0 3px 22px 0 rgba(42,67,26,0.04);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.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;
}
.feature-grid, .benefit-list, .service-category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.feature, .benefit, .service-category {
  background: var(--sand);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 20px 22px 20px;
  flex: 1 1 270px;
  min-width: 250px;
  max-width: 325px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s, transform 0.22s;
}
.feature:hover, .benefit:hover, .service-category:hover {
  box-shadow: var(--shadow-elevation);
  transform: translateY(-4px) scale(1.03);
}
.feature img, .benefit img, .service-category img {
  width: 48px;
  height: 48px;
}

.services-list, .tips-list, .faq-list, .project-categories-list ul {
  margin-bottom: 24px;
  padding-left: 18px;
}
.services-list li, .tips-list li, .faq-list li, .project-categories-list ul li {
  margin-bottom: 12px;
  line-height: 1.55;
  font-size: 1.08rem;
}
.mini-case-study {
  background: var(--green-light);
  padding: 16px 22px;
  border-radius: var(--radius-card);
  margin-bottom: 22px;
  box-shadow: var(--shadow-card);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--sand);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 18px 18px;
  transition: box-shadow 0.21s, transform 0.21s;
}
.card:hover {
  box-shadow: var(--shadow-elevation);
  transform: translateY(-2px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.testimonials {
  background: var(--green-light);
  box-shadow: 0 7px 32px 0 rgba(42,76,34,0.12);
  border-radius: var(--radius-section);
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 20px 24px;
  margin-bottom: 20px;
  color: var(--earth-dark);
}
.testimonial-card:last-child {
  margin-bottom: 0;
}
.testimonial-stars {
  display: flex;
  flex-direction: row;
  gap: 3px;
  margin-bottom: 8px;
  align-items: center;
  height: 24px;
}
.testimonial-card blockquote {
  padding: 0;
  margin: 0 0 6px 0;
  background: none;
  border: none;
  color: var(--forest);
  font-size: 1.08rem;
}
.testimonial-card p strong {
  color: var(--primary);
}

/* ==================
   TABLES & FAQ
   ================== */
.service-price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--sand);
  box-shadow: 0 2px 8px 0 rgba(42,67,26,0.03);
  border-radius: var(--radius-card);
  margin-bottom: 30px;
  margin-top: 10px;
  overflow: hidden;
}
.service-price-table th, .service-price-table td {
  padding: 15px 18px;
  font-size: 1rem;
}
.service-price-table thead {
  background: var(--primary);
  color: #fff;
}
.service-price-table th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.service-price-table tbody tr:nth-child(odd) {
  background: var(--sand);
}
.service-price-table tbody tr:nth-child(even) {
  background: #fff;
}
.price-notes, .discount-info {
  background: var(--green-light);
  padding: 14px 18px;
  border-radius: var(--radius-btn);
  margin-bottom: 20px;
  font-size: 0.97rem;
  color: var(--forest);
}
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.faq {
  background: var(--sand);
  padding: 16px 20px;
  border-radius: var(--radius-card);
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  min-width: 250px;
  flex: 1 1 320px;
}
.faq h3 {
  font-size: 1.1rem;
  color: var(--primary);
}

.trust-badges {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-top: 18px;
}
.trust-badges img {
  width: 50px;
  height: 50px;
}
.benefit-icons {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 18px;
}
.benefit-icons img {
  width: 46px;
  height: 46px;
}

/* ===============
   FORMS & CONTACT
   =============== */
.contact-details, .text-section {
  margin-bottom: 24px;
}
.contact-details p, .text-section p {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-details a {
  color: var(--primary);
  text-decoration: underline;
  transition: text-decoration 0.15s;
}
.contact-details a:hover {
  text-decoration: none;
  color: var(--secondary);
}

/* ============
   FOOTER
   ============ */
footer {
  background: var(--primary);
  color: #fff;
  padding: 40px 0 18px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 5px 16px;
  border-radius: var(--radius-btn);
  transition: background 0.19s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--secondary);
  color: var(--forest);
  outline: var(--focus-outline);
}
.contact-info {
  color: #fff;
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 16px;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.contact-info img {
  width: 24px;
  height: 24px;
}
.footer-copy {
  opacity: 0.78;
  font-size: 0.96rem;
  text-align: left;
  color: #fff;
}

@media (min-width: 701px) {
  .footer-nav {
    flex-direction: row;
  }
  footer .container {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }
  .contact-info {
    width: 40%;
  }
  .footer-copy {
    width: 30%;
  }
}

/* ===================
   COOKIE CONSENT BAR
   =================== */
#cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  background: var(--sand);
  color: var(--forest);
  box-shadow: 0 2px 16px rgba(42,76,34,0.11);
  border-radius: var(--radius-btn);
  padding: 18px 22px;
  z-index: 2200;
  min-width: 310px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1rem;
  animation: appear-bottom 0.6s;
}
@keyframes appear-bottom {
  from { opacity:0; transform:translate(-50%, 40px); }
  to { opacity:1; transform:translate(-50%, 0); }
}
#cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}
.cookie-btn {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-btn);
  border: none;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.13s;
  box-shadow: 0 1px 6px rgba(36,77,137,0.07);
}
.cookie-btn.secondary {
  background: var(--secondary);
  color: var(--forest);
}
.cookie-btn.settings {
  background: var(--sand);
  color: var(--primary);
  border: 1px solid var(--primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--forest);
  color: #fff;
  outline: var(--focus-outline);
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: var(--primary);
  color: var(--secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--secondary);
  color: var(--forest);
}

/* Cookie modal */
#cookie-modal-overlay {
  position: fixed;
  z-index: 3000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(44,76,34,0.55);
  display: none;
  align-items: center;
  justify-content: center;
}
#cookie-modal-overlay.open {
  display: flex;
  animation: cookie-fadein 0.5s;
}
@keyframes cookie-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
#cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 42px 0 rgba(44,76,34,0.21);
  min-width: 310px; max-width: 89vw;
  padding: 32px 32px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--forest);
}
#cookie-modal h2 {
  font-size: 1.23rem;
  margin-bottom: 13px;
}
.cookie-prefs-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--sand);
  border-radius: var(--radius-btn);
  padding: 13px 18px;
  margin-bottom: 10px;
}
.cookie-switch {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.cookie-switch input[type='checkbox'] {
  width: 38px;
  height: 20px;
  accent-color: var(--primary);
  cursor: pointer;
}
.cookie-switch label {
  margin-left: 8px;
  font-size: 1rem;
}
#cookie-modal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  justify-content: flex-end;
}
#cookie-modal .modal-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: -16px;
  margin-right: -8px;
  transition: color .2s;
}
#cookie-modal .modal-close:hover, #cookie-modal .modal-close:focus {
  color: var(--secondary);
}

/* =============================
   NATURE ORGANIC DECOR ELEMENTS
   ============================= */
section, .testimonial-card, .card, .feature, .benefit {
  /* Subtle natural shadow and slight color variation */
  background-image: url("data:image/svg+xml,%3Csvg width='260' height='90' viewBox='0 0 260 90' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M258.284 3.11452C252.798 -3.47381 241.204 7.16183 207.214 17.8871C173.223 28.6123 165.929 9.8329 133.516 13.0299C101.104 16.227 91.2307 43.1191 65.1534 44.6628C39.0761 46.2064 19.857 68.417 8.32859 76.6639C-3.19979 84.9107 46.1806 89.6617 81.8191 88.8488C117.458 88.0358 252.924 91.5618 259.449 84.1834C265.974 76.8049 263.77 9.70285 258.284 3.11452Z' fill='%23A6C8A3' fill-opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
}
.feature, .benefit, .service-category {
  border: 1.2px solid var(--green-light);
}

/* =========================
   RESPONSIVE BREAKPOINTS
   ========================= */
@media (max-width: 1120px) {
  .container {
    max-width: 98vw;
    padding-right: 9px;
    padding-left: 9px;
  }
  section {
    max-width: 100vw;
    padding: 34px 3vw;
  }
}
@media (max-width: 900px) {
  .feature-grid, .benefit-list, .service-category-grid {
    gap: 14px;
  }
}
@media (max-width: 820px) {
  .content-wrapper {
    max-width: 98vw;
  }
  .footer-copy {
    width: 100%;
    text-align: left;
    margin-top: 10px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.42rem;
  }
  h3 {
    font-size: 1.10rem;
  }
  section {
    margin-bottom: 32px;
    padding: 26px 7px;
    border-radius: 18px;
  }
  .feature-grid, .benefit-list, .service-category-grid, .faq-list {
    flex-direction: column;
    gap: 12px;
  }
  .feature, .benefit, .service-category, .faq {
    min-width: unset;
    max-width: 95vw;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 10px;
  }
  .testimonial-card {
    padding: 13px 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
  }
  .trust-badges, .benefit-icons {
    gap: 8px;
  }
}
@media (max-width: 540px) {
  header .container {
    flex-direction: row;
    gap: 6px;
    height: 61px;
    padding: 0 5px;
  }
  .cta-btn {
    padding: 8px 15px;
    font-size: 1rem;
  }
  .hero {
    padding: 18px 0 8px 0;
  }
  .mobile-menu {
    padding: 18px 8px 12px 8px;
  }
}

/* ===============
   ANIMATIONS & EFFECTS
   =============== */
section, .feature, .card, .testimonial-card, .faq, .benefit, .service-category {
  transition: box-shadow 0.22s, border 0.19s, background 0.19s, transform 0.21s;
}
.btn, .cta-btn, .cookie-btn {
  transition: background 0.2s, color 0.15s, box-shadow 0.13s, outline 0.13s, transform .14s;
}
.cta-btn:active, .cookie-btn:active {
  transform: scale(0.96);
}

/* =======================
   ACCESSIBILITY & OTHERS
   ======================= */
a:focus-visible, button:focus-visible, .cookie-btn:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #6b6950; opacity: .92; }
::-moz-placeholder { color: #6b6950; opacity: .92; }
:-ms-input-placeholder { color: #6b6950; opacity: .92; }
::placeholder { color: #6b6950; opacity: .92; }

/* Utility for top-alignment if needed */
.align-start {
  align-items: flex-start !important;
}
.align-center {
  align-items: center !important;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Remove default button and input styling on mobile */
input[type="submit"], button, .cta-btn, .cookie-btn {
  appearance: none;
}

/* ==============================
   CUSTOM CLASSES & ELEMENT FIXES
   ============================== */
.hero {
  background: var(--green-light);
  border-radius: var(--radius-section) var(--radius-section) 0 0;
  min-height: 162px;
  padding-top: 44px;
  padding-bottom: 38px;
  text-align: left;
  box-shadow: 0 16px 52px rgba(42,67,26,0.07);
  margin-bottom: 45px;
}
.hero h1 {
  color: var(--forest);
}
.hero p {
  color: var(--earth-dark);
  margin-bottom: 20px;
}

/* Modal disables scroll on open */
body.modal-open {
  overflow: hidden;
}

/* Prevent content overlap on all flex containers! */
.card, .testimonial-card, .feature, .benefit, .service-category, .faq {
  margin-bottom: 20px;
}
.card:last-child, .testimonial-card:last-child, .feature:last-child, .benefit:last-child, .service-category:last-child, .faq:last-child {
  margin-bottom: 0;
}

/* Ensure minimum spacing between all major blocks, cards, features, FAQs, etc. */
section > .container, .main > .container {
  margin-bottom: 20px !important;
}

/* ===============
   PRINT STYLES
   =============== */
@media print {
  body, section, .container {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  nav, .mobile-menu, .mobile-menu-toggle, #cookie-banner, #cookie-modal-overlay {
    display: none !important;
  }
}
