/* =============================
    CSS RESET & BASE STYLES
============================= */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
html, body { height: 100%; margin: 0; padding: 0; }
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7F7F2;
  color: #1A1A1A;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #217C3D;
  margin-top: 0;
  font-weight: 600;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; color: #217C3D; font-weight: 500; }
h4, h5, h6 { font-size: 1rem; }
p { margin: 0 0 1.25em; }
a {
  color: #217C3D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus { color: #D9A441; text-decoration: underline; }
ul, ol { padding-left: 22px; margin: 12px 0 18px 0; }
ul li, ol li { margin-bottom: 8px; }
strong { color: #217C3D; font-weight: 600; }

/* =============================
    BRAND COLORS AS VARIABLES
============================= */
:root {
  --brand-primary: #217C3D;
  --brand-secondary: #1A1A1A;
  --brand-bg: #F7F7F2;
  --brand-accent: #D9A441;
  --brand-white: #FFF;
  --shadow-1: 0 2px 12px rgba(33, 124, 61, 0.06);
  --shadow-2: 0 4px 20px rgba(33, 124, 61, 0.11);
  --radius: 14px;
  --transition-short: 0.18s cubic-bezier(.4,0,.2,1);
  --gap: 20px;
}

/* =============================
    CONTAINER & LAYOUT CLASSES
============================= */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  align-items: flex-start;
  padding-bottom: 8px;
}
/* Section Spacing */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
/* Prevent double padding for last section */
main section:last-child { margin-bottom: 0; }

/* Card and Grid Containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: var(--brand-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 28px 24px;
  margin-bottom: 20px;
  flex: 1 1 250px;
  position: relative;
  transition: box-shadow 0.2s;
}
.card:hover,
.card:focus {
  box-shadow: var(--shadow-2);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--brand-white);
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow-1);
  font-size: 1.05rem;
  min-width: 0;
  border-left: 4px solid var(--brand-accent);
  transition: border-color var(--transition-short), box-shadow var(--transition-short);
}
.testimonial-card:hover { border-color: var(--brand-primary); box-shadow: var(--shadow-2); }
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--brand-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 20px 16px;
  margin-bottom: 20px;
}


/* =============================
    HEADER & NAVIGATION
============================= */
header {
  background: var(--brand-white);
  box-shadow: 0 2px 18px rgba(33, 124, 61, 0.06);
  position: sticky;
  top: 0;
  z-index: 35;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  min-height: 70px;
}
header img {
  max-height: 48px;
  width: auto;
  vertical-align: middle;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brand-secondary);
  font-size: 1rem;
  padding: 4px 0;
  position: relative;
  letter-spacing: 0.01em;
  transition: color var(--transition-short);
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--brand-primary);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: 600;
  background: var(--brand-primary);
  color: var(--brand-white);
  border: none;
  border-radius: 28px;
  box-shadow: 0 2px 12px rgba(33, 124, 61, 0.11);
  cursor: pointer;
  margin-left: 24px;
  transition: background var(--transition-short), box-shadow var(--transition-short), color var(--transition-short);
  outline: none;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--brand-accent);
  color: var(--brand-secondary);
  box-shadow: var(--shadow-2);
}

/* =============================
    MOBILE NAV
============================= */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-white);
  color: var(--brand-primary);
  border: none;
  font-size: 2rem;
  margin-left: 18px;
  cursor: pointer;
  padding: 4px 11px;
  border-radius: 50%;
  transition: background var(--transition-short), color var(--transition-short);
  z-index: 98;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus { background: var(--brand-primary); color: var(--brand-white); }
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 90vw;
  max-width: 350px;
  height: 100vh;
  background: var(--brand-white);
  z-index: 99;
  box-shadow: -2px 0 18px rgba(33, 124, 61, .07);
  padding: 32px 28px 24px 28px;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: var(--brand-primary);
  font-size: 2rem;
  border: none;
  align-self: flex-end;
  margin-bottom: 22px;
  cursor: pointer;
  padding: 3px 9px;
  border-radius: 50%;
  transition: background var(--transition-short), color var(--transition-short);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus { background: var(--brand-primary); color: var(--brand-white); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 0;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brand-secondary);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 12px 0 10px 5px;
  border-radius: 6px;
  transition: background var(--transition-short), color var(--transition-short);
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--brand-primary);
  color: var(--brand-white);
}

