/* ------------------------
   Vintage Retro Reset
-------------------------*/
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;
  background: #F9F4F0;
  font-size: 16px;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #253441;
  background: #F9F4F0;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.02em;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #29A052;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #113855;
  text-decoration: underline;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  outline: none;
  background: none;
  box-sizing: border-box;
  appearance: none;
}
button {
  cursor: pointer;
}
ul, ol {
  list-style: none;
}
hr {
  border: none;
  border-top: 1px solid #D1BFA3;
}

/* ------------------------
   Vintage Retro Palette & Fonts
-------------------------*/
:root {
  --color-primary: #113855;
  --color-secondary: #29A052;
  --color-accent: #E9F5EA;
  --color-background: #F9F4F0;
  --color-card-bg: #FFF8E2;
  --color-shadow: #D1BFA3;
  --color-icon-bg: #EEC170;
  --color-retro-red: #D44A1D;
  --color-retro-navy: #37526A;
  --color-retro-brown: #957255;
}
@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat'), url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: local('Open Sans'), url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');
  font-display: swap;
}

/* ------------------------
   Containers & Layouts
-------------------------*/
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-background);
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgba(213, 191, 163, .10), 0 2px 8px 0 rgba(213, 191, 163, .13);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card-bg);
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 rgba(210, 185, 140, .14);
  padding: 28px 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(213, 191, 163, .19);
  transform: translateY(-2px) scale(1.02);
}
.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: 20px;
  padding: 20px;
  background: #FFF8E2;
  border-radius: 18px;
  box-shadow: 0 3px 12px 0 rgba(210, 185, 140, .15);
  margin-bottom: 20px;
  border-left: 6px solid var(--color-retro-red);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------------------------
   Header, Navigation & Branding
-------------------------*/
header {
  background: #FFF4D7 url('../assets/vintage-pattern.png') repeat top left;
  box-shadow: 0 4px 16px 0 rgba(210,191,163,0.08);
  border-bottom: 2px solid var(--color-retro-brown);
  position: relative;
  z-index: 1003;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 78px;
}
.logo img {
  height: 48px;
  width: auto;
  filter: sepia(.15) hue-rotate(-10deg);
  padding: 0 4px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 1.5px;
  color: var(--color-retro-navy);
  padding: 6px 14px;
  border-radius: 8px;
  position: relative;
  transition: background .19s, color .19s;
}
nav a:hover, nav a:focus {
  background: var(--color-retro-brown);
  color: #FFF;
  text-decoration: none;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
  background: var(--color-secondary);
  color: #FFF;
  border-radius: 24px;
  padding: 10px 32px;
  box-shadow: 0 4px 14px 0 rgba(41,160,82,0.09);
  border: 2px solid var(--color-retro-navy);
  text-shadow: 1px 1px 0 #81B29A;
  margin-left: 16px;
  transition: background 0.2s, transform .2s, color .2s;
  display: inline-block;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-retro-red);
  color: #FFF8E2;
  transform: scale(1.045) rotate(-1.5deg);
  box-shadow: 0 8px 32px 0 rgba(210,185,140,0.15);
}

/* Hamburger Menu */
.mobile-menu-toggle {
  background: var(--color-retro-brown);
  color: #FFF;
  font-size: 32px;
  border-radius: 10px;
  padding: 5px 14px;
  display: none;
  margin-left: 12px;
  transition: background .18s;
  z-index: 1005;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-primary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 380px;
  height: 100vh;
  background: #FFF8E2;
  box-shadow: -8px 0 32px 0 rgba(41,56,85,0.14);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.57,1.62,.13,.97);
  display: flex;
  flex-direction: column;
  padding: 32px 24px 24px 24px;
  z-index: 1009;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-secondary);
  color: #FFF;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 36px;
  transition: background 0.15s;
  border: 2px solid var(--color-retro-brown);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-retro-red);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  background: none;
  font-size: 20px;
  padding: 12px 4px;
  color: var(--color-retro-brown);
  border-radius: 6px;
  letter-spacing: 1.2px;
  transition: background .15s, color .14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-retro-navy);
  color: #FFF;
}

/* Hide navigation at mobile, show burger */
@media (max-width: 1024px) {
  header .container nav,
  header .container .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none!important;
  }
}

/* ------------------------
   HERO Sections
-------------------------*/
.hero {
  background: #EEC170 url('../assets/vintage-dots.png') repeat;
  padding-top: 48px;
  padding-bottom: 48px;
  border-bottom: 4px dashed var(--color-retro-red);
  border-radius: 0 0 42px 42px;
  box-shadow: 0 10px 44px 0 rgba(41,56,85,.09);
}
.hero h1 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--color-retro-navy);
  letter-spacing: 2.8px;
  margin-bottom: 18px;
  text-shadow: 2px 2px 0 #FFF8E2;
  text-transform: uppercase;
}
.hero p {
  font-size: 1.18rem;
  color: #957255;
  max-width: 680px;
  margin-bottom: 24px;
  text-shadow: 1px 1px 0 #FFF7E1;
}
.hero .cta-btn {
  margin-top: 8px;
}

