/* === 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F4F2EF;
  color: #27313B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #27313B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A3C48D;
}
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  background: transparent;
  border: none;
}
/* === BRAND TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #27313B;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
h1 {
  font-size: 2.125rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.625rem;
  margin-top: 24px;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}
p, li, blockquote, cite {
  color: #27313B;
  font-weight: 400;
  margin-bottom: 1em;
}
strong {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #27313B;
}
blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #fff;
  border-left: 6px solid #A3C48D;
  font-size: 1.15rem;
  margin: 0 0 8px 0;
  padding: 18px 32px 16px 20px;
  color: #27313B;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(39,49,59,0.08);
  border-radius: 12px;
}
cite {
  display: block;
  font-size: 1rem;
  color: #9BA1A7;
  margin-top: 8px;
  font-style: normal;
}
/* === SPACING & LAYOUT === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 28px 8px;
  }
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.text-section {
  max-width: 700px;
  margin: 0 auto;
}
/* === FLEXBOX PATTERNS (MANDATORY) === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(39,49,59,0.12);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(39,49,59,0.18);
  transform: translateY(-3px) scale(1.01);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(39,49,59,0.08);
  border: 2px solid #A3C48D;
  flex-direction: column;
  max-width: 540px;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
@media (max-width: 900px) {
  .testimonial-list {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    width: 100%;
    max-width: 100%;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 24px 20px;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(39,49,59,0.09);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 24px;
  align-items: stretch;
  margin-bottom: 16px;
}
.feature-grid > li {
  background: #fff;
  border-radius: 16px;
  padding: 30px 22px;
  box-shadow: 0 2px 10px rgba(39,49,59,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 250px;
  margin-bottom: 20px;
  flex: 1 1 230px;
  min-width: 180px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.feature-grid > li img {
  width: 36px;
  height: 36px;
  background: #A3C48D11;
  border-radius: 50%;
  padding: 8px;
}
.feature-grid > li:hover {
  box-shadow: 0 6px 16px rgba(39,49,59,0.15);
  transform: translateY(-2px) scale(1.04);
  border-color: #A3C48D33;
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 24px 8px;
  }
  .feature-grid > li {
    min-width: 120px;
    flex: 1 1 90%;
  }
}
@media (max-width: 600px) {
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid > li {
    max-width: 100%;
    padding: 20px 12px;
  }
}
/* === BUTTONS === */
.cta-btn,
button, .cookie-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  background: #A3C48D;
  color: #27313B;
  border: none;
  padding: 16px 32px;
  margin-top: 8px;
  margin-bottom: 8px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, transform 0.14s;
  box-shadow: 0 2px 10px rgba(163,196,141,0.11);
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.cta-btn:hover, .cta-btn:focus,
button:hover, button:focus, .cookie-btn:hover, .cookie-btn:focus {
  background: #27313B;
  color: #fff;
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 4px 16px rgba(39,49,59,0.11);
}
/* === HEADER, NAV, LOGO === */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(39,49,59,0.04);
  z-index: 1000;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px;
}
header img {
  height: 46px;
  margin-right: 16px;
  vertical-align: middle;
}
header nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: #27313B;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.19s, color 0.19s;
}
header nav a:hover,
header nav a:focus,
footer nav a:hover, footer nav a:focus {
  background: #A3C48D;
  color: #27313B;
}
/* === MOBILE NAV MENU === */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #27313B;
  cursor: pointer;
  z-index: 1011;
  margin-left: 20px;
  transition: color 0.2s, background 0.2s;
}
.mobile-menu-toggle:focus {
  color: #A3C48D;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(244,242,239,1);
  box-shadow: 0 2px 40px rgba(39,49,59,0.13);
  z-index: 1999;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.63,.1,.4,1.3);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 64px 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 28px;
  right: 28px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #27313B;
  z-index: 9999;
  cursor: pointer;
  padding: 4px 10px;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #A3C48D;
}
.mobile-nav {
  width: 100%;
  margin-top: 74px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  padding: 0 32px;
}
.mobile-nav a {
  display: block;
  color: #27313B;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  background: none;
  padding: 12px 0 12px 8px;
  border-radius: 4px;
  width: 100%;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A3C48D;
  color: #27313B;
}
@media (max-width: 1020px) {
  header .container {
    flex-wrap: wrap;
  }
  header nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* Ensure mobile menu always overlays content */
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}
/* === FORMS, INPUTS, CHECKBOXES === */
input[type="text"], input[type="email"], textarea {
  border: 2px solid #A3C48D;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 1rem;
  margin-bottom: 10px;
  background: #fff;
  color: #27313B;
  width: 100%;
  transition: border-color 0.16s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #27313B;
}
input[type="checkbox"] {
  accent-color: #A3C48D;
  width: 1.1em;
  height: 1.1em;
  vertical-align: middle;
  margin-right: 6px;
}
label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-right: 18px;
}
/* === FOOTER === */
footer {
  background: #fff;
  border-top: 4px solid #A3C48D;
  margin-top: 60px;
  font-size: 0.98rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 32px 16px 24px 16px;
  gap: 20px;
}
footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
footer nav a {
  color: #27313B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 1.02rem;
}
footer .text-section p {
  color: #9BA1A7;
  font-size: 0.98rem;
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
}
@media (max-width: 600px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 22px 8px 14px 8px;
  }
}
/* === UTILITY === */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-left { text-align: left !important; }

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #27313B;
  color: #fff;
  padding: 28px 16px 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 99999;
  box-shadow: 0 -2px 16px rgba(39,49,59,0.16);
  font-size: 1.07rem;
  letter-spacing: 0.01em;
  animation: fadeUp 0.55s cubic-bezier(.43,.95,.39,1.27);
  will-change: transform, opacity;
}
.cookie-banner p {
  color: #fff;
  margin-bottom: 18px;
  text-align: center;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 4px 0;
}
.cookie-btn {
  padding: 12px 24px;
  border-radius: 22px;
  border: none;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  cursor: pointer;
  background: #A3C48D;
  color: #27313B;
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: #27313B;
  box-shadow: 0 2px 8px #A3C48D55;
}
.cookie-btn.reject {
  background: #fff;
  color: #A3C48D;
  border: 2px solid #A3C48D;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #A3C48D;
  color: #fff;
}
.cookie-btn.settings {
  background: #27313B;
  color: #fff;
  border: 2px solid #A3C48D;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #A3C48D;
  color: #27313B;
}
@media (max-width: 600px) {
  .cookie-banner {
    font-size: 0.99rem;
    padding: 18px 6px 14px 6px;
    border-radius: 0;
  }
  .cookie-banner .cookie-btn-group {
    gap: 10px;
  }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(300px); }
  to { opacity: 1; transform: translateY(0); }
}
/* === COOKIE PREFERENCES MODAL === */
.cookie-modal {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17,24,28,0.60);
  animation: fadeUp 0.30s cubic-bezier(.43,.95,.39,1.27);
}
.cookie-modal-content {
  background: #fff;
  color: #27313B;
  border-radius: 18px;
  padding: 38px 30px 24px 30px;
  max-width: 410px;
  width: 92vw;
  box-shadow: 0 6px 44px rgba(39,49,59,0.23);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  font-size: 1.11rem;
  animation: modalIn 0.24s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(80px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  color: #A3C48D;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.19s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #27313B;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}
.cookie-category input[type="checkbox"] {
  accent-color: #A3C48D;
}
.cookie-essential {
  color: #A3C48D;
  font-weight: 700;
  opacity: 0.8;
  pointer-events: none;
}
/* === ANIMATIONS & MICRO-INTERACTIONS === */
.section, .content-wrapper, .card, .feature-grid>li, .testimonial-card, .cta-btn, .cookie-btn, .feature-item {
  transition: box-shadow 0.18s, background 0.18s, transform 0.13s;
}

/* === MODERN_BOLD VISUAL ELEMENTS & GEOMETRY === */
.card, .feature-grid > li, .testimonial-card, .feature-item, .cookie-modal-content {
  border-radius: 18px;
}
.cta-btn {
  box-shadow: 0 4px 16px #A3C48D44;
}
.cta-btn:active {
  transform: scale(0.97);
}
.feature-grid > li {
  border: 2px solid #fff;
}
.feature-grid > li:hover {
  border-color: #A3C48D;
  background: #A3C48D11;
}
/* === VISUAL HIERARCHY SPACING === */
.content-wrapper > h2,
.content-wrapper > h1 {
  margin-top: 0;
}
.content-wrapper > p, .content-wrapper > ul {
  margin-bottom: 20px;
}
.card-container, .testimonial-list {
  margin-top: 16px;
}
.text-section {
  margin-bottom: 14px;
}
/* === RESPONSIVE HEADINGS === */
@media (max-width: 600px) {
  h1 {
    font-size: 1.38rem;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 1.13rem;
    margin-bottom: 10px;
  }
  h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }
}
/* === Z-INDEX STRATEGY FOR NAV, MODALS, COOKIE BANNER === */
header { z-index: 100; }
.mobile-menu { z-index: 1999; } 
.cookie-banner { z-index: 99999; }
.cookie-modal { z-index: 100000; }
/* === PREVENT OVERLAPPING === */
.card, .feature-grid > li, .testimonial-card {
  margin-bottom: 20px;
}
.section:not(:last-child) {
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .section:not(:last-child) {
    margin-bottom: 32px;
  }
}
/* === MISC === */
::-webkit-scrollbar {
  width: 10px; background: #F4F2EF;
}
::-webkit-scrollbar-thumb {
  background: #A3C48D;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #27313B;
}
::selection {
  background: #A3C48D90;
  color: #27313B;
}
/* === ACCESSIBILITY: FOCUS VISUALS === */
a:focus, button:focus, .cta-btn:focus, input:focus, .cookie-btn:focus {
  outline: 2px solid #A3C48D;
  outline-offset: 2px;
}
/* === PRINT FRIENDLY === */
@media print {
  .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  header, footer { border: none; box-shadow: none; }
}
