/* ===============================
   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;
  box-sizing: border-box;
}
html { line-height: 1.5; -webkit-text-size-adjust: 100%; }
body { background: #F5F3F0; color: #2A293D; font-family: 'Roboto', Arial, sans-serif; font-size: 16px; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a { text-decoration: none; color: inherit; }
img { border: 0; max-width: 100%; height: auto; display: block; }
button, input, select, textarea {
  font-family: inherit; font-size: inherit; color: inherit;
  background: none; border: none; padding: 0; margin: 0;
}
button:focus, input:focus, select:focus, textarea:focus {
  outline: none;
}

/* ===============================
   CSS VARIABLES & BRAND PALETTE
   =============================== */
:root {
  --brand-primary: #2A293D;     /* Main brand (dark)
  */
  --brand-secondary: #BBA67B;   /* Elegant warm gold */
  --brand-accent: #FFFFFF;      /* White */
  --nature-dark-green: #315244; /* Nature organic accent */
  --nature-medium-green: #759265;
  --nature-soft-green: #DBEADB;
  --nature-leaf: #7B946A;
  --nature-earth: #B9AFA3;
  --nature-bark: #807256;
  --nature-tan: #EADFCF;
  --nature-light: #F5F3F0;

  --box-radius: 18px;
  --card-radius: 22px;
  --transition: 0.23s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ===============================
   TYPOGRAPHY
   =============================== */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--brand-primary);
  font-weight: 400;
  background: var(--nature-light);
  letter-spacing: 0.01em;
}
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.18;
  color: var(--brand-primary);
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 28px;
  color: var(--nature-dark-green);
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--nature-medium-green);
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: var(--nature-dark-green);
}
p {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--brand-primary);
  line-height: 1.7;
}
ol, ul {
  margin-bottom: 18px;
}
ul {
  padding-left: 0;
}
ul li, ol li {
  font-size: 1rem;
  margin-bottom: 10px;
  padding-left: 0;
  color: var(--nature-bark);
  display: flex;
  align-items: center;
  gap: 12px;
}
strong {
  font-weight: 700;
  color: var(--nature-dark-green);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-section {
  max-width: 800px;
}

/* ===============================
   LAYOUT CONTAINERS (Flexbox)
   =============================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--brand-accent);
  border-radius: var(--card-radius);
  box-shadow: 0 3px 18px 0 rgba(49,82,68,0.11), 0 1.5px 6px 0 rgba(187,166,123,0.1);
  margin-bottom: 20px;
  transition: box-shadow var(--transition);
  position: relative;
  padding: 28px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 260px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(49, 82, 68, 0.15), 0 2.5px 10px 0 rgba(187,166,123,0.12);
}
.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;
  background: #FFF;
  border-radius: 22px;
  box-shadow: 0 2px 7px 0 rgba(49,82,68,0.08), 0 1px 3px 0 rgba(123,148,106,0.09);
  padding: 28px 30px 24px 30px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 525px;
  border-left: 6px solid var(--nature-medium-green);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-color: var(--brand-secondary);
  box-shadow: 0 7px 28px 0 rgba(123,148,106,0.16), 0 2.5px 10px 0 rgba(187,166,123,0.14);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--nature-soft-green);
  border-radius: var(--box-radius);
  padding: 24px 20px;
  box-shadow: 0 1px 6px 0 rgba(49,82,68,0.08);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 320px;
}

.features .content-wrapper > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.features .content-wrapper > ul > li {
  background: var(--nature-soft-green);
  border-radius: var(--box-radius);
  padding: 25px 20px 22px 20px;
  box-shadow: 0 1px 6px 0 rgba(49,82,68,0.07);
  margin-bottom: 0;
  flex: 1 0 230px;
  color: var(--brand-primary);
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow var(--transition), background var(--transition);
}
.features .content-wrapper > ul > li:hover {
  background: #f3f9f5;
  box-shadow: 0 8px 28px 0 rgba(123,148,106,0.07);
}

.services .content-wrapper > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.services .content-wrapper > ul > li {
  background: var(--nature-tan);
  border-radius: var(--box-radius);
  padding: 27px 22px 19px 22px;
  box-shadow: 0 1px 6px 0 rgba(187,166,123,0.09);
  margin-bottom: 0;
  flex: 1 0 230px;
  color: var(--nature-bark);
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow var(--transition), background var(--transition);
}
.services .content-wrapper > ul > li span {
  display: block;
  margin-top: 5px;
  font-size: 1em;
  color: var(--nature-leaf);
  font-weight: 700;
}
.services .content-wrapper > ul > li:hover {
  background: #F9F6F0;
  box-shadow: 0 4px 16px 0 rgba(187,166,123,0.13);
}

/* ===============================
   HEADER AND NAVIGATION
   =============================== */
header {
  background: var(--brand-accent);
  box-shadow: 0 3px 16px 0 rgba(49, 82, 68, 0.06);
}
header > .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header .main-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.main-nav a, .footer-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 12px;
  color: var(--brand-primary);
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--nature-soft-green);
  color: var(--nature-medium-green);
}
header img {
  height: 48px;
  border-radius: 50%;
}
.cta-primary {
  background: var(--nature-medium-green);
  color: var(--brand-accent);
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 18px 38px 21px 22px;
  padding: 12px 32px;
  box-shadow: 0 2px 10px 0 rgba(123,148,106,0.11);
  border: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  cursor: pointer;
  display: inline-block;
  margin-left: 22px;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  box-shadow: 0 4px 18px 0 rgba(187,166,123,0.17);
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
  display: none;
  background: var(--nature-dark-green);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  cursor: pointer;
  margin-left: 12px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}

