/* ------------------------
   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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background-color: #F8F6F0;
  color: #24333F;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style-position: inside;
}
img, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #27405A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #8AB464;
}

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

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

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 700px;
}

/* ------------------------------
         VINTAGE RETRO PALETTE
------------------------------ */
:root {
  --vintage-navy: #27405A;
  --vintage-avocado: #8AB464;
  --vintage-peach: #F1C89F;
  --vintage-coral: #F47A60;
  --vintage-mustard: #F3DF6C;
  --vintage-offwhite: #F8F6F0;
  --vintage-brown: #846347;
  --accent: #EFEFEF;
  --brand-primary: #27405A;
  --brand-secondary: #8AB464;
  --brand-accent: #EFEFEF;
}

/* Fallbacks for custom properties */
body { background-color: #F8F6F0; }

/* RETRO FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;900&family=Open+Sans:wght@400;600&display=swap');

h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  letter-spacing: 0.02em;
  color: var(--vintage-navy);
}
h1 { font-size: 2.5rem; font-weight: 900; text-shadow: 0 2px 2px #e5e0d5; }
h2 { font-size: 2rem; font-weight: 700; margin-bottom: 10px; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

.headline {
  color: var(--vintage-brown);
  font-size: 1.33rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: italic;
  margin-bottom: 10px;
}
.subheadline {
  font-size: 1.1rem;
  color: #7A6753;
}
p, li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #24333F;
  font-size: 1rem;
}

strong {
  font-weight: 600;
  color: var(--vintage-navy);
}

/* LAYOUT FLEX PATTERNS */
.feature-grid, .card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card-container { gap:24px; }
.card-grid { gap:24px; }
.content-grid { gap: 20px; justify-content: space-between; }
.feature-grid { gap: 24px; }

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

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  margin-bottom: 20px;
  background: #FFFDF8;
  box-shadow: 0 2px 10px 0 rgba(36,51,63, 0.08), 0 0.5px 2px 0 #cdbd93;
  border-radius: 18px;
  border: 2px solid var(--vintage-peach);
  transition: box-shadow 0.2s, border 0.2s;
  max-width: 370px;
}
.testimonial-card p {
  color: #2B2B2B;
  font-size: 1.08rem;
  font-style: italic;
}
.testimonial-card span {
  color: var(--vintage-brown);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.02em;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(36,51,63, 0.15);
  border: 2.5px solid var(--vintage-coral);
}

/* CARDS & FEATURE ITEMS */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FEF6E8;
  border-radius: 15px;
  border: 2px dashed var(--vintage-mustard);
  padding: 26px 20px 20px 20px;
  box-shadow: 0 1.5px 10px 0 rgba(196,181,100,0.08);
  width: 270px;
  min-width: 230px;
  transition: box-shadow 0.18s, border 0.18s;
  margin-bottom: 20px;
}
.feature-item img {
  width: 42px;
  height: 42px;
  margin-bottom: 5px;
}
.feature-item h3 {
  color: var(--vintage-avocado);
  margin-bottom: 3px;
}
.feature-item p {
  color: #44423A;
  font-size: 1rem;
}
.feature-item:hover {
  box-shadow: 0 6px 16px 0 rgba(131, 101, 71, 0.14);
  border: 2.5px solid var(--vintage-brown);
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: #FAF8F1;
  border-radius: 14px;
  border: 1.5px solid #EDE5D0;
  box-shadow: 0 2px 10px 0 rgba(196,181,100,0.07);
  transition: box-shadow 0.2s;
  padding: 24px 18px;
}

