/* === 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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.45;
  font-family: 'Roboto', Arial, sans-serif;
  background: #ffffff;
  color: #1d3927;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a { color: inherit; text-decoration: none; transition: color 0.18s cubic-bezier(.4,0,.2,1); }
ul, ol { list-style-position: outside; margin-left: 1em; }
strong { font-weight: 700; }

/* === BRAND COLORS === */
:root {
  --primary: #1d3927;
  --secondary: #ffffff;
  --accent: #bb5a20;
  --feature-neutral: #ece6df;
  --text-main: #1d3927;
  --surface: #ffffff;
  --footer-bg: #284e36;
}

/* === TYPOGRAPHY === */
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-main);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -1px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; line-height: 1.15; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 15px; }
h4, h5, h6 { font-size: 1.1rem; }
p, ul, ol {
  margin-bottom: 16px;
  font-size: 1rem;
}
ul, ol {
  padding-left: 22px;
}
.text-section ul, .text-section ol {
  margin-bottom: 18px;
}

.text-section li {
  margin-bottom: 8px;
}

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px; /* MANDATORY */
  background: var(--surface);
  border-radius: 24px;
  box-shadow: 0 4px 26px 0 rgba(40,78,54,0.07);
  transition: box-shadow 0.25s cubic-bezier(.4,0,.2,1);
}

/* === FLEXBOX STRUCTURE === */
.features-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features-grid { gap: 24px; }
.card-container { gap: 24px; }
.content-grid { 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: var(--feature-neutral);
  border-radius: 18px;
  margin-bottom: 24px;
  box-shadow: 0 4px 18px 0 rgba(40,78,54,0.07);
  color: #232323;
  position: relative;
  transition: box-shadow 0.18s cubic-bezier(.4,0,.2,1);
}
.testimonial-card:hover {
  box-shadow: 0 7px 22px 0 rgba(40,78,54,0.14);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-meta {
  margin-left: auto;
  font-size: 1rem;
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

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

.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--surface);
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(40,78,54,0.07);
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow 0.15s cubic-bezier(.4,0,.2,1);
}
.card:hover {
  box-shadow: 0 7px 40px 0 rgba(40,78,54,0.08);
  transform: translateY(-1px) scale(1.012);
}

.feature-box {
  background: var(--feature-neutral);
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(40,78,54,0.06);
  padding: 30px 20px;
  flex: 1 1 240px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.18s cubic-bezier(.4,0,.2,1), transform 0.15s cubic-bezier(.4,0,.2,1);
}
.feature-box img {
  width: 48px; height: 48px;
  margin-bottom: 12px;
}
.feature-box:hover {
  box-shadow: 0 8px 26px -4px rgba(187,90,32,0.16);
  background: #fff7f1;
  transform: translateY(-3px) scale(1.03);
}

