/* --- CSS RESET & NORMALIZATION --- */
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 {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  background: #F6F1EA; /* brand secondary */
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #573819;
  background: #F6F1EA;
  min-height: 100vh;
  letter-spacing: 0.02em;
  font-size: 16px;
  line-height: 1.65;
}
img {
  max-width: 100%;
  vertical-align: middle;
  border: 0;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 1em;
}
a {
  color: #704C27;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.55,0,.1,1);
}
a:hover, a:focus {
  color: #B07933;
}
/* Hide outline unless accessed by keyboard */
a:focus:not(:focus-visible) {
  outline: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #573819;
  line-height: 1.1;
  letter-spacing: 0.04em;
  margin-bottom: 0.5em;
}
h1 { font-size: 2.75rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.0rem; }
h5, h6 { font-size: 0.9rem; }

@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1rem; }
}

strong, b {
  font-weight: 700;
}

/* GEOMETRIC STRUCTURED DESIGN SYSTEM */
:root {
  --primary: #704C27;
  --primary-dark: #573819;
  --secondary: #F6F1EA;
  --accent: #B07933;
  --accent-light: #C2935A;
  --text-main: #573819;
  --white: #fff;
  --shadow: 0 3px 12px 0 rgba(112,76,39,0.07);
  --radius-lg: 18px;
  --radius-md: 10px;
  --radius-sm: 6px;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-top: 28px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: var(--secondary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  min-width: 260px;
  flex: 1 1 260px;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(112,76,39,0.11);
  border: 2.5px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 390px;
  color: var(--primary-dark);
}
.testimonial-card p {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--primary-dark);
}
.testimonial-card span {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--accent);
  letter-spacing: 0.03em;
}

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

.text-section {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: none;
}

/* BUTTONS */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 13px 30px;
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 12px;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 4px 12px 0 rgba(112,76,39,0.13);
  margin-top: 24px;
  text-transform: uppercase;
  transition: background 0.2s cubic-bezier(.79,.14,.15,.86), box-shadow 0.2s;
  outline: none;
  gap: 12px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent);
  box-shadow: 0 6px 16px 0 rgba(112,76,39,0.17);
  color: #fff;
}