.card:hover {
  box-shadow: 0 5px 25px 0 rgba(131,101,71,0.18);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.article-list article {
  flex: 1 1 300px;
  background: #FFF6E4;
  border-radius: 13px;
  border: 2px solid #F1C89F;
  box-shadow: 0 1.5px 8px 0 #add48e0f;
  padding: 24px 20px 18px 20px;
  margin-bottom: 20px;
}

.recommended-posts {
  margin-top: 20px;
  background: #FFFDF8;
  border-radius: 9px;
  padding: 18px 18px 12px 18px;
  border-left: 4px solid var(--vintage-avocado);
}

.recommended-posts h3 {
  font-size: 1.08rem;
  color: var(--vintage-brown);
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
}

.recommended-posts ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/*************************************
     BUTTONS & CALL TO ACTIONS
**************************************/
.cta-primary,
.btn-primary {
  display: inline-block;
  background: var(--vintage-avocado);
  color: #27405A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  border-radius: 24px;
  border: none;
  padding: 13px 32px;
  box-shadow: 0 2px 6px 0 rgba(130,100,71,0.15);
  cursor: pointer;
  transition: background 0.18s, color 0.15s, box-shadow 0.2s;
  margin-top: 14px;
}
.cta-primary:hover, .btn-primary:hover, .cta-primary:focus {
  background: var(--vintage-navy);
  color: #F3DF6C;
}

.cta-secondary,
.btn-secondary {
  display: inline-block;
  background: var(--vintage-mustard);
  color: var(--vintage-navy);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.01rem;
  letter-spacing: 0.01em;
  border-radius: 20px;
  border: none;
  padding: 11px 28px;
  cursor: pointer;
  box-shadow: 0 1px 3px 0 #e5e0d8;
  margin-top: 12px;
  transition: background 0.18s, color 0.15s;
}
.cta-secondary:hover, .btn-secondary:hover {
  background: var(--vintage-coral);
  color: #FFFDF8;
}

button, .btn, .cta-primary, .cta-secondary {
  outline: none;
}

/*******************************
       NAVIGATION & HEADER
*******************************/
header {
  background: #EDE6D7;
  border-bottom: 3px solid var(--vintage-brown);
  box-shadow: 0 2px 16px 0 rgba(131, 101, 71, 0.06);
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 24px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--vintage-navy);
  font-size: 1.02rem;
  padding: 6px 16px;
  border-radius: 16px;
  background: none;
  transition: background 0.16s, color 0.14s;
}
.main-nav a.active, .main-nav a:hover {
  background: var(--vintage-peach);
  color: #7A6753;
}
.main-nav a.cta-primary {
  background: var(--vintage-avocado);
  color: #27405A;
  border-radius: 22px;
  font-weight: bold;
  margin-left: 8px;
  transition: background 0.2s, color 0.17s;
  padding: 10px 26px;
}
.main-nav a.cta-primary:hover, .main-nav a.cta-primary:focus {
  background: var(--vintage-navy);
  color: #F3DF6C;
}

header img {
  max-height: 38px;
  margin-right: 5px;
}

/* HAMBURGER MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--vintage-mustard);
  border: none;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  cursor: pointer;
  color: var(--vintage-navy);
  transition: background 0.15s, color 0.13s;
  margin-left: 10px;
  z-index: 251;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--vintage-avocado);
  color: white;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #EDE6D7;
  box-shadow: 0 2px 32px 0 rgba(130,100,71,0.10);
  transform: translateX(-120%);
  transition: transform 0.36s cubic-bezier(.77,0,.18,1);
  z-index: 250;
  padding: 32px 24px 0 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--vintage-coral);
  border: none;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: white;
  margin-bottom: 15px;
  cursor: pointer;
  transition: background 0.13s;
  z-index: 252;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--vintage-brown);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 16px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--vintage-navy);
  font-size: 1.12rem;
  padding: 12px 0 12px 10px;
  border-radius: 18px;
  transition: background 0.14s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--vintage-peach);
  color: var(--vintage-brown);
}

/*******************************
          FOOTER
*******************************/
footer {
  background: #EDE6D7;
  color: #24333F;
  margin-top: 70px;
  border-top: 4px solid var(--vintage-brown);
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 50px 32px;
  justify-content: space-between;
  padding: 32px 0 24px 0;
}
.footer-left,
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-left img {
  max-height: 38px;
  margin-bottom: 10px;
}
.tagline {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--vintage-brown);
  font-weight: bold;
  font-size: 1.10rem;
  margin-bottom: 5px;
}
.contact-info p, .contact-info img {
  font-size: 0.97rem;
  color: #5E4A32;
  margin-bottom: 3px;
}
.contact-info img {
  vertical-align: middle;
  margin-right: 7px;
  width: 22px;
}
.footer-right {
  align-items: flex-end;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 6px;
}
.footer-nav a {
  color: var(--vintage-navy);
  background: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  padding: 6px 13px;
  border-radius: 15px;
  transition: background 0.11s, color 0.11s;
}
.footer-nav a:hover {
  background: var(--vintage-peach);
  color: var(--vintage-brown);
}
.social-media {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 5px;
}
.social-media a {
  background: var(--vintage-avocado);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.17s;
}
.social-media a:hover {
  background: var(--vintage-coral);
}
.social-media img {
  width: 22px;
  height: 22px;
}
.footer-copyright {
  text-align: center;
  font-size: 0.92rem;
  color: #7A6753;
  padding: 18px 0 10px 0;
  border-top: 1px solid #E5DED0;
}