/* Hide desktop nav on mobile, show mobile menu toggle */
@media (max-width: 991px) {
  .main-nav,
  .cta-btn { display: none; }
  .mobile-menu-toggle { display: inline-block; }
}
@media (min-width: 992px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none !important; }
}

/* Prevent content scroll when mobile menu is open (toggle this from JS) */
body.menu-open {
  overflow: hidden;
}

/* =============================
    FOOTER
============================= */
footer {
  background: var(--brand-white);
  border-top: 1px solid #e7e5db;
  padding: 38px 0 30px 0;
  font-size: 1rem;
  color: var(--brand-secondary);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #217C3D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color var(--transition-short);
  padding: 2px 0;
}
.footer-nav a:hover { color: var(--brand-accent); }
.footer-contact {
  font-size: 0.95rem;
  color: #1A1A1A;
}
.footer-contact a {
  color: #217C3D;
  text-decoration: underline;
  font-size: 0.97rem;
}

/* =============================
    ADDRESS / MAP / CONTACT SNIPPETS
============================= */
.address-snippet, .opening-hours, .address-details, .map-snippet, .business-hours, .access-tips {
  background: var(--brand-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 18px 18px 12px 18px;
  margin-bottom: 20px;
  font-size: 1rem;
  color: var(--brand-secondary);
}
.address-snippet strong, .opening-hours strong, .address-details strong { color: var(--brand-primary); font-weight: 600; }

/* =============================
    BUTTONS & INTERACTIONS
============================= */
button, .cta-btn {
  outline: none;
  border: none;
  font-family: inherit;
}
button:focus, .cta-btn:focus { box-shadow: 0 0 0 2px var(--brand-accent); }

/* Text link (sections) */
.content-wrapper a:not(.cta-btn) {
  font-weight: 500;
  color: var(--brand-primary);
  border-bottom: 2px solid var(--brand-accent);
  transition: color var(--transition-short), border-color var(--transition-short);
  padding-bottom: 1px;
}
.content-wrapper a:not(.cta-btn):hover {
  color: var(--brand-accent);
  border-color: var(--brand-primary);
  background: #fcf8ee;
}

/* =============================
    LIST STYLES
============================= */
ul, ol {
  margin-top: 0;
  margin-bottom: 12px;
  color: #393939;
  font-size: 1.04em;
}
ul li, ol li { margin-bottom: 6px; }
ul li:last-child, ol li:last-child { margin-bottom: 0; }

/* =============================
    TESTIMONIAL MICRO INTERACTION
============================= */
.testimonial-card p {
  color: var(--brand-secondary);
  font-size: 1.07rem;
  margin-bottom: 6px;
}
.testimonial-card span {
  color: #7d826b;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  font-style: italic;
}

/* =============================
    COOKIE CONSENT BANNER & MODAL
============================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--brand-white);
  box-shadow: 0 -2px 24px rgba(33, 124, 61, 0.14);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 24px 16px 24px;
  z-index: 150;
  width: 100%;
  font-size: 1rem;
  box-sizing: border-box;
  transition: transform 0.35s var(--transition-short), opacity 0.25s;
  opacity: 1; transform: translateY(0);
}
.cookie-banner.hide { opacity: 0; pointer-events: none; transform: translateY(32px); }
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 5px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 9px 22px;
  font-size: 1rem;
  border-radius: 22px;
  border: none;
  margin-right: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  cursor: pointer;
  background: var(--brand-primary);
  color: var(--brand-white);
  transition: background var(--transition-short), color var(--transition-short);
}
.cookie-banner button.cookie-settings {
  background: var(--brand-accent);
  color: var(--brand-secondary);
}
.cookie-banner button.reject {
  background: #ecebe0;
  color: var(--brand-primary);
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: var(--brand-accent);
  color: var(--brand-secondary);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 151;
  background: rgba(33, 124, 61, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1; transition: opacity 0.3s;
}
.cookie-modal-overlay.hide { opacity: 0; pointer-events: none; }
.cookie-modal {
  background: var(--brand-white);
  box-shadow: 0 8px 42px rgba(33, 124, 61, 0.13);
  border-radius: var(--radius);
  padding: 40px 32px 28px 32px;
  width: 95vw; max-width: 470px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
  z-index: 153;
  animation: fadeInScale 0.32s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeInScale {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: var(--brand-primary);
  margin-bottom: 10px;
}
.cookie-modal label {
  font-size: 1.04rem;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 0 8px 0;
  font-weight: 500;
  color: #393939;
}
.cookie-toggle {
  width: 42px;
  height: 22px;
  border-radius: 22px;
  background: #ecebe0;
  position: relative;
  transition: background 0.2s;
  margin-right: 8px;
}
.cookie-toggle input[type="checkbox"] { display: none; }
.cookie-toggle .slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: #D9A441;
  border-radius: 50%;
  transition: left 0.2s, background 0.2s;
}
.cookie-toggle input[type="checkbox"]:checked + .slider {
  left: 20px;
  background: #217C3D;
}
.cookie-modal .cookie-buttons {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.cookie-modal button {
  padding: 10px 24px;
  font-size: 1rem;
  border-radius: 22px;
  border: none;
  font-weight: 600;
  margin-right: 6px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 13px; right: 18px;
  font-size: 1.2rem;
  background: none;
  border: none;
  color: #757868;
  cursor: pointer;
  padding: 3px 8px;
  border-radius: 50%;
  transition: background var(--transition-short), color var(--transition-short);
}
.cookie-modal .close-modal:hover {
  background: var(--brand-accent);
  color: var(--brand-white);
}

/* Essential cookies (always enabled) */
.cookie-modal .essential {
  opacity: 0.7;
  pointer-events: none;
}

/* =============================
    RESPONSIVENESS
============================= */
@media (max-width: 900px) {
  .container { max-width: 99%; }
}
@media (max-width: 768px) {
  section {
    margin-bottom: 42px;
    padding: 30px 9px;
  }
  .content-wrapper, .card-container, .content-grid, .footer-nav {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .testimonial-card, .feature-item, .card {
    padding: 18px 10px;
    font-size: 0.98rem;
  }
  .address-snippet, .opening-hours, .address-details, .map-snippet, .business-hours, .access-tips {
    padding: 14px 8px 10px 12px;
    font-size: 0.97rem;
  }
  .cookie-modal { padding: 28px 8px 18px 12px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.05rem; }
  .cta-btn, .cookie-banner button, .cookie-modal button { font-size: 0.98rem; padding: 8px 20px; }
  header .container { height: 60px; }
}

/* =============================
    VISUAL HIERARCHY & SPACING
============================= */
/* Generous whitespace & content breathing room */
section + section {
  margin-top: 0;
  border-top: none;
}
main section {
  border-radius: var(--radius);
  box-shadow: none;
}
main section .card,
main section .testimonial-card,
main section .feature-item {
  margin-bottom: 20px;
}
main .content-wrapper > *:not(:last-child) {
  margin-bottom: 16px;
}

/* =============================
    MINIMAL SHADOWS & ROUNDED
============================= */
.card, .feature-item,
.testimonial-card, .address-snippet,
.opening-hours, .address-details, .map-snippet, .business-hours, .access-tips, .cookie-banner, .cookie-modal {
  box-shadow: var(--shadow-1);
  border-radius: var(--radius);
}

/* =============================
    TYPOGRAPHY SCALE
============================= */
:root {
  --font-xs: 14px;
  --font-s: 16px;
  --font-m: 18px;
  --font-l: 24px;
  --font-xl: 32px;
  --font-xxl: 48px;
}

/* =============================
    FOCUS STYLES
============================= */
a, button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner button, .cookie-modal button, .cookie-modal .close-modal {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--brand-accent) !important;
  outline-offset: 2px;
}

/* =============================
    PRINT FRIENDLINESS
============================= */
@media print {
  header, nav, .mobile-menu, .cookie-banner, .cookie-modal, footer { display: none !important; }
  body { background: #FFF !important; }
}
