/* ======================
   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, 
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 {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #225141;
  background-color: #F1EBDD;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F1EBDD;
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
a {
  color: #225141;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #A3B190;
  outline-offset: 2px;
}
ul, ol {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
strong, b {
  font-weight: 700;
}
button {
  font: inherit;
  border: none;
  cursor: pointer;
  background: none;
}
:root {
  --primary: #225141;
  --secondary: #A3B190;
  --accent: #F1EBDD;
  --card-bg: #fff;
  --text-dark: #1B2C24;
  --text-light: #fff;
  --shadow: 0 2px 12px 0 rgba(34,81,65,0.07);
  --border-radius: 14px;
  --transition: 0.2s cubic-bezier(0.65, 0, 0.35, 1);
}

/* ===========================
   TYPOGRAPHY & HIERARCHY
   =========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 700;
  color: #225141;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  word-spacing: 1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Montserrat', Arial, sans-serif;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, li {
  font-size: 1rem;
  color: #225141;
  margin-bottom: 10px;
}

/* Geometric, angular font for headings */
h1, h2, h3 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-variant-ligatures: none;
}

/* ===========================
   CONTAINER & LAYOUT
   =========================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* Card containers and cards */
.card-container,
.feature-grid, .card-grid, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card, .feature-grid > div, .blog-list > article {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  margin-bottom: 20px;
  flex: 1 1 284px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 260px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .feature-grid > div:hover, .blog-list > article:hover {
  box-shadow: 0 4px 32px 0 rgba(34,81,65,0.14);
  transform: translateY(-4px) scale(1.01);
}
/* ===========================
   FLEX SPACING CLASSES
   =========================== */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }

/* Distinctive .testimonial-card appearance */
.testimonial-card {
  background: #fff;
  color: #225141;
  border-left: 6px solid #A3B190;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  box-shadow: var(--shadow);
  justify-content: flex-start;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 340px;
  font-size: 1.125rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 4px 36px 0 rgba(34,81,65,0.24);
  border-left-color: #225141;
}
.testimonial-card strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #225141;
  letter-spacing: 0.2px;
}
.testimonial-card img {
  width: 20px;
  height: 20px;
  margin-left: 2px;
}

/* ===========================
   HEADER
   =========================== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 15px 0 rgba(34,81,65,0.09);
  z-index: 1002;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 0;
}
header a img {
  height: 44px;
  width: auto;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #225141;
  padding: 6px 16px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  transition: background var(--transition), color var(--transition);
}
header nav a.cta {
  background: #225141;
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
}
header nav a:hover, header nav a:focus {
  background: #A3B190;
  color: #225141;
}
header nav a.cta:hover, header nav a.cta:focus {
  background: #A3B190;
  color: #225141;
}

/* Hamburger button (always visible on mobile, hidden desktop) */
.mobile-menu-toggle {
  display: flex;
  font-size: 2.1rem;
  color: #225141;
  background: none;
  align-items: center;
  margin-left: 10px;
  border: none;
  border-radius: 50%;
  padding: 8px;
  transition: background 0.15s;
  z-index: 1102;
  width: 44px;
  height: 44px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #A3B190;
  color: #fff;
}

/* ===========================
   HERO BANNERS
   =========================== */
.hero {
  background: linear-gradient(120deg, #F1EBDD 0%, #fff 100%);
  border-bottom: 4px solid #A3B190;
  margin-bottom: 40px;
}
.hero .container {
  flex-direction: column;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 24px;
}
.hero .content-wrapper {
  align-items: center;
}
.hero h1 {
  color: #225141;
  font-size: 2.3rem;
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: 2px;
}
.hero p {
  max-width: 600px;
  color: #225141;
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.22rem;
}

/* CTA Button */
.cta {
  display: inline-block;
  background: #225141;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 36px;
  border-radius: 24px 24px 6px 24px;
  margin-top: 6px;
  font-size: 1.1rem;
  letter-spacing: 1.2px;
  box-shadow: var(--shadow);
  transition: background 0.2s, color 0.2s, transform 0.18s;
  text-align: center;
}
.cta:hover, .cta:focus {
  background: #A3B190;
  color: #225141;
  transform: translateY(-2px) scale(1.03);
}

/* Feature grid icons */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: space-between;
}
.feature-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 220px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px 20px 22px 20px;
  transition: box-shadow var(--transition);
  margin-bottom: 20px;
  position: relative;
}
.feature-grid > div h3 {
  font-size: 1.12rem;
}
.feature-grid > div img {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
}
.icons {
  display: flex;
  gap: 12px;
  margin-top: 4px;
  margin-bottom: 8px;
  align-items: center;
}
.icons img {
  width: 22px;
  height: 22px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 12px;
}