/*******************************
         COOKIE BANNER
*******************************/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #FFFBEA;
  border-top: 3px solid var(--vintage-brown);
  box-shadow: 0px -3px 16px 0 #6e573515;
  z-index: 500;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  padding: 22px 6vw 22px 6vw;
  font-size: 1.05rem;
  animation: cookieSlideIn 0.6s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieSlideIn {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 1 1 350px;
  color: #503E2D;
  margin-right: 24px;
}
.cookie-banner__actions {
  display: flex;
  gap: 13px;
}
.cookie-banner button,
.cookie-banner .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 7.5px 22px;
  border-radius: 16px;
  border: none;
  margin: 0;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
  background: var(--vintage-mustard);
  color: var(--vintage-navy);
}
.cookie-banner .btn-accept {
  background: var(--vintage-avocado);
  color: var(--vintage-navy);
  font-weight: bold;
}
.cookie-banner .btn-accept:hover {
  background: var(--vintage-navy);
  color: #F3DF6C;
}
.cookie-banner .btn-reject {
  background: var(--vintage-coral);
  color: #fff;
}
.cookie-banner .btn-reject:hover {
  background: var(--vintage-brown);
}
.cookie-banner .btn-settings {
  background: var(--vintage-mustard);
  color: var(--vintage-navy);
}
.cookie-banner .btn-settings:hover {
  background: var(--vintage-peach);
  color: var(--vintage-brown);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(36,64,90, 0.32);
  z-index: 850;
  animation: fadeIn 0.2s;
}
.cookie-modal-overlay.open { display: flex; align-items: center; justify-content: center; }

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal {
  background: #FFFDF8;
  border-radius: 20px;
  box-shadow: 0 2px 26px 0 rgba(36,64,90,.13);
  max-width: 460px;
  width: 95vw;
  padding: 28px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}
.cookie-modal .category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.cookie-modal .category label {
  font-weight: bold;
  letter-spacing: 0.01em;
}
.cookie-modal .category input[type="checkbox"] {
  accent-color: var(--vintage-avocado);
  width: 18px;
  height: 18px;
}
.cookie-modal .btn-row {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}
.cookie-modal .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 7px 18px;
  border-radius: 16px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  background: var(--vintage-avocado);
  color: var(--vintage-navy);
  transition: background 0.13s;
}
.cookie-modal .btn:hover { background: var(--vintage-navy); color: #fff; }

/*******************************
     FORMS & INTERACTIVE
*******************************/
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  border-radius: 7px;
  border: 1.5px solid #c4b564;
  background: #FEF9EF;
  padding: 10px 15px;
  font-size: 1rem;
  margin-bottom: 14px;
  width: 100%;
  transition: border 0.14s, box-shadow 0.14s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--vintage-navy);
  box-shadow: 0 0 3px 1.5px var(--vintage-navy, #27405A);
}

/*******************************
           MISC
*******************************/
ul {
  padding-left: 0;
  margin-bottom: 12px;
  color: #413329;
  font-size: 1rem;
}
ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 22px;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--vintage-avocado);
  border-radius: 50%;
  position: absolute;
  left: 3px; top: 9px;
}
ol {
  padding-left: 18px;
  margin-bottom: 10px;
  color: #57432e;
  font-size: 1rem;
}
ol li {
  margin-bottom: 7px;
}
li strong { color: var(--vintage-navy); }

section .container > h2,
section .container > h1 {
  margin-bottom: 18px;
}

/******************************
     RETRO PATTERNS + DECOR
******************************/
body {
  background-color: var(--vintage-offwhite);
  background-image: repeating-linear-gradient(135deg, rgba(243,223,108,.05) 0, rgba(243,223,108,.1) 18px, transparent 40px, transparent 60px),
    repeating-linear-gradient(45deg, rgba(196,181,100,.07) 0, rgba(196,181,100,.12) 14px, transparent 33px, transparent 55px);
}
section {
  border-radius: 18px;
  box-shadow: 0 1.5px 11px 0 rgba(196,181,100,0.05);
}

