/* =========================
   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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background-color: #F0E4D3;
  color: #233E44;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  text-align: left;
  padding: 10px 8px;
}
th {
  background: #A7BFA7;
  font-weight: 700;
}
tr:nth-child(even) {
  background: #F0E4D3;
}

/* ================
   BRAND COLOR PALETTE
   ================ */
:root {
  --color-primary: #233E44;
  --color-secondary: #A7BFA7;
  --color-accent: #F0E4D3;
  --color-dark: #233E44;
  --color-light: #F9F8F3;
  --color-success: #568746;
  --color-warning: #D2A974;
  --color-error: #BD5656;
  --color-grey-100: #f8f6f2;
  --color-grey-400: #B6B9B2;
  --shadow-card: 0 2px 18px 0 rgba(35,62,68,0.08);
}

/* =========================
   TYPOGRAPHY
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}
p, ul, ol, blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #233E44;
  margin-bottom: 16px;
}
blockquote {
  font-style: italic;
  margin: 0 0 12px 0;
  color: #23462b;
  position: relative;
}
blockquote:before {
  content: '“';
  font-size: 2.5rem;
  color: var(--color-secondary);
  position: absolute;
  left: -18px;
  top: -12px;
}
cite {
  font-style: normal;
  color: #568746;
  font-size: 1rem;
}
strong, b {
  font-weight: 700;
  color: #23462b;
}

/* =========================
   GENERAL LAYOUT & SPACING
   ========================= */
.container {
  width: 100%;
  max-width: 1120px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 44px 24px 32px 48px / 32px 48px 44px 24px;
  background: var(--color-light);
  box-shadow: 0 2px 28px 0 rgba(35,62,68,0.09);
  transition: box-shadow 0.3s;
}
.section:last-child {
  margin-bottom: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 28px 18px 28px 28px / 18px 28px 28px 18px;
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 360px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 36px 0 rgba(35,62,68,0.16);
  transform: translateY(-3px) scale(1.02);
}
.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;
  background: #fff;
  border-radius: 32px 22px 32px 32px / 22px 32px 32px 22px;
  box-shadow: 0 1px 16px 0 rgba(50,73,56, 0.11);
  margin-bottom: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.testimonial-card blockquote {
  color: #1F2F22;
  font-size: 1.13rem;
  max-width: 620px;
  margin-bottom: 0;
}
.testimonial-card cite {
  margin-left: 18px;
  color: #568746;
  font-size: 1rem;
  font-weight: 600;
}
.testimonial-card:hover {
  box-shadow: 0 6px 36px 0 rgba(89,124,95,0.13);
  transform: translateY(-2px) scale(1.01);
}

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

/* Ensure all direct children spaced */
.card-container > *,
.content-wrapper > *,
.content-grid > *,
.text-image-section > *,
.section > *,
.container > * {
  margin-bottom: 0;
}

/* ===============
   NAVIGATION
   =============== */
header {
  background: var(--color-accent);
  box-shadow: 0 1px 16px 0 rgba(38, 54, 46, 0.06);
  position: sticky;
  top: 0;
  z-index: 20;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 0 20px 0;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #23462b;
  border-radius: 20px;
  padding: 8px 14px;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.main-nav img {
  height: 44px;
  width: auto;
  margin-right: 16px;
}

/* PRIMARY BUTTON */
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 13px 30px;
  border-radius: 25px 18px 28px 22px / 18px 28px 22px 25px;
  box-shadow: 0 1px 10px 0 rgba(35,62,44,0.08);
  transition: background 0.15s, box-shadow 0.15s, transform 0.18s;
  outline: none;
  border: none;
  margin-left: 8px;
  display: inline-block;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: #568746;
  color: #fff;
  box-shadow: 0 3px 15px 0 rgba(89,124,95,0.13);
  transform: translateY(-2px) scale(1.03);
}

