/* ===== CSS RESET & BASE ===== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #ffffff;
  color: #234C33;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
a {
  color: #234C33;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #E2A845;
  outline-offset: 2px;
}
a:hover, a:active {
  color: #E2A845;
}
p {
  margin-bottom: 1rem;
}

/* ===== BODY TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #295B3D;
}
h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 0.75em;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5em;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.4em;
}

strong {
  font-weight: 800;
  color: #234C33;
}

hr {
  border: none;
  height: 2px;
  width: 40px;
  background: #E2A845;
  margin: 20px 0;
}

/* ====== SPACING & LAYOUT ====== */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 16px 0 rgba(41,91,61,0.09);
  padding: 28px;
  margin-bottom: 20px;
  position: relative;
  min-width: 270px;
  flex: 1 1 calc(33% - 24px);
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 28px 0 rgba(41,91,61,0.17);
}

.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;
  background: #E4EFE7;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(41,91,61,0.07);
  margin-bottom: 20px;
  color: #234C33;
  transition: box-shadow 0.15s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px 0 rgba(233,184,114,0.09);
  transform: scale(1.012);
}
.testimonial-card span {
  display: block;
  font-size: 1rem;
  margin-top: 6px;
  color: #234C33;
}

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

.text-section {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.core-values-grid,
.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.feature-grid li {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(41,91,61,0.06);
  flex: 1 1 240px;
  min-width: 220px;
  padding: 28px 22px 22px 22px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid li:hover {
  box-shadow: 0 8px 28px 0 rgba(226,168,69,0.15);
  transform: translateY(-3px) scale(1.022);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 7px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Reduce margin between secondary sections but keep clear separation */
section {
  margin-bottom: 60px;
}

/* ====== HEADER & NAVIGATION ====== */
header {
  width: 100%;
  background: #234C33;
  color: #fff;
  box-shadow: 0 2px 12px 0 rgba(41,91,61,0.04);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 18px 20px;
}
.logo img {
  height: 48px;
  width: auto;
}
nav.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
nav.main-nav a {
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 3px;
  border-bottom: 2px solid transparent;
  transition:
    color 0.15s,
    border-color 0.17s;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  color: #E2A845;
  border-bottom: 2px solid #E2A845;
}

.btn-primary {
  background: #E2A845;
  color: #234C33;
  border: none;
  border-radius: 9px;
  padding: 16px 36px 14px 36px;
  font-size: 1.10rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  box-shadow: 0 3px 14px 0 rgba(233,184,114,0.08);
  margin-left: 24px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.16s, transform 0.14s;
  display: inline-block;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: #295B3D;
  color: #fff;
  box-shadow: 0 6px 28px 0 rgba(41,91,61,0.11);
  transform: scale(1.035);
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #E2A845;
  font-size: 2rem;
  display: none;
  cursor: pointer;
  margin-left: 16px;
  transition: color 0.2s;
  z-index: 1201;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #fff;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #234C33;
  color: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 30px 20px 30px;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.39,.58,.57,1.01);
  box-shadow: 0 8px 32px 0 rgba(35,76,51,0.16);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #E2A845;
  font-size: 2.2rem;
  position: relative;
  top: 0;
  right: 0;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 36px;
  transition: color 0.2s;
}
.mobile-menu-close:focus {
  outline: 2px solid #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  margin-top: 20px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.15rem;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  padding: 14px 9px;
  border-radius: 8px;
  transition: background 0.14s, color 0.14s;
  margin-bottom: 3px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E2A845;
  color: #234C33;
}

/* ===== HERO SECTION ===== */
.hero {
  background: #E4EFE7;
  border-radius: 0 0 60px 0 / 0 0 60px 0;
  box-shadow: 0 8px 48px 0 rgba(41,91,61,0.11);
  margin-bottom: 48px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 26px;
}
.hero h1 {
  color: #234C33;
  font-size: 2.6rem;
  font-weight: 900;
}
.hero p {
  color: #295B3D;
  font-size: 1.22rem;
  margin-bottom: 12px;
}

/* ===== FOOTER ===== */
footer {
  background: #295B3D;
  color: #fff;
  padding: 40px 0 30px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
footer img {
  height: 44px;
  width: auto;
}
.footer-nav {
  display: flex;
  gap: 20px;
}
.footer-nav a {
  color: #E2A845;
  font-weight: 700;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
footer .contact-info {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.97rem;
  font-weight: 500;
}
footer .contact-info img {
  height: 20px;
  width: 20px;
  vertical-align: middle;
  margin-right: 7px;
}

/* ======= BUTTONS ======= */
.button, .btn, button {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 1.1px;
  border: none;
  cursor: pointer;
  outline: none;
  transition: 
    background 0.2s,
    color 0.17s,
    box-shadow 0.18s,
    transform 0.13s;
}
.button:focus, .btn:focus, button:focus {
  outline: 2px solid #E2A845;
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 2100;
  background: #234C33;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 36px;
  box-shadow: 0 -6px 24px 0 rgba(35,76,51,0.14);
  animation: cookieBannerFadeIn 0.65s ease;
}
@keyframes cookieBannerFadeIn {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-message {
  font-size: 1.08rem;
  font-family: 'Roboto', Arial, sans-serif;
  max-width: 450px;
}
.cookie-btns {
  display: flex;
  gap: 14px;
}
.cookie-btn-accept,
.cookie-btn-reject {
  background: #E2A845;
  color: #234C33;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1rem;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #295B3D;
  color: #fff;
}
.cookie-btn-reject {
  background: #E4EFE7;
  color: #234C33;
  border: 2px solid #E2A845;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #E2A845;
  color: #fff;
}
.cookie-btn-settings {
  background: transparent;
  color: #E2A845;
  padding: 9px 11px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  transition: color 0.17s, background 0.18s;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  color: #fff;
  background: #E2A845;
}

/* ==== COOKIE MODAL POPUP ==== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2200;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(41,91,61,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.6s;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #234C33;
  border-radius: 18px;
  max-width: 400px;
  width: 92vw;
  padding: 38px 32px 28px 32px;
  box-shadow: 0 16px 72px 0 rgba(41,91,61,0.13);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalPop 0.55s cubic-bezier(.21,.57,.48,1.18);
}
@keyframes modalPop {
  from { transform: translateY(60px) scale(0.91); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.7rem;
  color: #295B3D;
  margin-bottom: 7px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 1.08rem;
}
.cookie-category input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: #E2A845;
}
.cookie-switch {
  position: relative;
  width: 42px;
  height: 22px;
  display: inline-block;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #E4EFE7;
  border-radius: 22px;
  transition: background 0.2s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #E2A845;
}
.cookie-slider:before {
  position: absolute;
  content: '';
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(20px);
  background: #295B3D;
}

.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

/* ======= OTHER PAGE COMPONENTS ======= */
ol {
  margin-left: 1.4em;
  margin-bottom: 1em;
  list-style: decimal inside;
}
li {
  margin-bottom: 0.6em;
  line-height: 1.6;
}

/* ====== UTILITY / GENERAL ====== */
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.mb-24 { margin-bottom: 24px; }
.pt-16 { padding-top: 16px; }
.pb-16 { padding-bottom: 16px; }

/* ===== RESPONSIVE MEDIA QUERIES ===== */
@media (max-width: 991px) {
  .feature-grid {
    gap: 20px;
  }
  .card-container, .content-grid, .core-values-grid, .team-bios {
    gap: 15px;
  }
  header .container, footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  footer {
    padding: 32px 0 20px 0;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  section {
    margin-bottom: 40px;
    padding: 28px 6px;
  }
  .hero {
    border-radius: 0 0 32px 0 / 0 0 32px 0;
    padding-top: 28px;
    padding-bottom: 26px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid li, .card {
    min-width: 0;
    width: 100%;
  }
  .card-container, .content-grid, .core-values-grid, .team-bios {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  header .container {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    padding: 12px 9px 12px 9px;
  }
  .btn-primary {
    padding: 13px 21px 11px 21px;
    margin-left: 8px;
    font-size: 0.98rem;
  }
  nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-nav { flex-direction: column; gap: 10px; }
}
@media (max-width: 520px) {
  html {
    font-size: 14px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.39rem; }
  .hero p { font-size: 1rem; }
  .footer-nav {
    font-size: 0.89rem;
  }
}

/* ===== GEOMETRIC & ACCENT SHAPES ===== */
.hero::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0; right: 0;
  width: 100px; height: 100px;
  background: #E2A845;
  border-radius: 0 0 60px 0;
  opacity: 0.10;
  z-index: 0;
  pointer-events: none;
}

/* ===== VISUAL FOCUS & ACCENTS ===== */
::selection {
  background: #E2A845;
  color: #234C33;
}

/* ===== CONTAINERS FOR TEXT CARDS ===== */
.text-section > div, .text-section > p, .text-section > ul, .text-section > ol {
  margin-bottom: 8px;
}
.text-section ul, .text-section ol {
  margin-bottom: 14px;
}

/* ==== ACCESSIBILITY: Focus visible ==== */
a:focus-visible, button:focus-visible, .btn-primary:focus-visible,
.mobile-menu-toggle:focus-visible, .mobile-menu-close:focus-visible {
  outline: 3px solid #E2A845;
  outline-offset: 3px;
}

/* ====== PRINT: Remove background ====== */
@media print {
  body, header, footer, .hero {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  nav, .btn-primary, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
}
