/* =========================
   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;
}
/* Set up border-box globally */
*, *:before, *:after {
  box-sizing: inherit;
}
html {
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #F8F8F3;
  color: #21261C;
  font-family: 'PT Serif', 'Georgia', serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #1B4332;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #705E2B;
  text-decoration: underline;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
ul, ol {
  margin-left: 1.3em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}

/* =========================
   Typography - Elegant Classic
   ========================= */
h1, .h1 {
  font-family: 'Montserrat', 'PT Serif', serif;
  font-weight: 700;
  font-size: 2.75rem;
  letter-spacing: 0.01em;
  color: #1B4332;
  margin-bottom: 28px;
  line-height: 1.18;
}
h2, .h2 {
  font-family: 'Montserrat', 'PT Serif', serif;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 22px;
  color: #1B4332;
  line-height: 1.22;
}
h3, .h3 {
  font-family: 'Montserrat', 'PT Serif', serif;
  font-weight: 500;
  font-size: 1.35rem;
  color: #2D3B2F;
  margin-bottom: 16px;
  line-height: 1.3;
}
h4, .h4 {
  font-family: 'Montserrat', 'PT Serif', serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: #2D3B2F;
  margin-bottom: 14px;
}
p, .body-text {
  font-family: 'PT Serif', 'Georgia', serif;
  color: #21261C;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 18px;
}
strong {
  font-weight: bold;
}
small {
  font-size: 0.92em;
  color: #555;
}
.badge {
  display: inline-block;
  background: #FFD166;
  color: #21261C;
  font-weight: 600;
  border-radius: 14px;
  font-size: 0.98em;
  padding: 2px 14px 2px 10px;
  box-shadow: 0 1px 3px rgba(33,38,28,0.06);
  margin-left: 5px;
  vertical-align: middle;
}

/* =========================
   Layout Containers
   ========================= */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 800px;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(33,67,50, 0.04);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(33,67,50,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  min-width: 220px;
  flex: 1 1 280px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 36px 0 rgba(33,67,50,0.14);
}

.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;
  background: #F8F8F3;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(33,67,50,0.06);
  margin-bottom: 20px;
  border-left: 4px solid #FFD166;
}
.testimonial-card p {
  color: #21261C;
  font-size: 1.13rem;
  font-family: 'PT Serif', serif;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #54524E;
  font-size: 1em;
  font-style: italic;
  font-family: 'PT Serif', serif;
}

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

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 210px;
  background: #FAFAF7;
  padding: 24px 18px 22px 18px;
  margin-bottom: 8px;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(33,67,50,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 200px;
  max-width: 280px;
  transition: box-shadow 0.19s, transform 0.16s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 28px 0 rgba(27,67,50,0.13);
  transform: translateY(-3px) scale(1.018);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0;
  gap: 10px;
}

/* =========================
   Main Navigation
   ========================= */
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 0 12px 0;
  background: #FFF;
  font-family: 'Montserrat', 'PT Serif', serif;
  font-size: 1.11rem;
  position: relative;
}
.main-nav a {
  color: #1B4332;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 7px;
  transition: background 0.18s, color 0.22s;
}
.main-nav a.button-primary {
  background: #FFD166;
  color: #1B4332;
  font-weight: 700;
  padding: 8px 24px;
  box-shadow: 0 2px 10px rgba(33,67,50,0.09);
  border-radius: 18px;
  letter-spacing: 0.01em;
}
.main-nav a.button-primary:hover, .main-nav a.button-primary:focus {
  background: #FFE9A7;
  color: #856C00;
}

.main-nav img {
  height: 36px;
  margin-right: 22px;
  vertical-align: middle;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F2F2EE;
  color: #6A890A;
}

/* =========================
   Hamburger/Mobile Menu
   ========================= */