/* ===============================
   HERO SECTION
   =============================== */
.hero {
  background: var(--nature-soft-green);
  border-radius: 0 0 34px 34px;
  box-shadow: 0 10px 32px 0 rgba(49,82,68,0.06);
  position: relative;
  padding-bottom: 38px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 13px;
  padding-top: 44px;
  padding-bottom: 44px;
}
.hero h1 {
  color: var(--nature-dark-green);
}
.hero a.cta-primary {
  margin-top: 16px;
}

/* ===============================
   TESTIMONIALS
   =============================== */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card p {
  font-size: 1.1em;
  color: var(--brand-primary);
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: 0.99em;
  color: var(--nature-bark);
  letter-spacing: 0.02em;
  font-weight: 500;
}

/* ===============================
   CONTACT
   =============================== */
.contact .text-section ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact .text-section li {
  font-weight: 500;
  color: var(--nature-bark);
}
.contact .text-section li img {
  margin-right: 10px;
  height: 22px;
  width: 22px;
}

/* ===============================
   FOOTER
   =============================== */
footer {
  background: var(--nature-medium-green);
  color: var(--brand-accent);
  padding: 36px 0 24px 0;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -3px 20px 0 rgba(49,82,68,0.04);
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-bottom: 2px;
}
.footer-nav a {
  color: var(--brand-accent);
  background: rgba(123,148,106,0.16);
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 1rem;
  transition: background var(--transition), color var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--brand-accent);
  color: var(--nature-dark-green);
}
.footer-contact {
  font-size: 1rem;
  color: var(--brand-accent);
  display: flex;
  flex-direction: row;
  gap: 7px;
  align-items: center;
}
.footer-contact a {
  color: var(--brand-accent);
  text-decoration: underline dotted #dbd8b1 1.5px;
  margin: 0 4px;
  transition: color var(--transition);
}
.footer-contact a:hover, .footer-contact a:focus {
  color: var(--brand-secondary);
}

footer > .container > span {
  font-size: 0.93rem;
  color: var(--brand-accent);
  opacity: 0.64;
  margin-top: 5px;
}

