/* === 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, main, 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 {
  height: 100%;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  background: #f5f7fa;
  color: #242c1e;
  -webkit-font-smoothing: antialiased;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* === FONT FACE === */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background-color: #f5f7fa;
  color: #353b2f;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #195075;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 8px; }

p, li, blockquote {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  margin-bottom: 12px;
  color: #374132;
}
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 2px 12px rgba(51,65,52,0.08);
  position: relative;
}
@media (max-width: 768px) {
  section, .section {
    padding: 28px 8px;
    margin-bottom: 40px;
    border-radius: 16px;
  }
}

/* === BRAND & EARTHY COLOR PALETTE === */
:root {
  --color-primary: #195075;
  --color-secondary: #76B5C5;
  --color-accent: #F5F7FA;
  --color-forest: #476357;
  --color-earth: #a48e6c;
  --color-green: #7ca87a;
  --color-brown: #b3a078;
  --color-sand: #ede7d2;
  --color-card-bg: #f6f7f2;
  --color-btn: #476357;
  --color-btn-text: #fff;
  --color-shadow: rgba(76, 92, 83, 0.10);
  --color-text-dark: #2e3a19;
  --color-text-light: #f5f7fa;
}


/* === CONTAINER / WRAPPER === */
.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* === HEADER / NAVIGATION === */
header {
  background: transparent;
  padding-top: 20px;
  padding-bottom: 12px;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(180deg, #F5F7FA 90%, rgba(117,181,197,0.02) 100%);
  box-shadow: 0 2px 6px 0 rgba(60,72,51,0.03);
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header a img {
  width: 130px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
header nav a {
  color: var(--color-forest);
  padding: 7px 12px;
  border-radius: 14px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 600;
  transition: background 0.25s, color 0.21s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-green);
  color: #fff;
}
header .btn-primary {
  margin-left: 20px;
}
/* === MOBILE MENU TOGGLE === */
.mobile-menu-toggle {
  font-size: 2.4rem;
  color: var(--color-forest);
  background: var(--color-sand);
  padding: 4px 16px;
  border-radius: 12px;
  border: 2px solid var(--color-green);
  position: relative;
  display: none;
  transition: background .27s, color .20s;
  z-index: 130;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-green);
  color: #fff;
}
/* MOBILE MENU BASE */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-accent);
  box-shadow: 2px 0 50px rgba(76, 92, 83, 0.10);
  transform: translateX(-105%);
  transition: transform 0.37s cubic-bezier(.4,.4,0,1), box-shadow .18s;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 22px 28px 22px;
  min-width: 200px;
  gap: 28px;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 4px 0 80px 0 rgba(25,80,117,0.13);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: none;
  color: var(--color-forest);
  border: none;
  margin-bottom: 16px;
  border-radius: 11px;
  transition: background .27s, color .18s;
  padding: 8px 23px 8px 8px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-green);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 19px;
  color: var(--color-forest);
  background: transparent;
  padding: 12px;
  border-radius: 13px;
  transition: background 0.23s, color 0.21s;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-earth);
  color: #fff;
}
@media (max-width: 1050px) {
  header nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1051px) {
  .mobile-menu {
    display: none !important;
  }
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(120deg, #e8eadc 60%, var(--color-accent) 100%);
  border-radius: 38px;
  margin-bottom: 60px;
  padding: 60px 0 56px 0;
  box-shadow: 0 1px 15px 0 rgba(60,72,51,0.07);
  display: flex;
  flex-direction: column;
}
@media (max-width: 950px) {
  .hero {
    border-radius: 24px;
    padding: 38px 0 28px 0;
  }
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
  background: transparent;
}
.hero h1 {
  color: var(--color-forest);
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.hero p {
  color: #476357;
  max-width: 560px;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

/* === BUTTONS === */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-green);
  color: var(--color-btn-text);
  font-size: 1.12rem;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 49px;
  border: none;
  padding: 13px 36px;
  min-width: 130px;
  transition: background-color 0.23s, color 0.18s, transform 0.17s;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-top: 5px;
  margin-bottom: 5px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-forest);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 20px var(--color-shadow);
}
.btn-secondary {
  background: var(--color-secondary);
  color: #195075;
  font-weight: 600;
  border: 2px solid var(--color-secondary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-earth);
  color: #fff;
  border-color: var(--color-earth);
  transform: translateY(-2px) scale(1.02);
}