.mobile-menu-toggle {
  display: none;
  background: #1B4332;
  color: #FFD166;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  font-size: 2.1rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 18px;
  z-index: 1101;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #FFD166;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 98vw;
  max-width: 410px;
  height: 100vh;
  background: #FFFFFF;
  box-shadow: -2px 0 30px rgba(27,67,50,0.19);
  transform: translateX(102%);
  transition: transform 0.33s cubic-bezier(0.46, 0.03, 0.52, 0.96);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  padding: 28px 20px 18px 32px;
  gap: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #1B4332;
  border-radius: 6px;
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 26px;
  border: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #F8F8F3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}
.mobile-nav a {
  color: #1B4332;
  font-family: 'Montserrat', serif;
  font-size: 1.19em;
  font-weight: 700;
  padding: 10px 0 10px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.20s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F8F8F3;
  color: #705E2B;
}

/* =========================
   Buttons & CTAs
   ========================= */
.button-primary, .button {
  display: inline-block;
  background: #FFD166;
  color: #1B4332;
  font-family: 'Montserrat', serif;
  font-weight: 700;
  border-radius: 999px;
  font-size: 1.13rem;
  letter-spacing: 0.01em;
  padding: 11px 30px;
  box-shadow: 0 1.5px 16px rgba(255,209,102,0.13), 0 1px 5px rgba(27,67,50,0.075);
  border: none;
  margin-top: 12px;
  margin-bottom: 8px;
  transition: background 0.18s, color 0.20s, box-shadow 0.20s, transform 0.16s;
  cursor: pointer;
}
.button-primary:hover, .button-primary:focus, .button:hover, .button:focus {
  background: #FFE9A7;
  color: #856C00;
  box-shadow: 0 4px 20px 0 rgba(27,67,50,0.16);
  transform: translateY(-2px) scale(1.03);
}

/* Accent UI Details */
::-webkit-scrollbar {width: 8px;background: #F8F8F3;}
::-webkit-scrollbar-thumb {background: #B7B7A4;border-radius: 8px;}

/* =========================
   Footer Styling
   ========================= */
footer {
  background: #F3F3EC;
  border-top: 2px solid #B7B7A4;
  padding: 34px 0 20px 0;
  margin-top: 60px;
  font-family: 'PT Serif', 'Georgia', serif;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.06em;
}
.footer-nav a {
  color: #264035;
  opacity: 0.96;
  transition: color 0.23s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFD166;
}
.footer-contact {
  text-align: center;
  margin-bottom: 17px;
  color: #423F35;
  font-size: 0.98em;
  line-height: 1.5;
}
.footer-contact span {
  display: block;
  margin-bottom: 4px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  color: #705E2B;
  font-size: 1.06em;
  justify-content: center;
}
.footer-brand img {
  height: 32px;
  width: auto;
  vertical-align: middle;
}

/* =========================
   Cookie Consent Banner & Modal
   ========================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FFF;
  box-shadow: 0 -2px 24px rgba(27,67,50,0.13);
  padding: 20px 24px 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  z-index: 2050;
  font-family: 'PT Serif', 'Georgia', serif;
  font-size: 1rem;
  border-radius: 18px 18px 0 0;
  transition: transform 0.34s cubic-bezier(0.39, 0.575, 0.565, 1.000);
}
.cookie-banner.hide {
  transform: translateY(130%);
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-banner .cookie-title {
  font-family: 'Montserrat', 'PT Serif', serif;
  font-weight: 700;
  font-size: 1.17rem;
  color: #1B4332;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: #FFD166;
  color: #1B4332;
  border-radius: 22px;
  font-size: 1.06em;
  font-weight: 600;
  padding: 8px 18px;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.21s;
  box-shadow: 0 1px 4px rgba(255,209,102,0.11);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #FFE9A7;
  color: #856C00;
}
.cookie-banner button.cookie-settings {
  background: #B7B7A4;
  color: #234932;
}
.cookie-banner button.cookie-settings:hover,
.cookie-banner button.cookie-settings:focus {
  background: #d8dbcf;
  color: #8C7E61;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,38,28,0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .cookie-modal-content {
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 2px 34px rgba(27,67,50, 0.13);
  padding: 38px 30px 26px 30px;
  min-width: 320px;
  max-width: 90vw;
  min-height: 200px;
  font-family: 'PT Serif', 'Georgia', serif;
  color: #26332B;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h3 {
  font-family: 'Montserrat', serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: #1B4332;
  margin-bottom: 10px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: #B7B7A4;
  font-size: 2rem;
  border-radius: 7px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #FFF5DC;
  color: #FFD166;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  font-weight: 600;
}
.cookie-modal .cookie-category label {
  font-family: 'PT Serif', serif;
  color: #233321;
  font-size: 1em;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: #FFD166;
}
.cookie-modal .cookie-buttons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

/* =========================
   Responsive Design
   ========================= */
@media (max-width: 950px) {
  .container {
    max-width: 95vw;
    padding: 0 8px;
  }
  .feature-grid {
    gap: 16px 10px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 28px 7px;
    margin-bottom: 38px;
    border-radius: 9px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px 0;
  }
  .feature-grid > div, .card {
    max-width: 100%;
    min-width: 0;
  }
  .content-wrapper, .content-grid {
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 15px 7px;
    border-radius: 11px;
    margin-bottom: 16px;
  }
  .footer-nav {
    gap: 10px;
    flex-direction: column;
    text-align: center;
  }
  .footer-contact span {
    margin-bottom: 2px;
  }
  .footer-brand {
    gap: 6px;
    font-size: 0.99em;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 500px) {
  h1, .h1 {
    font-size: 1.77rem;
  }
  h2, .h2 {
    font-size: 1.22rem;
  }
  .container, .section {
    padding-left: 4px;
    padding-right: 4px;
  }
  .feature-grid > div, .card {
    padding-left: 8px;
    padding-right: 8px;
  }
  .footer-brand img {
    height: 22px;
  }
}

/* =========================
   Micro-interactions & Effects
   ========================= */
.feature-grid > div:hover, .card:hover, .button-primary:hover, .button:hover {
  transition: box-shadow 0.19s, background 0.18s, color 0.21s, transform 0.11s;
}
a, button, .badge, .feature-grid > div, .card, .testimonial-card {
  transition: color 0.19s, background 0.2s, box-shadow 0.17s, transform 0.15s;
}

/* =========================
   Miscellaneous / Utility
   ========================= */
ul {
  padding-left: 22px;
}
ol {
  padding-left: 26px;
}
li {
  margin-bottom: 7px;
}
p:last-child, ul:last-child, ol:last-child {
  margin-bottom: 0;
}
.text-section ul, .content-wrapper ul {
  margin-top: 0;
  margin-bottom: 10px;
}
.text-section li, .content-wrapper li {
  font-size: 1rem;
  color: #211d14;
}

/* ==============
   Accessibility
   ============== */
:focus-visible {
  outline: 2px solid #FFD166;
  outline-offset: 2px;
}

/* ===============
   Print (optional)
   =============== */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  * {
    background: #FFF !important;
    color: #111 !important;
  }
}

/* ===============
   Elegant Classic visuals
   =============== */
.feature-grid > div, .card, .testimonial-card {
  border: 1.5px solid #ecebe2;
}

/* ==== Font Imports (host via webfontloader in HTML for best compatibility) ==== */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: local('Montserrat'), url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
}
@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: local('PT Serif'), url('https://fonts.googleapis.com/css2?family=PT+Serif:wght@400;700&display=swap');
}
