/* --- 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 {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  color: #191919;
  background: #fff;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  margin-left: 24px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
button, input[type="button"], input[type="submit"] {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
:focus {
  outline: 2px solid #424242;
  outline-offset: 2px;
}

/* --- VARIABLE DEFINITIONS --- */
:root {
  --color-primary: #2D5D34;
  --color-secondary: #8D735B;
  --color-accent: #F4F2EC;
  --color-bg: #fff;
  --color-bg-section: #fafafa;
  --color-border: #E0E0E0;
  --color-text-main: #191919;
  --color-text-dim: #3B3B3B;
  --color-shadow: rgba(0,0,0,0.07);
  --color-shadow-deep: rgba(0,0,0,0.14);
  --color-card-bg: #fff;
  --color-card-bg-dark: #ececec;
  --color-nav-bg: #fff;
  --color-contrast-light: #fff;
  --color-contrast-dark: #111;
  --color-cookie-banner-bg: #232323;
  --color-cookie-btn: #fff;
  --color-cookie-btn-bg: #2D5D34;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --transition-main: 0.22s cubic-bezier(.32,.72,0,1);
  --transition-btn: .19s cubic-bezier(.4,.2,.4,1);
  --radius-xs: 6px;
  --radius-s: 12px;
  --radius-m: 18px;
  --shadow-card: 0 3px 14px var(--color-shadow);
  --shadow-modal: 0 4px 28px var(--color-shadow-deep);
}

/* --- TYPOGRAPHY SCALE --- */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: #111;
  margin-bottom: 18px;
  line-height: 1.13;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #151515;
  margin-bottom: 10px;
  line-height: 1.2;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: #262626;
  margin-bottom: 8px;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: #353535;
  margin-bottom: 6px;
}
p, ul, ol {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #252525;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 9px;
}
li strong {
  color: #191919;
  font-weight: 600;
  font-family: var(--font-display);
}
blockquote {
  border-left: 3px solid var(--color-primary);
  margin-left: 0;
  margin-right: 0;
  padding: 12px 25px;
  font-style: italic;
  color: #353535;
  background: #fafafa;
  border-radius: var(--radius-xs);
}
small {
  font-size: 0.96em;
  color: #575757;
}

/* --- CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-section);
  border-radius: var(--radius-s);
}
/* Remove section bg for hero sections */
.hero-section.section,
.hero-section {
  background: #191919;
  color: #f5f5f5;
  border-radius: 0;
  margin-bottom: 56px;
  padding: 60px 20px 50px 20px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--color-nav-bg);
  box-shadow: 0 1px 0 var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}
.logo-link img {
  height: 46px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #282828;
  letter-spacing: 0.10px;
  padding: 4px 0 4px 0;
  position: relative;
  transition: color var(--transition-main);
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0%;
  background: var(--color-primary);
  transition: width 0.3s cubic-bezier(.2,.8,0,1.1);
  position: absolute;
  left: 0;
  bottom: 0;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-primary);
  z-index: 3;
}
.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}
.main-nav .cta-primary {
  margin-left: 10px;
  margin-right: 0;
  color: #fff;
  background: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 26px;
  border-radius: var(--radius-m);
  box-shadow: 0 2px 14px rgba(45,93,52,0.07);
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main);
}
.main-nav .cta-primary:hover,
.main-nav .cta-primary:focus {
  background: #191919;
  color: #fff;
  box-shadow: 0 4px 24px var(--color-shadow-deep);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 2.1rem;
  color: #232323;
  padding: 8px 11px;
  border-radius: var(--radius-s);
  box-shadow: 0; /* clear any user CSS */
  transition: background var(--transition-main);
  z-index: 201;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #eee;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 56px var(--color-shadow-deep);
  z-index: 299;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 22px 0 22px;
  transform: translateX(-100vw);
  transition: transform .42s cubic-bezier(.64,.17,.37,1.53), opacity .22s;
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 15px;
  top: 20px;
  background: none;
  border: 0;
  font-size: 2.1rem;
  color: var(--color-secondary);
  z-index: 305;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 40px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #151515;
  padding: 10px 6px;
  border-radius: var(--radius-s);
  transition: background 0.17s, color 0.2s;
  margin: 0 -6px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-primary);
  background: #f0f0f0;
}

/* Hamburger only visible mobile */
@media (max-width: 1050px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .header-flex {
    gap: 14px;
  }
}

/* --- HERO SECTION --- */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #191919;
  color: #fff;
  min-height: 340px;
  border-radius: 0;
}
.hero-section .content-wrapper,
.hero-section > .container > .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 0;
}
.hero-section h1 {
  color: #fff;
  text-shadow: 0 2px 30px #0004;
}
.hero-section p {
  color: #EEEEEE;
}