/* === FLEX CONTAINERS & LAYOUTS === */
.feature-grid, .card-container, .service-list, .content-grid, .card-grid, .trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div, .service-card, .card {
  background: var(--color-card-bg);
  border-radius: 21px;
  box-shadow: 0 2px 9px var(--color-shadow);
  padding: 34px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 250px;
  flex: 1 1 240px;
}
.feature-grid img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 11px;
}
.trust-badges img {
  height: 38px;
  width: auto;
  margin-right: 21px;
  display: inline-block;
}
.trust-badges {
  align-items: center;
  gap: 14px;
  margin-top: 0;
  margin-bottom: 5px;
}
@media (max-width: 950px) {
  .feature-grid, .card-container, .service-list, .content-grid, .trust-badges {
    gap: 14px;
  }
  .feature-grid > div, .service-card, .card {
    min-width: 180px;
    padding: 24px 13px 13px 13px;
  }
  .trust-badges img {
    height: 29px;
  }
}
@media (max-width: 700px) {
  .feature-grid, .card-container, .service-list, .content-grid, .trust-badges {
    flex-direction: column;
    gap: 11px;
    width: 100%;
  }
  .feature-grid > div, .service-card, .card {
    min-width: 0;
    padding: 19px 7px 14px 7px;
  }
  .trust-badges img {
    margin-right: 7px;
  }
}

.card {
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 1px 5px var(--color-shadow);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* === text-image section (about, etc.) === */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}

/* === testimonial === */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-accent);
  border-radius: 22px;
  box-shadow: 0 2px 8px var(--color-shadow);
  margin-bottom: 22px;
  color: #15311f;
  font-size: 1.07rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  transition: box-shadow .23s, transform .13s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 25px var(--color-shadow);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card blockquote {
  font-style: italic;
  color: var(--color-forest);
  font-size: 1.13rem;
  line-height: 1.5;
  quotes: '“' '”' '‘' '’';
  margin-right: 12px;
}
.testimonial-card blockquote:before { content: open-quote; color: var(--color-green); font-size: 1.7em; line-height: .2; vertical-align: -.2em; padding-right: 2px;}
.testimonial-card blockquote:after { content: close-quote; color: var(--color-green); font-size: 1.7em; line-height: .2; vertical-align: -.2em; padding-left: 2px; }
.testimonial-card p {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 0;
  color: #195075;
  font-weight: 700;
}

/* === feature-item === */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-card-bg);
  border-radius: 17px;
  padding: 21px 13px;
  margin-bottom: 18px;
  box-shadow: 0 1px 8px var(--color-shadow);
}

/* === LIST & TEXT STYLING === */
.text-section ul, .text-section ol { margin-left: 25px; margin-bottom: 12px; }
.text-section ul li, .text-section ol li {
  list-style: disc inside;
  padding-left: 2px;
  margin-bottom: 6px;
}
.text-section p { margin-bottom: 10px; }
.text-section {
  font-size: 1.05rem;
  color: #2e3a19;
}
.text-section img {
  margin-right: 7px;
  vertical-align: middle;
  width: 18px;
  height: 18px;
}

/* === FORMS & INPUTS (demo - prepare) === */
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  background: #f6f7f2;
  color: var(--color-primary);
  border-radius: 10px;
  border: 1.5px solid #b3a078;
  padding: 11px 13px;
  margin-bottom: 15px;
  transition: border .18s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-green);
  outline: none;
  box-shadow: 0 1px 7px var(--color-shadow);
}

/* === FOOTER === */
footer {
  background: linear-gradient(90deg, #e6eadd 70%, #f5f7fa 100%);
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -2px 9px var(--color-shadow);
  padding: 34px 0 24px 0;
  width: 100%;
  margin-top: 44px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  width: 100%;
  max-width: 1150px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
}
footer nav a {
  color: #797a74;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  border-radius: 9px;
  padding: 6px 12px;
  transition: background .18s, color .18s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--color-sand);
  color: var(--color-forest);
}
footer .text-section p {
  color: #767662;
  margin-bottom: 0;
}
@media (max-width: 850px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  footer nav {
    gap: 10px;
  }
}
footer img {
  width: 100px; margin-bottom: 0;
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 650px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  .section, section, .hero { padding: 22px 3vw; }
  .content-wrapper { gap: 16px; }
}

/* === SPACING FOR ALL FLEX CARDS / SECTIONS === */
.card-container,.feature-grid,.service-list,.content-grid{
  gap: 24px;
}
.card {
  margin-bottom: 20px;
}
.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; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
/* mobile col layouts */
@media (max-width: 768px) {
  .content-grid, .feature-grid, .service-list, .card-container {
    flex-direction: column;
    gap: 12px;
  }
  .section, section {
    padding-left: 6px; padding-right: 6px;
  }
}

/* === ACCESSIBLE FOCUS STYLES === */
a, .btn-primary, .btn-secondary, button {
  outline: none;
}
a:focus-visible, .btn-primary:focus-visible, .btn-secondary:focus-visible, button:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: 2px;
}