/* === BUTTONS & CTAS === */
.cta-primary,
button.cta-primary,
.mobile-menu-toggle,
.mobile-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.10rem;
  letter-spacing: .4px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  box-shadow: 0 2px 12px -2px rgba(187,90,32,0.09);
  transition: background .2s cubic-bezier(.4,0,.2,1), box-shadow .22s cubic-bezier(.4,0,.2,1), transform .12s cubic-bezier(.4,0,.2,1);
}
.cta-primary:hover,
button.cta-primary:hover {
  background: #d97b47;
  color: #fff;
  box-shadow: 0 8px 24px -2px rgba(187,90,32,0.16);
  transform: scale(1.04) translateY(-2px);
}
.cta-primary:active, button.cta-primary:active { background: #a14913; }

/* === LINKS === */
.main-nav a,
.footer-links a,
.mobile-nav a {
  font-family: "Montserrat", 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.04rem;
  padding: 8px 18px;
  border-radius: 20px;
  color: var(--primary);
  transition: background .15s, color .13s;
  margin: 0 3px;
}
.main-nav a:hover, .mobile-nav a:hover, .footer-links a:hover {
  background: var(--accent);
  color: #fff;
}

.main-nav a.cta-primary {
  padding: 12px 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 32px;
  margin-left: 16px;
  box-shadow: 0 2px 10px -2px rgba(187,90,32,0.13);
  transition: background 0.16s;
}
.main-nav a.cta-primary:hover {
  background: #d97b47;
}

/* === HEADER & NAV === */
header {
  width: 100%;
  background: var(--secondary);
  box-shadow: 0 4px 18px 0 rgba(40,78,54,0.04);
  top: 0; left: 0; right: 0;
  z-index: 80;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
}
.logo img {
  display: block;
  height: 46px;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 8px;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  border: none;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  z-index: 102;
  transition: background 0.21s, color 0.14s, transform 0.13s;
}
.mobile-menu-toggle:active { background: var(--accent); }

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.4,0,.2,1);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px 0 0 0;
  box-shadow: 0 0 80px 0 rgba(28,40,27,0.10);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px; right: 22px;
  background: none;
  font-size: 2.2rem;
  border: none;
  color: var(--primary);
  cursor: pointer;
  z-index: 130;
  padding: 7px;
  transition: color 0.17s;
}
.mobile-menu-close:hover {
  color: var(--accent);
}
.mobile-nav {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 90vw;
  max-width: 350px;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  font-size: 1.22rem;
  padding: 14px 0;
  width: 100%;
  color: var(--primary);
  border-radius: 0;
  border-bottom: 1px solid #ece6df;
  margin: 0;
  transition: background 0.18s, color 0.11s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover {
  background: var(--feature-neutral);
  color: var(--accent);
}

/* === FOOTER === */
footer {
  background: var(--footer-bg);
  color: #fff;
  padding: 36px 0 0 0;
  margin-top: 32px;
  width: 100%;
}
footer .container {
  padding-top: 0;
  padding-bottom: 0;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 34px;
  padding-bottom: 28px;
}
.footer-content .logo {
  margin-bottom: 12px;
}
.footer-content .logo img {
  height: 38px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-links a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  opacity: 0.94;
  padding: 0;
  border-radius: 0;
  transition: color 0.14s;
}
.footer-links a:hover {
  color: var(--accent);
  background: none;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.98rem;
  opacity: 0.88;
}
.contact-details img {
  width: 19px; height: 19px; vertical-align: middle; margin-right: 7px;
}

/* === MAP PLACEHOLDER === */
.map-placeholder {
  background: var(--feature-neutral);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  min-height: 120px;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1040px) {
  .container { max-width: 98vw; }
  .features-grid, .card-container, .content-grid { gap: 18px; }
}
@media (max-width: 900px) {
  .footer-content { flex-direction: column; align-items: flex-start; gap: 22px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.37rem; }
  .section { padding: 28px 7px; margin-bottom: 32px; }
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-box { min-width: 0; width: 100%; }
  .testimonial-card { flex-direction: column; gap: 10px; }
  .footer-content { flex-direction: column; gap: 18px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .mobile-menu { display: flex; }
  .map-placeholder { min-height: 80px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cookie-modal { min-width: 95vw; }
}
@media (max-width: 516px) {
  .container {
    padding: 0 5px;
  }
  .section { padding: 19px 3px; }
  .footer-content { padding-bottom: 16px; gap: 12px; }
}

/* === MISCELLANEOUS === */
.section:last-child { margin-bottom: 0; }
.content-wrapper { margin: 0 auto; }

/* === MICRO-INTERACTIONS === */
a, button, .cta-primary, .feature-box, .card, .testimonial-card {
  transition: box-shadow 0.21s cubic-bezier(.4,0,.2,1), transform 0.13s cubic-bezier(.4,0,.2,1), background 0.2s, color 0.13s;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  width: 100vw;
  background: #232923;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 26px 26px 26px 18px;
  font-size: 1.02rem;
  box-shadow: 0 -3px 32px 0 rgba(40,78,54,0.18);
  z-index: 9998;
  transition: transform 0.38s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.hide { transform: translateY(120%); }
.cookie-banner .cookie-btn {
  margin-left: 14px;
  padding: 10px 22px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 26px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  margin-right: 7px;
  font-size: 1rem;
  transition: background 0.16s, transform .11s;
}
.cookie-banner .cookie-btn.cookie-settings {
  background: var(--feature-neutral);
  color: var(--primary);
}
.cookie-banner .cookie-btn.cookie-settings:hover {
  background: #fff7f1;
  color: var(--accent);
}
.cookie-banner .cookie-btn:hover {
  background: #d97b47;
  color: #fff;
  transform: scale(1.06) translateY(-1px);
}

/* === COOKIE MODAL POPUP === */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 12000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.30);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  min-width: 410px;
  max-width: 96vw;
  background: #fff;
  color: var(--primary);
  border-radius: 18px;
  box-shadow: 0 14px 40px -10px rgba(40,78,54,0.15);
  padding: 38px 30px 20px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 17px;
  animation: cookieModalIn .36s cubic-bezier(.4,0,.2,1);
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px; right: 24px;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal .close-modal:hover { color: var(--primary); }
.cookie-modal h2 {
  margin-bottom: 10px;
  font-size: 1.37rem;
  font-family: 'Montserrat',sans-serif;
  font-weight: bold;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 1.06rem;
}
.cookie-category .toggle {
  width: 36px; height: 22px;
  background: #ece6df;
  border-radius: 12px;
  position: relative;
  margin-left: 12px;
  cursor: pointer;
  transition: background .15s;
}
.cookie-category .toggle.enabled {
  background: var(--accent);
}
.cookie-category .toggle:after {
  content: '';
  display: block;
  width: 19px; height: 19px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px; top: 1.5px;
  transition: left 0.18s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 1px 4px 0 rgba(50,50,50,0.07);
}
.cookie-category .toggle.enabled:after {
  left: 15px;
}
.cookie-modal .cookie-btns {
  display: flex;
  gap: 13px;
  margin-top: 18px;
}
.cookie-modal .cookie-btns .cookie-btn {
  padding: 10px 24px;
  font-size: 1.01rem;
}

/* === UTILITIES === */
.hide { display: none !important; }

/* === GEOMETRIC DECOR (Optional for modern_bold) === */
.section {
  position: relative;
  overflow: visible;
}
.section:before {
  content: '';
  display: block;
  position: absolute;
  top: -24px; left: -32px;
  width: 62px; height: 62px;
  border-radius: 20px 60px 12px 18px;
  background: rgba(187,90,32,0.05);
  z-index: 0;
}
@media (max-width: 700px) {
  .section:before { display: none; }
}

/* === ELEVATION ON INTERACTIVE === */
.feature-box:focus-within, .feature-box:active, .card:focus-within, .card:active {
  box-shadow: 0 12px 32px 0 rgba(40,78,54,0.16);
}

/* === FOCUS STATES === */
a, button, .cta-primary {
  outline: none;
}
a:focus-visible, button:focus-visible, .cta-primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* === HIDE NATIVE SCROLLBAR on OVERLAYS === */
.mobile-menu, .cookie-modal-overlay {
  scrollbar-width: none;
}
.mobile-menu::-webkit-scrollbar, .cookie-modal-overlay::-webkit-scrollbar {
  display: none;
}

/* === PRINT STYLES === */
@media print {
  header, footer, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  .section, .container { background: #fff !important; color: #222 !important; box-shadow: none !important; }
}
section {
  padding: 20px 0;
}
/* ====== END CSS ====== */