button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* HEADER */
header {
  background: var(--secondary);
  border-bottom: 2px solid var(--accent-light);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 76px;
  justify-content: flex-start;
}
header img {
  height: 42px;
  width: auto;
  margin-right: 20px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex: 1 1 auto;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 6px;
  position: relative;
  transition: color 0.2s, background 0.2s;
}
header nav a:hover, header nav a:focus {
  color: #fff;
  background: var(--accent);
}
header .cta-btn {
  margin-left: 32px;
}
header .mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  transition: background 0.19s;
}
header .mobile-menu-toggle:hover, header .mobile-menu-toggle:focus {
  background: var(--primary);
}
@media (max-width: 990px) {
  header .container {
    gap: 16px;
    min-height: 60px;
  }
  header nav {
    gap: 14px;
  }
  header .cta-btn {
    margin-left: 8px;
    padding: 10px 14px;
    min-width: 120px;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  header .cta-btn {
    display: none;
  }
  header .mobile-menu-toggle {
    display: flex;
  }
  header img {
    margin-right: auto;
    height: 37px;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(221, 206, 183, 0.96);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.77,0,.17,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  margin: 28px 24px 8px 0;
  font-size: 2.2rem;
  color: var(--primary-dark);
  background: var(--accent);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 3px 12px rgba(112,76,39,0.12);
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: #fff;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 40px 0 40px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.mobile-nav a {
  padding: 14px 2px;
  font-size: 1.2rem;
  color: var(--primary-dark);
  font-weight: 700;
  border-bottom: 2px solid transparent;
  border-radius: 3px;
  transition: color 0.2s, border 0.2s, background 0.2s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: var(--accent);
  border-bottom: 2px solid var(--primary);
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* MAIN CONTENT LAYOUTS */
main {
  display: flex;
  flex-direction: column;
  gap: 38px;
  min-height: 68vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 600px) {
  section {
    padding: 24px 2px;
    margin-bottom: 38px;
  }
  .container {
    padding: 0 5px;
  }
}

/* TABLE STYLING (for product comparison) */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px rgba(112,76,39,0.12);
  overflow: hidden;
}
thead tr {
  background: var(--secondary);
}
th, td {
  text-align: center;
  padding: 14px 10px;
  border-bottom: 1.5px solid #e6dfd0;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
th {
  color: var(--primary);
  font-weight: 700;
}
tr:last-child td {
  border-bottom: none;
}

/* FOOTER */
footer {
  background: #ffffff;
  border-top: 2px solid var(--accent);
  padding: 40px 0 24px 0;
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 168px;
}
footer nav a {
  color: var(--primary-dark);
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 2px 0;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
  background: var(--accent);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #8b6a45;
  font-size: 0.96rem;
  font-family: 'Open Sans', Arial, sans-serif;
  letter-spacing: 0.01em;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: center;
    gap: 17px;
    text-align: center;
  }
  .footer-contact {
    align-items: center;
  }
  footer nav {
    flex-direction: row;
    gap: 12px;
    justify-content: center;
    min-width: 0;
    flex-wrap: wrap;
  }
}

/* FORM, ADDRESS */
address {
  font-style: normal;
  color: var(--primary-dark);
  font-size: 1.05rem;
  margin-bottom: 13px;
  padding-left: 3px;
}
@media (max-width: 500px) {
  address {
    font-size: 1rem;
  }
}

/* LISTS */
ul li, ol li {
  margin-bottom: 8px;
  padding-left: 0.45em;
  font-size: 1rem;
  line-height: 1.55;
  position: relative;
}
ul li:before, ol li:before {
  content: '';
}
ul li {
  list-style-type: square;
}

/* BOLD geometric _"structured"_ HEADINGS */
h1, h2, h3, h4 {
  text-transform: none;
  letter-spacing: 0.05em;
  margin-top: 0;
  /* Angular look */
}
h2 {
  border-left: 5.5px solid var(--accent);
  padding-left: 13px;
  margin-bottom: 18px;
}
@media (max-width: 640px) {
  h2 {
    padding-left: 6px; border-left-width: 3.5px;
  }
}

h1 {
  font-size: 2.4rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.7em;
}
h3, h4 {
  letter-spacing: 0.03em;
}

/* GEOMETRIC BUTTONS and MICRO-INTERACTIONS */
.cta-btn:active {
  transform: scale(0.97);
}

/* SHADOWS, BORDERS, OVERALL STRUCTURE */
.section, .card, .testimonial-card {
  box-shadow: var(--shadow);
}

/* SPACING RULES */
.section, section, .card, .testimonial-card, .feature-item, .content-grid,
.card-container, .content-wrapper, .text-image-section {
  margin-bottom: 20px;
}
.card-container, .card-content, .content-grid, .testimonial-card, .text-image-section, .feature-item {
  gap: 20px;
}

/* REMOVE ABSOLUTE POSITIONING for cards/text */
.card, .testimonial-card {
  position: relative;
}

/* ANIMATIONS and TRANSITIONS */
.section, .card, .cta-btn, .testimonial-card {
  transition: box-shadow 0.18s cubic-bezier(.83,.15,.53,1), transform 0.16s;
}
.section:hover, .card:hover {
  box-shadow: 0 4px 28px 0 rgba(112,76,39,0.17);
  transform: translateY(-2px) scale(1.01);
}

/* Responsive "+ spacing" details for content groups */
@media (max-width: 900px) {
  .content-wrapper, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .card, .testimonial-card {
    min-width: 0;
    max-width: 100%;
    padding: 20px 8px;
  }
  .section {
    padding: 20px 6px;
  }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 6px; right: 6px; bottom: 12px;
  width: calc(100% - 12px);
  background: #F6F1EA;
  color: var(--primary-dark);
  box-shadow: 0 6px 22px 0 rgba(112,76,39,0.16);
  border: 2px solid var(--accent);
  border-radius: 16px;
  z-index: 15000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 18px 20px;
  font-size: 1rem;
  gap: 16px;
  animation: cookieShow 0.45s cubic-bezier(.79,.07,.13,1);
}
@keyframes cookieShow {
  0% { transform: translateY(40px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  justify-content: center;
  margin-top: 5px;
}
.cookie-btn, .cookie-settings-btn {
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 11px 22px;
  border: none;
  border-radius: 9px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.19s, box-shadow 0.19s, color 0.18s;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(112, 76, 39, .07);
}
.cookie-btn.accept {
  background: var(--accent);
}
.cookie-btn.reject {
  background: #bbb2a7;
  color: var(--primary-dark);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary-dark);
  color: #fff;
}
.cookie-settings-btn {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--accent-light);
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--accent-light);
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 15500;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(87, 56, 25, 0.70);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: opacity 0.2s;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 10px 32px 0 rgba(160,131,89,0.18);
  padding: 36px 30px 28px 30px;
  max-width: 410px;
  width: 96vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  animation: cookieModalShow 0.35s cubic-bezier(.8,.1,.15,1);
}
@keyframes cookieModalShow {
  0% { transform: scale(0.96) translateY(50px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  margin-bottom: 7px;
}
.cookie-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 1.03rem;
}
.cookie-toggle {
  appearance: none;
  width: 46px; height: 26px;
  background: #d1c8b6;
  border-radius: 14px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-toggle:checked {
  background: var(--accent);
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(112,76,39,0.09);
  transition: transform 0.18s;
}
.cookie-toggle:checked:before {
  transform: translateX(20px);
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: #eee0d1;
  color: var(--primary-dark);
  border: none;
  border-radius: 50%;
  width: 34px; height: 34px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background 0.21s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--accent);
  color: #fff;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 11px;
  width: 100%;
  flex-wrap: wrap;
}

/* GENERAL UTILITIES */
.hide { display: none !important; }
.show { display: block !important; }
.text-center { text-align: center; }
.flex { display: flex !important; }
@media (max-width: 600px) {
  .cookie-modal { padding: 16px 5px 17px 9px; }
}

/* Improve spacing also for paragraphs, general readability */
p, ul, ol {
  margin-bottom: 1em;
}
@media (max-width: 450px) {
  h1 {
    font-size: 1.26rem;
  }
  h2 {
    font-size: 1rem;
  }
}

/*--- END OF STYLE.CSS ---*/
