/* CSS RESET & BASE =============================== */
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,
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;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F7F6F3;
  color: #22324F;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* FONT IMPORTS (Google Fonts) */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* BRAND COLORS (Earth Tones, Nature Accents) */
:root {
  --primary: #22324F;
  --secondary: #4FA47F;
  --accent: #F7F6F3;
  --earth1: #D3CBB8; /* sand/beige */
  --earth2: #8B734A; /* oak brown */
  --green-accent: #4FA47F;
  --leaf: #8DB786;
  --stone: #F2EEE7;
  --clay: #B7A16C;
  --cta-gradient: #4FA47F;
}

/* LAYOUT CONTAINERS =============================== */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 18px;
}

/* TYPOGRAPHY =============================== */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, li, address {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.7;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
li + li {
  margin-top: 8px;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--secondary);
  margin-bottom: 16px;
}
a {
  color: var(--secondary);
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--earth2);
  text-decoration: none;
}

/* HEADER =============================== */
header {
  background: var(--accent);
  padding: 0;
  border-bottom: 2.5px solid var(--earth1);
  box-shadow: 0 2px 10px rgba(34, 50, 79, 0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 18px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 8px;
  color: var(--primary);
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: var(--stone);
  color: var(--secondary);
}
header img {
  height: 40px;
  width: auto;
  margin-right: 20px;
}
.cta-primary {
  font-family: 'Montserrat', sans-serif;
  background: var(--secondary);
  color: #fff;
  border-radius: 30px;
  padding: 11px 30px;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  text-decoration: none;
  box-shadow: 0 2px 16px 0 rgba(79,164,127,0.12);
  letter-spacing: 0.02em;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  margin-left: 16px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(79,164,127,0.18);
}

/* MOBILE MENU ================================ */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 8px;
  padding: 6px 16px;
  cursor: pointer;
  margin-left: 12px;
  box-shadow: 0px 1px 7px rgba(34, 50, 79, 0.06);
  transition: background 0.2s, color 0.2s;
  z-index: 1002;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--accent);
  box-shadow: 0 12px 36px rgba(34,50,79,0.15);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(-104vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(.8,0,.2,1), opacity 0.3s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  margin: 16px 24px 0 0;
  align-self: flex-end;
  background: var(--secondary);
  color: #fff;
  border: none;
  font-size: 2.3rem;
  border-radius: 8px;
  padding: 5px 18px;
  cursor: pointer;
  box-shadow: 0px 1px 8px rgba(34,50,79,0.1);
  transition: background 0.2s, color 0.2s;
  z-index: 1003;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin-top: 60px;
  margin-left: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  color: var(--primary);
  text-decoration: none;
  padding: 8px 0;
  border-radius: 8px;
  background: none;
  min-width: 180px;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--stone);
  color: var(--secondary);
}

/* HERO SECTIONS =============================== */
.hero {
  background: linear-gradient(120deg, var(--accent) 85%, rgba(143,182,134,0.16) 95%);
  border-radius: 0 0 42px 42px;
  box-shadow: 0 5px 18px -6px rgba(164,154,115,0.13);
  margin-top: 0;
  margin-bottom: 60px;
  padding: 48px 0 36px 0;
  display: flex;
}
.hero .container {
  justify-content: center;
  align-items: center;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.3rem;
}
.hero .subheadline {
  font-size: 1.15rem;
  max-width: 620px;
  color: var(--leaf);
  margin-bottom: 18px;
}

/* SECTION PATTERNS (MANDATORY) ================= */
.content-grid,
.feature-grid,
.service-grid,
.detailed-service-cards,
.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.content-grid {
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(139, 115, 74, 0.07);
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .service-card:hover {
  box-shadow: 0 4px 26px 0 rgba(139, 115, 74, 0.13);
  transform: translateY(-7px) scale(1.012);
}
.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: 20px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURE / SERVICE CARDS ====================== */
.feature,
.service-card,
.benefit {
  background: #fff;
  border-radius: 18px;
  padding: 28px 22px;
  box-shadow: 0 2px 14px 0 rgba(143, 182, 134, 0.08);
  min-width: 260px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.17s;
}
.feature img {
  height: 38px;
  width: auto;
  margin-bottom: 10px;
}
.detailed-service-cards, .benefits-grid {
  margin-top: 20px;
}
.service-detail {
  background: var(--stone);
  border-left: 5px solid var(--secondary);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 7px 0 rgba(143,182,134,0.07);
  transition: border 0.18s;
}
.service-detail:hover {
  border-left: 5px solid var(--primary);
}

/* TESTIMONIALS (MANDATORY CONTRAST) ============ */
.testimonials {
  background: var(--stone);
  border-radius: 22px;
  padding: 40px 0;
  margin-bottom: 60px;
}
.testimonials .content-wrapper {
  gap: 32px;
}
.testimonial-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 17px 0 rgba(79,164,127,0.07);
  padding: 20px 32px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #22324F;
  transition: box-shadow 0.18s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 26px 0 rgba(34,50,79,0.11);
  transform: translateY(-2px) scale(1.007);
}
.testimonial-card p {
  font-size: 1.10rem;
  color: #22324F;
  flex: 1 1 70%;
}
.testimonial-card span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary);
  flex: 0 1 30%;
}

