/* 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;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background: #F6F6F6;
  color: #1C2536;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  background: transparent;
  color: #1C2536;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #648153;
  outline: none;
}

html {
  font-size: 16px;
}
img, picture {
  max-width: 100%;
  display: block;
}

/* Nature_Organic Design Variables */
:root {
  --brand-primary: #1C2536;
  --brand-secondary: #A0894D;
  --brand-accent: #F6F6F6;
  --nature-green: #648153;
  --nature-earth: #D6CABC;
  --nature-wood: #AA926A;
  --nature-dk-green: #345046;
  --nature-clay: #EDE8DF;
  --shadow-md: 0 4px 24px 0 rgba(60,80,59,0.08);
  --shadow-card: 0 2px 12px 0 rgba(85,90,80,0.13);
}

/* Typography Scale (Mobile-first) */
h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; /* 38px */
  line-height: 1.17;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 20px;
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  line-height: 1.2;
  color: var(--brand-primary);
  font-weight: 700;
  margin-bottom: 16px;
}
h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--nature-dk-green);
  margin-bottom: 12px;
}
p {
  font-size: 1rem;
  line-height: 1.6;
  color: #213127;
  margin-bottom: 18px;
  font-family: 'Lato', Arial, sans-serif;
}
strong {
  color: var(--brand-secondary);
  font-weight: 700;
}
section ul, section ol {
  margin-bottom: 18px;
}
ul li, ol li {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--brand-primary);
}
.text-section ul li, .text-section ol li {
  color: #385437;
}

/* Buttons and CTA */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--nature-green);
  color: #fff;
  font-size: 1.07rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 28px 18px 32px 18px/20px 22px 28px 14px;
  border: none;
  padding: 14px 32px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  margin-top: 14px;
  transition: background 0.2s, box-shadow 0.22s, transform 0.12s;
  text-decoration: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--brand-secondary);
  color: #fff;
  box-shadow: 0 6px 24px 0 rgba(60,80,59,0.15);
  transform: translateY(-2px) scale(1.04);
  outline: none;
}
button {
  font-family: inherit;
}

/* NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 6px 24px 0 rgba(72, 92, 59, 0.05);
  position: relative;
  z-index: 50;
  transition: box-shadow 0.22s;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px;
  position: relative;
  background: transparent;
}
.main-nav > a img {
  height: 36px;
  width: auto;
}
.main-nav ul {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-left: 18px;
  flex-wrap: wrap;
}
.main-nav ul li {
  list-style: none;
  margin-bottom: 0 !important;
}
.main-nav ul li a {
  color: var(--brand-primary);
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 20px;
  padding: 7px 14px;
  transition: background 0.15s, color 0.13s, box-shadow 0.15s;
  position: relative;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: var(--nature-clay);
  color: var(--nature-green);
  box-shadow: 0 2px 12px 0 rgba(85,90,80,0.08);
  outline: none;
}
.main-nav .cta-btn {
  font-size: 1rem;
  margin-left: 22px;
  padding: 10px 26px;
}

/* HAMBURGER MENU (Mobile) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--brand-primary);
  cursor: pointer;
  margin-right: 16px;
  z-index: 102;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus {
  color: var(--brand-secondary);
}

.mobile-menu {
  position: fixed;
  z-index: 1002;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #F6F6F6;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.4,1.2,.4,1.01);
  box-shadow: 0 0 48px 0 rgba(16,30,10,0.14);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  padding: 12px;
  background: none;
  border: none;
  color: var(--brand-primary);
  align-self: flex-end;
  cursor: pointer;
  margin: 12px 18px 20px 0;
  z-index: 1125;
  transition: color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--brand-secondary);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  align-items: flex-start;
  padding: 22px 32px;
  font-size: 1.11rem;
}
.mobile-nav a {
  color: var(--brand-primary);
  padding: 13px 8px 13px 4px;
  border-radius: 20px;
  width: 100%;
  transition: background 0.17s, color 0.12s;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--nature-wood);
  color: #fff;
}
@media (max-width: 1080px) {
  .main-nav {
    padding: 18px 10px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    flex-wrap: wrap;
  }
  .main-nav ul {
    gap: 12px;
  }
}
@media (max-width: 820px) {
  .main-nav ul {
    gap: 6px;
  }
}
@media (max-width: 768px) {
  .main-nav ul,
  .main-nav .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 6px;
    top: 21px;
  }
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  margin-bottom: 24px;
  background: #fff;
  border-radius: 22px 36px 26px 28px/24px 32px 38px 22px;
  box-shadow: var(--shadow-md);
  padding: 40px 20px;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper.text-section {
  background: var(--nature-clay);
  border-radius: 18px 48px 26px 28px / 38px 36px 32px 24px;
  box-shadow: 0 1px 6px 0 rgba(80,80,60,0.07);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  flex: 1 1 340px;
  background: var(--nature-clay);
  border-radius: 22px 32px 24px 28px / 26px 22px 38px 32px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  transition: box-shadow 0.13s, transform 0.16s;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  max-width: 410px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(85, 90, 80, 0.18);
  transform: translateY(-2px) scale(1.02);
}
.content-grid, .text-image-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  align-items: center;
  gap: 30px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
  }
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/* Testimonials */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding: 20px;
  background: #fff;
  border-radius: 30px 40px 18px 24px / 26px 22px 32px 30px;
  box-shadow: 0 1px 13px 0 rgba(100,129,83,0.11);
  border-left: 6px solid var(--nature-green);
  min-width: 0;
  transition: box-shadow 0.18s, transform 0.16s;
}
.testimonial-card p {
  color: #213127;
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card span {
  font-family: 'Lato', Arial, sans-serif;
  color: var(--brand-primary);
  background: var(--nature-clay);
  border-radius: 14px 26px 18px 24px;
  font-size: 1rem;
  padding: 8px 16px;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 28px 0 rgba(100,129,83,0.20);
  transform: translateY(-1px) scale(1.01);
}

/* Footer */
footer {
  background: #1C2536;
  color: #fff;
  padding: 32px 0 22px 0;
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 14px 0 rgba(60,80,59,0.13);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1rem;
}
.footer-nav a {
  color: #fff;
  opacity: 0.85;
  border-radius: 12px;
  padding: 3px 10px;
  font-weight: 400;
  transition: background 0.13s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--nature-green);
  color: #fff;
  opacity: 1;
}
.brand-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}
.brand-footer img {
  height: 36px;
  width: auto;
  filter: grayscale(0.5) brightness(1.12) contrast(1.02);
}
.brand-footer span {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.01em;
  opacity: 0.8;
}