.text-section h3 {
  margin-top: 14px;
}

/* Blog list */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-list article {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  flex: 1 1 260px;
  min-width: 210px;
  padding: 24px 20px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-list article h3 {
  margin-bottom: 12px;
}
.blog-list article span {
  color: #A3B190;
  font-size: 0.95rem;
  margin-right: 12px;
  margin-top: auto;
}
.blog-list article:hover {
  box-shadow: 0 4px 32px 0 rgba(34,81,65,0.14);
}

/* ===========================
   FOOTER
   =========================== */
footer {
  width: 100%;
  background: #225141;
  color: var(--text-light);
  padding-top: 30px;
  padding-bottom: 24px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 0;
}
footer .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 38px;
  max-width: 1200px;
  width: 100%;
}
.footer-brand img,
.footer-contact img {
  filter: grayscale(60%) brightness(1.1);
  margin-right: 10px;
}
.footer-contact, .footer-brand {
  min-width: 210px;
  flex: 1 0 210px;
  margin-bottom: 24px;
  color: var(--text-light);
  font-size: 1rem;
}
.footer-contact p {
  color: #F1EBDD;
}
.footer-contact h3 {
  color: #A3B190;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  margin-bottom: 10px;
  letter-spacing: 0.7px;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 150px;
}
.footer-nav a, .footer-legal a {
  color: #F1EBDD;
  font-size: 1rem;
  margin-bottom: 4px;
  letter-spacing: 0.6px;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-legal a:hover, .footer-nav a:focus, .footer-legal a:focus {
  color: #A3B190;
}
.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  filter: invert(77%) sepia(5%) saturate(234%) hue-rotate(45deg) brightness(88%) contrast(91%);
  transition: filter 0.2s;
}
.footer-social a:hover img {
  filter: invert(32%) sepia(8%) saturate(723%) hue-rotate(70deg) brightness(100%) contrast(95%);
}