/* CTA SECTION ================================== */
.cta {
  background: var(--green-accent);
  border-radius: 28px;
  box-shadow: 0 6px 30px 0 rgba(34,50,79,0.09);
  padding: 36px 0 38px 0;
  display: flex;
  align-items: center;
}
.cta h2 {
  color: #fff;
  margin-bottom: 22px;
}
.cta .cta-primary {
  background: #fff;
  color: var(--green-accent);
  border: 2px solid #fff;
  margin-left: 0;
  margin-top: 12px;
}
.cta .cta-primary:hover, .cta .cta-primary:focus{
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* FOOTER ======================================= */
footer {
  background: var(--primary);
  color: #fff;
  border-radius: 28px 28px 0 0;
  margin-top: 48px;
  box-shadow: 0 -6px 18px 0 rgba(34,50,79,0.06);
  padding: 32px 0 12px 0;
}
footer .container {
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: #fff;
}
.footer-nav a {
  color: #fff;
  opacity: 0.87;
  text-decoration: underline;
  padding: 2px 5px;
  transition: color 0.2s, opacity 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--green-accent);
  opacity: 1;
}
footer address, footer div {
  color: #fff;
  opacity: 0.85;
  margin: 8px 0;
}
footer address a {
  color: var(--green-accent);
}

/* ABOUT TRUSTED BY =========================== */
.trusted-by {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  font-size: 0.97rem;
  color: var(--earth2);
}
.trusted-by img {
  background: #fff;
  border-radius: 8px;
  padding: 6px;
  height: 36px;
  width: auto;
  box-shadow: 0 1px 4px rgba(139,115,74,0.06);
}

/* CONTACT PAGE =============================== */
.contact-details ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
  color: var(--primary);
}
.contact-details img {
  height: 24px;
  width: 24px;
  opacity: 0.82;
}
.address-map p {
  margin-top: 19px;
  padding-left: 6px;
}

/* LEGAL SECTIONS ============================== */
.legal {
  background: var(--stone);
  border-radius: 22px;
  padding: 40px 0;
  margin-bottom: 60px;
}
.legal .text-section {
  margin-top: 18px;
}
.legal ul {
  margin-bottom: 22px;
}
.legal h2 {
  margin-top: 30px;
}

/* CONFIRMATION PAGE =========================== */
.confirmation {
  background: var(--stone);
  border-radius: 18px;
  min-height: 320px;
  box-shadow: 0 2px 18px rgba(143,182,134,0.06);
  padding: 50px 0 30px 0;
  margin-bottom: 60px;
}
.confirmation h1 {
  color: var(--secondary);
  font-size: 2.2rem;
}
.confirmation ul {
  margin-bottom: 24px;
}
.confirmation .cta-primary {
  margin-top: 30px;
}

/* BUTTON STYLES =============================== */
button, .cta-primary {
  outline: none;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
  cursor: pointer;
}

/* ANCHORS, FOCUS VISIBLE (ACCESSIBILITY) ======= */
a:focus-visible, button:focus-visible, .cta-primary:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 1px;
}

/* ANIMATIONS & TRANSITIONS ==================== */
.card, .feature, .service-card, .benefit, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover, .feature:hover, .service-card:hover, .benefit:hover, .testimonial-card:hover {
  box-shadow: 0 6px 28px 0 rgba(34,50,79,0.13);
  transform: translateY(-3px) scale(1.018);
}

