/* ====================================================
   CSS RESET & BASELINE
======================================================*/
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-color: #fff7ec;
  color: #294137;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  background: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
:root {
  --primary: #224F3A;
  --secondary: #6C8C65;
  --accent: #F6C863;
  --vintage-orange: #db8557;
  --vintage-blue: #88b5bf;
  --vintage-red: #ca4949;
  --offwhite: #fff7ec;
  --gray: #78836a;
  --card-bg: #fcf5e3;
  --shadow: rgba(100,85,31,0.10);
  --border-radius: 18px;
}

/* ====================================================
   TYPOGRAPHY – VINTAGE/RETRO FLAVOUR
======================================================*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', 'Arial', sans-serif;
  color: var(--primary);
  letter-spacing: 1px;
}
h1 {
  font-size: 2.7rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-shadow: 2px 2px 0 var(--accent), 0px 1px 0 rgba(34,79,58,0.09);
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--vintage-orange);
}
h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--secondary);
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gray);
}
p, li, span, label {
  font-family: 'Roboto', Verdana, Arial, sans-serif;
  font-size: 1rem;
  color: #294137;
  margin-bottom: 12px;
}
.subtitle {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', 'Arial', sans-serif;
  font-size: 1.2rem;
  color: var(--vintage-blue);
  margin-bottom: 24px;
  text-shadow: 0 1px 0 #fff4, 2px 2px 0 #f6c86333;
}
.text-section {
  margin-bottom: 32px;
}
strong {
  font-weight: 700;
  color: var(--vintage-red);
}
em {
  font-style: italic;
  color: var(--secondary);
}

/* Retro pattern backgrounds */
.pattern-circles {
  background: repeating-radial-gradient(circle, var(--accent) 0 2px, transparent 3px 36px);
  opacity: 0.045;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  height: 100%;
}
.pattern-lines {
  background: repeating-linear-gradient(45deg, var(--vintage-blue) 0 1px, transparent 1px 22px);
  opacity: 0.04;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  height: 100%;
}

/* ====================================================
   LAYOUT & SECTION SPACING -- FLEXBOX ONLY
======================================================*/
.container {
  width: 100%;
  max-width: 1140px;
  padding: 0 18px;
  margin: 0 auto;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
  background: var(--offwhite);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 24px var(--shadow);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-container, .feature-grid, .tip-grid, .tip-list, .team-member-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.card {
  margin-bottom: 20px;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 1px 7px var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background-color: #fff8ef;
  box-shadow: 0 3px 18px var(--shadow);
  border-radius: var(--border-radius);
  border: 2px solid var(--vintage-orange);
  padding: 20px 28px;
  margin-bottom: 24px;
  max-width: 390px;
  min-width: 230px;
  margin-right: 20px;
  position: relative;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #3e321f;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  margin-bottom: 2px;
}
.testimonial-card span {
  color: var(--primary);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
}
.address-block {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 1px 7px var(--shadow);
  padding: 24px 22px;
  margin-bottom: 20px;
  flex: 1;
}

/* Feature / Team Member Cards */
.feature-grid > div, .tip-grid > ul, .tip-list > ul, .team-member-list > div {
  flex: 1 1 235px;
  min-width: 0;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 7px var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 28px 20px;
  transition: transform .17s cubic-bezier(.6,0,.4,1), box-shadow .2s;
  border: 2px solid #e3d2ab22;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.feature-grid > div:hover, .team-member-list > div:hover {
  transform: translateY(-7px) scale(1.02) rotate(-0.5deg);
  box-shadow: 0 9px 26px var(--shadow);
  border-color: var(--accent);
  z-index: 2;
}
.feature-grid img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  margin-bottom: 6px;
  filter: sepia(.35) brightness(1.08) drop-shadow(0 2px 0 #fff8) drop-shadow(0 0 6px #f6c86316);
}

.team-member-list {
  gap: 24px;
  margin-bottom: 40px;
}

.team-values {
  background: var(--offwhite);
  border-left: 7px dashed var(--vintage-orange);
  padding: 22px 22px;
  margin-top: 20px;
  border-radius: var(--border-radius);
}

/* Accordions and Infoboxes */
.faq-accordion > div {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 18px 22px;
  box-shadow: 0 1px 8px var(--shadow);
  margin-bottom: 18px;
  transition: box-shadow .2s;
  position: relative;
}
.faq-accordion > div:hover {
  box-shadow: 0 7px 18px var(--shadow);
}
.infobox, .infoboxes {
  background: #f1ead3;
  border-left: 7px solid var(--accent);
  border-radius: var(--border-radius);
  padding: 22px 18px;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* ====================================================
   BUTTONS & CALLS TO ACTION
======================================================*/
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fffaf6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 30px;
  border: none;
  padding: 12px 34px 12px 30px;
  letter-spacing: 1px;
  margin-top: 12px;
  box-shadow: 0 3px 13px var(--shadow);
  margin-bottom: 10px;
  transition: background .22s, box-shadow .15s, transform .15s;
  outline: none;
  cursor: pointer;
  position: relative;
  text-shadow: 1px 1px #18402b22;
}
.btn-primary:after {
  content: '\2192';
  font-size: 1.1em;
  margin-left: 12px;
  color: var(--accent);
  transition: color .17s, transform .17s;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--vintage-orange);
  color: var(--primary);
  transform: translateY(-2px) scale(1.035) rotate(-2deg);
  box-shadow: 0 7px 26px var(--shadow), 0 1px 0 var(--accent);
}
.btn-primary:hover:after, .btn-primary:focus:after {
  color: var(--secondary);
  transform: translateX(5px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  border-radius: 24px;
  border: none;
  padding: 10px 22px;
  transition: background .19s, color .16s;
  margin-right: 12px;
  margin-bottom: 5px;
  font-size: 1rem;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary);
  color: var(--accent);
}

