/* CSS RESET & NORMALIZE — vintage retro flavor */
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;
  vertical-align: baseline;
  font: inherit;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  /* Vintage fade background option */
  background: #F1F6F4;
  /* fallback color */
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #34332C;
  background: #F1F6F4;
  line-height: 1.7;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  color: #224D54;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #7CB342;
  text-decoration: underline;
}

/* SCROLLBAR — vintage look */
*::-webkit-scrollbar { width: 10px; background: #ded2bf; }
*::-webkit-scrollbar-thumb { background: #224D54; border-radius: 8px; }

/* TYPOGRAPHY — vintage/retro */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Impact, Arial, sans-serif;
  line-height: 1.1;
  color: #224D54;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
  font-weight: 700;
}
h1 {
  font-size: 2.4rem;
  text-shadow: 0 2px 0 #fff5e1, 0 4px 10px #ccb47a3a;
}
h2 { font-size: 2rem; }
h3 { font-size: 1.32rem; }
h4 { font-size: 1.14rem; }
h5, h6 { font-size: 1rem; }
.subheadline {
  font-size: 1.15rem;
  font-family: 'Montserrat', Impact, Arial, sans-serif;
  color: #7CB342;
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}
p, ul, ol, li, address, blockquote {
  font-size: 1rem;
  color: #34332C;
}

blockquote {
  border-left: 4px solid #7CB342;
  padding: 0 0 0 20px;
  font-style: italic;
  background: #fffdf5;
  color: #5B4636;
  margin-bottom: 12px;
  font-family: 'Montserrat', serif;
}

/* CONTAINER / WRAPPER STRUCTURE */
.container {
  width: 100%;
  margin: 0 auto;
  max-width: 1080px;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  background: #FFF9EA;
  border-radius: 18px;
  box-shadow: 0 4px 16px #bba95520;
  padding: 36px 24px;
  margin-bottom: 24px;
}

/* SECTIONS & FLEX LAYOUTS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff9f1;
  border: 2px solid #f5e6c2;
  border-radius: 18px;
  box-shadow: 0 5px 20px #bbb3791f;
  overflow: hidden;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 24px #7cb34231;
  border-color: #7CB342;
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 24px 20px;
}

.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: #fffdf6;
  border-radius: 16px;
  box-shadow: 0 2px 14px #c8ad8022;
  margin-bottom: 20px;
  border: 1.5px solid #f5e6c2;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FLEX FEATURES GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature {
  background: #f7ebd8;
  border-radius: 14px;
  box-shadow: 0 2px 12px #b79c7332;
  padding: 26px 20px 20px 20px;
  flex: 1 1 240px;
  min-width: 200px;
  max-width: 330px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, background 0.2s;
}
.feature img {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  filter: sepia(0.2) hue-rotate(-20deg) saturate(0.9);
}
.feature:hover, .feature:focus-within {
  background: #fffbe7;
  box-shadow: 0 8px 34px #7cb34230;
}

/* HERO SECTION RETRO STYLE */
.hero {
  background: #ecdbab url('../assets/bg-retro-pattern.svg') repeat;
  background-size: 160px 160px;
  padding: 60px 0 40px 0;
  box-shadow: 0 6px 60px #c7b68510;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  color: #224D54;
  font-size: 2.6rem;
  text-shadow: 0 2px 8px #FFFCF5, 0 6px 30px #7cb34216;
  letter-spacing: 0.07em;
  margin-bottom: 10px;
}
.hero .cta-btn {
  margin-top: 18px;
}

/* CTA BUTTONS - vintage-inspired */
.cta-btn {
  background: #7CB342;
  color: #FFFDF5;
  font-family: 'Montserrat', Impact, Arial, sans-serif;
  border: none;
  border-radius: 32px;
  font-size: 1.07rem;
  font-weight: 700;
  padding: 13px 38px 14px 38px;
  box-shadow: 0 2px 8px #6ba02836;
  text-shadow: 0 1px 0 #425b33; 
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.14s, box-shadow 0.14s, transform 0.12s;
  margin-left: 12px;
  margin-bottom: 8px;
  outline: none;
  border: 2px solid #224D5420;
}
.cta-btn:hover, .cta-btn:focus {
  background: #224D54;
  color: #f6f1eb;
  box-shadow: 0 4px 18px #224d5426;
  transform: translateY(-3px) scale(1.04);
}

/* NAVIGATION VINTAGE RETRO */
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  background: #fff9f2;
  border-bottom: 4px solid #dec77c;
  padding: 18px 0 14px 0;
  font-family: 'Montserrat', Impact, Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  box-shadow: 0 4px 24px #d2c38622;
  z-index: 10;
  position: relative;
}
.main-nav a {
  position: relative;
  color: #224D54;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-right: 4px;
  transition: color 0.14s;
  padding: 4px 8px;
  border-radius: 8px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #7CB342;
  background: #fffadc;
  outline: 1.5px dotted #224D54;
}
.main-nav img {
  height: 40px;
  width: auto;
  vertical-align: middle;
  margin-right: 10px;
}

