/* -----------------------------
   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;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #EBE7E0;
  color: #232323;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
a {
  color: #232323;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #A6783A;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
strong {
  font-weight: 600;
}
img {
  max-width: 100%;
  height: auto;
}
blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  background: #fff;
  color: #232323;
  border-left: 4px solid #A6783A;
  font-size: 18px;
  font-style: italic;
}

/*--------------------------------------
   Typography Hierarchy
--------------------------------------*/
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Source Sans Pro', Arial, Helvetica, sans-serif;
  color: #232323;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.2;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  line-height: 1.25;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
.subheadline {
  font-size: 1.25rem;
  color: #424949;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  line-height: 1.5;
  margin-bottom: 24px;
}

/*--------------------------------------
   Layout Containers
--------------------------------------*/
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Section Spacing */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section:last-child {
  margin-bottom: 0;
}

/*--------------------------------------
   Header & Navigation
--------------------------------------*/
header {
  background: #fff;
  border-bottom: 2px solid #EBE7E0;
  position: relative;
  z-index: 1002;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 0;
}
header img {
  height: 50px;
  width: auto;
  display: block;
}
nav.main-nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Source Sans Pro', Arial, Helvetica, sans-serif;
  color: #232323;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a.active {
  color: #A6783A;
  border-bottom: 2px solid #A6783A;
  outline: none;
}

/* Burger Menu Button */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #232323;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 14px;
  margin-left: 18px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #EBE7E0;
  border-radius: 8px;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(235, 231, 224, 0.99);
  z-index: 1100;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.87,0,0.13,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  align-self: flex-end;
  margin: 22px 26px 0 0;
  color: #232323;
  cursor: pointer;
  transition: background 0.18s;
  padding: 8px 14px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #e1dfd9;
  border-radius: 8px;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  margin: 40px 0 0 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: #232323;
  font-weight: 600;
  padding: 8px 0;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #A6783A;
  background: #e1dfd9;
  border-radius: 5px;
  outline: none;
}

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

/*--------------------------------------
   CTA Button Styles
--------------------------------------*/
.cta-button {
  display: inline-block;
  font-family: 'Montserrat', 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  background: #232323;
  color: #FFFFFF;
  padding: 14px 36px;
  border-radius: 30px;
  border: none;
  letter-spacing: 0.5px;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  box-shadow: 0 2px 12px rgba(67, 73, 73, .06);
  cursor: pointer;
  margin-top: 8px;
}
.cta-button:hover, .cta-button:focus {
  background: #A6783A;
  color: #fff;
  box-shadow: 0 4px 20px rgba(167, 120, 58, 0.13);
  outline: none;
}

/*--------------------------------------
   Flex Layouts & Cards
--------------------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(67,73,73,.07);
  padding: 28px 26px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 20px rgba(67,73,73,.14);
  z-index: 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: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(67,73,73,.1);
  margin-bottom: 20px;
  max-width: 530px;
  min-width: 220px;
}
.testimonial-card p {
  color: #232323;
  font-size: 1.125rem;
  margin-bottom: 2px;
}
.testimonial-card span {
  color: #A6783A;
  font-family: 'Montserrat', 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
}
.testimonial-card .star-rating {
  color: #FDAF3A;
  font-size: 1.3rem;
  letter-spacing: 2px;
  margin-top: 0;
  font-family: inherit;
  user-select: none;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.5px 8px rgba(67,73,73,.08);
  padding: 18px 20px;
  margin-bottom: 20px;
}

/* Specific Grids */
.category-grid, .values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.category-grid > div, .values-grid > div {
  flex: 1 1 180px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(67,73,73,.07);
  padding: 16px 16px;
  text-align: center;
}

/* USP Icons Row */
.usp-icons {
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
  margin-top: 18px;
}
.usp-icons img {
  width: 48px;
  height: 48px;
}

/* FAQ section */
.faq {
  margin-top: 18px;
  padding: 18px 20px;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 1px 5px rgba(67,73,73,.07);
}
.faq h3 {
  margin-bottom: 10px;
}

/*--------------------------------------
   Lists, Dl, Section Details
--------------------------------------*/
ul, ol, dl {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #232323;
  line-height: 1.7;
}
ul li, ol li, dl dd, dl dt {
  margin-bottom: 8px;
}
dl dt {
  font-weight: 600;
  margin-top: 10px;
}
dl dd {
  color: #424949;
  margin-left: 15px;
}