/* Inline Links */
a {
  color: var(--primary);
  transition: color .18s, text-decoration-color .18s;
}
a:hover, a:focus {
  color: var(--vintage-orange);
  text-decoration: underline dashed var(--accent);
}
.footer nav a:hover {
  color: var(--vintage-red) !important;
}

/* ====================================================
   HEADER & NAVIGATION
======================================================*/
header {
  padding: 0;
  background: var(--vintage-blue);
  border-bottom: 6px solid var(--accent);
  box-shadow: 0 7px 22px -6px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 90;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 20px 10px 14px;
  max-width: 1180px;
  margin: 0 auto;
}
header nav > a > img {
  height: 52px;
  width: auto;
  margin-right: 12px;
  filter: drop-shadow(0 0 8px #fff7ee60) brightness(1.04) contrast(1.07);
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-right: 18px;
}
header nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  padding: 7px 18px;
  border-radius: 24px;
  transition: background .15s, color .18s;
  color: var(--primary);
  background: transparent;
}
header nav ul li a:hover, header nav ul li a:focus {
  background: var(--accent);
  color: var(--vintage-red);
  text-decoration: none;
}
header nav .btn-primary {
  margin: 0;
  margin-left: 8px;
  padding: 10px 24px 10px 22px;
  font-size: 0.99rem;
  box-shadow: 0 2px 7px var(--shadow), 0 1px 0 var(--vintage-blue);
}
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.95rem;
  line-height: 1;
  border: none;
  margin-left: 20px;
  align-items: center;
  justify-content: center;
  transition: background .14s, color .14s, box-shadow .14s;
  box-shadow: 0 1px 7px var(--shadow);
  position: relative;
  z-index: 120;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--accent);
}

/* ==============================
   MOBILE MENU OVERLAY
=============================== */
.mobile-menu {
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.49,.01,.50,1.19);
  z-index: 250;
  box-shadow: 13px 0 38px #2229;
  padding: 0;
  overscroll-behavior: contain;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--primary);
  font-size: 1.8rem;
  border-radius: 50%;
  border: none;
  z-index: 2;
  transition: background .18s, color .18s;
}
.mobile-menu-close:active, .mobile-menu-close:focus {
  background: var(--vintage-red);
  color: #fff;
}
.mobile-nav {
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
  padding: 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  background: transparent;
  font-size: 1.17rem;
  font-weight: 600;
  padding: 10px 0;
  width: 100%;
  letter-spacing: 1.6px;
  border-radius: 22px;
  transition: background .13s, color .13s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}

/* ==============================
   MAIN & PAGE SECTIONS
=============================== */
main {
  z-index: 10;
  position: relative;
}

@media (max-width: 768px) {
  header nav ul,
  header nav .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ==============================
   FORM & INTERACTIVE
=============================== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 1.5px solid var(--accent);
  border-radius: 7px;
  padding: 12px 18px;
  color: var(--primary);
  background: #f9f2de;
  margin-bottom: 12px;
  transition: border-color .16s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--vintage-orange);
  outline: none;
}
label {
  display: block;
  margin-bottom: 6px;
  color: var(--secondary);
  font-size: 0.98rem;
  font-weight: 500;
}