/* FOOTER RETRO PATTERN */
footer {
  background: #ede4c9;
  padding: 38px 0 20px 0;
  margin-top: 60px;
  font-size: 1rem;
  color: #31302A;
  box-shadow: 0 -4px 16px #e2c58533;
  border-top: 5px solid #dec77c;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #224D54;
  font-family: 'Montserrat', Impact, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-right: 4px;
}
.footer-contact {
  margin-top: 6px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #52462E;
}
.footer-contact address {
  font-style: normal;
  font-family: 'Montserrat', serif;
  color: #795C24;
  margin-bottom: 6px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}
.footer-contact div {
  margin-bottom: 5px;
}

/* TRUST SIGNALS (often ul) */
.trust-signals {
  background: #f4e9d0;
  padding: 30px 0 25px 0;
  border-top: 2px dashed #dec77c;
  border-bottom: 2px dashed #dec77c;
  margin-bottom: 36px;
}
.trust-signals ul {
  font-family: 'Montserrat', serif;
  list-style-type: disc;
  margin-left: 20px;
  color: #715C2A;
  font-size: 1.05rem;
}
.trust-signals li {
  margin-bottom: 12px;
  line-height: 1.6;
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 1080px) {
  .container { max-width: 100%; }
}
@media (max-width: 950px) {
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .footer-nav, .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .hero {
    padding: 34px 0 24px 0;
    background-size: 80px 80px;
  }
  .section, section {
    margin-bottom: 38px;
    padding: 24px 10px;
  }
  .feature {
    max-width: 100%;
    width: 100%;
    padding: 22px 15px 17px 15px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 10px;
  }
  .footer-contact {
    font-size: 0.98rem;
  }
  .content-wrapper {
    gap: 18px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 5px;
  }
  .text-section {
    padding: 16px 6px;
    border-radius: 8px;
  }
  .trust-signals {
    padding: 18px 4px;
    border-radius: 2px;
  }
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: inline-flex;
  background: #7CB342;
  color: #FFFDF5;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  font-size: 2.00rem;
  position: absolute;
  top: 16px;
  right: 19px;
  z-index: 202;
  cursor: pointer;
  box-shadow: 0 4px 10px #6ba02826;
  transition: background 0.18s, box-shadow 0.18s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #224D54;
  color: #fffbe0;
}

@media (min-width: 769px) {
  .mobile-menu-toggle { display: none; }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff8ed;
  box-shadow: 0 10px 60px #6ba02840;
  z-index: 210;
  display: flex;
  flex-direction: column;
  transform: translateX(-110vw);
  transition: transform 0.34s cubic-bezier(.65,.04,.38,1.19);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #224D54;
  font-size: 2.3rem;
  font-family: 'Montserrat', serif;
  align-self: flex-end;
  margin: 22px 25px 0 0;
  cursor: pointer;
  outline: none;
  padding: 5px 10px;
  transition: color 0.12s, background 0.12s;
  border-radius: 50%;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff8ed;
  background: #7CB342;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 44px 44px 24px 36px;
  margin-top: 18px;
  font-family: 'Montserrat', Impact, Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: bold;
}
.mobile-nav a {
  color: #224D54;
  padding: 8px 0px;
  border-radius: 5px;
  width: 100%;
  transition: background 0.15s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff8ed;
  background: #7CB342;
}
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
}

