/* ----------------------
   Vintage Retro CSS Reset & Normalization
------------------------ */
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 {
  box-sizing: border-box;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #f4f1ec;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #323331;
  background: #f4f1ec url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Crect opacity="0.05" x="0" y="0" width="40" height="40" fill="%23263238"/%3E%3C/svg%3E') repeat;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #4CAF50;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #b65e24;
  text-decoration: underline;
}
ul, ol {
  margin-bottom: 24px;
}
li {
  margin-bottom: 12px;
}

/* ----------------------
   Brand Typography - vintage/retro flavor
------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Lexend+Deca:wght@700&family=Open+Sans:wght@400;600&display=swap');
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Lexend Deca', Arial, Helvetica, sans-serif;
  color: #263238;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.5rem;
  text-shadow: 2px 2px 0 #fff2d5, 0 2px 4px #d8dee9;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-top: 18px;
  margin-bottom: 16px;
  color: #4f3d26;
}
h3 {
  font-size: 1.4rem;
  color: #80652d;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.15rem;
  color: #b65e24;
  margin-bottom: 10px;
}
.text-section h1, .text-section h2, .text-section h3, .text-section h4 {
  margin-top: 0;
}
p {
  margin-bottom: 16px;
}

/* Vintage section patterns and coloring */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #f4f1ec;
  border-radius: 14px;
  box-shadow: 0 4px 28px 0 rgba(100, 80, 40, 0.04), 0 2px 4px 0 rgba(38,50,56,0.02);
  border: 2px solid #ece1d5;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ----------------------
   Header Styling
------------------------ */
header {
  background: #fff8ef url('data:image/svg+xml,%3Csvg width="180" height="60" viewBox="0 0 180 60" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cellipse opacity="0.1" cx="90" cy="30" rx="90" ry="30" fill="%234CAF50"/%3E%3C/svg%3E') no-repeat right top;
  border-bottom: 4px solid #e3a96b;
  padding: 0 0 8px 0;
  margin-bottom: 0;
  box-shadow: 0 4px 16px 0 rgba(38,50,56,0.03);
  position: relative;
  z-index: 1001;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  min-height: 70px;
}
header img {
  height: 54px;
  width: auto;
  margin-right: 12px;
  filter: sepia(0.25) saturate(90%);
}
header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', 'Lexend Deca', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #7a5131;
  position: relative;
  padding: 6px 10px 6px 10px;
  border-radius: 6px;
  transition: background 0.19s, color 0.16s;
}
header nav a:hover,
header nav a:focus,
footer nav a:hover,
footer nav a:focus {
  color: #263238;
  background: #decfa1;
}

.btn-primary {
  font-family: 'Montserrat', 'Lexend Deca', Arial, Helvetica, sans-serif;
  background: #4CAF50;
  color: #f9f5ea;
  border: none;
  padding: 13px 28px;
  font-size: 1.14rem;
  border-radius: 30px;
  box-shadow: 0 4px 14px 0 rgba(76,175,80,0.14), 0 2px 2px 0 rgba(38,50,56,0.10);
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.2s, box-shadow 0.2s, color 0.15s, transform 0.16s;
  cursor: pointer;
  margin-left: 16px;
  margin-right: 0;
  margin-bottom: 0;
  outline: none;
  position: relative;
  z-index: 1;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #388e3c;
  color: #fff8ef;
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 8px 32px 0 rgba(76,175,80,0.20);
  text-decoration: none;
}

/* Mobile Burger Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.3rem;
  line-height: 1;
  color: #a76030;
  cursor: pointer;
  z-index: 2001;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.13s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #fde5c6;
  color: #263238;
}

/* Only show nav on desktop */
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ----------------------
   Mobile Menu Overlay