/* ==============================
   FOOTER
=============================== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 38px 0 24px 0;
  border-top: 6px solid var(--accent);
  margin-top: 60px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-bottom: 20px;
}
footer nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 18px;
  transition: background .13s, color .13s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--accent);
  color: var(--primary);
  text-decoration: none;
}
.contact-info p{
  color: white;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  font-size: 0.97rem;
  color: #fff;
  opacity: 0.89;
}
.contact-info a {
  color: var(--vintage-blue);
  text-decoration: underline dotted var(--accent);
}

/* ==============================
   COOKIE CONSENT BANNER
=============================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  background: #f5e1b9;
  color: #352c18;
  border: 2px solid var(--accent);
  border-radius: 22px 22px 0 0;
  z-index: 999;
  box-shadow: 0 -6px 32px #bb963980;
  width: 97vw;
  max-width: 550px;
  padding: 18px 24px 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
  transition: transform .49s cubic-bezier(.08,.68,.58,1.13), opacity .42s;
  gap: 13px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.02rem;
}
.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}
.cookie-banner .btn-cookie-accept {
  background: var(--accent);
  color: var(--primary);
  font-weight: bold;
  border-radius: 18px;
  padding: 8px 24px;
  border: none;
  font-size: 1rem;
  transition: background .18s, color .16s, transform .12s;
  box-shadow: 0 1px 6px var(--shadow);
}
.cookie-banner .btn-cookie-accept:hover, .cookie-banner .btn-cookie-accept:focus {
  background: var(--primary);
  color: var(--accent);
  transform: scale(1.06);
}
.cookie-banner .btn-cookie-reject {
  background: #fffbe3;
  color: var(--vintage-red);
  font-weight: bold;
  border-radius: 18px;
  padding: 8px 18px;
  border: 2px solid var(--vintage-orange);
  font-size: 1rem;
  transition: background .18s, color .16s, border .15s;
}
.cookie-banner .btn-cookie-reject:hover, .cookie-banner .btn-cookie-reject:focus {
  background: var(--vintage-red);
  color: #fffbe3;
  border-color: var(--vintage-red);
}
.cookie-banner .btn-cookie-settings {
  background: transparent;
  color: var(--gray);
  font-weight: 500;
  border-radius: 14px;
  padding: 7px 18px;
  border: 1.5px solid var(--gray);
  font-size: .99rem;
  transition: background .14s, color .13s;
  margin-left: 6px;
}
.cookie-banner .btn-cookie-settings:hover, .cookie-banner .btn-cookie-settings:focus {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--primary);
}

/* ==============================
   COOKIE MODAL
=============================== */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(.94);
  z-index: 2000;
  background: #f7edda;
  border: 2.5px solid var(--accent);
  border-radius: 26px;
  width: 96vw;
  max-width: 480px;
  padding: 32px 28px 24px 28px;
  box-shadow: 0 9px 48px #987c3766;
  opacity: 0;
  pointer-events: none;
  transition: opacity .29s, transform .26s;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
}
.cookie-modal.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h2 {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  justify-content: space-between;
  padding: 8px 0;
}
.cookie-category label {
  margin-bottom: 0;
  min-width: 140px;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--accent);
  width: 1.25em;
  height: 1.25em;
  margin-right: 6px;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  justify-content: flex-end;
}
.cookie-modal .btn-cookie-modal-save {
  background: var(--accent);
  color: var(--primary);
  font-weight: bold;
  border-radius: 18px;
  padding: 8px 22px;
  border: none;
  font-size: 1rem;
  transition: background .18s, color .16s;
  box-shadow: 0 1px 6px var(--shadow);
}
.cookie-modal .btn-cookie-modal-save:hover, .cookie-modal .btn-cookie-modal-save:focus {
  background: var(--primary);
  color: var(--accent);
}
.cookie-modal .btn-cookie-modal-cancel {
  background: #fffbe3;
  color: var(--vintage-red);
  font-weight: bold;
  padding: 8px 18px;
  border: 2px solid var(--accent);
  border-radius: 18px;
  font-size: 1rem;
  transition: background .18s, color .16s, border .15s;
}
.cookie-modal .btn-cookie-modal-cancel:hover, .cookie-modal .btn-cookie-modal-cancel:focus {
  background: var(--vintage-red);
  color: #fffbe3;
  border-color: var(--vintage-red);
}

/* ==============================
   RESPONSIVE FLEX ADJUSTMENTS
=============================== */
@media (max-width: 1080px) {
  .container {
    max-width: 98vw;
    padding: 0 6vw;
  }
}
@media (max-width: 900px) {
  .feature-grid, .tip-grid, .tip-list, .team-member-list,
  .testimonial-slider, .content-grid, .service-list {
    gap: 14px;
  }
  .content-wrapper {
    gap: 10px;
  }
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .text-section, .testimonial-slider, .team-member-list {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  section, .card, .feature-grid > div, .team-member-list > div, .infobox, .faq-accordion > div {
    padding-left: 13px;
    padding-right: 13px;
    margin-bottom: 16px;
  }
  .feature-grid,
  .tip-grid,
  .tip-list {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card {
    min-width: unset;
    max-width: 98vw;
    margin-right: 0;
  }
  .team-member-list > div {
    min-width: unset;
    width: 100%;
  }
  .address-block {
    min-width: 0;
    width: 100%;
  }
  .container {
    padding: 0 3vw;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  h1 {
    font-size: 1.48rem;
  }
  h2 {
    font-size: 1.13rem;
    margin-bottom: 10px;
  }
}

/* ==============================
   RETRO DECORATIVE ELEMENTS
=============================== */
section::before {
  content: '';
  display: block;
  position: absolute;
  left: 12px;
  top: 10px;
  width: 88px;
  height: 42px;
  background: url('../assets/vintage-stripes.svg'), var(--accent);
  background-size: cover, auto;
  background-repeat: no-repeat;
  opacity: 0.17;
  z-index: 0;
}
section > .pattern-circles, section > .pattern-lines {
  pointer-events: none;
}

/* ==============================
   PRINT STYLES
=============================== */
@media print {
  header,
  nav,
  .mobile-menu-toggle,
  .cookie-banner,
  .cookie-modal,
  footer {
    display: none !important;
  }
  section {
    box-shadow: none;
    border: none;
    background: #fff;
  }
}