/* ===============================
   MOBILE MENU
   =============================== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: fixed;
  z-index: 1200;
  top: 0; right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(49,82,68,0.20);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.7, 0.1, 0.32, 1);
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--brand-accent);
  color: var(--nature-dark-green);
  font-size: 2.3rem;
  border: none;
  border-radius: 50%;
  width: 52px; height: 52px;
  margin: 32px 24px 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px 0 rgba(49,82,68,0.08);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--nature-medium-green);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  background: var(--brand-accent);
  border-radius: 18px 0 0 18px;
  padding: 38px 34px 32px 44px;
  margin-right: 0;
  min-width: 260px;
  max-width: 340px;
  box-shadow: 0 1.5px 8px 0 rgba(49,82,68,0.20);
  height: 73vh;
  overflow-y: auto;
}
.mobile-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--nature-dark-green);
  background: var(--nature-soft-green);
  border-radius: 9px;
  padding: 11px 19px;
  margin-right: 0;
  width: 100%;
  transition: background var(--transition), color var(--transition);
  text-align: right;
  margin-bottom: 2px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-accent);
  background: var(--brand-secondary);
}

/* ===============================
   COOKIE CONSENT BANNER
   =============================== */
.cookie-banner {
  position: fixed;
  z-index: 1500;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--nature-bark);
  color: var(--brand-accent);
  padding: 24px 22px 26px 22px;
  box-shadow: 0 -4px 18px 0 rgba(49,82,68,0.11);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  font-size: 1.01rem;
  animation: cookie-banner-fade 0.5s;
}
@keyframes cookie-banner-fade { from { opacity:0; transform: translateY(48px);} to {opacity:1; transform: translateY(0);} }
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  padding: 10px 19px;
  margin: 0;
  border-radius: 13px;
  border: none;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1.5px 7px 0 rgba(123,148,106,0.17);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-banner .accept {
  background: var(--nature-medium-green);
  color: #fff;
}
.cookie-banner .accept:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  box-shadow: 0 5px 18px 0 rgba(187,166,123,0.19);
}
.cookie-banner .reject {
  background: var(--nature-tan);
  color: var(--nature-dark-green);
}
.cookie-banner .reject:hover {
  background: var(--nature-leaf);
  color: #fff;
}
.cookie-banner .settings {
  background: transparent;
  color: var(--brand-accent);
  text-decoration: underline dashed;
  border: 1.5px solid var(--brand-accent);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--brand-accent);
  color: var(--nature-bark);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1650;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(44,52,36,0.20);
  display: flex;
  flex-direction: column;
  transition: background 0.23s;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.23s;
}
@keyframes fadeIn { from {opacity:0;} to {opacity:1;} }
.cookie-modal {
  background: var(--brand-accent);
  color: var(--nature-dark-green);
  border-radius: 28px;
  padding: 35px 32px 34px 32px;
  min-width: 320px;
  max-width: 94vw;
  box-shadow: 0 9px 41px 0 rgba(123,148,106,0.17);
  display: flex;
  flex-direction: column;
  gap: 23px;
  position: relative;
  animation: modalPopin 0.24s;
}
@keyframes modalPopin { from { transform: scale(0.93);} to {transform: scale(1);} }
.cookie-modal h2 {
  color: var(--nature-dark-green);
  font-size: 1.22rem;
  margin-bottom: 5px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category label {
  font-size: 1.08rem;
  color: var(--brand-primary);
  font-weight: 500;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  width: 19px; height: 19px;
  appearance: none;
  border: 1.7px solid var(--nature-bark);
  border-radius: 5px;
  background: var(--nature-tan);
  position: relative;
  cursor: pointer;
  transition: border-color 0.16s, background 0.16s;
}
.cookie-modal .cookie-category input[type="checkbox"]:checked {
  background: var(--nature-medium-green);
  border-color: var(--nature-medium-green);
}
.cookie-modal .cookie-category input[type="checkbox"]:checked::after {
  content: '✔';
  color: #fff;
  font-size: 0.92em;
  display: block;
  text-align: center;
  margin-top: -2px;
}
.cookie-modal .category-desc {
  font-size: 0.96rem;
  color: var(--nature-bark);
  opacity: 0.85;
  margin-left: 30px;
  margin-bottom: 9px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions button {
  padding: 10px 19px;
  border-radius: 13px;
  border: none;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1.5px 7px 0 rgba(123,148,106,0.13);
  transition: background var(--transition), color var(--transition);
}
.cookie-modal .accept {
  background: var(--nature-medium-green);
  color: #fff;
}
.cookie-modal .accept:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-modal .close {
  background: var(--nature-tan);
  color: var(--nature-dark-green);
}
.cookie-modal .close:hover {
  background: var(--nature-bark);
  color: var(--brand-accent);
}
.cookie-modal .essential[disabled] {
  background: #B9AFA3;
  color: #fff;
  opacity: 0.67;
  cursor: not-allowed;
}

/* ===============================
   GENERAL STYLES/UTILITY
   =============================== */
::-webkit-scrollbar {
  width: 10px;
  background: var(--nature-light);
}
::-webkit-scrollbar-thumb {
  background: var(--nature-earth);
  border-radius: 8px;
}

hr {
  margin: 32px auto;
  border: none;
  border-bottom: 2px solid var(--nature-leaf);
  width: 75%;
}

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

/* ===============================
   MEDIA QUERIES / RESPONSIVE
   =============================== */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .hero,
  section {
    padding-left: 2vw;
    padding-right: 2vw;
  }
}
@media (max-width: 900px) {
  .main-nav, .footer-nav {
    gap: 12px;
  }
  .features .content-wrapper > ul,
  .services .content-wrapper > ul,
  .testimonials .content-wrapper {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header > .container {
    flex-direction: row;
    gap: 8px;
    padding-top: 10px; padding-bottom: 10px;
  }
  .main-nav { display: none; }
  .cta-primary {margin-left: 0;}
  .mobile-menu-toggle {
    display: flex;
    position: relative;
    z-index: 1601;
  }
  .hero,
  section {
    padding: 28px 5vw;
    margin-bottom: 44px;
  }
  h1 {
    font-size: 2.0rem;
  }
  h2 {
    font-size: 1.45rem;
  }
  h3 {
    font-size: 1.17rem;
  }
  .card-container, .testimonials .content-wrapper, .features .content-wrapper > ul, .services .content-wrapper > ul {
    flex-direction: column;
    gap: 20px;
  }
  .testimonials .content-wrapper,
  .features .content-wrapper > ul,
  .services .content-wrapper > ul {
    gap: 13px !important;
    align-items: stretch;
  }
  .feature-item,
  .card,
  .testimonial-card {
    min-width: unset;
    max-width: 100%;
  }
  .footer-nav, .footer-contact { flex-direction: column; gap: 7px; }
  .content-wrapper, .text-image-section { flex-direction: column; gap: 15px; }
}
@media (max-width: 520px) {
  html { font-size: 14px; }
  .header img { height: 36px; }
  .hero, section { padding: 17px 1.6vw; }
  .cookie-modal {
    padding: 21px 10px 24px 10px;
    min-width: 180px;
    max-width: 98vw;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 7px 18px 7px;
    gap: 14px;
  }
}
/* ===============================
   ANIMATIONS & MICRO-INTERACTIONS
   =============================== */
.cta-primary, .footer-nav a, .main-nav a, .cookie-banner button, .cookie-modal button, .feature-item, .services .content-wrapper > ul > li, .testimonial-card {
  transition: box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}
.card, .testimonial-card, .feature-item {
  box-shadow: 0 1.5px 7px 0 rgba(49,82,68,0.05);
}
.card:active, .testimonial-card:active, .feature-item:active {
  box-shadow: 0 6px 20px 0 rgba(123,148,106,0.18);
}

/* ===============================
   ORGANIC / NATURE DECORATIVE
   =============================== */
.card, .feature-item, .testimonial-card, .services .content-wrapper > ul > li {
  border-radius: 18px 39px 22px 27px / 20px 28px 32px 24px;
}
section, .hero {
  border-radius: 0 0 34px 34px;
}

/* ===============================
   ACCESSIBILITY & UTILITIES
   =============================== */
:focus {
  box-shadow: 0 0 0 3px var(--nature-medium-green);
  outline: none;
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

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