/* RESET & BASE */
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,
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 {
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #3A5632;
  background: #F7F3ED;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 24px;
}
a {
  color: #3A5632;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #8C6241;
}

/* FONT SETUP */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600|Roboto:400,400i,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.01em;
  color: #3A5632;
}
h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 32px;
  line-height: 1.17;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #8C6241;
}

p, li, blockquote, dd {
  font-size: 1rem;
  color: #3A5632;
}
blockquote {
  font-style: italic;
  font-size: 1.15rem;
  color: #574532;
}

strong {
  color: #3A5632;
  font-weight: 700;
}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1136px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* SECTIONS & SPACING */
section {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 14px rgba(60,40,10,0.06);
  border: 1px solid #eee6db;
  margin-bottom: 20px;
  position: relative;
  padding: 28px;
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 370px;
  transition: box-shadow 0.25s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px rgba(140, 98, 65, 0.13);
  border: 1.5px solid #8C6241;
}

.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;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features-grid > div {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(60,40,10,0.06);
  border: 1px solid #eee6db;
  padding: 28px 22px 22px 22px;
  min-width: 220px;
  flex: 1 1 200px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: box-shadow 0.25s, border 0.25s;
}
.features-grid > div img {
  width: 42px;
  margin-bottom: 10px;
}
.features-grid > div:hover {
  box-shadow: 0 8px 28px rgba(140, 98, 65, 0.12);
  border: 1.5px solid #BFA360;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(60,40,10,0.08);
  margin-bottom: 20px;
  border-left: 5px solid #BFA360;
  flex: 1 1 350px;
  color: #2A2A2A;
}
.testimonial-card blockquote {
  color: #444;
  font-size: 1.09rem;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card span {
  margin-left: auto;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: #8C6241;
  font-size: 1rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.star-rating {
  font-size: 1.6rem;
  color: #BFA360;
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
/* Ensure readable testimonial text on all backgrounds */
.testimonial-card, .testimonial-card blockquote {
  background: #fff;
  color: #2A2A2A;
}

/* CONTACT INFO */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #574532;
}
.contact-info img {
  width: 21px;
  height: 21px;
  object-fit: contain;
  margin-right: 8px;
}

/* BUTTONS */
.button-primary,
.button-secondary {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 32px;
  padding: 15px 40px;
  font-size: 1.1rem;
  display: inline-block;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  margin: 20px 0 0 0;
  letter-spacing: 0.02em;
  box-shadow: 0 3px 18px rgba(140,98,65,0.06);
  outline: none;
}
.button-primary {
  background: #3A5632;
  color: #fff;
  border: 1.2px solid #BFA360;
}
.button-primary:hover, .button-primary:focus {
  background: #8C6241;
  color: #fff3e5;
  box-shadow: 0 6px 24px rgba(191,163,96,0.12);
}
.button-secondary {
  background: #fff;
  color: #3A5632;
  border: 1.5px solid #BFA360;
}
.button-secondary:hover, .button-secondary:focus {
  background: #F7F3ED;
  color: #8C6241;
  border-color: #8C6241;
  box-shadow: 0 3px 18px rgba(140,98,65,0.09);
}

/* TABLE STYLES */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-bottom: 18px;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 2px 11px rgba(191,163,96,0.061);
}
thead {
  background: #F7F3ED;
}
th, td {
  padding: 18px 14px;
  text-align: left;
  font-size: 1rem;
}
th {
  color: #8C6241;
  font-weight: 700;
  border-bottom: 2px solid #BFA360;
  font-family: 'Montserrat', sans-serif;
}
tbody tr {
  border-bottom: 1px solid #eee6db;
}

/* HEADER/LAYOUT */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(60,40,10,0.06);
  padding: 0;
  position: relative;
  z-index: 12;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', sans-serif;
  color: #3A5632;
  font-weight: 600;
  font-size: 1rem;
  padding: 5px 0;
  position: relative;
  transition: color 0.17s;
}
header nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #BFA360;
  transition: width 0.26s;
  margin-top: 3px;
  border-radius: 2px;
}
header nav a:hover, header nav a:focus {
  color: #8C6241;
}
header nav a:hover::after, header nav a:focus::after {
  width: 100%;
}
header img {
  max-height: 48px;
  width: auto;
  display: block;
}
header .button-primary {
  margin-left: auto;
}

main {
  padding-top: 12px;
}
footer {
  background: #f9f6f2;
  border-top: 2px solid #eee6db;
  padding: 34px 0 18px 0;
  font-size: 0.98rem;
  color: #8C6241;
  letter-spacing: 0.02em;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 4px;
}
.footer-nav a {
  color: #8C6241;
  font-weight: 600;
  padding: 1px 4px;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #e3d2c0;
  color: #3A5632;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 24px;
  top: 22px;
  background: #fff;
  color: #3A5632;
  border: 1.5px solid #BFA360;
  border-radius: 8px;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  z-index: 121;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(140, 98, 65, 0.13);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #F7F3ED;
  color: #BFA360;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #3A5632;
  color: #fff;
  z-index: 120;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.7,0,.3,1);
  box-shadow: 9px 0 32px rgba(30,20,5,0.13);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.25rem;
  padding: 20px 20px 0 18px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #BFA360;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  padding: 32px 30px 0 42px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.28rem;
  font-weight: 600;
  padding: 8px 2px;
  border-radius: 6px;
  transition: background 0.16s, color 0.19s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #BFA360;
  color: #3A5632;
}