/********************************************
            RESPONSIVE DESIGN
********************************************/
@media (max-width: 1200px) {
  .container { max-width: 960px; }
  .feature-grid, .card-grid, .content-grid {
    justify-content: flex-start;
  }
  .footer-wrapper { flex-direction: column; gap: 24px; }
  .footer-right { align-items: flex-start; margin-top: 18px; }
}
@media (max-width: 900px) {
  .container { max-width: 780px; }
  .feature-grid, .card-grid, .content-grid, .testimonial-slider, .article-list {
    gap: 14px;
  }
  .footer-wrapper { gap: 28px 18px; }
}
@media (max-width: 768px) {
  .container { max-width: 100vw; padding: 0 6px; }
  header .container {
    flex-direction: row;
    gap: 10px;
    min-height: 52px;
  }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .footer-wrapper { flex-direction: column; gap: 20px; }
  section, .card, .testimonial-card, .feature-item, .article-list article {
    padding-left: 8px; padding-right: 8px;
  }
  .feature-grid, .card-grid, .card-container, .content-grid, .testimonial-slider, .article-list {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .footer-left, .footer-right { align-items: flex-start; }
  .social-media { margin-top: 10px; }
  .recommended-posts { margin-top: 18px; }
  .section { padding: 30px 7px; }
}
@media (max-width: 550px) {
  html { font-size: 95%; }
  h1 { font-size: 2rem; }
  .testimonial-card, .feature-item, .card {
    min-width: unset;
    width: 98%;
    padding: 20px 5px 16px 10px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 20px;
    padding: 20px 2vw 19px 2vw;
    font-size: 0.97rem;
    align-items: flex-start;
  }
  .cookie-banner__text { margin-right: 0; }
  .cookie-banner__actions { gap: 7px; }
}

/* Ensure content cards/sections min 20px spacing */
.card, .testimonial-card, .feature-item, .article-list article {
  margin-bottom: 20px;
}

/*****************************************
      MICRO-INTERACTIONS & UX DETAILS
*****************************************/
button, .btn, .cta-primary, .cta-secondary {
  transition: background 0.15s, color 0.12s, box-shadow 0.16s;
}
button:active, .btn:active, .cta-primary:active, .cta-secondary:active {
  outline: 2.5px solid var(--vintage-coral);
}
input, textarea {
  transition: box-shadow 0.13s, border 0.13s;
}
ul li::before {
  transition: background 0.18s;
}
ul li:hover::before { background: var(--vintage-brown); }

/*****************************************
        RETRO DECORATIVE EFFECTS
*****************************************/
h1, h2 {
  text-shadow: 0 2px 1.5px rgba(246, 234, 184, 0.4);
}
.feature-item, .testimonial-card, .card, .article-list article {
  border-style: dashed;
  box-shadow: 0 1.5px 7px 0 rgba(245, 210, 157, 0.15);
}

/************************************
       UTILITY / MISC CLASSES
*************************************/
.hide { display: none !important; }
.d-flex { display: flex !important; }
.align-center { align-items: center !important; }
.flex-column { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }

/****************************************
  MAP SECTION & CONTACT SPECIAL ELEMENTS
*****************************************/
.map-section {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 18px;
  background: #fcf5e7;
  border-radius: 12px;
  padding: 15px 12px;
  border: 1.5px solid #F1C89F;
  box-shadow: 0 0.5px 3px 0 rgba(131,101,71,0.07);
}
.map-section img {
  width: 48px;
  height: 48px;
  margin-right: 3px;
}

/*****************************************
        Print Clean (do not remove)
*****************************************/
@media print {
  *, *:before, *:after { background: none !important; color: #000 !important; box-shadow: none !important; text-shadow: none !important; }
  a, a:visited { text-decoration: underline; }
  header, .main-nav, .footer-right, .mobile-menu, .mobile-nav, .cookie-banner, .cookie-modal, .cookie-modal-overlay, .social-media { display: none !important; }
  section, .container { box-shadow: none !important; padding:0 !important; margin:0 !important; }
}
