/* RESET & BASE TYPOGRAPHY ------------------------------------------------------ */
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.7;
  background: #F5F5F0;
  color: #263222;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
a {
  color: #46745d;
  text-decoration: none;
  transition: color 0.16s;
}
a:hover, a:focus {
  color: #5DA49C;
}
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 12px;
}
img {
  max-width: 100%;
  vertical-align: middle;
  border-radius: 8px;
}

/* COLOR VARIABLES ------------------------------------------------------ */
:root {
  --color-primary: #22243A;
  --color-secondary: #5DA49C;
  --color-accent: #F2F2F7;
  --color-bg: #F5F5F0;
  --color-earth-brown: #a0824c;
  --color-earth-clay: #E0DCC7;
  --color-leaf-base: #46745d;
  --color-leaf-mid: #6d9f7e;
  --color-stone: #B2B8A3;
  --color-dark: #22243A;
  --color-text: #263222;
  --color-white: #fff;
  --shadow-soft: 0 4px 24px rgba(68, 94, 74, 0.08);
  --shadow-sm: 0 2px 5px rgba(49, 63, 31, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* CONTAINER & SPACING ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 22px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper, .content-grid, .feature-grid, .service-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.feature-grid, .service-cards {
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F8F8F4;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border-left: 6px solid var(--color-secondary);
  font-size: 1.05em;
  transition: border-color .24s, box-shadow .18s;
}
.testimonial-card strong {
  color: var(--color-leaf-base);
  font-weight: 700;
  margin-left: 12px;
  letter-spacing: .05em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F5F5F0;
  border-radius: 16px;
  padding: 25px 18px;
  min-width: 250px;
  flex: 1 1 275px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.feature-item img {
  display: block;
  height: 42px;
  width: 42px;
  border-radius: 99px;
  background: #ECF2EE;
  padding: 7px;
  margin-bottom: 4px;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(68, 94, 74,.06);
  padding: 22px 20px 18px;
  min-width: 215px;
  flex: 1 1 240px;
  transition: box-shadow .18s, border-color .15s;
  margin-bottom: 20px;
  border-left: 5px solid #d2e7d5;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 6px 30px rgba(68, 94, 74,.12);
  border-left: 5px solid var(--color-secondary);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.text-section {
  margin-bottom: 20px;
}
.cta-area {
  margin-top: 18px;
}

/* HEADER, NAVIGATION, BURGER MENU ------------------------------------------ */
header {
  background: #F8F9F5;
  border-bottom: 1.5px solid #e2e3d9;
  box-shadow: 0 2px 12px rgba(60,76,61, 0.03);
  padding: 0;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  height: 80px;
  gap: 18px;
  position: relative;
}
.logo img {
  height: 46px;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.03em;
  color: var(--color-dark);
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.17s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E0DCC7;
  color: var(--color-secondary);
}
.cta-btn {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12em;
  padding: 13px 28px;
  border: none;
  border-radius: 24px 16px 32px 14px;
  box-shadow: 0 4px 18px rgba(91,150,127,0.13);
  letter-spacing: 0.03em;
  cursor: pointer;
  margin-left: 10px;
  transition: background .19s, box-shadow .19s, transform .15s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #46745d;
  box-shadow: 0 8px 32px rgba(68, 94, 74,.16);
  transform: translateY(-2px) scale(1.04);
  color: #F9FFE8;
}
/* Burger menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--color-secondary);
  cursor: pointer;
  margin-left: 10px;
  z-index: 201;
  line-height: 1;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-secondary);
  background: #E0DCC7;
  border-radius: 50%;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(244, 247, 241, 0.94);
  z-index: 200;
  transform: translateX(-101vw);
  transition: transform 0.33s cubic-bezier(.69,.05,.68,1.2);
  display: flex;
  flex-direction: column;
  padding: 0;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-earth-brown);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  padding: 9px 13px 10px 13px;
  position: absolute;
  top: 20px;
  right: 22px;
  cursor: pointer;
  z-index: 202;
  transition: background .17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-leaf-base);
}
.mobile-nav {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  align-items: flex-start;
  padding-left: 34px;
}
.mobile-nav a {
  font-size: 1.16em;
  color: var(--color-dark);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 8px 10px 8px 0;
  border-radius: 9px 18px 10px 22px;
  transition: background .18s, color .17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e0dcc7;
  color: var(--color-secondary);
}

/* HERO & HEADINGS ------------------------------------------------------------- */
h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 20px;
  line-height: 1.16;
}
h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-leaf-base);
  margin-bottom: 15px;
  letter-spacing: .02em;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: #473c2d;
  margin-bottom: 12px;
}
h1 + p, h2 + p, h3 + p { margin-top: -7px; }
p, li {
  font-family: var(--font-body);
  color: var(--color-text);
  font-size: 1rem;
}
strong { font-weight: 700; }
.section .container > h2, .section .container > h1 {
  margin-top: 0;
  margin-bottom: 22px;
}

/* CARD, FEATURE, TESTIMONIAL STYLES - NATURE ORGANIC TOUCHES ---------------- */
.card, .feature-item, .service-card, .testimonial-card {
  box-shadow: var(--shadow-sm);
  border-radius: 18px;
}
.feature-item, .service-card {
  background: #f7f5ef;
  border-left: 5px solid var(--color-leaf-base);
}
.testimonial-card {
  border: 0;
  border-left: 6px solid var(--color-secondary);
  background: #F8F8F4;
}

/* ORGANIC SHAPE PATTERNS ---------------------------------------------------- */
/* subtle organic patterns */
.section {
  background-image: url('../assets/deco-organic1.svg');
  background-repeat: no-repeat;
  background-position: right calc(100% - 20px) top -44px;
  background-size: 120px auto;
  border-radius: var(--radius-lg);
}
@media (max-width: 768px) {
  .section {
    background-size: 72px auto;
    background-position: right top;
    border-radius: 0;
  }
}

/* BUTTONS & INTERACTIONS ---------------------------------------------------- */
button, .cta-btn, .mobile-menu-close {
  cursor: pointer;
  outline: none;
  border: none;
  font-family: var(--font-display);
}
button:focus-visible, .cta-btn:focus-visible, .mobile-menu-close:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}
.cta-btn, .btn {
  transition: background .18s, color .16s, box-shadow .17s, transform .12s;
}
.btn-secondary {
  background: var(--color-earth-brown);
  color: var(--color-white);
  border-radius: 12px 22px 13px 14px;
  padding: 11px 23px;
  font-size: 1em;
  font-family: var(--font-display);
  font-weight: 600;
} 
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-leaf-base);
  color: #f9ffe8;
}

