/* 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;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section{
  display: block;
}
body{
  line-height: 1.5;
  background: #F4EBDC;
  color: #234F1E;
}
ul, ol{
  list-style: disc inside;
}
a{
  background-color: transparent;
  color: #234F1E;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #C4951A;
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
}

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css?family=Merriweather:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');

/* ROOT BRAND COLORS & TYPOGRAPHY */
:root {
  --brand-primary: #234F1E;
  --brand-secondary: #F4EBDC;
  --brand-accent: #C4951A;
  --brand-secondary-contrast: #fff;
  --shadow: 0 2px 12px 0 rgba(35,79,30,0.07);
  --radius: 12px;
  --heading-font: 'Merriweather', serif;
  --body-font: 'Open Sans', Arial, sans-serif;
  --card-bg: #fff;
  --muted-text: #5D5A52;
}

/* BASE TYPOGRAPHY */
body {
  font-family: var(--body-font);
  font-size: 16px;
  color: var(--brand-primary);
  background: var(--brand-secondary);
}
h1, h2, h3, h4, h5 {
  font-family: var(--heading-font);
  color: var(--brand-primary);
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: .02em;
}
h2 {
  font-size: 2rem;
  margin-top: 28px;
}
h3 {
  font-size: 1.4rem;
}
h4, h5 {
  font-size: 1.1rem;
  font-weight: 600;
}
p, ul, ol, blockquote {
  margin-bottom: 18px;
  color: var(--muted-text);
  font-size: 1rem;
}
strong {
  color: var(--brand-primary);
  font-weight: 700;
  font-family: var(--body-font);
}
blockquote {
  font-style: italic;
  border-left: 4px solid var(--brand-accent);
  padding-left: 20px;
  margin: 16px 0;
  color: var(--brand-primary);
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.text-section {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  margin-bottom: 24px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.card-container, .feature-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 20px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 3px 16px 2px rgba(35,79,30,0.11);
}

.feature-grid > div {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  flex: 1 1 280px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 16px 3px rgba(165, 121, 19, 0.1);
  transform: translateY(-4px) scale(1.02);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
}
.feature-grid h3 {
  font-size: 1.22rem;
  margin-bottom: 8px;
  color: var(--brand-primary);
}

/* TESTIMONIALS */
.testimonials {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 20px;
  margin-bottom: 60px;
  box-shadow: var(--shadow);
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: 0 1px 7px 0 rgba(35,79,30,0.08);
  margin-bottom: 20px;
  max-width: 600px;
  transition: box-shadow 0.2s;
}
.testimonial-card blockquote {
  color: var(--brand-primary);
  font-size: 1.14rem;
  margin-bottom: 0.7rem;
  border-left: 3px solid var(--brand-accent);
}
.testimonial-card strong {
  color: var(--brand-accent);
  font-weight: 700;
}

/* BUTTONS & CTAs */
.cta, .cta:visited {
  display: inline-block;
  background: var(--brand-accent);
  color: var(--brand-secondary-contrast);
  font-family: var(--heading-font);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 14px 32px;
  border: none;
  border-radius: 36px;
  box-shadow: 0 2px 8px rgba(165, 121, 19, 0.07);
  margin-top: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-align: center;
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
}
.cta:hover, .cta:focus {
  background: #234F1E;
  color: #fff;
  box-shadow: 0 4px 20px 0 rgba(165,121,19,0.18);
  transform: translateY(-2px) scale(1.02);
  text-decoration: none;
}

/* HEADER & NAVIGATION */
header {
  background: var(--card-bg);
  box-shadow: 0 1px 7px 0 rgba(35,79,30,0.06);
  z-index: 20;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 13px;
  padding-bottom: 13px;
}
header img {
  height: 48px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: flex-start;
}
.main-nav a {
  font-family: var(--body-font);
  font-size: 1rem;
  color: var(--brand-primary);
  padding: 7px 14px;
  border-radius: 22px;
  transition: background 0.14s, color 0.15s;
}
.main-nav a.cta {
  background: var(--brand-accent);
  color: #fff;
  padding: 9px 23px;
  font-weight: 700;
  font-family: var(--heading-font);
  font-size: 1.05rem;
  border-radius: 30px;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--brand-secondary);
  color: var(--brand-accent);
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: #234F1E;
  color: #fff;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--brand-primary);
  cursor: pointer;
  margin-left: 16px;
  line-height: 1;
  padding: 4px 12px;
  border-radius: 8px;
  transition: background 0.18s;
  display: none;
  z-index: 1020;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--brand-secondary);
  color: var(--brand-accent);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(250,245,234,0.98);
  box-shadow: 0 8px 24px 0 rgba(35,79,30,0.08);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.64,.04,.35,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 40px 28px 24px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--brand-accent);
  position: absolute;
  right: 26px;
  top: 18px;
  cursor: pointer;
  z-index: 1040;
  transition: color 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--brand-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 48px;
}
.mobile-nav a {
  font-family: var(--heading-font);
  color: var(--brand-primary);
  font-size: 1.2rem;
  padding: 14px 0;
  border-bottom: 1px solid #e6e1da;
  transition: color 0.13s, background 0.14s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-accent);
  background: var(--brand-secondary);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg, #F4EBDC 70%, #e9e1cf 100%);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 3px 12px 0 rgba(35,79,30,0.05);
  margin-bottom: 44px;
  padding: 54px 0 38px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 680px;
}
.hero h1 {
  font-size: 2.7rem;
  color: var(--brand-primary);
  margin-bottom: 16px;
}
.hero p {
  max-width: 600px;
  font-size: 1.19rem;
  color: var(--muted-text);
}

