/* =======================================================
   CSS RESET & BASE (Normalize + minimal reset)
   ======================================================= */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F0F6F3;
  color: #234F1E;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #234F1E;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  margin: 0 0 24px 0;
  padding: 0 0 0 22px;
}
li {
  list-style: none;
  position: relative;
  margin-bottom: 12px;
  font-weight: 500;
}
button {
  font-family: inherit;
  font-size: 16px;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}
:focus-visible {
  outline: 2px solid #B8933D;
  outline-offset: 2px;
}

/* =======================================================
   CSS VARIABLES FOR BRAND COLORS
   ======================================================= */
:root {
  --color-primary: #234F1E;
  --color-primary-dark: #193814;
  --color-secondary: #F0F6F3;
  --color-white: #FFFFFF;
  --color-accent: #B8933D;
  --color-accent-dark: #7A5B14;
  --color-text: #234F1E;
  --color-error: #d72641;
  --color-shadow: rgba(35,79,30,0.10);
  --nav-height: 72px;
}

/* =======================================================
   TYPOGRAPHY (Modern, Bold, Hierarchical)
   ======================================================= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800|Open+Sans:400,500,600&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 800;
  margin: 0 0 18px 0;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 700;
}
p, ul, ol, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text);
}
strong {
  font-weight: 700;
}
small {
  font-size: 0.93rem;
  color: #346e3d;
}

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.15rem; }
}

/* =======================================================
   GENERAL SPACING AND WRAPPER CLASSES
   ======================================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.section:last-child {
  margin-bottom: 0;
}
.text-section {
  max-width: 700px;
}

/* =======================================================
   HEADER & NAVIGATION (Desktop & Mobile)
   ======================================================= */
header {
  background: var(--color-white);
  box-shadow: 0 2px 12px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  justify-content: space-between;
  gap: 24px;
}
header img {
  height: 44px;
}
nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.9px;
  padding: 4px 0;
  position: relative;
  color: var(--color-primary);
  font-size: 1.03rem;
  transition: color 0.2s;
}
nav a:hover,
nav a:focus {
  color: var(--color-accent);
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.06rem;
  border: none;
  border-radius: 32px;
  padding: 13px 32px;
  margin-left: 8px;
  box-shadow: 0 2px 10px var(--color-shadow);
  transition: background 0.22s, box-shadow 0.22s, transform 0.12s;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  letter-spacing: 1px;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 16px var(--color-shadow);
}
.btn-secondary {
  background: var(--color-accent);
  color: var(--color-white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.01rem;
  border: none;
  border-radius: 32px;
  padding: 11px 29px;
  margin-top: 8px;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.22s, box-shadow 0.22s, transform 0.12s;
  cursor: pointer;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 12px var(--color-shadow);
}
/* Hamburger Icon */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 8px;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background 0.2s, color 0.2s;
  z-index: 201;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: var(--color-accent);
}
@media (max-width: 1024px) {
  nav {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  nav,
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }
  header .container {
    gap: 10px;
  }
}

/* =======================================================
   MOBILE MENU/OVERLAY
   ======================================================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-white);
  box-shadow: 0 4px 24px var(--color-shadow);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.37s cubic-bezier(.84,-0.06,.19,1.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.4rem;
  background: none;
  color: var(--color-primary);
  margin: 26px 30px 0 0;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 2050;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-accent);
  background: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0;
  padding: 24px 0 0 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.30rem;
  padding: 16px 0;
  border-bottom: 1px solid #f1f1f1;
  margin-right: 32px;
  transition: color 0.18s, background 0.2s;
  width: 90%;
  border-radius: 6px 24px 24px 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-white);
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu.open {
    display: none !important;
  }
}

/* =======================================================
   HERO, CTA, SECTION BASE
   ======================================================= */
main > section {
  margin-bottom: 60px;
  padding: 40px 0;
}
main > section .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
}
main > section .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
  padding: 0;
}
.text-section {
  align-items: flex-start;
  gap: 16px;
  padding: 0 0 0 0;
}
.hero {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 28px;
  box-shadow: 0 12px 42px var(--color-shadow);
  padding: 48px 32px;
}
.hero h1,
.hero p {
  color: var(--color-white);
}