/* === MICRO-INTERACTIONS === */
.btn-primary, .btn-secondary, .testimonial-card, .card, .feature-item, .mobile-menu, .mobile-menu-close, .mobile-menu-toggle {
  transition-property: background, color, box-shadow, transform;
  transition-duration: 0.22s, 0.16s, 0.23s, 0.15s;
  transition-timing-function: cubic-bezier(.42,0,.58,1);
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #ede7d2;
  color: #2b3c25;
  box-shadow: 0 -2px 12px rgba(50,60,41,0.12);
  padding: 21px 8px 21px 18px;
  z-index: 400;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 0.99rem;
  animation: slideInBanner .6s cubic-bezier(.51,0,.68,1);
}
@keyframes slideInBanner {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-left: auto;
}
.cookie-banner button, .cookie-banner .btn {
  display: inline-flex;
  align-items: center;
  background: var(--color-green);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 1rem;
  padding: 8px 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: background .17s, color .14s, transform .13s;
}
.cookie-banner button:hover, .cookie-banner button:focus, .cookie-banner .btn:hover, .cookie-banner .btn:focus {
  background: var(--color-forest);
  color: #fff;
  transform: scale(1.03);
}
.cookie-banner .btn-settings {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-banner .btn-settings:hover {
  background: var(--color-earth);
  color: #fff;
}
@media (max-width: 750px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 10px 4vw 16px 7vw;
  }
  .cookie-banner .cookie-btns {
    margin-left: 0;
  }
}

/* === COOKIE CONSENT MODAL === */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,40,19, 0.22);
  z-index: 420;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeInModal .33s cubic-bezier(.68,0,.48,1);
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #f6f7f2;
  border-radius: 26px;
  max-width: 420px;
  width: 98vw;
  padding: 32px 24px 20px 24px;
  box-shadow: 0 3px 32px 0 rgba(25,80,117,0.16);
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 1;
  animation: bounceIn .42s cubic-bezier(.43,1.8,.47,1);
  position: relative;
}
@keyframes bounceIn {
  0% { opacity: 0; transform: scale(.85); }
  60% { opacity: 1; transform: scale(1.04); }
  80% { transform: scale(.98); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal-content h2 {
  margin-bottom: 14px;
  font-size: 1.4rem;
  color: var(--color-forest);
}
.cookie-modal-content .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #ede7d2;
  color: var(--color-forest);
  border-radius: 14px;
  padding: 7px 13px;
  font-size: 1.01rem;
  margin-bottom: 9px;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  cursor: pointer;
}
.cookie-modal-content input[type='checkbox'] {
  width: 20px; height: 20px;
  accent-color: var(--color-green);
}
.cookie-modal-content .cookie-modal-close {
  position: absolute;
  top: 11px; right: 14px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--color-forest);
  border-radius: 10px;
  padding: 0 8px 0 4px;
  transition: background .21s, color .16s;
}
.cookie-modal-content .cookie-modal-close:hover,
.cookie-modal-content .cookie-modal-close:focus {
  background: var(--color-green);
  color: #fff;
}
.cookie-modal-content .cookie-modal-actions {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal-content .btn {
  background: var(--color-green);
  color: #fff;
  border-radius: 21px;
  padding: 9px 20px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: background .16s;
}
.cookie-modal-content .btn:hover, .cookie-modal-content .btn:focus {
  background: var(--color-forest);
}

/* Checkbox disable for essential cookies */
.cookie-modal-content input[type="checkbox"][disabled], .cookie-modal-content input[type="checkbox"][aria-checked="true"][disabled] {
  accent-color: #a48e6c;
  opacity: 0.74;
  cursor: not-allowed;
}

/* === ORGANIC / NATURE-INSPIRED DECORATIVE ELEMENTS === */
section, .section, .card, .btn-primary, .btn-secondary, .hero, .testimonial-card, .feature-grid > div, .trust-badges img {
  border-radius: 24px 48px 32px 17px/40px 16px 39px 24px;
  /* organic uneven radii */
}

hr, .organic-separator {
  border: none;
  border-bottom: 2.2px dashed #b3a078;
  margin: 32px 0 18px 0;
  background: none;
  width: 90%;
  align-self: center;
  opacity: 0.6;
}

/* === SHADOWS === */
.card, .feature-grid > div, .testimonial-card, .service-card {
  box-shadow: 0 4px 20px var(--color-shadow);
}

/* === ACCESSIBILITY - CONTRAST FOR TESTIMONIALS === */
.testimonial-card {
  background: #f4fbf0;
  color: #193025;
}
.testimonial-card blockquote {
  color: #2b3c25;
}
.testimonial-card p {
  color: #195075;
}

/* === MISC === */
::-webkit-scrollbar {
  width: 12px;
  background: #f6f7f2;
}
::-webkit-scrollbar-thumb {
  background: #b3a078;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #7ca87a;
}

/* === ANIMATION FOR MOBILE MENU === */
@media (max-width: 1050px) {
  .mobile-menu {
    will-change: transform;
  }
}

/* === UTILITIES === */
.mb-0 { margin-bottom: 0 !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-30 { margin-bottom: 30px !important; }
.mt-16 { margin-top: 16px !important; }
.mt-32 { margin-top: 32px !important; }
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }

/* === REMOVE OUTER MARGIN FROM FIRST CHILD SECTION === */
main > section:first-child {
  margin-top: 0 !important;
}