------------------------ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff8ef;
  box-shadow: 0 4px 64px 0 rgba(65,44,17,0.23);
  transform: translateX(-110vw);
  transition: transform 0.48s cubic-bezier(.72,.13,.35,1.24);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 20px 20px 24px;
  gap: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2em;
  color: #71492c;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 10px;
  padding: 8px 14px 4px 14px;
  border-radius: 8px;
  transition: background 0.14s, color 0.13s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #fbd6b0;
  color: #1b2224;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 18px;
  margin-top: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Lexend Deca', Arial, Helvetica, sans-serif;
  font-size: 1.32rem;
  color: #263238;
  font-weight: 600;
  padding: 12px 0 12px 12px;
  border-radius: 7px 0 0 7px;
  background: none;
  border-left: 4px solid #decfa1;
  transition: color 0.15s, background 0.15s, border-left 0.17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #e1d0b8;
  border-left: 7px solid #d07439;
  color: #b65e24;
}
@media (min-width: 1024px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ----------------------
   Footer Styling
------------------------ */
footer {
  background: #f4eee0;
  border-top: 4px solid #e3a96b;
  padding: 32px 0 12px 0;
  font-size: 1rem;
  margin-top: 60px;
}
footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
footer nav a {
  color: #7a5131;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-family: 'Montserrat', 'Lexend Deca', Arial, Helvetica, sans-serif;
  font-size: 1.06rem;
  transition: color 0.14s, background 0.14s;
  padding: 7px 8px;
  border-radius: 6px;
}
footer span {
  color: #a88d60;
  font-size: 0.98rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  margin-top: 6px;
}

/* ----------------------
   Section, Cards, Content Wrappers
------------------------ */
main {
  margin: 0 0 40px 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 14px;
  background: #fff8ef;
  box-shadow: 0 8px 44px 0 rgba(241,184,131,0.07), 0 2px 4px 0 rgba(38,50,56,0.03);
  border: 2px solid #decfa1;
  position: relative;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  padding: 0;
}

/* Flex containers */
.card-container, .content-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  background: #f4f1ec;
  border-radius: 13px;
  box-shadow: 0 4px 20px 0 rgba(38,50,56,0.06), 0 2px 2px 0 rgba(250,188,113,0.03);
  position: relative;
  padding: 24px 18px;
  border: 1.7px solid #decfa1;
  min-width: 265px;
  flex-basis: calc(33.333% - 18px);
}
@media (max-width: 991px) {
  .card {
    flex-basis: calc(50% - 18px);
  }
}
@media (max-width: 660px) {
  .card {
    flex-basis: 100%;
    min-width: 0;
  }
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* Feature items for grids/lists */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border-radius: 10px;
  background: #f4eee0;
  padding: 18px 16px;
  box-shadow: 0 2px 8px 0 rgba(221,167,87,0.08);
  min-width: 180px;
  border: 1.2px dashed #d07439;
  margin-bottom: 20px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 21px;
  }
}

/* ----------------------
   Responsive Typography & Spacing
------------------------ */
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }
  section, .section {
    padding: 25px 7px;
    border-radius: 9px;
  }
  .container {
    padding: 0 7px;
  }
  .content-wrapper {
    padding: 0;
    gap: 10px;
  }
}
@media (max-width: 480px) {
  .btn-primary {
    font-size: 1rem;
    padding: 12px 10px;
  }
}

/* ----------------------
   Lists and Icons
------------------------ */
ul {
  padding-left: 24px;
  margin-bottom: 24px;
}
ul li {
  font-size: 1.02rem;
  margin-bottom: 10px;
  line-height: 1.6;
  position: relative;
  list-style: disc inside;
}
ul li > img {
  display: inline-block;
  vertical-align: text-bottom;
  margin-right: 10px;
  height: 26px;
  width: 26px;
  background: #ffd699;
  padding: 3px;
  border-radius: 6px;
  margin-bottom: -2px;
}
/* Remove list style for inline lists in sections/cards if needed */
ul.no-style, ul[role="list"] { list-style: none; padding-left: 0; }

/* ----------------------
   Testimonial Cards
------------------------ */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f6ebe3;
  border: 2.5px solid #b65e24;
  border-radius: 16px;
  box-shadow: 0 2px 20px 0 rgba(96,50,12,0.08);
  color: #262210;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-style: italic;
  margin-bottom: 22px;
}
.testimonial-card p {
  margin: 0 0 0 0;
  flex: 1 1 auto;
  color: #4d3d20;
  font-size: 1.1rem;
  line-height: 1.65;
}
.testimonial-card span {
  font-style: normal;
  color: #9d6b2e;
  font-size: 1rem;
  margin-left: 8px;
  font-weight: 700;
}
@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 10px;
  }
}

/* ----------------------
   Tags & Pills (retro style)
------------------------ */
.tag {
  display: inline-block;
  font-size: 0.95em;
  font-weight: 600;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  padding: 2px 14px 2px 10px;
  background: #ffe5ab;
  border-radius: 14px;
  color: #a06213;
  margin-left: 7px;
  box-shadow: 0 1px 2px 0 rgba(245,184,83,0.12);
  letter-spacing: 0.04em;
}