/* =======================================================
   CARD, GRID, FLEX SYSTEMS (FLEXBOX ONLY!)
   ======================================================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 2px 16px var(--color-shadow);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 260px;
  transition: box-shadow 0.17s, transform 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px var(--color-shadow);
  transform: translateY(-2px) scale(1.03);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.service-list > div {
  flex: 1 1 280px;
  background: var(--color-white);
  box-shadow: 0 2px 14px var(--color-shadow);
  border-radius: 14px;
  padding: 28px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 230px;
  transition: box-shadow 0.18s, transform 0.11s;
}
.service-list > div:hover,
.service-list > div:focus-within {
  box-shadow: 0 8px 28px var(--color-shadow);
  transform: translateY(-2px) scale(1.04);
}
.service-list img {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
}
/* Price Table */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 2px 16px var(--color-shadow);
  margin-bottom: 32px;
  overflow: hidden;
}
.price-table th, .price-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 1rem;
}
.price-table th {
  background: var(--color-primary);
  color: var(--color-white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
}
.price-table tr:nth-child(even) td {
  background: var(--color-secondary);
}
.price-table tr:hover td {
  background: #f2ead4;
  color: var(--color-primary-dark);
}

/* =======================================================
   FEATURE/ICON LISTS WITH GEOMETRIC SHAPES
   ======================================================= */
ul > li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
}
ul > li img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--color-accent);
  padding: 4px;
  box-shadow: 0 2px 8px var(--color-shadow);
  margin-right: 6px;
}
@media (max-width: 600px) {
  ul > li {
    font-size: 0.95rem;
  }
}

/* =======================================================
   TESTIMONIAL CARDS
   ======================================================= */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 28px;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 2px 16px var(--color-shadow);
  margin-bottom: 26px;
  border-left: 7px solid var(--color-accent);
  transition: box-shadow 0.19s, border-color 0.18s, transform 0.12s;
  min-width: 180px;
}
.testimonial-card p {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin: 0 0 4px 0;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--color-primary);
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 0;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 7px 30px var(--color-shadow);
  border-color: var(--color-primary);
  transform: scale(1.03);
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 16px 12px;
  }
}

/* =======================================================
   FOOTER
   ======================================================= */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 48px 20px 18px 20px;
  margin-top: 42px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  margin-bottom: 0;
}
.footer-section {
  min-width: 160px;
  flex: 1 1 210px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-section img {
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
}
.footer-section h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 10px;
}
.footer-section ul {
  margin: 0;
  padding: 0 0 0 6px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-section ul li a {
  color: var(--color-secondary);
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.18s;
}
.footer-section ul li a:hover {
  color: var(--color-accent);
}
.footer-section p img {
  width: 22px;
  height: 22px;
  vertical-align: sub;
  margin-right: 7px;
}
footer small {
  color: #e7efd7;
}
footer .footer-section:last-child p img {
  width: 26px;
  height: 26px;
  margin-right: 6px;
}
@media (max-width: 850px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* =======================================================
   RESPONSIVE LAYOUTS (Mobile First)
   ======================================================= */
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  main > section { padding: 28px 0; margin-bottom: 40px; }
  .card-container, .content-grid, .service-list {
    gap: 12px;
  }
  .service-list > div,
  .card {
    min-width: 160px;
    padding: 15px 8px;
  }
  .footer-section {
    min-width: 0;
  }
}

/* Extra small - reduce h1 etc */
@media (max-width: 400px) {
  h1 { font-size: 1.3rem; }
}

/* =======================================================
   ANIMATIONS & MICRO-INTERACTIONS
   ======================================================= */
.btn-primary, .btn-secondary, .footer-section ul li a {
  transition: background 0.18s, color 0.17s, box-shadow 0.18s, transform 0.09s;
}
.card, .service-list > div, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.17s, border-left-color 0.18s;
}