/*--------------------------------------
   Footer Styles
--------------------------------------*/
footer {
  background: #232323;
  color: #fff;
  padding: 44px 0 20px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', 'Source Sans Pro', Arial, Helvetica, sans-serif;
  transition: color 0.18s;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 1px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #A6783A;
  border-bottom: 1.5px solid #A6783A;
  outline: none;
}
footer a img {
  height: 40px;
  margin-top: -6px;
}
footer p {
  font-size: 0.98rem;
  color: #d8d8d8;
  margin: 0;
}

/*--------------------------------------
   Cookie Consent Banner & Modal
--------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #232323;
  box-shadow: 0 -2px 10px rgba(67,73,73,.07);
  z-index: 1300;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px 18px 28px;
  font-size: 1rem;
  gap: 12px;
  animation: cookiePopIn 0.33s;
}
@keyframes cookiePopIn {
  0% {transform: translateY(100px); opacity: 0;}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-banner__text {
  flex: 3 1 250px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex: 1 0 auto;
}
.cookie-btn {
  font-family: 'Montserrat', 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 22px;
  padding: 11px 25px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1.5px 8px rgba(67,73,73,.05);
  margin: 0;
}
.cookie-btn--accept {
  background: #A6783A;
  color: #fff;
}
.cookie-btn--accept:hover, .cookie-btn--accept:focus {
  background: #232323;
  color: #fff;
}
.cookie-btn--reject {
  background: #fff;
  color: #232323;
  border: 1.5px solid #A6783A;
}
.cookie-btn--reject:hover, .cookie-btn--reject:focus {
  background: #EBE7E0;
  color: #A6783A;
}
.cookie-btn--settings {
  background: #f6f4f1;
  color: #232323;
  border: 1.5px solid #e5dfd6;
}
.cookie-btn--settings:hover, .cookie-btn--settings:focus {
  background: #EBE7E0;
  color: #A6783A;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1400;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(67, 73, 73, 0.44);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(67,73,73,.19);
  max-width: 430px;
  width: 92vw;
  padding: 36px 32px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalIn 0.28s;
  position: relative;
}
@keyframes modalIn {
  0% {transform: scale(.91) translateY(44px); opacity: 0;}
  100% {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 17px;
}
.cookie-modal label {
  font-size: 1rem;
  color: #232323;
  cursor: pointer;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #A6783A;
  width: 18px;
  height: 18px;
  margin-right: 8px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 10px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 1.3rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #232323;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #EBE7E0;
  border-radius: 18px;
}
.

/*--------------------------------------
   Responsive Design (Mobile First)
--------------------------------------*/
@media (max-width: 992px) {
  .container {
    padding: 0 12px;
  }
  .section {
    padding: 32px 10px;
    margin-bottom: 40px;
  }
  .card-container, .content-grid, .category-grid, .values-grid {
    gap: 14px;
  }
  .testimonial-card, .feature-item, .card {
    padding: 16px 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .usp-icons {
    gap: 14px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .section {
    margin-bottom: 22px;
    padding: 18px 4vw;
  }
  .container {
    padding: 0 5vw;
  }
  .card, .testimonial-card, .feature-item {
    padding: 11px 8px;
    border-radius: 9px;
  }
  .cta-button, .cookie-btn {
    padding: 12px 14vw;
    font-size: 1rem;
  }
  .main-nav a, .footer-nav a, .mobile-nav a {
    font-size: 1rem;
  }
  .category-grid > div, .values-grid > div {
    flex: 1 1 90vw;
    padding: 13px 7px;
  }
  .usp-icons img {
    width: 36px; height: 36px;
  }
}
@media (max-width: 510px) {
  .section {
    padding: 6vw 2vw;
  }
  .card, .testimonial-card {
    font-size: 0.97rem;
    min-width: 120px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    padding: 14px 5vw;
    font-size: 0.97rem;
  }
  .cookie-banner__actions {
    flex-wrap: wrap;
    gap: 7px;
    width: 100%;
    justify-content: flex-start;
  }
  .cookie-btn {
    padding: 12px 10vw;
    width: 100%;
    text-align: center;
  }
  .cookie-modal {
    padding: 19vw 6vw 12vw 6vw;
  }
}

/*--------------------------------------
   Micro-Interactions & Transitions
--------------------------------------*/
section, .card, .testimonial-card, .feature-item, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.2s, background 0.2s;
}

/* Hide scroll on open mobile menu/modal */
body.menu-open, body.cookiemodal-open {
  overflow: hidden;
}

/*--------------------------------------
   Miscellaneous / Utility
--------------------------------------*/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
  color: #232323;
  margin: 10px 0 4px 0;
}

/* Accessibility helpers */
:focus-visible {
  outline: 2px solid #A6783A !important;
  outline-offset: 2px;
}

/* Z-index layering control for overlays/menus */
.mobile-menu, .cookie-banner, .cookie-modal-overlay {
  z-index: 10004;
}
