/* ===================================================================
   Reset & Base Styling
   =================================================================== */
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, main, 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F4EFEA;
  color: #24313B;
  font-family: 'Roboto', Georgia, 'Times New Roman', Times, serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 1.5em;
}
ul li, ol li {
  margin-bottom: 8px;
}
a {
  color: #24313B;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #8D6E63;
}
img {
  max-width: 100%;
  display: block;
}
input, button, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
}
:focus {
  outline-color: #8D6E63;
  outline-width: 2px;
  outline-style: solid;
}

/* ===================================================================
   Typography Hierarchy - Elegant/Classic
   =================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, 'Times New Roman', Times, serif;
  color: #24313B;
  font-weight: 600;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 13px;
  font-weight: 500;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 400;
}
p {
  font-size: 1rem;
  color: #3F3B36;
  margin-bottom: 18px;
}
strong {
  font-weight: 600;
}

.text-section {
  margin-bottom: 18px;
}

.label, label {
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #24313B;
  margin-bottom: 6px;
  display: block;
}

/* ===================================================================
   Layout Containers & Utilities
   =================================================================== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.section,
main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(36,49,59,0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero {
  background: #F4EFEA;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 5px 24px rgba(36,49,59,0.07);
  margin-bottom: 42px;
  padding: 54px 0 40px 0;
}
.hero .content-wrapper h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  padding: 28px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 7px rgba(36,49,59,0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 250px;
  flex: 1 1 270px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F4EFEA;
  border-left: 5px solid #8D6E63;
  border-radius: 13px;
  color: #24313B;
  box-shadow: 0 1.5px 7px rgba(36,49,59,0.06);
  margin-bottom: 24px;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #24313B;
}
.testimonial-card span {
  font-size: 1em;
  color: #8D6E63;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 28px;
}
.footer-info {
  margin-top: 16px;
  color: #8D6E63;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 6px;
}
.footer-nav a {
  font-size: 0.95rem;
  color: #24313B; 
  text-decoration: none;
  position: relative;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #8D6E63;
}

/* ===================================================================
   Buttons & CTA
   =================================================================== */
.cta-btn,
button[type="submit"],
input[type="submit"] {
  background: #8D6E63;
  color: #fff;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 1.09rem;
  padding: 13px 32px;
  border-radius: 28px;
  display: inline-block;
  border: none;
  cursor: pointer;
  box-shadow: 0 1.5px 5px rgba(36,49,59,0.06);
  transition: background .23s, transform .16s, color .15s;
  margin-top: 10px;
  text-decoration: none;
}
.cta-btn:hover, button[type="submit"]:hover, .cta-btn:focus, button[type="submit"]:focus {
  background: #24313B;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 13px rgba(36,49,59,0.16);
}
.main-nav a {
  font-size: 1rem;
  color: #24313B;
  transition: color 0.22s;
  text-decoration: none;
  margin-right: 18px;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 5px;
}
.main-nav a:last-child { margin-right: 0; }
.main-nav a:hover, .main-nav a:focus {
  color: #8D6E63;
  background: rgba(244,239,234,0.7);
}

/* ===================================================================
   Forms (newsletter etc.)
   =================================================================== */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 400px;
  margin-top: 6px;
}
form input[type="email"],
form input[type="text"],
form textarea {
  background: #faf7f3;
  color: #24313B;
  border: 1px solid #cdc4bb;
  border-radius: 6px;
  padding: 11px 13px;
  font-size: 1rem;
  margin-bottom: 3px;
  transition: border .18s;
}
form input[type="email"]:focus,
form input[type="text"]:focus,
form textarea:focus {
  border: 1.5px solid #8D6E63;
}
form button {
  align-self: flex-start;
}

/* ===================================================================
   Header and Navigation - Desktop and Mobile
   =================================================================== */
header {
  background: #fff;
  box-shadow: 0 3px 15px rgba(140,110,99,0.06);
  padding: 0 0 0 0;
  border-radius: 0 0 25px 25px;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  min-height: 78px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
header img {
  height: 43px;
  width: auto;
}
header .main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-right: 8px;
}
header .cta-btn {
  margin-left: 18px;
  margin-top: 0;
}
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: 1.4px solid #8D6E63;
  color: #8D6E63;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 120;
  transition: background .15s, border .15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F4EFEA;
  border: 1.5px solid #24313B;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,49,59, 0.97);
  color: #fff;
  z-index: 300;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.6,.08,.27,1.02);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 24px;
  right: 30px;
  z-index: 310;
  cursor: pointer;
  transition: color 0.21s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #8D6E63;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 100px 0 0 35px;
}
.mobile-nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.35rem;
  color: #fff;
  text-decoration: none;
  transition: color 0.17s, background 0.12s;
  padding: 7px 0;
  border-radius: 8px;
  min-width: 120px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #8D6E63;
  background: rgba(253,250,246,0.12);
}

