/* ====================
   CSS 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,
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #fff;
  color: #23272b;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #7C4A1E;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 600;
}
a:hover, a:focus {
  color: #23272b;
  outline: none;
}
ul {
  list-style: none;
}
strong {
  font-weight: 700;
}

/* =====================
   TYPOGRAPHY
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #23272b;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #7C4A1E;
  font-weight: 700;
}
p {
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.text-section {
  margin-bottom: 28px;
}
.text-section h2 {
  margin-top: 12px;
}

/* =====================
   CONTAINERS & LAYOUT
   ===================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(35,39,43,0.09);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-content {
  display: flex;
  flex-direction: column;
  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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(35,39,43,0.13);
  margin-bottom: 24px;
  min-width: 250px;
  max-width: 360px;
  min-height: 180px;
}
.feature-grid,
.features-section .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f9f7f4;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(35,39,43,0.07);
  padding: 28px 22px 22px 22px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow 0.22s, background 0.22s;
}
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 9px 32px rgba(35,39,43,0.15);
  background: #EDEAE0;
}

/* =====================
   HERO SECTION
   ===================== */
.hero-section {
  background: #23272b;
  color: #fff;
  border-radius: 0 0 48px 48px;
  overflow: hidden;
  position: relative;
  margin-bottom: 72px;
  min-height: 370px;
  display: flex;
  align-items: center;
}
.hero-section h1 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 14px;
}
.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 28px;
  color: #fff;
}

/* =====================
   BUTTONS
   ===================== */
.btn-primary {
  background: #7C4A1E;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  border: none;
  padding: 14px 38px;
  border-radius: 32px;
  box-shadow: 0 3px 11px rgba(124,74,30,0.09);
  transition: background 0.17s, color 0.17s, box-shadow 0.22s, transform 0.18s;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  letter-spacing: 1px;
  margin-top: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #23272b !important;
  color: #EDEAE0 !important;
  box-shadow: 0 7px 22px rgba(35,39,43,0.19);
  transform: translateY(-2px) scale(1.03);
}

/* =====================
   HEADER & TOP NAV
   ===================== */
header {
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(35,39,43,0.09);
  padding: 0;
  z-index: 100;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}