/* ===========================
   MOBILE MENU
   =========================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(225,235,221,0.96);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.33s cubic-bezier(.6,.02,.34,1.17), opacity 0.17s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 2.1rem;
  color: #225141;
  background: none;
  z-index: 2010;
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #A3B190;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 34px;
  margin: 90px 0 0 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #225141;
  border-radius: 7px;
  padding: 10px 16px 10px 4px;
  width: max-content;
  letter-spacing: 1.1px;
  transition: background 0.15s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A3B190;
  color: #fff;
}

/* Hide desktop nav on mobile, show burger button */
@media (max-width: 1050px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1051px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* ===========================
   COOKIE CONSENT BANNER
   =========================== */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(100px);
  opacity: 0;
  background: #fff;
  color: #225141;
  border: 2px solid #A3B190;
  box-shadow: 0 8px 28px 0 rgba(34,81,65,0.13);
  border-radius: 16px;
  padding: 22px 32px;
  z-index: 3000;
  min-width: 278px;
  max-width: 97vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1.09rem;
  transition: transform 0.32s var(--transition), opacity 0.2s;
}
.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  margin: 0;
  min-width: 120px;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 5px 0 rgba(34,81,65,0.04);
}
.cookie-btn.accept {
  background: #225141;
  color: #fff;
  font-weight: 700;
}
.cookie-btn.reject {
  background: #A3B190;
  color: #225141;
  font-weight: 700;
}
.cookie-btn.settings {
  background: #F1EBDD;
  color: #225141;
  font-weight: 500;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #A3B190;
  color: #225141;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #225141;
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #A3B190;
  color: #fff;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(34,81,65,0.14);
  z-index: 3200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-bg.show {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 38px 0 rgba(34,81,65,0.22);
  min-width: 320px;
  max-width: 98vw;
  padding: 32px 36px 24px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #225141;
  position: relative;
  font-size: 1rem;
}
.cookie-modal h3 {
  color: #225141;
  font-size: 1.27rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.cookie-modal .cookie-cat {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-cat input[type="checkbox"] {
  accent-color: #A3B190;
  width: 19px;
  height: 19px;
  border: 2px solid #A3B190;
  border-radius: 6px;
  margin-right: 6px;
}
.cookie-modal .cookie-cat.essential input {
  accent-color: #225141;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  font-size: 1.34rem;
  border: none;
  color: #225141;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.17s;
  z-index: 3330;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #A3B190;
  color: #fff;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 8px;
}

/* ===========================
   TABLES, FORMS (minimal for comp.)
   =========================== */
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  border: 1px solid #A3B190;
  padding: 10px 14px;
  text-align: left;
}

input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 14px;
  border: 1.8px solid #A3B190;
  border-radius: 8px;
  background: #fff;
  color: #225141;
  width: 100%;
  margin-bottom: 14px;
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #225141;
}

/* ===========================
   LAYOUT RESPONSIVE
   =========================== */
@media (max-width: 1050px) {
  .container {
    max-width: 96vw;
    padding: 0 10px;
  }
  .content-wrapper {
    gap: 20px;
  }
  .footer-nav, .footer-legal {
    min-width: 120px;
  }
}
@media (max-width: 900px) {
  .content-wrapper,
  .footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .feature-grid, .blog-list, .card-container {
    flex-direction: column;
    gap: 24px;
  }
  .footer .content-wrapper {
    flex-direction: column !important;
    gap: 22px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.7rem;
    margin-bottom: 12px;
  }
  .hero p {
    font-size: 1.06rem;
    margin-bottom: 15px;
  }
  .cta {
    font-size: 1rem;
    padding: 12px 22px;
  }
  .section {
    padding: 30px 6px;
    margin-bottom: 42px;
  }
  .testimonial-card {
    flex-direction: column;
    border-left-width: 4px;
    min-width: 180px;
    font-size: 1rem;
    gap: 10px;
    padding: 16px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid, .blog-list, .card-container, .content-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .footer .content-wrapper {
    flex-direction: column !important;
    gap: 16px;
    align-items: flex-start;
  }
  .footer-brand, .footer-contact {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }
  .hero .container {
    padding-top: 10px;
    padding-bottom: 12px;
  }
  .cookie-banner {
    padding: 13px 7px;
    font-size: 1rem;
    min-width: unset;
  }
}

/* ===========================
   MICRO INTERACTIONS
   =========================== */
a, .cta, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close, .cookie-modal-close {
  transition: background 0.22s, color 0.20s, transform 0.18s, box-shadow 0.2s;
}
.blog-list article:hover, .feature-grid > div:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 32px 0 rgba(34,81,65,0.11);
}

/* ===========================
   UTILITIES
   =========================== */
.text-center { text-align: center; }
.d-flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-20 { gap: 20px; }
.gap-32 { gap: 32px; }
.mt-24 { margin-top: 24px; }

/* ===========================
   BRANDING (custom)
   =========================== */
::-webkit-input-placeholder { color: #A3B190; }
::-moz-placeholder { color: #A3B190; }
:-ms-input-placeholder { color: #A3B190; }
::placeholder { color: #A3B190; }

/* ===========================
   ACCESSIBILITY
   =========================== */
:focus-visible { outline: 2.5px solid #A3B190; }

/* ===========================
   GEOMETRIC DECORATIVE ELEMENTS
   =========================== */
.hero:before {
  content: "";
  display: block;
  position: absolute;
  left: -64px;
  top: 5%;
  width: 120px;
  height: 120px;
  background: rgba(163, 177, 144, 0.11);
  clip-path: polygon(0 0, 100% 0, 83% 100%, 0 90%);
  z-index: 0;
}
.hero:after {
  content: "";
  display: block;
  position: absolute;
  right: -50px;
  bottom: 6%;
  width: 80px;
  height: 80px;
  background: rgba(34,81,65,0.12);
  clip-path: polygon(17% 0, 100% 13%, 82% 100%, 0 87%);
  z-index: 0;
}
.hero, .hero .container, .hero .content-wrapper {
  position: relative;
  z-index: 1;
}

/* Prevent geometric decorations on xs screens */
@media (max-width: 768px) {
  .hero:before, .hero:after { display: none; }
}

/* ===========================
   END OF CSS
   =========================== */