/* CONTACT DETAILS */
.contact ul {
  margin: 18px 0 16px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  color: var(--brand-primary);
  margin-bottom: 0;
}
.contact li img {
  width: 22px;
  height: 22px;
}

/* FOOTER */
footer {
  background: #244825;
  color: #F4EBDC;
  padding: 34px 0 22px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
.footer-nav, .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 11px;
}
.footer-nav a, .legal-links a {
  color: #EAE2CF;
  font-family: var(--body-font);
  font-size: .97rem;
  border-radius: 20px;
  padding: 5px 12px;
  transition: background 0.13s, color 0.13s;
}
.footer-nav a:hover, .legal-links a:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
footer .social-links {
  display: flex;
  gap: 19px;
  margin-top: 4px;
}
footer .social-links img {
  width: 28px;
  height: 28px;
  filter: grayscale(20%);
  transition: filter 0.15s;
}
footer .social-links a:hover img {
  filter: none;
}

/* COMMON COMPONENTS */
ul, ol {
  margin-bottom: 20px;
  padding-left: 18px;
  color: var(--muted-text);
  font-size: 1rem;
}
ul li, ol li {
  margin-bottom: 7px;
  line-height: 1.6;
  color: var(--brand-primary);
}

/* SCROLLBARS */
::-webkit-scrollbar {
  width: 8px;
  background: #f6f1e6;
}
::-webkit-scrollbar-thumb {
  background: #d1c1a0;
  border-radius: 6px;
}

/* CARD & FEATURE ITEM */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--card-bg);
  color: var(--brand-primary);
  box-shadow: 0 -3px 24px 0 rgba(35,79,30,0.10);
  padding: 20px 16px 16px 16px;
  display: flex;
  align-items: flex-start;
  gap: 30px;
  justify-content: center;
  z-index: 2000;
  font-family: var(--body-font);
  border-radius: 16px 16px 0 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.34s cubic-bezier(.61,0,.42,1), transform 0.34s cubic-bezier(.61,0,.42,1);
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-left: 24px;
}
.cookie-banner button {
  font-family: var(--heading-font);
  background: var(--brand-accent);
  color: #fff;
  padding: 9px 18px;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 0;
  transition: background 0.15s;
}
.cookie-banner .reject {
  background: #847343;
}
.cookie-banner .settings {
  background: #fff;
  color: var(--brand-primary);
  border: 1px solid var(--brand-accent);
}
.cookie-banner .settings:hover {
  background: var(--brand-secondary);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  filter: brightness(0.93);
}