.logo {
  height: 54px;
  display: flex;
  align-items: center;
  margin-right: 14px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  color: #23272b;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  padding: 6px 4px;
  border-radius: 5px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #7C4A1E;
  background: #edeae0;
}
.main-nav .btn-primary {
  margin-left: 10px;
  margin-top: 0;
  padding: 10px 24px;
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: #23272b;
  color: #EDEAE0;
  padding: 0;
  font-size: 1rem;
  border-radius: 36px 36px 0 0;
}
footer .container {
  padding-top: 36px;
  padding-bottom: 32px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-nav a {
  color: #EDEAE0;
  opacity: 0.84;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: opacity 0.2s, color 0.18s;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.footer-nav a:hover, .footer-nav a:focus {
  opacity: 1;
  color: #fff;
  border-bottom: 2px solid #7C4A1E;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}
.footer-address,
.footer-info {
  color: #EDEAE0;
  font-size: 1rem;
}
.footer-info img {
  width: 20px;
  height: 20px;
  margin-right: 6px;
  vertical-align: middle;
  margin-bottom: -4px;
}
.footer-info a {
  color: #fff;
  font-weight: 500;
}
.footer-info a:hover, .footer-info a:focus {
  color: #7C4A1E;
}
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.footer-social a img {
  width: 30px;
  height: 30px;
  filter: grayscale(40%);
  transition: filter 0.16s, transform 0.17s;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: grayscale(0%);
  transform: scale(1.12);
}

/* ================
   BURGER MENU
   ================ */
.mobile-menu-toggle {
  background: #7C4A1E;
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 8px;
  padding: 8px 18px 8px 14px;
  cursor: pointer;
  display: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #23272b;
  color: #fff;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.68,-0.55,.27,1.55);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  padding: 36px 24px 24px 24px;
  box-shadow: 0 8px 52px rgba(35,39,43, 0.22);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 18px;
  padding: 4px 7px;
  border-radius: 6px;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #444;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin-top: 18px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.31rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 6px;
  transition: color 0.19s, background 0.13s;
  border-radius: 8px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #7C4A1E;
  color: #EDEAE0;
}

/* ===============
   SECTIONS
   =============== */
.features-section {
  background: #f9f7f4;
  border-radius: 32px;
}
.values-section {
  background: #EDEAE0;
  border-radius: 22px;
}
.cta-section {
  background: #7C4A1E;
  color: #fff;
  border-radius: 30px;
  box-shadow: 0 2px 11px rgba(124,74,30,0.10);
  text-align: center;
}
.cta-section h2, .cta-section p {
  color: #fff;
}

/* ============
   TESTIMONIALS
   ============ */
.testimonials-section {
  background: #EDEAE0;
  border-radius: 28px;
}
.testimonial-slider {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.stars-rating {
  color: #FFC940;
  font-size: 1.3rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.testimonial-meta {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #7C4A1E;
  opacity: 0.87;
  margin-top: 6px;
  font-weight: 600;
}

/* =============
   FORMS, MAPS
   ============= */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-bottom: 28px;
}
.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}
.contact-info img {
  width: 22px;
  height: 22px;
  margin-right: 7px;
  filter: grayscale(35%);
  vertical-align: middle;
}
.map-embed {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.98rem;
  color: #888;
  font-style: italic;
}

/* ===============
   LEGAL SECTION
   =============== */
.legal-section {
  background: #f9f7f4;
  border-radius: 22px;
}
.legal-section h2 {
  margin-bottom: 14px;
  margin-top: 20px;
  color: #7C4A1E;
}
.legal-section ul {
  margin-left: 16px;
  margin-bottom: 18px;
}
.legal-section li {
  margin-bottom: 8px;
  font-size: 1.04rem;
}
.legal-section a {
  text-decoration: underline;
}

/* ===============
   THANK YOU
   =============== */
.thankyou-section {
  background: #EDEAE0;
  border-radius: 23px;
  text-align: center;
}
.thankyou-section h1 {
  color: #7C4A1E;
}

/* =============
   SHOP/PRODUCTS
   ============= */
.product-overview-section {
  background: #EDEAE0;
  border-radius: 22px;
}

/* ==============
   GENERAL SPACING
   ==============
*/
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .content-grid, .feature-grid, .testimonial-slider {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
}

/* ============
   COOKIE BANNER
   ============ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #23272b;
  color: #fff;
  padding: 26px 16px 22px 16px;
  z-index: 1100;
  box-shadow: 0 -2px 19px rgba(35,39,43,0.19);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  border-radius: 20px 20px 0 0;
  animation: banner-slide-up 0.5s cubic-bezier(.68,-0.4,.27,1.41);
}
@keyframes banner-slide-up {
  0% { transform: translateY(110%); opacity: 0;}
  100% { transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
  color: #fff;
  font-size: 1.04rem;
  text-align: center;
}
.cookie-controls {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cookie-controls button {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 20px;
  padding: 10px 28px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.21s, color 0.21s, box-shadow 0.18s;
  margin: 0 2px;
}
.btn-accept {
  background: #7C4A1E;
  color: #fff;
  box-shadow: 0 2px 10px rgba(124,74,30,0.08);
}
.btn-accept:hover, .btn-accept:focus {
  background: #593615;
  color: #fff;
}
.btn-reject {
  background: #fff;
  color: #23272b;
  border: 2px solid #7C4A1E;
}
.btn-reject:hover, .btn-reject:focus {
  background: #7C4A1E;
  color: #fff;
}
.btn-cookie-settings {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-cookie-settings:hover, .btn-cookie-settings:focus {
  background: #fff;
  color: #23272b;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(35,39,43,0.75);
  z-index: 1400;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fade-in-bounce 0.55s cubic-bezier(.51,-0.12,.49,1.18);
}
@keyframes fade-in-bounce {
  0% { opacity:0; transform: scale(0.83) translateY(40px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal-content {
  background: #fff;
  color: #23272b;
  border-radius: 16px;
  box-shadow: 0 8px 48px rgba(35,39,43,0.21);
  max-width: 400px;
  padding: 32px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  width: 100%;
  min-width: 0;
}
.cookie-modal-content h2 {
  font-size: 1.31rem;
  color: #7C4A1E;
  margin-bottom: 5px;
}
.cookie-modal-content .modal-close {
  position: absolute;
  top: 8px; right: 10px;
  background: transparent;
  color: #23272b;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-content .modal-close:hover,
.cookie-modal-content .modal-close:focus {
  color: #7C4A1E;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F3EFE8;
  border-radius: 9px;
  padding: 10px 12px;
  min-width: 0;
}
.cookie-category-row label,
.cookie-category-row strong {
  font-size: 1rem;
}
.cookie-category-row input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: #7C4A1E;
  cursor: pointer;
}

.cookie-category-row .always-on {
  color: #7C4A1E;
  font-size: 1rem;
  font-weight: 600;
}

.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  justify-content: flex-end;
}

/* ===============
   RESPONSIVE
   =============== */
@media (max-width: 1050px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 18px;
    flex-wrap: wrap;
  }
  .feature-item {
    min-width: 170px;
    padding: 16px 12px 12px 12px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .container {
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .section, section {
    padding: 28px 7vw;
  }
  .hero-section {
    min-height: 220px;
    border-radius: 0 0 30px 30px;
    margin-bottom: 36px;
    padding-left: 0;
    padding-right: 0;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .content-wrapper {
    gap: 18px;
  }
  .feature-grid, .testimonial-slider, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item {
    width: 100%;
    min-width: 0;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-social { margin-top: 18px; }
}
@media (max-width: 400px) {
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .section, section {
    padding: 18px 2vw;
  }
}

/* =============
   UTILITIES
   ============= */
.geometric-shape {
  background: #7C4A1E;
  width: 50px;
  height: 50px;
  border-radius: 13% 70% 70% 30%/50% 13% 67% 30%;
  position: absolute;
  right: -12px; top: -18px;
  z-index: 0;
  opacity: 0.07;
}

/* Hide .mobile-menu by default on desktop */
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
  .main-nav { display: flex !important;;}
}

/* ==============
   ACCESSIBILITY
   ============== */
a:focus, button:focus, .btn-primary:focus, .cookie-controls button:focus, .cookie-modal-content .modal-close:focus {
  box-shadow: 0 0 0 2px #FFC940, 0 0 0 4px #EDEAE0;
  outline: none;
}

/* =====
   END
   ===== */