/* COOKIE CONSENT BANNER - fixed bottom bar with retro flavor */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #fffbe7;
  box-shadow: 0 -2px 20px #bba95533;
  border-top: 3px solid #f9d381;
  z-index: 3500;
  padding: 18px 10px 18px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-family: 'Montserrat', Impact, Arial, sans-serif;
  font-size: 1rem;
  color: #224D54;
}
.cookie-banner .cookie-banner-message {
  flex: 1 1 200px;
  min-width: 140px;
}
.cookie-btn {
  background: #7CB342;
  color: #fffbe2;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-family: 'Montserrat', Impact, Arial, sans-serif;
  font-weight: bold;
  padding: 9px 28px;
  margin-left: 7px;
  margin-bottom: 6px;
  box-shadow: 0 3px 12px #b0be703d;
  cursor: pointer;
  outline: none;
  transition: background 0.13s, color 0.13s, box-shadow 0.16s, transform 0.13s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #224D54;
  color: #f8f6ed;
  box-shadow: 0 8px 24px #224d5422;
  transform: translateY(-2px) scale(1.03);
}
.cookie-btn.secondary {
  background: #ECDBAB;
  color: #224D54;
  border: 1px solid #dec77c;
  font-weight: 600;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #dec77c;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 5px 16px 7px;
    font-size: 0.96rem;
    gap: 10px;
  }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #4B3D2B99;
  z-index: 4200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fffbe6;
  border-radius: 24px;
  box-shadow: 0 3px 60px #715c2a4c, 0 0px 4px #dec77c88;
  padding: 36px 32px;
  min-width: 300px;
  max-width: 99vw;
  color: #224D54;
  font-family: 'Montserrat', Impact, Arial, sans-serif;
  z-index: 4210;
  margin: 18px auto;
  position: relative;
  animation: cookiePopIn 0.33s cubic-bezier(.92,.03,.47,1.09);
}
@keyframes cookiePopIn {
  from { opacity: 0; transform: scale(0.82); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #7CB342;
}
.cookie-prefs-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 20px 0 18px 0;
}
.cookie-prefs-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #224D54;
}
.cookie-prefs-item input[type=checkbox] {
  accent-color: #7CB342;
  width: 20px;
  height: 20px;
  margin-right: 6px;
}
.cookie-prefs-item .essential {
  font-weight: 700;
  color: #eee4c7;
  background: #224D54;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 0.95em;
  margin-left: 12px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  color: #224D54;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #ecdbab;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 18px 9px;
    border-radius: 9px;
    min-width: 0;
  }
  .cookie-modal-actions {
    flex-direction: column;
    gap: 11px;
    align-items: stretch;
  }
}

/* TESTIMONIAL CARDS (high contrast readable retro cards) */
.testimonials {
  background: #f3e8cb;
  border-top: 4px solid #dec77c;
  border-bottom: 4px solid #dec77c;
  padding: 36px 0 30px 0;
  margin-bottom: 38px;
}
.testimonials h2 {
  color: #224D54;
  font-family: 'Montserrat', serif;
  font-size: 2.1rem;
  margin-bottom: 16px;
}
.testimonial-card {
  background: #FFFDF5;
  color: #224D54;
  border: 2px solid #ecdbab;
  box-shadow: 0 6px 18px #dca35818;
  border-radius: 15px;
  padding: 22px 26px;
  font-family: 'Montserrat', serif;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}
.testimonial-card blockquote {
  color: #454331;
  background: none;
  border-left: 6px solid #224D54;
  padding-left: 18px;
  font-size: 1.08em;
}
.testimonial-card p {
  color: #7CB342;
  margin-top: 6px;
  font-weight: bold;
  font-size: 1.04em;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 13px 7px 12px 12px;
    font-size: 0.98em;
  }
  .testimonial-card blockquote {
    padding-left: 10px;
    font-size: 1em;
  }
}

/* RETRO INPUTS (if forms are added; optional) */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 8px;
  border: 1.5px solid #dec77c;
  background: #fffdfa;
  padding: 11px 13px;
  font-size: 1em;
  margin-bottom: 16px;
  outline: none;
  transition: border 0.13s, box-shadow 0.13s;
  box-shadow: 0 1px 4px #f3e8cb55;
}
input:focus, textarea:focus, select:focus {
  border-color: #7CB342;
  box-shadow: 0 3px 9px #7cb3420d;
}
button {
  font-family: 'Montserrat', Impact, Arial, sans-serif;
  border-radius: 30px;
  border: none;
  padding: 9px 24px;
  background: #dec77c;
  color: #224D54;
  font-weight: bold;
  transition: background 0.14s, color 0.14s, box-shadow 0.13s;
  cursor: pointer;
}
button:hover, button:focus {
  background: #7CB342;
  color: #fffbe7;
}

/* UL/OL Styling vintage flavor */
ul, ol {
  padding-left: 28px;
  margin-bottom: 14px;
}
li {
  margin-bottom: 7px;
}

/* MISC */
address {
  font-style: normal;
  color: #715C2A;
}

hr {
  border: none;
  border-bottom: 2px dashed #dec77c;
  margin: 22px 0;
}

/* Z-index: make sure overlays (menus, modals, cookie) are above all */
header, footer { z-index: 5; position: relative; }

/* Hide visually, except for screen readers */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  border: 0 !important;
}

/* Decorative retro pattern for headings/sections (if desired) */
.heading-retro {
  color: #fffbe7;
  background: #224D54;
  border-radius: 6px 40px 6px 40px;
  padding: 8px 26px 8px 14px;
  font-family: 'Montserrat', Impact, Arial, sans-serif;
  letter-spacing: 0.13em;
  font-weight: 900;
  box-shadow: 0 1px 8px #74652d14;
  display: inline-block;
}

/* ENFORCE FLEX-ONLY LAYOUTS (NO GRID/COLUMNS ALLOWED) */
/* No display:grid, no columns, grid-template, or break-inside anywhere. */

/* BRAND RETRO FONTS LOADING (ensure fallback) */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900|Roboto:400,700&display=swap');