/* =======================================================
   COOKIE CONSENT BANNER & MODAL
   ======================================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 22px 10px 16px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  z-index: 3000;
  box-shadow: 0 -4px 22px var(--color-shadow);
  gap: 22px;
  animation: appearCookie 0.40s cubic-bezier(.84,-0.06,.19,1.08);
}
@keyframes appearCookie {
  0% {transform: translateY(100%);opacity: 0;}
  80% {opacity: 1;}
  100% {transform: translateY(0);opacity: 1;}
}
.cookie-banner-message {
  flex: 1 1 60%;
  font-size: 1rem;
  font-weight: 600;
}
.cookie-banner-actions {
  display: flex;
  gap: 20px;
}
.cookie-consent-btn,
.cookie-settings-btn {
  border: none;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 26px;
  cursor: pointer;
  background-color: var(--color-accent);
  color: var(--color-white);
  margin-left: 6px;
  box-shadow: 0 2px 10px var(--color-shadow);
  transition: background 0.18s, color 0.15s, transform 0.13s, box-shadow 0.15s;
}
.cookie-consent-btn.reject {
  background-color: #c74040;
}
.cookie-consent-btn:hover, .cookie-consent-btn:focus,
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  transform: scale(1.04);
}
/* Cookie Modal Styles */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(32,44,32,0.75);
  z-index: 4000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.27s;
}
.cookie-modal {
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: 19px;
  box-shadow: 0 12px 38px var(--color-shadow);
  width: 98vw; max-width: 410px;
  padding: 32px;
  display: flex; flex-direction: column;
  gap: 22px;
  animation: popupFadeIn 0.37s cubic-bezier(.84,-0.06,.19,1.08);
}
@keyframes popupFadeIn {
  from { opacity: 0; transform: translateY(70px) scale(.93); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h3 {
  margin: 0 0 10px 0;
  font-size: 1.19rem;
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-categories label {
  font-size: 1rem;
  font-weight: 600;
  margin-left: 8px;
  display: inline-block;
}
.cookie-toggle {
  accent-color: var(--color-accent);
  margin-right: 9px;
}
.cookie-modal-actions {
  display: flex; gap: 14px;
  margin-top: 18px;
}
.cookie-modal-actions button {
  min-width: 110px;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--color-accent);
  position: absolute;
  right: 32px; top: 20px;
  cursor: pointer;
  z-index: 4090;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-primary);
}
@media (max-width: 567px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start; gap: 13px;
    padding: 13px 8px 12px 13px;
  }
  .cookie-modal { padding: 14px 5px 17px 9px; }
}

/* =======================================================
   MISC: TABLES, IMAGES, MESSAGES, ACCESSIBILITY
   ======================================================= */
table {
  border-spacing: 0;
  width: 100%;
}
th, td {
  text-align: left;
}
::-webkit-scrollbar {
  width: 9px;
  background: #F2F6ED;
}
::-webkit-scrollbar-thumb {
  background: #C2C9BF;
  border-radius: 18px;
}
@media (hover: none) {
  a, .btn-primary, .btn-secondary, .footer-section ul li a, .cookie-consent-btn, .cookie-settings-btn {
    transition: none;
  }
}

/* =======================================================
   UTILITIES & GEOMETRIC DECOR
   ======================================================= */
.radius-md { border-radius: 12px; }
.radius-lg { border-radius: 20px; }
.shadow-sm { box-shadow: 0 2px 6px var(--color-shadow); }
.shadow-lg { box-shadow: 0 8px 25px var(--color-shadow); }
.bg-primary { background: var(--color-primary); color: var(--color-white); }
.bg-secondary { background: var(--color-secondary); color: var(--color-primary); }
.bg-accent { background: var(--color-accent); color: var(--color-white); }

/* Icon-only buttons */
.icon-btn {
  background: var(--color-accent);
  border-radius: 50%;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-white);
  font-size: 1.3rem;
  border: none;
  outline: none;
  transition: background 0.16s, color 0.15s;
}
.icon-btn:hover, .icon-btn:focus {
  background: var(--color-primary);
  color: var(--color-accent);
}

/* =======================================================
   ERROR & ALERTS
   ======================================================= */
.alert {
  background: var(--color-error);
  color: #fff;
  border-radius: 11px;
  padding: 10px 18px;
  margin: 0 0 20px 0;
}

/* =======================================================
   END OF STYLES
   ======================================================= */