@media (max-width: 1050px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  header nav {
    order: 2;
    gap: 10px;
  }
  header .button-primary {
    order: 3;
    margin: 8px 0 0 0;
    align-self: flex-start;
  }
}
@media (max-width: 900px) {
  .features-grid {
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  section, .section {
    padding: 34px 4px;
  }
  .testimonial-card, .features-grid>div, .card {
    padding: 16px 11px 11px 12px;
    min-width: 0;
    max-width: 100%;
  }
  .features-grid {
    gap: 20px;
  }
  .contact-info {
    flex-direction: column;
    gap: 12px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 720px) {
  header nav {
    display: none;
  }
  header .button-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
/* Hide mobile menu by default on large */
@media (min-width: 720px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #3A5632;
  border-top: 2px solid #BFA360;
  box-shadow: 0 -2px 20px rgba(60,40,10,0.08);
  padding: 18px 20px 16px 20px;
  z-index: 200;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  animation: cookieSlideUp 0.5s;
}
@keyframes cookieSlideUp {
  0% { transform: translateY(100%); opacity: 0; }
  90% { opacity: 1; }
  100% { transform: none; opacity: 1; }
}
.cookie-banner p {
  font-size: 1rem;
  color: #3A5632;
  margin-right: auto;
  flex: 1 1 230px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', sans-serif;
  padding: 8px 24px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.4px solid #BFA360;
  margin: 0;
  background: #fff;
  color: #3A5632;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner .accept {
  background: #3A5632;
  color: #fff;
  border: 1.4px solid #BFA360;
}
.cookie-banner .accept:hover {
  background: #8C6241;
  color: #fff3e5;
}
.cookie-banner .reject {
  background: #fff;
  color: #8C6241;
  border: 1.4px solid #8C6241;
}
.cookie-banner .reject:hover {
  background: #F7F3ED;
  color: #3A5632;
}
.cookie-banner .settings {
  background: #fff;
  color: #BFA360;
  border: 1.4px solid #BFA360;
}
.cookie-banner .settings:hover {
  background: #F7F3ED;
  color: #3A5632;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(30,24,15,0.38);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.35s;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #3A5632;
  border-radius: 14px;
  box-shadow: 0 6px 40px rgba(140, 98, 65, 0.22);
  padding: 32px 34px 24px 34px;
  min-width: 320px;
  max-width: 99vw;
  display: flex;
  flex-direction: column;
  gap: 23px;
  position: relative;
}
.cookie-modal-content h3 {
  color: #3A5632;
  font-size: 1.35rem;
  margin-bottom: 10px;
  margin-top: 3px;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  color: #3A5632;
  margin-bottom: 9px;
  cursor: pointer;
}
.cookie-modal-content input[type='checkbox'] {
  width: 20px; height: 20px;
  accent-color: #8C6241;
}
.cookie-modal-content .essential[disabled],
.cookie-modal-content label[aria-disabled='true'] {
  opacity: 0.58;
  font-style: italic;
  cursor: not-allowed;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 6px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 9px; right: 12px;
  font-size: 1.7rem;
  color: #BFA360;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .close-cookie-modal:hover {
  color: #8C6241;
}

/* LISTS, DLs, ETC */
dt {
  font-family: 'Montserrat', sans-serif;
  color: #8C6241;
  font-weight: 600;
  margin: 17px 0 6px 0;
}
dd {
  margin-bottom: 8px;
  margin-left: 14px;
  font-size: 1rem;
}

ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

/* FORMS (if any in future) */
input[type='text'], input[type='email'], input[type='number'], textarea {
  background: #fff;
  border: 1.5px solid #BFA360;
  border-radius: 10px;
  padding: 11px 14px;
  color: #3A5632;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  margin-bottom: 13px;
  transition: border 0.15s;
}
input:focus, textarea:focus {
  outline: none;
  border: 1.5px solid #8C6241;
}

/* UTILITY */
.gold {
  color: #BFA360;
}
.bg-gold {
  background: #BFA360;
}
.bg-primary {
  background: #3A5632;
  color: #fff;
}
.bg-accent {
  background: #F7F3ED;
}
.rounded {
  border-radius: 16px;
}
.shadow {
  box-shadow: 0 4px 16px rgba(140,98,65,0.09);
}

/* MICROANIMATIONS & EFFECTS */
.button-primary, .button-secondary, .mobile-menu-toggle, .cookie-banner button {
  transition: background 0.2s, color 0.16s, box-shadow 0.2s, border-color 0.17s;
}
.features-grid > div, .card, .testimonial-card {
  transition: box-shadow 0.18s, border 0.18s;
}

/* VISUAL DETAILS */
hr {
  border: 0;
  height: 1.5px;
  background: #eee6db;
  margin: 30px 0 16px 0;
}

::-webkit-scrollbar {
  width: 10px;
  background: #F7F3ED;
}
::-webkit-scrollbar-thumb {
  background: #ddd0ba;
  border-radius: 8px;
}

/* SELECT FOCUS STYLE */
a:focus, button:focus, .mobile-menu-close:focus {
  outline: 2.5px dashed #BFA360;
  outline-offset: 2.5px;
}

/* Z-INDEX LAYERING */
header, .mobile-menu, .mobile-menu-toggle { z-index: 91; }
.cookie-banner { z-index: 200; }
.cookie-modal { z-index: 400; }

/* SPACING ENFORCEMENT */
section, .section, .features-grid, .features-grid > div, .testimonial-card, .footer-nav, .content-grid, .content-wrapper, .card, .card-container {
  margin-bottom: 20px;
}
section:last-child, .section:last-child, .content-wrapper:last-child, .card-container:last-child {
  margin-bottom: 0;
}

/* Print basics (optional) */
@media print {
  header, .mobile-menu-toggle, .mobile-menu, footer, .cookie-banner, .cookie-modal {
    display: none !important;
  }
}
