/* -------------------------------------------
   CSS RESET & BASE (normalize + flex defaults)
-------------------------------------------- */
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; }
*, *:before, *:after { box-sizing: inherit; }
body, html {
  width: 100%;
  min-height: 100%;
  background: #ffffff;
  color: #264d29;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, picture {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  padding-left: 22px;
}
li {
  margin-bottom: 8px;
}
a {
  color: #386641;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #b08a12;
  outline: none;
}
:focus {
  outline: 2px solid #b08a12;
  outline-offset: 2px;
}

/* -------------------
   Typeface
-------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #264d29;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
h3 {
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.subheadline {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.2rem;
  color: #386641;
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
p {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  margin-bottom: 14px;
}
blockquote {
  border-left: 6px solid #b08a12;
  background: #fffde4;
  color: #264d29;
  padding: 18px 26px 18px 20px;
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 12px;
  border-radius: 8px;
}
strong {
  font-weight: 600;
}

/* ---------------------------------------------
   LAYOUT SYSTEM — GEOMETRIC STRUCTURED STYLE
--------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #f1f1f1;
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(56, 102, 65, 0.07);
  position: relative;
}
.text-section {
  background: #ffffff;
  padding: 40px 20px;
  border-radius: 20px;
  box-shadow: 0 1px 8px rgba(56,102,65,0.07);
}

.card-container, .feature-grid, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.card {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  padding: 28px 22px;
  box-shadow: 0 1.5px 10px 0 rgba(56,102,65,0.10);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  max-width: 380px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #ffffff;
  padding: 20px 20px 26px 20px;
  border-radius: 14px;
  box-shadow: 0 1.5px 10px 0 rgba(56,102,65,0.08);
  min-width: 220px;
  flex: 1 1 220px;
  min-height: 180px;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Testimonials */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fafaf7;
  border: 2.5px solid #c2a83e;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(56,102,65,.09);
  color: #264d29;
  min-width: 300px;
  max-width: 580px;
}
.testimonial-meta span {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #386641;
}

/* Confirmation message */
.confirmation-message {
  padding: 36px 30px 32px 30px;
  background: #e7f9ea;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 2px 14px rgba(56,102,65,0.08);
}

/* ---------------------------------
   HEADER NAVIGATION & LOGO
---------------------------------- */
header {
  background: #ffffff;
  border-bottom: 2.5px solid #b08a12;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 18px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 50px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  color: #264d29;
  text-transform: uppercase;
  transition: color .17s, text-shadow .17s;
  padding: 5px 7px;
  border-radius: 7px;
}
nav a:hover, nav a:focus {
  color: #b08a12;
  background: #e0e6de;
  text-shadow: 0 1.5px 0 #c2a83e44;
}
.btn-primary, .btn-secondary, .mobile-nav a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  padding: 12px 32px;
  border-radius: 14px;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .19s;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-left: 14px;
  box-shadow: 0 1px 5px 0 rgba(56,102,65, .07);
  text-decoration: none;
}
.btn-primary {
  background: #386641;
  color: #fff;
  box-shadow: 0 2px 8px 0 #38664138;
}
.btn-primary:hover, .btn-primary:focus {
  background: #b08a12;
  color: #fff;
  box-shadow: 0 3px 12px 0 #b08a1233;
}
.btn-secondary {
  background: transparent;
  color: #386641;
  border: 2px solid #386641;
  font-weight: 600;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #386641;
  color: #fff;
}

/* Main nav disappears on mobile, burger visible only on mobile */
.mobile-menu-toggle {
  background: #bfdca6;
  border: none;
  font-size: 2.3rem;
  padding: 8px 16px 6px 16px;
  border-radius: 8px;
  cursor: pointer;
  margin-left: 18px;
  display: none;
  color: #264d29;
  transition: background .2s, color .2s, box-shadow .18s;
  z-index: 1002;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #b08a12;
  color: #fff;
  box-shadow: 0 2px 14px #b08a1255;
}