/* --- CTA BUTTONS --- */
.cta-primary, .cta-secondary {
  display: inline-block;
  border-radius: var(--radius-m);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: .2px;
  padding: 11px 30px;
  box-shadow: 0 3px 12px var(--color-shadow);
  border: none;
  outline: none;
  transition: background var(--transition-btn), color var(--transition-btn), box-shadow var(--transition-btn), transform .15s;
  margin-top: 5px;
}
.cta-primary {
  background: var(--color-primary);
  color: #fff;
}
.cta-primary:hover, .cta-primary:focus {
  background: #111;
  color: #fff;
  box-shadow: 0 5px 24px var(--color-shadow-deep);
  transform: translateY(-1px) scale(1.035);
}
.cta-secondary {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-primary);
  color: #fff;
}

/* --- SECTIONS AND CARDS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-s);
  background: var(--color-bg-section);
}
@media (max-width: 768px) {
  .section {
    padding: 28px 9px;
    margin-bottom: 38px;
    border-radius: var(--radius-xs);
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-card);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  min-width: 248px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: box-shadow .19s, transform .19s;
}
.card:hover {
  box-shadow: 0 6px 22px var(--color-shadow-deep);
  transform: translateY(-2px) 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;
  justify-content: flex-start;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 19px;
    align-items: flex-start;
  }
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 18px;
  margin-bottom: 13px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border-radius: var(--radius-s);
  box-shadow: 0 2px 16px var(--color-shadow);
  min-width: 252px;
  flex: 1 1 32%;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform .15s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px var(--color-shadow-deep);
  transform: translateY(-3px) scale(1.012);
}
.testimonial-card p {
  color: #222;
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 0px;
}
.testimonial-card span {
  color: #444;
  font-size: 0.98rem;
  display: block;
}
@media (max-width: 900px) {
  .testimonials-grid {
    flex-direction: column;
    gap: 24px;
  }
  .testimonial-card {
    min-width: unset;
    width: 100%;
  }
}

/* --- FEATURED LISTS (e.g. contact, features, etc.) --- */
.contact-info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.contact-info-grid > div {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border-radius: var(--radius-xs);
  box-shadow: 0 1px 6px #0002;
  padding: 14px 17px;
  flex: 1 1 220px;
}
.contact-info-grid img {
  width: 26px;
  height: 26px;
  margin-right: 7px;
}
@media (max-width: 820px) {
  .contact-info-grid {
    flex-direction: column;
    gap: 15px;
  }
  .contact-info-grid > div {
    flex: 1 1 120px;
    min-width: unset;
  }
}

ul.feature-item, .feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 10px;
}

/* --- TEXT SECTIONS --- */
.text-section {
  margin-bottom: 28px;
  padding-left: 0;
  padding-right: 0;
}
.text-section ul, .text-section ol {
  margin-bottom: 12px;
}
.text-section li {
  list-style-type: disc;
}

