/* === 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FFF7E6;
  color: #354F32;
}
ol, ul {
  list-style: none;
}
a {
  background: none;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
  padding: 0;
}
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

/* === BRAND FONTS === */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #FFF7E6;
  color: #354F32;
  font-size: 16px;
  line-height: 1.7;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #354F32;
  letter-spacing: -1px;
}
h1 {font-size: 2.2rem; margin-bottom: 20px;}
h2 {font-size: 1.5rem; margin-bottom: 18px;}
h3 {font-size: 1.2rem; margin-bottom: 12px;}

p, ul, ol {
  margin-bottom: 16px;
}
strong { color: #354F32; font-weight: 700; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}

.content-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 1px 10px rgba(53,79,50,0.06), 0 0.5px 4px rgba(163,89,25,0.04);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(53,79,50,0.08), 0 1px 3px rgba(163,89,25,0.04);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 250px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 20px;
}

.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: #F2EDDB;
  border-radius: 24px;
  box-shadow: 0 3px 18px rgba(53,79,50,0.09);
  min-width: 240px;
  max-width: 340px;
}
.testimonial-card p {
  color: #354F32;
  font-size: 1.05rem;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #A35919;
}
.testimonial-card .rating {
  color: #A35919;
  letter-spacing: 2px; 
  font-size: 1.25rem;
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  justify-content: flex-start;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.feature-grid > div {
  background: #F6F4EA;
  border-radius: 20px;
  box-shadow: 0 1px 8px rgba(53,79,50,0.06);
  padding: 30px 20px;
  min-width: 190px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 24px rgba(53,79,50,0.13);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #eaf0e4;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(53,79,50,0.07);
}

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

.hero-section {
  background: linear-gradient(110deg, #F6F4EA 85%, #e6f6ea 100%);
  border-radius: 0 0 36px 36px;
  padding: 56px 0 44px 0;
  margin-bottom: 32px;
  min-height: 280px;
}
.hero-section h1 {
  color: #354F32;
  font-size: 2.6rem;
  margin-bottom: 14px;
}
.hero-section p {
  font-size: 1.18rem;
  color: #5D4037;
  max-width: 570px;
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 1px 10px rgba(53,79,50,0.03);
  padding: 0 0 0 0;
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 14px 18px;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
nav.main-nav a {
  color: #354F32;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
  position: relative;
  padding: 4px 1px;
}
nav.main-nav a:hover,
nav.main-nav a:focus {
  color: #A35919;
}
.btn.btn-primary {
  background-color: #354F32;
  color: #FFF7E6;
  border-radius: 30px;
  padding: 11px 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.8px;
  box-shadow: 0 2px 8px rgba(53,79,50,0.09);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.18s, box-shadow 0.2s;
  margin-left: 16px;
  outline: none;
}
.btn.btn-primary:hover,
.btn.btn-primary:focus {
  background: #A35919;
  color: #fff;
  box-shadow: 0 8px 24px rgba(163,89,25,0.09);
}

/* HAMBURGER MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #354F32;
  margin-left: 24px;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 12px;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #EAF0E4;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFF7E6;
  box-shadow: 0 9px 40px rgba(53,79,50,0.07);
  z-index: 100;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px 22px 0 22px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #A35919;
  align-self: flex-end;
  margin-bottom: 36px;
  cursor: pointer;
  padding: 8px 18px 8px 8px;
  border-radius: 10px;
  transition: background 0.14s;
  z-index: 12;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F6F4EA;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.28rem;
  font-weight: 600;
  color: #354F32;
  padding: 8px 0px;
  border-radius: 6px;
  transition: background 0.18s, color 0.14s;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #eaf0e4;
  color: #A35919;
}

/* === MAIN & GENERAL STRUCTURE === */
main {
  min-height: 500px;
  margin-bottom: 40px;
  padding-bottom: 20px;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

ul, ol {
  margin-left: 1.2em;
}
ul li, ol li {
  margin-bottom: 9px;
  font-size: 1rem;
}
ul li strong, ol li strong {
  color: #A35919;
}

/* === CTA BUTTONS === */
.btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.16s, box-shadow 0.17s;
  outline: none;
  box-shadow: 0 1px 8px rgba(53,79,50,0.06);
  display: inline-block;
}
.btn-primary {
  background: #354F32;
  color: #FFF7E6;
  padding: 10px 29px;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #A35919;
  color: #fff;
}

/* === CARDS & SECTIONS === */
.card {
  box-shadow: 0 2px 18px rgba(53,79,50,0.07);
  border-radius: 18px;
  background: #fff;
  transition: box-shadow 0.14s;
}
.card:hover {
  box-shadow: 0 6px 30px rgba(163,89,25,0.11);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px 20px 20px 20px;
}

/* === CONTACT DETAILS === */
.contact-details {
  margin: 0 0 22px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.contact-details img {
  height: 22px;
  width: 22px;
  filter: grayscale(0.12) sepia(0.19);
}
.map-snippet {
  margin: 18px 0 0 0;
  background: #F6F4EA;
  border-radius: 13px;
  padding: 17px 16px;
  font-size: 1rem;
}

/* === FOOTER === */
footer {
  background: #F2EDDB;
  padding: 32px 0 26px 0;
  border-top-left-radius: 38px;
  border-top-right-radius: 38px;
  color: #354F32;
  font-size: 0.98rem;
  box-shadow: 0 -1px 10px rgba(53,79,50,0.06);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  gap: 21px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  color: #354F32;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.17s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #A35919;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.footer-contact img {
  height: 30px;
  margin-bottom: 3px;
}
.footer-contact a {
  color: #A35919;
  font-weight: 500;
  text-decoration: underline;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #354F32;
  color: #FFF7E6;
  z-index: 400;
  width: 100vw;
  padding: 24px 18px 22px 18px;
  box-shadow: 0 -2px 16px rgba(53,79,50,0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: cookie-slide-in 0.5s ease-in;
}
@keyframes cookie-slide-in {
  from {transform: translateY(90%); opacity: 0;}
  to {transform: none; opacity: 1;}
}
.cookie-banner p {
  font-size: 1rem;
  color: #FFF7E6;
  text-align: center;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-cookie {
  border-radius: 23px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  padding: 8px 18px;
  margin: 0 4px;
  box-shadow: 0 1px 5px rgba(163,89,25,0.09);
  background: #FFF7E6;
  color: #354F32;
  cursor: pointer;
  transition: background 0.15s, color 0.13s;
}
.btn-cookie:hover,
.btn-cookie:focus {
  background: #A35919;
  color: #fff;
}
.btn-cookie-settings {
  background: #F6F4EA;
  color: #A35919;
}
.btn-cookie-settings:hover,
.btn-cookie-settings:focus {
  background: #354F32;
  color: #FFF7E6;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 401;
  left: 0; top: 0; bottom: 0; right: 0;
  background: rgba(53,79,50,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in 0.28s;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #FFF7E6;
  border-radius: 26px;
  box-shadow: 0 4px 32px rgba(53,79,50,0.12);
  max-width: 420px;
  width: 96vw;
  padding: 38px 28px 28px 28px;
  position: relative;
  color: #354F32;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modal-pop-in 0.42s cubic-bezier(.48,-0.23,.3,1.43);
}
@keyframes modal-pop-in {
  from { transform: scale(0.93); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.cookie-modal h2 {
  font-size: 1.25rem;
  color: #A35919;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}
.cookie-option .toggle {
  width: 36px;
  height: 20px;
  background: #eaf0e4;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-option .toggle[data-on='true'] {
  background: #A35919;
}
.cookie-option .toggle .knob {
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.19s;
}
.cookie-option .toggle[data-on='true'] .knob {
  left: 18px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px; right: 18px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #A35919;
  cursor: pointer;
  transition: background 0.15s;
  border-radius: 7px;
  padding: 2px 8px;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  background: #eaf0e4;
}

/* === ANIMATIONS & MICRO-INTERACTIONS === */
.card, .feature-grid > div, .testimonial-card, .btn, .btn-cookie {
  transition: box-shadow 0.17s, background 0.15s, color 0.13s, transform 0.15s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  transform: translateY(-5px) scale(1.02);
}

/* === RESPONSIVE (MOBILE-FIRST) === */
@media (max-width: 1100px) {
  .container { max-width: 95vw; }
}
@media (max-width: 900px) {
  header .container { flex-direction: column; align-items: flex-start; gap: 18px; }
  .content-wrapper { max-width: 98vw; }
}
@media (max-width: 820px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .card-container, .testimonial-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  footer .container {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
  .hero-section {
    padding: 32px 0 28px 0;
    min-height: 170px;
    border-radius: 0 0 24px 24px;
  }
}
@media (max-width: 650px) {
  nav.main-nav, .btn.btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.07rem; }
  .container { padding: 0 3vw; }
  section { padding: 22px 6px; margin-bottom: 40px; }
  .feature-grid > div,
  .testimonial-card { padding: 18px 10px; }
  .cookie-modal { padding: 24px 8px 20px 8px; }
}
@media (max-width: 768px) {
  .hero-section { padding: 28px 0 15px 0; }
  .hero-section h1 { font-size: 1.55rem; }
  .content-wrapper { padding: 0; }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .testimonial-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

/* === ACCESSIBILITY, HIERARCHY, SPACING === */
a:focus-visible, .btn:focus-visible, button:focus-visible, .mobile-menu-toggle:focus-visible {
  outline: 2px solid #A35919;
  outline-offset: 2px;
}

::-webkit-scrollbar {
  width: 8px;
  background: #F6F4EA;
}
::-webkit-scrollbar-thumb {
  background: #EAF0E4;
  border-radius: 8px;
}

/* === ORGANIC SHAPES & NATURE TEXTURE EFFECT === */
.hero-section,
.section,
.card,
.feature-grid > div,
.testimonial-card,
.cookie-modal {
  /* Subtle organic border radius */
  border-radius: 24px 36px 21px 32px/30px 30px 18px 36px;
}
.header, .footer, .btn, .btn-primary, .btn-cookie {
  border-radius: 29px 25px 23px 21px;
}

/* Subtle grain overlay (nature texture) */
body:before {
  content: '';
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
  background: url('data:image/svg+xml;utf8,<svg width="6" height="6" viewBox="0 0 6 6" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="1" cy="1" r="1" fill="%23d5dad0" fill-opacity=".14"/><circle cx="5" cy="4" r="1" fill="%23aab092" fill-opacity=".07"/></svg>') repeat;
  opacity: 0.2;
}

/* === SPACING BETWEEN CARDS/SECTIONS (MANDATORY) === */
.card, .feature-grid > div, .testimonial-card, section {
  margin-bottom: 20px;
}
.feature-grid, .card-container, .testimonial-grid, .content-grid {
  gap: 20px;
}

/* === PREVENT ABSOLUTE CONTENT POSITIONING === */
/* Only allowed for subtle decorative, as in the organic shapes above */

/* === VISUAL HIERARCHY === */
h1, h2, h3, .btn {
  letter-spacing: -0.5px;
}

/* === OTHER COMPONENTS (FORM ALERTS ETC.) === */
.alert {
  background: #eaf0e4;
  color: #354F32;
  padding: 12px 18px;
  border-radius: 16px;
  margin-bottom: 16px;
  font-size: 1rem;
}

/* === PRINT SUPPORT (OPTIONAL) === */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .card, .testimonial-card { box-shadow: none !important; background: #fff; }
}