/* =================
   MOBILE MENU
   ================= */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 26px;
  top: 28px;
  z-index: 51;
  font-size: 2rem;
  color: var(--color-primary);
  background: none;
  border: none;
  border-radius: 50%;
  height: 42px;
  width: 44px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #233E44ee;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.65,0,.76,1.02);
  z-index: 999;
  box-shadow: 0 5px 20px 0 rgba(40,54,38,0.19);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  margin: 26px 24px 16px 0;
  align-self: flex-start;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 43px 24px 24px 36px;
  gap: 24px;
  background: #F0E4D3;
  border-radius: 36px 0 0 36px;
  min-width: 220px;
  min-height: 100vh;
  box-shadow: -2px 0 22px #0d120d09;
}
.mobile-nav a {
  color: #233E44;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 14px 12px 14px 6px;
  border-radius: 18px;
  transition: background 0.12s, color 0.12s;
  font-weight: 500;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #23462b;
}

/* ================
   FOOTER
   ================ */
footer {
  background: var(--color-accent);
  border-radius: 36px 36px 0 0;
  margin-top: 40px;
  box-shadow: 0 -1px 15px 0 rgba(50,73,56, 0.065);
  width: 100%;
}
footer .container {
  padding: 24px 20px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
}
footer img {
  height: 40px;
  width: auto;
}
.footer-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #233E44;
  opacity: .82;
  padding: 7px 12px;
  border-radius: 16px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-secondary);
  color: #23462b;
  opacity: 1;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.social-links a img {
  height: 28px;
  width: 28px;
  opacity: 0.85;
  transition: opacity 0.12s;
}
.social-links a:hover img, .social-links a:focus img {
  opacity: 1;
}

/* ================
   LISTS & ICONS
   ================ */
ul > li {
  margin-bottom: 13px;
  padding-left: 40px;
  position: relative;
  font-size: 1rem;
}
ul > li:last-child {
  margin-bottom: 0;
}
ul > li img {
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
}
ol {
  counter-reset: item;
  margin-left: 20px;
}
ol > li {
  font-size: 1rem;
  position: relative;
  margin-bottom: 10px;
  padding-left: 32px;
}
ol > li:before {
  counter-increment: item;
  content: counter(item) '.';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.quick-answers ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 0;
  margin-top: 9px;
  padding-left: 0;
}
.quick-answers li {
  padding-left: 0;
  background: var(--color-secondary);
  border-radius: 15px 22px 11px 18px / 18px 11px 22px 15px;
  color: var(--color-dark);
  padding: 7px 16px;
  font-size: 0.98rem;
  font-weight: 500;
  margin-bottom: 0 !important;
}

/* ================
   TABLE
   ================ */
table {
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 28px;
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(35,62,44,0.07);
}
th, td {
  border-bottom: 1px solid #ecdec8;
}
tr:last-child th, tr:last-child td {
  border-bottom: none;
}

/* ================
   FAQ ACCORDION
   ================ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.faq-accordion h3 {
  cursor: pointer;
  font-size: 1.05rem;
  color: #233E44;
  background: var(--color-grey-100);
  border-radius: 12px;
  padding: 11px 14px;
  transition: background 0.12s;
}
.faq-accordion h3:hover, .faq-accordion h3:focus {
  background: var(--color-secondary);
}
.faq-accordion p {
  padding: 0 0 9px 9px;
  color: #425945;
}

/* ================
   COOKIE CONSENT BANNER
   ================ */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 996;
  background: #fff;
  border-radius: 24px 24px 0 0 / 38px 38px 0 0;
  box-shadow: 0 -4px 24px #833 0.06;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: center;
  padding: 22px 36px 22px 18px;
  border: 1px solid #cdbca3;
  font-size: 1rem;
  transition: transform 0.5s cubic-bezier(0,1,0.4,1);
}
#cookie-banner.closed {
  transform: translateY(120%);
}
#cookie-banner .cookie-text {
  color: #233E44;
  max-width: 540px;
}
#cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.cookie-btn {
  padding: 11px 24px;
  font-size: 1rem;
  border-radius: 20px 11px 18px 21px / 11px 21px 20px 18px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: var(--color-secondary);
  color: #233E44;
  transition: background 0.12s, box-shadow 0.15s, color 0.15s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-primary);
  color: #fff;
}
#cookie-banner .cookie-btn-primary {
  background: var(--color-success);
  color: #fff;
  margin-left: 6px;
}
#cookie-banner .cookie-btn-primary:hover, #cookie-banner .cookie-btn-primary:focus {
  background: #3d523b;
  color: #fff;
}
#cookie-banner .cookie-btn-settings {
  background: var(--color-warning);
  color: #233E44;
  margin-left: 6px;
}
#cookie-banner .cookie-btn-settings:hover, #cookie-banner .cookie-btn-settings:focus{
  background: #9d834e;
  color: #fff;
}

