/* --- CSS RESET & BASE --- */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
body {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2E3556;
  background-color: #F5F2EC;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  background-image: url('../assets/paper-texture.jpg'); /* optional, fallback to solid color */
  background-size: cover;
  background-repeat: no-repeat;
}
img { max-width: 100%; display: block; }
a { color: #94703F; text-decoration: underline; transition: color 0.2s; }
a:hover, a:focus { color: #6a5230; }
section { margin-bottom: 60px; padding: 40px 20px; }
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: #2E3556;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }
p, ul, ol { margin-bottom: 16px; }
.subtitle {
  color: #715C3C;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 24px;
}
ul, ol {
  padding-left: 20px;
  margin-bottom: 24px;
}
ul li { margin-bottom: 12px; }
.read-more {
  font-weight: 600;
  color: #2E3556;
  text-decoration: none;
  border-bottom: 1px solid #94703F;
  transition: color 0.2s; 
}
.read-more:hover { color: #B48D57; border-bottom: 1px solid #2E3556; }

/* --- HEADER --- */
header {
  background: #FFFFFFE6; /* slightly transparent for organic touch */
  box-shadow: 0 2px 16px 0 rgba(46,53,86,0.08);
  position: relative;
  width: 100%;
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  height: 90px;
}
.logo img { height: 40px; width: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #2E3556;
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 22px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:not(.btn-primary):hover,
.main-nav a:not(.btn-primary):focus {
  background: #E9D5C4;
  color: #94703F;
}
.btn-primary {
  display: inline-block;
  background: #B48D57;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 10px 28px;
  border-radius: 32px;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(148,112,63,0.10);
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: #94703F;
  color: #FFF;
  box-shadow: 0 4px 18px 0 rgba(148,112,63,0.14);
  transform: translateY(-2px) scale(1.025);
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: #E9D5C4;
  color: #94703F;
  border: none;
  font-size: 2.1rem;
  padding: 5px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
  margin-left: 18px;
}
.mobile-menu-toggle:hover {
  background: #B48D57;
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #F5F2EC;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.87,.14,.29,.96);
  z-index: 150;
  padding: 0 32px;
  box-shadow: 0 8px 24px 0 rgba(46,53,86,0.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #94703F;
  font-size: 2rem;
  border: none;
  margin-top: 32px;
  margin-bottom: 10px;
  margin-left: auto;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
  align-self: flex-end;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
  width: 100%;
}
.mobile-nav a {
  color: #2E3556;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  text-decoration: none;
  padding: 14px 8px;
  border-radius: 9px;
  transition: background 0.19s, color 0.19s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E9D5C4;
  color: #94703F;
}

/* --- HERO, CTA & WRAPPERS --- */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 0 0;
  align-items: flex-start;
  width: 100%;
}

/* --- FEATURES & CARDS --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-top: 18px;
  width: 100%;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFFFFF;
  border-radius: 18px 32px 18px 26px;
  box-shadow: 0 2px 12px 0 rgba(148,112,63,0.10);
  padding: 28px 20px 22px 20px;
  min-width: 220px;
  max-width: 310px;
  flex: 1 1 220px;
  transition: box-shadow 0.2s, transform 0.13s;
  margin-bottom: 20px;
  border-left: 4px solid #B48D57;
}
.feature-item img {
  width: 36px;
  height: 36px;
  filter: none;
}
.feature-item:hover,
.feature-item:focus-within {
  box-shadow: 0 6px 24px 0 rgba(148,112,63,0.16);
  transform: translateY(-2px) scale(1.03);
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
  margin-top: 12px;
}
.service-card {
  background: #FFFFFF;
  border-radius: 18px 30px 18px 22px;
  box-shadow: 0 2px 10px 0 rgba(46,53,86,0.12);
  padding: 24px 18px 18px 18px;
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 320px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-left: 4px solid #6b9265;
  transition: box-shadow 0.19s, transform 0.13s;
}
.service-card h3 {
  color: #2E3556;
}
.service-card a {
  align-self: flex-start;
  display: inline-block;
  color: #94703F;
  font-weight: 500;
  border-bottom: 1.5px solid #94703F;
  text-decoration: none;
  padding-bottom: 1px;
  font-size: 1rem;
  transition: color 0.2s;
}
.service-card a:hover {
  color: #2E3556;
  border-color: #2E3556;
}
.service-card:hover {
  box-shadow: 0 5px 18px 0 rgba(148,112,63,0.19);
  transform: translateY(-3px) scale(1.035);
}
.quick-links {
  margin-top: 16px;
}
.quick-links a {
  color: #2E3556;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  text-decoration: none;
  transition: color 0.16s;
}
.quick-links a:hover { color: #94703F; }

/* --- TESTIMONIALS --- */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.testimonial-card {
  background: #F6F7F4;
  color: #2E3556;
  border-radius: 28px 14px 30px 14px;
  box-shadow: 0 2px 16px 0 rgba(46,53,86,0.12);
  padding: 20px 24px 16px 26px;
  min-width: 260px;
  max-width: 400px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  border-left: 4px solid #6b9265;
  transition: box-shadow 0.18s, transform 0.10s;
}
.testimonial-card blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #2E3556;
  margin-bottom: 8px;
  quotes: '“' '”';
}
.testimonial-card blockquote:before { content: open-quote; color: #B48D57; font-size: 1.7em; vertical-align: -0.2em; }
.testimonial-card blockquote:after { content: close-quote; color: #B48D57; font-size: 1.7em; vertical-align: -0.2em; }
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: italic;
  font-size: 0.99rem;
  color: #94703F;
}
.testimonial-card:focus-within, .testimonial-card:hover {
  box-shadow: 0 4px 22px 0 rgba(148,112,63,0.16);
  transform: translateY(-2px) scale(1.025);
}

/* --- CARDS, FAQ, CONTENT --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFFFFF;
  border-radius: 20px 32px 18px 26px;
  box-shadow: 0 2px 12px 0 rgba(148,112,63,0.10);
  padding: 24px;
  min-width: 230px;
  flex: 1 1 210px;
  transition: box-shadow 0.19s, transform 0.13s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px 0 rgba(148,112,63,0.13);
  transform: translateY(-2px) scale(1.03);
}
.faq-list { display: flex; flex-direction: column; gap: 24px; }
.faq-item { background: #E9D5C4; border-radius: 18px; padding: 24px 18px 14px 18px; box-shadow: 0 2px 8px 0 rgba(148,112,63,0.06); }
.faq-item h3 { color: #2E3556; font-size: 1.1rem; margin-bottom: 6px; }
.faq-item p { color: #333; margin-bottom: 0; font-size: 0.98rem; }
.text-section {
  background: #FFFFFFF6;
  border-radius: 18px 36px 18px 18px;
  padding: 30px 24px 22px 24px;
  box-shadow: 0 2px 8px 0 rgba(46,53,86,0.09);
  margin-bottom: 20px;
}

/* --- FOOTER --- */
footer {
  background: #3D4135;
  padding: 42px 0 0 0;
  color: #fff;
  font-size: 0.98rem;
}
footer .container {
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; margin-bottom: 8px; }
.footer-nav a {
  color: #E9D5C4;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.14s;
}
.footer-nav a:hover { color: #B48D57; }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 36px;
  align-items: center;
  margin-bottom: 12px;
}
.footer-contact img { height: 36px; margin-right: 12px; margin-bottom: 0; }
.footer-contact address { font-style: normal; color: #F8F3EC; margin-right: 18px; }
.footer-contact span { display: flex; align-items: center; gap: 8px; color: #E9D5C4; }
.footer-contact span img { height: 20px; width: 20px; }
.copyright { font-size: 0.95rem; color: #B48D57; margin: 20px 0 10px 0; }

/* --- SECTION/GAP/MARGIN LAYOUTS (MANDATORY) --- */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
  .container { max-width: 96vw; }
  .main-nav { gap: 18px; }
  .footer-nav { gap: 16px; }
}
@media (max-width: 768px) {
  /* HEADER / NAV */
  header .container {
    flex-direction: row;
    gap: 0;
    height: 68px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  /* MENU OVERLAY */
  .mobile-menu {
    padding-top: 6vw;
  }
  .mobile-nav { margin-top: 30px; gap: 20px; }
  /* LAYOUTS */
  .feature-grid,
  .service-cards,
  .testimonial-list,
  .footer-contact {
    flex-direction: column;
    align-items: stretch;
  }
  .feature-item,
  .service-card,
  .testimonial-card,
  .card {
    max-width: 100%; min-width: unset; width: 100%;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section { flex-direction: column; align-items: stretch; gap: 18px; }
}
@media (max-width: 480px) {
  section { padding: 32px 6px; }
  .container { padding: 0 5px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }
  .mobile-menu-close { margin-top: 12px; }
}

/* --- FORM ELEMENTS --- */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 13px;
  border-radius: 10px;
  border: 1.5px solid #E9D5C4;
  background: #F5F2EC;
  color: #2E3556;
  margin-bottom: 18px;
  outline: none;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #B48D57;
  background: #fff;
}
label { font-weight: 500; margin-bottom: 6px; display: inline-block; }

/* --- BUTTONS & MICRO-INTERACTIONS --- */
button, .btn-primary {
  cursor: pointer;
  transition: background 0.19s, box-shadow 0.19s, color 0.19s, transform 0.14s;
}
button:focus, .btn-primary:focus {
  outline: 2px solid #94703F;
  outline-offset: 2px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #F6F7F4;
  color: #2E3556;
  box-shadow: 0 -2px 24px 0 rgba(148,112,63,0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 24px 12px 20px 12px;
  gap: 28px;
  z-index: 2000;
  animation: cookieSlideUp 0.5s;
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__message {
  font-size: 1rem;
  flex: 1 1 200px;
  margin-right: 10px;
  max-width: 520px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  background: #B48D57;
  color: #fff;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 22px;
  margin: 0;
  transition: background 0.16s, color 0.16s;
  box-shadow: 0 2px 8px 0 rgba(148,112,63,0.10);
}
.cookie-btn.reject {
  background: #94703F;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: #94703F;
  border: 1.5px solid #94703F;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #715C3C;
  color: #fff;
}
.cookie-btn.settings:hover {
  background: #E9D5C4;
  color: #715C3C;
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(46,53,86,0.14);
  z-index: 3001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.18s;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 24px 48px 24px 24px;
  box-shadow: 0 8px 48px 0 rgba(148,112,63,0.18);
  padding: 38px 32px 28px 32px;
  min-width: 290px;
  max-width: 98vw;
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: cookieModalPop 0.25s cubic-bezier(.32,.72,.47,1.55);
}
@keyframes cookieModalPop {
  from { transform: scale(0.91); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-family: 'Playfair Display', serif;
  color: #2E3556;
  margin-bottom: 2px;
  font-size: 1.17rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #F6F7F4;
  border-radius: 12px;
  padding: 10px 18px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1rem;
  color: #2E3556;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 22px;
  background: #E9D5C4;
  border-radius: 16px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
  border: none;
}
.cookie-toggle:checked {
  background: #94703F;
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.19s;
  box-shadow: 0 1px 6px 0 rgba(46,53,86,0.10);
}
.cookie-toggle:checked::after {
  left: 18px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 4px;
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  color: #94703F;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 2;
  padding: 2px 6px;
}
.cookie-modal-close:hover { color: #2E3556; }

/* --- ORGANIC/NATURE-INSPIRED ACCENTS --- */
.feature-item, .service-card, .testimonial-card, .card, .faq-item, .text-section, .cookie-modal, .section {
  /* accentuating elements with subtle organic border radius & shadow */
  /* textures applied via background-image in body or override here if images available! */
}
h1, h2, h3, h4 { text-shadow: 0 1px 2px #eee7; }

/* --- UTILITIES --- */
.hide { display: none !important; }
.flex { display: flex !important; }
.flex-row { flex-direction: row !important; }
.flex-col { flex-direction: column !important; }
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }
.align-center { align-items: center !important; }
.align-start { align-items: flex-start !important; }
.justify-between { justify-content: space-between !important; }

/* --- OUTLINED FOCUS STATES FOR ACCESSIBILITY --- */
a:focus, button:focus, .btn-primary:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2.5px solid #6b9265;
  outline-offset: 2px;
}

/* --- SCROLLBAR (light organic) --- */
html::-webkit-scrollbar { width: 10px; background: #F5F2EC; }
html::-webkit-scrollbar-thumb { background: #E9D5C4; border-radius: 8px; }

/* --- ORGANIC/NATURE COLOR HINTS (for icons, etc) --- */
.feature-item img,
.footer-contact img {
  filter: hue-rotate(-25deg) brightness(0.95) saturate(1.1) drop-shadow(0 2px 4px #e9d5c444);
}

/* --- Z-INDEX LAYERS --- */
header { z-index: 40; }
.mobile-menu { z-index: 150; }
.cookie-banner { z-index: 2000; }
.cookie-modal-overlay { z-index: 3001; }

/* --- END OF CSS --- */