/* ----------------------
   Micro-interactions & Transitions
------------------------ */
.btn-primary, .mobile-menu-toggle, .mobile-menu-close,
header nav a, .mobile-nav a, footer nav a {
  transition: color 0.18s, background 0.15s, box-shadow 0.17s, border 0.14s, transform 0.18s;
}
.card, .feature-item, .testimonial-card {
  transition: box-shadow 0.22s, border 0.18s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover {
  box-shadow: 0 12px 40px 0 rgba(160,124,76,0.15);
  border-color: #ecd577;
  transform: translateY(-2px) scale(1.02);
}

/* ----------------------
   Cookie Consent Banner
------------------------ */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fffbe5;
  color: #514229;
  z-index: 4000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-top: 3.5px solid #ddb349;
  padding: 18px 24px 18px 24px;
  font-size: 1.13rem;
  box-shadow: 0 -4px 40px 0 rgba(187,108,44,0.18);
  animation: cookie-banner-in 0.66s cubic-bezier(.84,-0.07,.41,1.34);
  transition: transform 0.50s cubic-bezier(.95,.22,.23,1), opacity 0.41s;
}
@keyframes cookie-banner-in { from { transform: translateY(110%); opacity: 0;} to {transform: translateY(0); opacity: 1;} }
#cookie-banner.hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
#cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-left: 8px;
}
#cookie-banner button, #cookie-banner .cookie-settings-btn {
  background: #ecd577;
  color: #263238;
  border: none;
  border-radius: 30px;
  padding: 9px 21px;
  font-size: 1.02rem;
  font-family: 'Montserrat', 'Lexend Deca', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-left: 2px;
  margin-right: 2px;
  cursor: pointer;
  transition: background 0.19s, color 0.16s, box-shadow 0.17s, transform 0.12s;
  box-shadow: 0 1px 5px 0 rgba(204,148,60,0.10);
}
#cookie-banner button:hover, #cookie-banner .cookie-settings-btn:hover,
#cookie-banner button:focus, #cookie-banner .cookie-settings-btn:focus {
  background: #d07439;
  color: #fff8ef;
}

/* Cookie Modal */
#cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 4500;
  background: rgba(82,62,41,0.33);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.29s;
}
#cookie-modal.hidden {
  opacity: 0;
  pointer-events: none;
}
#cookie-modal .cookie-modal-content {
  background: #fffbe5;
  border-radius: 16px;
  padding: 40px 26px 28px 26px;
  box-shadow: 0 8px 60px 0 rgba(221,167,87,0.19);
  min-width: 320px;
  max-width: 96vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  gap: 27px;
  color: #3d2e23;
  position: relative;
}
.cookie-modal-content h3 {
  font-size: 1.23rem;
  color: #7a5131;
  margin-bottom: 12px;
  margin-top: 0;
}
.cookie-modal-content ul {
  list-style: none;
  padding-left: 0;
}
.cookie-modal-content li {
  margin-bottom: 14px;
}
.cookie-modal-content label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #66420c;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category-toggle {
  appearance: none;
  width: 30px;
  height: 16px;
  background: #decfa1;
  border-radius: 9px;
  position: relative;
  outline: none;
  margin-right: 8px;
  margin-bottom: 0;
  transition: background 0.12s;
  cursor: pointer;
}
.cookie-category-toggle:checked {
  background: #4CAF50;
}
.cookie-category-toggle::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 12px;
  height: 12px;
  background: #fffbe8;
  border-radius: 50%;
  transition: left 0.17s;
}
.cookie-category-toggle:checked::before {
  left: 16px;
  background: #e3a96b;
}
.cookie-modal-content .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.cookie-modal-content .cookie-modal-close {
  position: absolute;
  top: 20px;
  right: 22px;
  background: none;
  border: none;
  font-size: 1.47em;
  color: #b65e24;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-content .cookie-modal-close:hover,
.cookie-modal-content .cookie-modal-close:focus { color: #263238; }

@media (max-width: 520px) {
  #cookie-modal .cookie-modal-content {
    padding: 18px 6px 18px 6px;
    min-width: 0;
    font-size: 0.94rem;
  }
}

/* ----------------------
   Utility/Retro Patterns
------------------------ */
.pattern-stripes {
  background: repeating-linear-gradient(
    135deg, #ffe5ab, #ffe5ab 14px, #fff8ef 14px, #fff8ef 28px);
}
.pattern-dots {
  background: radial-gradient(circle, #ded2a6 2px, transparent 2px), #fff8ef;
  background-size: 20px 20px;
}

/* ----------------------
   Misc. & Mobile Fixes
------------------------ */
@media (max-width: 600px) {
  footer .container { flex-direction: column; align-items: flex-start; gap: 8px; }
  .content-wrapper, .container { padding: 0 4px; }
  section { padding: 16px 2.5vw; }
}
@media (max-width: 400px) {
  .btn-primary { font-size: 0.91rem; padding: 8px 6px; }
  h1, h2 { font-size: 1.01rem; }
}

/* Hide focus outlines except for keyboard nav */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px dashed #ddb349;
  outline-offset: 1.5px;
}

/* --------------
   ::selection
-----------------*/
::selection {
  background: #d07439;
  color: #f8f3e8;
}

/* --------------
   Tables/Text Blocks (for legal pages)
-----------------*/
table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  background: #fcf7ed;
  margin-bottom: 24px;
}
td, th {
  border: 1px solid #decfa1;
  padding: 12px 10px;
  text-align: left;
  font-size: 0.98rem;
}
th {
  background: #ffe5ab;
  color: #854b0e;
  font-weight: 700;
}

/* Crop main.js if present for proper z-index stacking in menu/banner */

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