/* ================
   COOKIE MODAL
   ================ */
#cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(35,62,44,.58);
  z-index: 1002;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.33s cubic-bezier(0.08,1,0.29,1.04);
}
#cookie-modal.closed {
  opacity: 0;
  pointer-events: none;
}
#cookie-modal .modal-content {
  background: #fff;
  border-radius: 34px;
  box-shadow: 0 5px 34px #233E4422;
  padding: 42px 36px 28px 36px;
  min-width: 340px;
  max-width: 96vw;
  position: relative;
  color: #233E44;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
#cookie-modal .modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 10px;
}
#cookie-modal .modal-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
#cookie-modal .modal-category label {
  font-size: 1rem;
  color: #233E44;
}
#cookie-modal .modal-category input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: var(--color-success);
}
#cookie-modal .modal-btns {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
#cookie-modal .modal-close {
  position: absolute;
  right: 17px; top: 17px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #233E44;
  cursor: pointer;
}
#cookie-modal .modal-close:hover, #cookie-modal .modal-close:focus {
  color: var(--color-secondary);
}

/* ================
   CONSULTING-CTA
   ================ */
.consulting-cta {
  margin-top: 18px;
  display: flex;
}
.consulting-cta .btn-primary {
  margin: 0 auto 0 0; /* align left by default */
}


/* ================
   MEDIA QUERIES – RESPONSIVENESS
   ================ */
@media (max-width: 1280px) {
  .container {
    max-width: 98vw;
  }
}

@media (max-width: 980px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.45rem; }
  .footer-nav, footer .content-wrapper { gap: 10px; }
  .card { max-width: 95vw; }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    margin-bottom: 36px;
    padding: 18px 7px;
    border-radius: 22px 18px 20px 24px / 20px 24px 22px 18px;
  }
  .card-container,
  .content-grid,
  .content-wrapper,
  .text-image-section,
  .testimonial-card,
  .feature-item {
    flex-direction: column !important;
    gap: 16px;
    align-items: flex-start !important;
  }
  .card { padding: 25px 12px; }
  .testimonial-card {
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
  .footer-nav { flex-direction: column; gap: 5px; }
  .social-links {
    flex-direction: row;
    gap: 10px;
  }
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 5vw 12px 4vw;
  }
  #cookie-modal .modal-content {
    padding: 26px 10vw 22px 10vw;
    min-width: auto;
    font-size: 0.98rem;
  }
  .btn-primary, .cookie-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-left: 0 !important;
  }
}

@media (max-width: 420px) {
  h1, h2, h3 { font-size: 1.06rem !important; }
  .footer-nav a { font-size: 0.96rem; }
  .testimonial-card blockquote {
    font-size: .98rem;
  }
  .btn-primary { font-size: .99rem; padding: 10px 22px; }
}

/* ==============
  MISC UTILITIES
  ============== */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.gap-24 { gap: 24px !important; }

/* ==============
   FOCUS STATES
  ============== */
a:focus, button:focus, .btn-primary:focus, .cookie-btn:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 3px;
}

/* ============
   ANIMATIONS/MICRO-INTERACTIONS
   ============ */
.btn-primary, .cookie-btn {
  transition: background .16s, box-shadow .16s, color .16s, transform .14s;
}
.card, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.17s;
}

/* ===================
   ORGANIC SHAPES & NATURAL TEXTURES
   =================== */
.section, .card, .testimonial-card, #cookie-banner, #cookie-modal .modal-content, .btn-primary, .cookie-btn {
  /* simulate organic shapes via border-radius above; natural visual through color & elevation */
}
body {
  background: repeating-linear-gradient(-45deg, #F0E4D3, #F0E4D3 30px, #ecdec8 50px, #F0E4D3 80px);
}

/* ===================
   CUSTOM SCROLLBAR
   =================== */
body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-thumb {
  background: #A7BFA7;
  border-radius: 8px;
}
body::-webkit-scrollbar-track {
  background: #F0E4D3;
}

/* ===================
   PRINT FRIENDLY
   =================== */
@media print {
  header, footer, #cookie-banner, #cookie-modal {
    display: none !important;
  }
}