/* COOKIE CONSENT BANNER ======================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 2px solid var(--leaf);
  box-shadow: 0 -2px 16px 0 rgba(79,164,127,0.10);
  padding: 26px 20px 20px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 1500;
  transition: transform 0.34s cubic-bezier(.7,0,.3,1), opacity 0.3s;
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-text {
  color: var(--primary);
  max-width: 530px;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-button {
  border: none;
  border-radius: 25px;
  padding: 10px 26px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--leaf);
  color: #fff;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 1px 7px rgba(143,182,134,0.07);
}
.cookie-button.accept {
  background: var(--secondary);
}
.cookie-button.reject {
  background: var(--earth2);
}
.cookie-button.settings {
  background: var(--primary);
  color: #fff;
}
.cookie-button:hover, .cookie-button:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-button.settings:hover, .cookie-button.settings:focus {
  background: var(--secondary);
}

/* COOKIE MODAL ================================ */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(34,50,79,0.26);
  z-index: 1550;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 2px 24px 0 rgba(34,50,79,0.18);
  padding: 36px 30px 28px 30px;
  min-width: 320px;
  max-width: 98vw;
  font-family: 'Roboto', sans-serif;
  position: relative;
  z-index: 1600;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 11px;
  color: var(--primary);
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-modal-category label {
  font-family: 'Roboto', sans-serif;
  color: var(--primary);
  font-weight: 500;
}
.cookie-modal-toggle {
  appearance: none;
  width: 34px;
  height: 18px;
  background: var(--earth1);
  border-radius: 10px;
  position: relative;
  outline: none;
  transition: background 0.16s;
}
.cookie-modal-toggle:checked {
  background: var(--secondary);
}
.cookie-modal-toggle::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px #8882;
  transition: left 0.18s;
}
.cookie-modal-toggle:checked::before {
  left: 18px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 24px;
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 18px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.75;
}
.cookie-modal-close:hover {
  color: var(--secondary);
  opacity: 1;
}

/* RESPONSIVE LAYOUTS =========================== */
@media (max-width: 1100px) {
  .container {
    padding: 0 12px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-grid, .detailed-service-cards, .benefits-grid, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature, .service-card, .benefit {
    min-width: 180px;
    width: 100%;
  }
}
@media (max-width: 880px) {
  .footer-nav {
    flex-direction: column;
    gap: 3px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  header nav {
    display: none;
  }
  .cta-primary {
    margin-left: 2px;
    padding: 11px 18px;
    font-size: 1.05rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 5px;
  }
  .hero {
    padding: 26px 0 28px 0;
    border-radius: 0 0 19px 19px;
    margin-bottom: 38px;
  }
}
@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  .section {
    padding: 24px 6px;
    margin-bottom: 28px;
    border-radius: 12px;
  }
  .feature, .service-card, .benefit {
    padding: 18px 9px;
    font-size: 0.955rem;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 18px 10px;
    gap: 13px;
  }
  footer {
    padding: 16px 0 8px 0;
  }
}
@media (max-width: 450px) {
  .mobile-nav a {
    min-width: unset;
    font-size: 1rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 17px 10px 12px 10px;
  }
  .cookie-modal {
    padding: 18px 6px 14px 6px;
    min-width: 0;
    font-size: 0.97rem;
  }
}

/* NATURAL ORGANIC STYLING ===================== */
.section {
  /* earth-like background accent */
  background: linear-gradient(57deg, var(--stone) 70%, #faf8f3 100%);
  box-shadow: 0 2px 15px 0 rgba(139, 115, 74, 0.09);
  border-radius: 22px;
}
.feature, .service-card, .benefit {
  /* organic, subtly irregular border (SVG or shadow would be used in real design) */
  border-radius: 18px 24px 20px 16px;
  box-shadow: 0 4px 18px 0 rgba(143,182,134,0.08);
  border: 1.5px solid #ece8e1;
}
.card {
  border-radius: 20px 13px 26px 16px;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(79,164,127,0.07);
}
footer {
  border-radius: 28px 16px 0 0;
}
.trusted-by img, .feature img {
  border-radius: 9px 16px 13px 7px;
}

/* MICRO-INTERACTIONS ========================= */
.cta-primary, .cookie-button, .service-detail {
  transition: background 0.17s, color 0.17s, border 0.17s, box-shadow 0.16s;
}
.cta-primary:active, .cookie-button:active {
  box-shadow: 0 2px 7px rgba(34,50,79,0.09);
  background: var(--leaf);
  color: #fff;
}

/* END */