/* LISTS, LINKS, MISC -------------------------------------------------------- */
li {
  margin-bottom: 10px;
  font-size: 1rem;
}
a:active { color: var(--color-leaf-mid); }

/* FOOTER -------------------------------------------------------------------- */
footer {
  background: #E0DCC7;
  color: #373A21;
  font-size: 1rem;
  margin-top: 60px;
  padding-top: 35px;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  box-shadow: 0 -2px 20px rgba(99, 102, 79, 0.07);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 24px;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 10px;
  width: 100%;
}
.footer-top img {
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(133, 119, 69, 0.07);
  background: #fff8e9;
  padding: 7px;
}
.contact-info p {
  margin-bottom: 8px;
  font-size: 0.99em;
  color: #473c2d;
}
footer nav {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.footer-nav a, .legal-links a {
  color: var(--color-dark);
  transition: color .17s;
  font-size: 0.98em;
  font-family: var(--font-body);
}
.footer-nav a:hover, .legal-links a:hover {
  color: var(--color-secondary);
}
footer .social-links {
  margin-top: 8px;
  display: flex;
  gap: 14px;
}
footer p:last-child {
  font-size: 0.93em;
  color: #7e8a75;
  margin-top: 10px;
}

/* COOKIE CONSENT BANNER ---------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 300;
  background: #f7f7ed;
  color: #2e3220;
  box-shadow: 0 -6px 38px rgba(84, 106, 70, 0.13);
  padding: 25px 26px 19px 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  justify-content: flex-start;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  font-size: 1rem;
  transform: translateY(120%);
  opacity: 0;
  transition: transform .39s cubic-bezier(.7,.04,.45,1.17), opacity .24s;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner .cookie-banner-message {
  flex: 1 1 auto;
}
.cookie-banner .cookie-btn-area {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1em;
  font-weight: 600;
  border-radius: 16px;
  padding: 9px 22px;
  margin: 0;
  border: none;
}
.cookie-accept-btn {
  background: var(--color-secondary);
  color: #fff;
  transition: background .18s, box-shadow .17s;
}
.cookie-accept-btn:hover, .cookie-accept-btn:focus {
  background: var(--color-leaf-base);
  color: #fffef9;
}
.cookie-reject-btn {
  background: #E0DCC7;
  color: #463E28;
  border: 1.5px solid #c3b78f;
  transition: background .18s;
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus {
  background: #c3b78f;
  color: #fff;
}
.cookie-settings-btn {
  background: #fff;
  color: var(--color-leaf-base);
  border: 1px solid #bdb897;
  transition: background .14s;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #f4f2e9;
}

/* COOKIE PREFERENCES MODAL -------------------------------------------------- */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -110%) scale(0.95);
  opacity: 0;
  z-index: 400;
  min-width: 320px;
  max-width: 95vw;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 46px rgba(84, 106, 70, 0.13);
  padding: 32px 28px 21px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform .41s cubic-bezier(.7,.04,.45,1.17), opacity .18s;
}
.cookie-modal.visible {
  opacity: 1;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h2 {
  margin-top: 0;
  margin-bottom: 13px;
  color: var(--color-leaf-base);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 13px;
}
.cookie-modal .toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.cookie-modal .toggle input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 22px;
  height: 22px;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .cookie-save-btn {
  background: var(--color-secondary);
  color: #fff;
  border-radius: 14px;
  padding: 10px 18px;
  border: none;
  font-weight: 600;
}
.cookie-modal .cookie-cancel-btn {
  background: #f3f3e9;
  color: #22243A;
  border-radius: 14px;
  border: 1px solid #d2d2b4;
  padding: 10px 18px;
  font-weight: 600;
}
.cookie-modal .cookie-save-btn:hover, .cookie-modal .cookie-save-btn:focus {
  background: var(--color-leaf-base);
}
.cookie-modal .cookie-cancel-btn:hover, .cookie-modal .cookie-cancel-btn:focus {
  background: #e0dcc7;
}

/* MEDIA QUERIES (MOBILE-FIRST) --------------------------------------------- */
@media (min-width: 600px) {
  .content-wrapper, .content-grid { gap: 24px; }
  .service-card { min-width: 260px; }
  .feature-item { min-width: 240px; }
}
@media (min-width: 768px) {
  .content-wrapper, .content-grid {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
  }
  .feature-grid {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
  }
  .service-cards {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }
  .main-nav {
    display: flex;
  }
  .mobile-menu-toggle {
    display: none;
  }
}
@media (max-width: 1020px) {
  .container { max-width: 96vw; }
}
@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
    gap: 12px;
    height: auto;
    padding: 18px 15px;
  }
}
@media (max-width: 768px) {
  body, p, li, ul, ol, .cta-btn { font-size: 1em; }
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .footer-top {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .section { padding: 28px 4px; margin-bottom: 32px; }
  .content-wrapper, .feature-grid, .service-cards, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card, .feature-item, .service-card {
    min-width: 0;
    width: 100%;
  }
  .mobile-nav { margin-top: 60px; padding-left: 22px; gap: 18px; }
  h1 { font-size: 1.44rem; }
  h2 { font-size: 1.16rem; }
  h3 { font-size: 1.03rem; }
  .footer-nav, .legal-links { flex-direction: column; gap: 8px; }
  .footer-nav a, .legal-links a { font-size: 1em; }
}
@media (max-width: 600px) {
  .container { padding: 0 7px; }
  .cookie-banner { flex-direction: column; gap: 18px; font-size: .98em; padding: 17px 6px 12px 10px; }
  .cookie-banner .cookie-btn-area { gap: 10px; }
  .cookie-modal { min-width: 0; max-width: 96vw; padding: 18px 8px 13px 10px; }
}

/* ANIMATIONS FOR ORGANIC, NATURAL FEEL ------------------------------------- */
.cta-btn, .btn, .card, .feature-item, .service-card, .testimonial-card {
  transition: box-shadow .19s, transform .14s, border-color .15s, background .15s;
}
.cta-btn:active, .btn:active {
  transform: scale(.97);
}
.card:hover, .feature-item:hover, .service-card:hover {
  box-shadow: 0 8px 30px rgba(68, 94, 74,.13);
  transform: translateY(-2px) scale(1.02);
  border-left: 6px solid var(--color-secondary);
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(91,150,127,0.13);
  border-left: 6px solid var(--color-leaf-base);
}

/* FORMATTING "ORGANIC" ASYMMETRY ------------------------------------------- */
.feature-item, .service-card {
  border-radius: 24px 12px 32px 18px;
}
.testimonial-card {
  border-radius: 20px 16px 10px 24px;
}
.cta-btn {
  border-radius: 24px 16px 32px 14px;
}

/* MISC UTILITIES ----------------------------------------------------------- */
.d-none { display: none !important; }
[hidden] { display: none !important; }

/* REMOVE SCROLLBAR FOR MOBILE MENU ----- */
.mobile-menu {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* PREVENT ABSOLUTE FOR CARDS ETC. (EXCEPT ICONS/DECO) */
.card, .feature-item, .service-card, .testimonial-card, .content-wrapper {
  position: relative;
}

/* FOCUS/ACCESSIBILITY ------------------------------------------------------ */
*:focus-visible {
  outline: 2.5px solid var(--color-secondary);
  outline-offset: 2px;
}

/* ENSURE GAPS/MARGINS BETWEEN CARDS/SECTIONS------------------------------- */
section, .section {
  margin-bottom: 60px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.card, .feature-item, .testimonial-card, .service-card {
  margin-bottom: 20px;
}

/* WHITE SPACE FOR BREATHING ROOM ------------------------------------------ */
@media (min-width: 1200px) {
  .container {
    max-width: 1210px;
    padding: 0 36px;
  }
}