/* ===================================================================
   Cookie Consent Banner & Modal
   =================================================================== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #fff;
  color: #3F3B36;
  border-radius: 18px;
  box-shadow: 0 3px 20px rgba(36,49,59,0.14);
  padding: 22px 26px 20px 26px;
  z-index: 1000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 25px;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  opacity: 1;
  transition: opacity 0.28s, bottom 0.28s;
}
.cookie-banner.hide {
  opacity: 0;
  bottom: 0px;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-banner button,
.cookie-banner .cookie-settings-btn {
  padding: 8px 24px;
  border-radius: 24px;
  border: none;
  background: #8D6E63;
  color: #fff;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  margin-left: 0;
  transition: background .16s, color .13s, transform .13s;
}
.cookie-banner button:hover, .cookie-banner .cookie-settings-btn:hover,
.cookie-banner button:focus, .cookie-banner .cookie-settings-btn:focus {
  background: #24313B;
  color: #fff;
  transform: scale(1.02);
}
.cookie-banner button.cookie-reject {
  background: #fff;
  color: #8D6E63;
  border: 1.2px solid #8D6E63;
}
.cookie-banner button.cookie-reject:hover, .cookie-banner button.cookie-reject:focus {
  background: #8D6E63;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left:0; right:0; bottom:0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,49,59,0.53);
  z-index: 1050;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #24313B;
  border-radius: 18px;
  box-shadow: 0 2px 24px rgba(36,49,59,0.19);
  padding: 32px 20px 20px 20px;
  min-width: 320px;
  max-width: 96vw;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadeInUp 0.39s;
}
@keyframes fadeInUp {
  from {transform: translateY(24px); opacity: 0;}
  to {transform: none; opacity: 1;}
}
.cookie-modal h2 {
  font-size: 1.45rem;
  color: #24313B;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 8px;
}
.cookie-category label {
  margin-bottom: 0;
}
.cookie-category input[type="checkbox"]{
  width: 19px;
  height: 19px;
  accent-color: #8D6E63;
  margin-right: 7px;
}
.cookie-category .cookie-essential {
  font-weight: 600;
  opacity: 0.7;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions button {
  min-width: 92px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 9px;
  right: 16px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #8D6E63;
  cursor: pointer;
  transition: color 0.21s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: #24313B;
}

/* ===================================================================
   Responsive: Mobile First & Classic Proportions
   =================================================================== */
@media (max-width: 1200px) {
  .container {
    max-width: 97vw;
  }
}

@media (max-width: 900px) {
  header .container { gap: 12px; }
  .content-wrapper, .section, main > section {
    padding: 32px 10px;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .hero { padding: 34px 0 24px 0; }

  header .container {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-height: 62px;
    padding: 0 8px;
  }
  .main-nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }
  .mobile-menu {
    display: flex;
  }
  .footer-nav {
    flex-direction: column;
    gap: 7px;
    align-items: center;
  }
  .section, .card {
    padding: 22px 7px;
  }
  .card-container {
    gap: 14px;
  }
  .content-grid {
    gap: 10px;
  }

  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card { flex-direction: column; gap: 8px; }
  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    padding: 18px 11px 13px 15px;
    right: 8px;
    left: 8px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 7px;
  }
}
@media (max-width: 540px) {
  .hero {
    padding: 19px 0 12px 0;
    border-radius: 0 0 12px 12px;
    margin-bottom: 22px;
  }
}

/* ===================================================================
   Micro-Interactions & Elegant Details
   =================================================================== */
.card, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.2s;
}
.card:hover, .card:focus-within,
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 5px 26px rgba(36,49,59,0.13);
  transform: translateY(-3px) scale(1.01);
}

input[type="email"]:invalid {
  border: 1.5px solid #b85442;
}

::-webkit-input-placeholder {color: #a7a1a0; opacity:1;}
:-moz-placeholder {color: #a7a1a0; opacity:1;}
::-moz-placeholder {color: #a7a1a0; opacity:1;}
:-ms-input-placeholder {color: #a7a1a0; opacity:1;}
::placeholder {color: #a7a1a0; opacity:1;}

/* ===================================================================
   Misc Utilities
   =================================================================== */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-accent { color: #8D6E63; }

/* Hide visually for accessibility purposes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ===================================================================
   Custom List Styling (ol/ul in sections for elegance)
   =================================================================== */
ul, ol {
  padding-left: 1.6em;
}
ul li, ol li {
  font-size: 1.01rem;
  margin-bottom: 8px;
  line-height: 155%;
}

/* =============== END OF STYLE.CSS =============== */