/* --- BLOG CATEGORIES --- */
.blog-categories {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.blog-categories a {
  font-family: var(--font-display);
  font-size: 0.99rem;
  background: #f2f2f2;
  color: #444;
  border-radius: var(--radius-xs);
  padding: 5px 13px;
  transition: background .15s, color .17s;
}
.blog-categories a:hover,
.blog-categories a:focus {
  color: var(--color-primary);
  background: #e0e0e0;
}

input[type="search"] {
  width: 100%;
  padding: 11px 17px;
  background: #f6f6f6;
  border: 1.7px solid #e4e4e4;
  border-radius: 22px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #212121;
  margin-bottom: 18px;
  transition: border .15s;
}
input[type="search"]:focus {
  border:1.9px solid var(--color-primary);
  background: #fff;
  outline: none;
}


/* --- FOOTER --- */
footer {
  background: #191919;
  color: #f5f5f5;
  padding-top: 32px;
  padding-bottom: 16px;
}
footer .container {
  max-width: 1100px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-start;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-branding img {
  width: 52px;
  height: auto;
}
.footer-branding p {
  color: #e8e8e8;
  font-family: var(--font-display);
  font-size: 1.14rem;
  letter-spacing: .03em;
  margin-bottom: 0;
}
.footer-nav,
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.98rem;
}
.footer-nav a,
.legal-nav a {
  color: #E5E5E5;
  opacity: 0.93;
  transition: color .19s, opacity .13s;
  font-family: var(--font-body);
}
.footer-nav a:hover, .legal-nav a:hover {
  color: #fff;
  opacity: 1;
}
.footer-contact-details {
  margin: 12px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #c1c1c1;
  font-size: 0.99rem;
}
.footer-contact-details img {
  width: 17px;
  margin-right: 5px;
  opacity: 0.84;
  vertical-align: middle;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 1px;
}
.footer-social a img {
  width: 34px;
  height: 34px;
  filter: grayscale(0.6) opacity(0.75);
  transition: filter .14s, opacity .14s;
}
.footer-social a:hover img {
  filter: grayscale(0) opacity(1);
}
.footer-copy {
  color: #d9d9d9;
  font-size: 0.95rem;
  margin-top: 6px;
}
@media (max-width: 580px) {
  footer .content-wrapper { gap: 12px; }
  .footer-contact-details { font-size: 0.93rem; }
  .footer-branding img { width: 38px; }
}


/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--color-cookie-banner-bg);
  color: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 18px 20px 18px;
  font-size: 1rem;
  box-shadow: 0 -2px 32px var(--color-shadow-deep);
  opacity: 1;
  transition: opacity 0.28s, transform 0.35s;
  transform: translateY(0%);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner-content {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 10px 25px;
  border: none;
  border-radius: var(--radius-m);
  background: var(--color-cookie-btn-bg);
  color: var(--color-cookie-btn);
  box-shadow: 0 1px 7px #0002;
  transition: background .17s, color .14s, transform .13s;
}
.cookie-btn.settings {
  background: #fff;
  color: #232323;
  border: 1.4px solid #232323;
}
.cookie-btn.deny {
  background: var(--color-secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.05);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #232323;
  color: #fff;
}
/* --- COOKIE MODAL --- */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #111C;
  z-index: 11000;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.show {
  display: flex;
  animation: fadeIn .19s 1 both;
}
@keyframes fadeIn { from { opacity: 0;} to {opacity:1;} }
.cookie-modal {
  background: #fff;
  color: #222;
  border-radius: var(--radius-m);
  min-width: 340px;
  max-width: 95vw;
  padding: 36px 24px 28px 24px;
  box-shadow: var(--shadow-modal);
  z-index: 12000;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalIn .25s cubic-bezier(.22,1.2,0,1);
}
@keyframes modalIn { from { transform: scale(.92) translateY(30px); opacity: 0;} to {transform: none; opacity:1;} }
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 15px;
  font-size: 1.75rem;
  background: none;
  border: 0;
  color: #232323;
  cursor: pointer;
  opacity: .92;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-secondary);
  opacity: 1;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  padding: 4px 0;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-primary);
  width: 21px;
  height: 21px;
  border-radius: 5px;
}
.cookie-category .cat-always-on {
  color: #717171;
  font-size: .97em;
  margin-left: 8px;
}
@media (max-width:480px) {
  .cookie-modal { min-width: unset; padding: 18px 4vw 16px 4vw; }
}

/* --- MISC & MICRO-INTERACTIONS --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: #e2e2e2;
  border-radius: 12px;
}
::-webkit-scrollbar-track {
  background: #fafafa;
}
a:active { color: var(--color-primary); }
a:focus { outline: 2px solid var(--color-primary); }
table {
  border-collapse: collapse;
}
td, th {
  padding: 8px 15px;
  border: 1.2px solid #E0E0E0;
}

/* Utility: visually-hidden for accessibility */
.visually-hidden {
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: 0;
}


/* --- RESPONSIVENESS --- */
@media (max-width: 900px) {
  .container {
    padding: 0 9px;
    max-width: 99vw;
  }
  h1, .h1 { font-size: 2.05rem; }
  h2, .h2 { font-size: 1.4rem; }
  .hero-section { padding: 48px 12px 34px 12px; }
}
@media (max-width: 600px) {
  h1, .h1 { font-size: 1.5rem; }
  h2, .h2 { font-size: 1.12rem; }
  .hero-section { padding: 32px 4px 18px 4px; }
  .footer-branding img { width: 29px; }
  .footer-branding p { font-size: 0.98rem; }
  .main-nav .cta-primary { display: none; }
}

/* Gaps between all wrappers, lists & sections (minimum 20px) */
.section + .section,
.content-wrapper + .content-wrapper,
ul + ul, ul + ol, ol + ul, ol + ol {
  margin-top: 24px;
}
.card + .card, .testimonial-card + .testimonial-card {
  margin-top: 24px !important;
}
/* Prevent overlapping everywhere */
* {
  box-sizing: border-box;
}

/* --- END OF CSS STYLE --- */