/* ------------------------
   Typography
-------------------------*/
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-weight: 900;
  color: var(--color-retro-red);
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
h1 {
  font-size: 2.2rem;
}
h2 {
  font-size: 1.65rem;
}
h3 {
  font-size: 1.27rem;
  color: var(--color-retro-navy);
}
h4 {
  font-size: 1.1rem;
}
p, ul, ol, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #253441;
}
strong {
  color: var(--color-retro-navy);
  font-weight: 900;
}

/* Retro list styling */
ul {
  list-style: none;
  padding-left: 0;
}
ul > li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 16px;
  min-height: 28px;
}
ul > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 19px;
  height: 19px;
  background: var(--color-secondary);
  border-radius: 55%;
  border: 2.5px solid var(--color-retro-brown);
  box-shadow: 1px 1px 0 #EEC170;
  display: inline-block;
  transition: background 0.15s;
}
ul > li:hover::before {
  background: var(--color-retro-red);
}

/* ------------------------
   Testimonial Cards
-------------------------*/
.testimonial-card {
  background: #FFF8E2;
  color: #223245;
  font-size: 1.08rem;
  border-left: 6px solid var(--color-retro-red);
  margin-bottom: 20px;
  box-shadow: 0 3px 12px 0 rgba(210, 185, 140, .15);
  transition: box-shadow 0.15s, border-color 0.16s;
}
.testimonial-card:hover {
  border-left: 6px solid var(--color-retro-brown);
  background: #FBEDD5;
  box-shadow: 0 6px 18px 0 rgba(210, 185, 140, .19);
}
.testimonial-card p {
  color: var(--color-retro-navy);
  font-style: italic;
  line-height: 1.5;
}
.testimonial-card span {
  color: var(--color-retro-brown);
  font-size: .99rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ------------------------
   Footer
-------------------------*/
footer {
  background: #FFF4D7 url('../assets/vintage-pattern.png') repeat top left;
  border-top: 2px solid var(--color-retro-brown);
  min-height: 120px;
  padding: 32px 0 24px 0;
  box-shadow: 0 -4px 16px 0 rgba(210,191,163,0.08);
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-logo-social img {
  height: 38px;
  width: auto;
  filter: sepia(.2) hue-rotate(-10deg);
}
footer nav {
  gap: 16px;
}
footer nav a {
  color: var(--color-retro-brown);
  font-size: .97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background .14s, color .14s;
}
footer nav a:hover {
  background: var(--color-retro-navy);
  color: #FFF;
}
footer div:last-child {
  margin-top: 8px;
  color: var(--color-retro-navy);
  font-size: .99rem;
}

/* ------------------------
   Cards & Features
-------------------------*/
.feature-item {
  background: var(--color-accent);
  border-radius: 11px;
  padding: 14px 18px;
  font-size: 1rem;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px 0 rgba(145,102,46,0.09);
}

/* ------------------------
   Forms & Inputs
-------------------------*/
input, textarea, select {
  border: 2px solid var(--color-retro-brown);
  border-radius: 7px;
  padding: 10px 14px;
  margin-bottom: 20px;
  background: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  width: 100%;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid var(--color-secondary);
  background: var(--color-accent);
}

/* ------------------------
   Cookie Consent Banner
-------------------------*/
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-card-bg);
  box-shadow: 0 -6px 24px 0 rgba(41,56,85,.08);
  border-top: 4px dashed var(--color-retro-brown);
  padding: 25px 20px 22px 20px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  transition: transform 0.25s cubic-bezier(.61,1.31,.41,1.04), opacity .22s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-consent-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-btn, .cookie-settings-btn {
  padding: 9px 22px;
  border-radius: 14px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  border: 2px solid var(--color-retro-navy);
  background: var(--color-secondary);
  color: #FFF;
  box-shadow: 0 2px 14px 0 rgba(41,160,82,0.07);
  margin-right: 4px;
  margin-bottom: 6px;
  transition: background 0.15s, color .13s, border .13s;
}
.cookie-btn.reject {
  background: var(--color-retro-red);
}
.cookie-settings-btn {
  background: var(--color-retro-brown);
  color: #fff8e2;
}
.cookie-btn:hover, .cookie-settings-btn:hover, .cookie-btn:focus, .cookie-settings-btn:focus {
  background: var(--color-retro-navy);
  color: #fff;
  border: 2px solid var(--color-retro-red);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(41, 56, 85, .48);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity .18s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #FFF8E2;
  border-radius: 22px;
  padding: 38px 25px 28px 25px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 6px 42px 0 rgba(145,102,46,0.19);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: appearModal .37s cubic-bezier(.67,1.47,.29,.98);
}
@keyframes appearModal {
  0% { transform: scale(.7) translateY(60px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.4rem;
  color: var(--color-retro-red);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 19px;
  background: var(--color-retro-red);
  color: #FFF8E2;
  border-radius: 50%;
  border: 2px solid var(--color-retro-brown);
  font-size: 19px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .13s, color .13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-modal .cookie-category {
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal label {
  font-weight: 600;
  color: var(--color-retro-navy);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 22px;
  height: 22px;
  margin-right: 5px;
}
.cookie-modal .category-desc {
  font-size: 0.95rem;
  color: #79502A;
}
.cookie-modal input[disabled] {
  opacity: 0.38;
  cursor: not-allowed;
}

/* ------------------------
   Responsive Behavior
-------------------------*/
@media (max-width: 1024px) {
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
}
@media (max-width: 920px) {
  .section {
    padding: 28px 7px;
  }
}
@media (max-width: 768px) {
  .container, .footer .container, .header .container {
    padding-left: 5px;
    padding-right: 5px;
    max-width: 100vw;
  }
  .section {
    padding: 22px 3px;
    margin-bottom: 38px;
  }
  .content-wrapper {
    gap: 22px;
  }
  .card-container, .content-grid {
    gap: 13px;
  }
  .text-image-section, .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .footer-logo-social img {
    height: 31px;
  }
  .hero {
    padding-top: 23px;
    padding-bottom: 30px;
    border-radius: 0 0 22px 22px;
  }
  .hero h1 { font-size: 1.35rem; }
  h1 { font-size: 1.31rem; }
  h2 { font-size: 1.06rem; }
  h3 { font-size: .98rem; }
  .cta-btn {
    font-size: 15px;
    padding: 8px 18px;
  }
  nav a {
    font-size: 14px;
    padding: 6px 7px;
  }
  ul > li {
    padding-left: 27px;
  }
  ul > li::before {
    width: 13px; height: 13px; top: 4px;
  }
  .testimonial-card {
    padding: 13px;
    margin-bottom: 12px;
    border-radius: 13px;
  }
  .cookie-modal {
    padding: 21px 7px 19px 7px;
    max-width: 97vw;
  }
  .footer .container{
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 13px;
  }
}

/* ------------------------
   Microinteractions/Animations
-------------------------*/
.cta-btn, .cookie-btn, .cookie-settings-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background .18s, color .11s, box-shadow .17s, transform .19s;
}
.card, .testimonial-card, .feature-item {
  transition: box-shadow 0.18s, transform 0.13s, border-color .16s, background .15s;
}
.card:active, .testimonial-card:active, .feature-item:active {
  transform: scale(.98) rotate(-1deg);
  box-shadow: 0 2px 6px 0 rgba(210,185,140,0.12);
}

/* ------------------------
   Decorative Retro Details
-------------------------*/
.section {
  border: 3px dashed #D1BFA3;
  box-shadow: 0 6px 32px 0 rgba(213,191,163,0.09);
  background: repeating-linear-gradient(135deg,#FFF8E2 0px,#FFF8E2 28px,#F9F4F0 28px,#F9F4F0 52px);
}

/* Decorative separators in lists (vintage dots) */
.text-section ul > li:not(:last-child)::after {
  content: '•';
  color: #D1BFA3;
  font-size: 21px;
  position: absolute;
  right: -21px;
  top: 5px;
  font-weight: bold;
  letter-spacing: 2px;
}

/* ------------------------
   Miscellaneous
-------------------------*/
::-webkit-scrollbar {
  width: 10px;
  background: #EEC170;
}
::-webkit-scrollbar-thumb {
  background: #D1BFA3;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #957255;
}

[aria-current="page"] {
  background: var(--color-retro-brown) !important;
  color: #FFF !important;
}

/* Blocks with ID placeholders (eg. #map-placeholder) */
#map-placeholder {
  background: #ece1d2;
  border: 1px dashed var(--color-retro-brown);
  border-radius: 8px;
  min-height: 100px;
  color: #a18d79;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  font-size: .99rem;
  margin-top: 14px;
}

/* ------------------------
   Accessibility (Focus visible)
-------------------------*/
*:focus-visible {
  outline: 3px dashed var(--color-retro-red);
  outline-offset: 2px;
  transition: outline-offset 0.1s;
}

/* ------------------------
   Print Styles (hide nav/menus)
-------------------------*/
@media print {
  .mobile-menu, .mobile-menu-toggle, header nav, .cta-btn, .cookie-consent-banner, .cookie-modal, .cookie-modal-overlay { display: none !important; }
}