/* Cookie Consent Banner & Modal */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #EDE8DF;
  color: #22312B;
  box-shadow: 0 -2px 24px 0 rgba(115, 129, 101, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3000;
  padding: 18px 12px 20px 12px;
  gap: 18px;
  font-size: 1rem;
  animation: slide-up 0.5s cubic-bezier(.45,1.4,.35,1) 1;
}
@keyframes slide-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.cookie-banner-text {
  max-width: 720px;
  text-align: center;
  margin-bottom: 2px;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn,
.cookie-settings-btn,
.cookie-reject-btn {
  padding: 10px 24px;
  font-size: 1rem;
  border-radius: 18px 10px 24px 12px / 12px 18px 11px 16px;
  border: none;
  cursor: pointer;
  margin-bottom: 0;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  background: var(--nature-green);
  color: #fff;
  transition: background 0.17s, box-shadow 0.15s, color 0.17s;
  box-shadow: 0 1px 6px 0 rgba(60,80,59,0.12);
}
.cookie-btn:hover, .cookie-settings-btn:hover,
.cookie-btn:focus, .cookie-settings-btn:focus {
  background: var(--brand-secondary);
  color: #fff;
  outline: none;
}
.cookie-reject-btn {
  background: #fff;
  color: var(--nature-green);
  box-shadow: 0 1px 6px 0 rgba(60,80,59,0.07);
  border: 1px solid var(--nature-green);
  font-weight: 700;
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus {
  background: var(--brand-primary);
  color: #fff;
  outline: none;
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,40,30,0.44);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4000;
  transition: opacity 0.2s;
  animation: fade-in 0.22s cubic-bezier(.5,1.2,.6,1);
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: var(--brand-primary);
  padding: 40px 28px 28px 28px;
  border-radius: 26px 38px 28px 32px / 36px 32px 34px 24px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 12px 60px 0 rgba(100,129,83,0.14);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  margin-bottom: 9px;
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.cookie-category label {
  flex: 1;
  font-size: 1rem;
  color: var(--nature-green);
  font-weight: 500;
}
.cookie-modal-actions {
  margin-top: 16px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 18px;
  font-size: 1.55rem;
  background: none;
  border: none;
  color: var(--brand-primary);
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.12s;
}
.cookie-modal .cookie-modal-close:hover {
  opacity: 1;
}
/* End Cookie Banner */

/* Misc Elements */
hr {
  border: none;
  border-top: 1px solid var(--nature-wood);
  margin: 24px 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Accessibility Focus Styles */
a:focus,
button:focus {
  outline: 2px solid var(--nature-green);
  outline-offset: 1px;
}

/* Organic Visual Touch: Background Shapes */
@media (min-width: 960px) {
  body {
    background: linear-gradient(120deg, #F9F7F1 81%, #EDE8DF 100%) no-repeat;
  }
}
.content-wrapper,
.card,
.testimonial-card,
footer {
  /* Intentionally organic, random border-radius above */
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .container {
    max-width: 94vw;
  }
  .content-wrapper {
    padding: 27px 10px;
  }
}
@media (max-width: 860px) {
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 26px 0px;
  }
  .content-wrapper {
    margin-top: 6px;
    padding: 18px 5px;
    border-radius: 18px 28px 18px 20px / 16px 28px 20px 16px;
  }
  h1 {
    font-size: 1.6rem;
    line-height: 1.16;
  }
  h2 {
    font-size: 1.1rem;
  }
  .card, .testimonial-card {
    min-width: 95%;
    max-width: 100%;
    padding: 18px 9px;
    border-radius: 18px 16px 12px 20px / 18px 17px 19px 19px;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .footer-nav {
    gap: 5px;
    font-size: 0.98rem;
  }
  .brand-footer img {
    height: 28px;
  }
  .cookie-modal {
    padding: 24px 8px 20px 8px;
  }
}
@media (max-width: 420px) {
  .container {
    padding-left: 2px;
    padding-right: 2px;
  }
  .content-wrapper {
    padding: 8px 2.5vw;
  }
  .cookie-banner {
    font-size: 0.96rem;
    padding: 8px 1vw 18px 2vw;
  }
  .cookie-modal {
    padding: 8px 3vw;
    min-width: 0;
  }
}

/* Animations & Micro-interactions */
.cta-btn, .card, .testimonial-card, .cookie-btn, .cookie-settings-btn, .cookie-reject-btn {
  transition: background 0.2s, color 0.16s, box-shadow 0.18s, transform 0.15s;
}

/* Transitions for link underline organic shape (extra for touch) */
a {
  position: relative;
  transition: color 0.18s;
}
a:after {
  content: '';
  display: block;
  position: absolute;
  left: 0; bottom: -1px;
  width: 0%;
  height: 2.5px;
  background: var(--nature-green);
  border-radius: 2px;
  transition: width 0.16s cubic-bezier(0.40,1.3,0.77,1);
}
a:hover:after, a:focus:after {
  width: 90%;
}

/* Selection Color */
::selection {
  background: #ddecce;
  color: var(--brand-primary);
}

/* Forms & Inputs */
input, textarea, select {
  font-family: 'Lato', Arial, sans-serif;
  border-radius: 9px 12px 14px 11px / 7px 11px 12px 8px;
  border: 1.5px solid var(--nature-earth);
  padding: 10px 16px;
  background: #fff;
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--brand-primary);
  outline: none;
  box-shadow: 0 1px 5px 0 rgba(89,109,75,0.05);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--nature-green);
  box-shadow: 0 0 5px 0 var(--nature-green);
}

/* Spacing for critical layout */
.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;
}
/* Ensure minimum 20px margin between content cards and sections */
.card,
.content-wrapper,
.section,
.text-section {
  margin-bottom: 20px;
}

/* Remove unwanted focus outlines inside inputs/buttons by default */
button:focus-visible,
.cta-btn:focus-visible,
.cookie-btn:focus-visible,
.mobile-menu-close:focus-visible,
.mobile-menu-toggle:focus-visible {
  outline: 2px solid var(--nature-green);
  outline-offset: 2px;
}

/* Hide visually only for accessibility (if needed) */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* Hide navigation on desktop/mobile as appropriate */
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* Fix prevent content overlapping on cookie banner */
body.has-cookie-banner {
  padding-bottom: 75px;
}

/* Fancy organic separators (optional) */
.organic-separator {
  width: 64px;
  height: 12px;
  display: block;
  border-radius: 16px/10px;
  background: var(--nature-earth);
  margin: 32px auto 22px auto;
  opacity: 0.55;
}