/* Cookie Preferences Modal */
#cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(44,42,36,0.32);
  z-index: 2600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(.78,.01,.44,1);
}
#cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: 0 4px 36px 0 rgba(35,79,30,0.17);
  max-width: 430px;
  width: 95vw;
  padding: 34px 30px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
  animation: cookieModalFade 0.35s;
}
@keyframes cookieModalFade {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.3rem;
  margin-bottom: 7px;
  color: var(--brand-primary);
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 13px 0;
  padding: 8px 5px;
  border-radius: 10px;
  background: #f7f4ec;
}
.cookie-category label {
  font-family: var(--body-font);
  font-size: 1.05rem;
  color: var(--brand-primary);
  cursor: pointer;
}
.cookie-category .switch {
  display: inline-block;
  width: 38px;
  height: 22px;
  position: relative;
}
.cookie-category .switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-category .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #e5d9c2;
  border-radius: 24px;
  transition: 0.15s;
}
.cookie-category .slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 4px;
  bottom: 4px;
  background: var(--brand-accent);
  border-radius: 50%;
  transition: 0.2s;
}
.cookie-category input:checked + .slider {
  background: var(--brand-accent);
}
.cookie-category input:checked + .slider:before {
  background: #fff; left: 19px;
}
.cookie-modal-footer {
  display: flex;
  gap: 13px;
  margin-top: 22px;
  justify-content: flex-end;
}
.cookie-modal-footer button {
  padding: 9px 18px;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--brand-accent);
  cursor: pointer;
  position: absolute;
  right: 22px;
  top: 22px;
  z-index: 1;
  transition: color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--brand-primary);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .feature-grid, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
  }
  .footer-nav, .legal-links {
    gap: 6px;
  }
  .feature-grid > div {
    min-width: 220px;
    padding: 22px;
  }
  .hero {
    padding: 38px 0 28px 0;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    flex-direction: row;
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .section, .testimonials, .hero, .text-section {
    padding-left: 8px;
    padding-right: 8px;
  }
  .testimonial-card {
    max-width: 98vw;
    padding: 13px 12px;
  }
  .container {
    padding: 0 6px;
  }
  .footer-nav, .legal-links {
    flex-wrap: wrap;
    gap: 8px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .hero .content-wrapper {
    max-width: 100vw;
    min-width: 0;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
}
@media (max-width: 548px) {
  .hero {
    padding: 20px 0 18px 0;
  }
  .hero .content-wrapper h1, .hero h1 {
    font-size: 1.22rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  .card, .feature-grid > div {
    min-width: 95vw;
    padding: 12px;
  }
}
@media (max-width: 500px) {
  .cookie-banner {
    flex-direction: column;
    gap: 11px;
    align-items: stretch;
    padding: 15px 7px 12px 7px;
  }
  .cookie-banner-actions {
    flex-direction: column;
    gap: 8px;
    margin-left: 0;
  }
  #cookie-modal .cookie-modal-footer {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
}
/* Hide modal scrollbars on mobile overlay */
@media (max-width: 600px) {
  #cookie-modal .cookie-modal-content {
    padding: 19px 6px 18px 9px;
    min-width: 0 !important;
  }
}

/* TRANSITIONS & ANIMATIONS */
.card, .feature-grid > div, .testimonial-card, .cta, .main-nav a, .cookie-banner, .cookie-banner button {
  transition: box-shadow 0.14s, background 0.15s, color 0.14s, transform 0.12s;
}

/* ACCESSIBILITY: FOCUS RINGS */
a:focus, button:focus, .cta:focus {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
  z-index: 10;
}

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


/* Elegant_classic accents */
hr {
  border: none;
  height: 1px;
  background: #e5dbc7;
  margin: 24px 0;
}

/* END OF CSS */