/* -----------------------------
   MOBILE NAVIGATION OVERLAY
----------------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38,77,41, 0.97);
  transform: translateX(-100%);
  transition: transform .34s cubic-bezier(.77,.03,.87,.47);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  box-shadow: 6px 0 20px #264d2925;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 30px 14px 12px 14px;
  font-size: 2.1rem;
  color: #fff;
  background: none;
  border: none;
  align-self: flex-end;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 45px 0 0 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 12px 12px 0;
  border-radius: 9px;
  transition: background .16s, color .16s;
  width: 100%;
  min-width: 220px;
  display: flex;
  align-items: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #b08a12;
  color: #264d29;
}

/* -----------------------------
   MAIN & SECTIONS
----------------------------- */
main {
  background: transparent;
  padding: 50px 0 0 0;
  flex: 1 0 auto;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Hero section specific */
.content-wrapper {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(38,77,41,0.06);
  padding: 50px 30px 44px 30px;
  margin-bottom: 22px;
}

/* Cards, features, etc. */
.card-grid { justify-content: space-between; gap: 24px; }
.card { margin-bottom: 20px; }

/* -----------------------------
   FOOTER
----------------------------- */
footer {
  background: #264d29;
  color: #fff;
  padding: 40px 0 24px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}
.logo-footer {
  align-self: flex-start;
  margin-right: 28px;
}
.logo-footer img {
  height: 51px;
  filter: brightness(1.6);
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  padding: 4px 0;
  margin: 0;
  transition: color .16s;
}
footer nav a:hover, footer nav a:focus {
  color: #b08a12;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1.02rem;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #f1f1f1;
}
.footer-contact img {
  width: 22px;
  height: 22px;
}

/* -----------------------------
   UTILS — GEOMETRIC STYLES
----------------------------- */
.geometric {
  background: repeating-linear-gradient(135deg, #eaeaea, #f1f1f1 18px, #eaeaea 36px, #f1f1f1 54px);
}
/* Geometric accent borders for keycards */
.card, .feature-item, .testimonial-card, .confirmation-message {
  border-left: 7px solid #b08a12;
}

/* White/opaque backgrounds for testimonials readability */
.testimonial-card {
  background: #fff;
  border-color: #c2a83e;
  color: #264d29;
}
.testimonial-meta {
  margin-left: 16px;
}

/* Buttons and Links Micro-interactions */
.btn-primary, .btn-secondary {
  transition: background .16s, color .16s, box-shadow .18s, border .18s;
}
.btn-primary:active {
  box-shadow: 0 2px 8px #38664133 inset;
}
.btn-secondary:active {
  border-color: #b08a12;
  color: #b08a12;
}

/* -----------------------------
   COOKIE CONSENT BANNER
----------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: #386641;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 26px 16px;
  box-shadow: 0 -4px 28px #264d2925;
  font-size: 1rem;
  border-top: 5px solid #b08a12;
  transition: transform .3s cubic-bezier(.75,0,.24,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner__content {
  max-width: 540px;
  color: #fff;
}
.cookie-banner__buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner__button {
  background: #b08a12;
  color: #fff;
  border: none;
  border-radius: 11px;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 28px;
  cursor: pointer;
  transition: background .15s, color .15s;
  box-shadow: 0 2px 5px #38664122;
  text-transform: uppercase;
}
.cookie-banner__button:hover, .cookie-banner__button:focus {
  background: #264d29;
  color: #fff;
}
.cookie-settings-btn {
  background: transparent;
  color: #b08a12;
  border: 2px solid #b08a12;
  border-radius: 11px;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #ffffff;
  color: #386641;
  border-color: #386641;
}

/* -----------------------------
   COOKIE SETTINGS MODAL
----------------------------- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(38,77,41,0.93);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s cubic-bezier(.7,0,.3,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal__content {
  background: #fff;
  color: #264d29;
  min-width: 330px;
  max-width: 97vw;
  border-radius: 20px;
  padding: 36px 32px 28px 32px;
  box-shadow: 0 2.5px 30px #38664133;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  top: 14px; right: 15px;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #264d29;
  cursor: pointer;
  transition: color .14s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #b08a12;
}
.cookie-modal h2 {
  font-size: 1.38rem;
  color: #386641;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f1f1f1;
  padding: 10px 15px;
  border-radius: 11px;
  font-size: 1rem;
}
.cookie-category label {
  flex: 1 1 auto;
}
.cookie-category input[type="checkbox"], .cookie-category input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #386641;
  border-radius: 4px;
}
.cookie-category--essential {
  opacity: .6;
}
.cookie-modal__actions {
  display: flex;
  gap: 15px;
  margin-top: 18px;
}
.cookie-modal__button {
  padding: 10px 30px;
  background: #386641;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow .15s, background .15s;
}
.cookie-modal__button:hover, .cookie-modal__button:focus {
  background: #b08a12;
  color: #fff;
}

/* -----------------------------
   RESPONSIVE DESIGN
----------------------------- */
@media (max-width: 1200px) {
  .container { max-width: 970px; }
}
@media (max-width: 950px) {
  .container { max-width: 95vw; }
  .feature-grid {
    gap: 16px;
  }
}
@media (max-width: 850px) {
  nav { gap: 17px; }
  .footer-contact { font-size: 0.98rem; }
}
@media (max-width: 768px) {
  /* Layouts to column, burger menu visible */
  .container { padding: 0 8px; }
  header .container { flex-wrap: wrap; gap: 12px; }
  nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .btn-primary, .btn-secondary {
    padding: 11px 14px;
    font-size: 1rem;
    margin-left: 5px;
  }
  .section, section, .content-wrapper, .text-section {
    padding: 25px 9px;
    margin-bottom: 30px;
  }
  .feature-item {
    min-width: 150px;
    font-size: 0.98rem;
  }
  .feature-grid,
  .card-container,
  .card-grid,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper {
    padding: 25px 9px;
    margin-bottom: 14px;
  }
  .text-image-section { flex-direction: column; gap: 22px; }
  .testimonial-card { flex-direction: column; gap: 12px; min-width: 0; max-width: unset; }
  .confirmation-message {
    padding: 18px 9px 20px 9px;
  }
  .footer-contact {
    font-size: 0.93rem;
    gap: 6px;
  }
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }
  .subheadline { font-size: 1.02rem; }
  .btn-primary, .btn-secondary, .cookie-banner__button, .cookie-modal__button {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  .cookie-banner__content { font-size: 0.92rem; }
  .cookie-modal__content { padding: 14px 5px 14px 8px; min-width: 10px; }
}

/* ---- Accessibility & Hide ---- */
.sr-only {
  display: block;
  position: absolute !important;
  left: -9999px; top: auto; width: 1px; height: 1px;
  overflow: hidden;
}

/* --------------
   Misc helpers
---------------- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mx-auto { margin-left: auto; margin-right: auto; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.gap-20 { gap: 20px; }

/* -----------
   Hide scroll on body when menu/modal open
----------- */
body.menu-open, body.modal-open {
  overflow: hidden !important;
}

/* ---------------------------------------
   END OF MAIN (No forbidden grid/columns)
----------------------------------------- */
