/* ===========================
   CSS RESET & NORMALIZE
   =========================== */
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-size: 100%;
  font: inherit;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #3A2B1A;
  background: #F3F0E5;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #8D6748;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B87D34;
}
ul, ol {
  margin-left: 24px;
}
button {
  font-family: inherit;
}
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
}

/* ===========================
   VINTAGE RETRO BRAND COLORS
   =========================== */
:root {
  --retro-primary: #59473E;   /* deep coffee */
  --retro-secondary: #B87D34; /* muted orange/gold */
  --retro-accent: #F4E9C7;    /* soft cream */
  --retro-bg-dark: #31241C;   /* deep brown */
  --retro-bg: #F3F0E5;        /* page background */
  --retro-contrast: #231F20;  /* strong contrast */
  --retro-highlight: #8D6748; /* sepia brown */
  --retro-pattern: repeating-linear-gradient(135deg, #F4E9C7, #F4E9C7 16px, #E8D0B6 16px, #E8D0B6 32px);
  --brand-blue: #3282B8;
}

/* ===========================
   TYPOGRAPHY (RETRO)
   =========================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--retro-primary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  text-shadow: 1px 2px 0px #E8D0B6;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  border-bottom: 3px dashed var(--retro-secondary);
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 700;
}
p {
  font-size: 1rem;
  color: var(--retro-primary);
  margin-bottom: 16px;
}
strong {
  color: var(--retro-primary);
  font-weight: 700;
}
blockquote {
  font-size: 1.2rem;
  color: var(--retro-primary);
  border-left: 5px solid var(--retro-secondary);
  padding-left: 16px;
  font-style: italic;
  margin-bottom: 10px;
}

/* Retro pattern background for sections */
.retro-pattern-bg {
  background: var(--retro-pattern);
}

/* ===========================
   BUTTONS
   =========================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  padding: 13px 32px;
  border-radius: 30px;
  background: var(--retro-secondary);
  color: #fff;
  border: none;
  box-shadow: 0 3px 12px 0 rgba(139,90,45,0.10), 0 1.5px 0 0 #E8D0B6 inset;
  letter-spacing: 1.5px;
  cursor: pointer;
  margin-top: 18px;
  margin-bottom: 16px;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #A66422;
  color: #fffbe8;
  box-shadow: 0 8px 32px 0 rgba(184,125,52,0.22);
}
button {
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

/* ==========================
   HEADER, NAV & LOGO
   ========================== */
header {
  background: var(--retro-accent);
  border-bottom: 4px solid var(--retro-secondary);
  box-shadow: 0 2px 10px rgba(139,90,45,0.09);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  min-height: 85px;
}
header a img {
  height: 52px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--retro-primary);
  background: none;
  padding: 5px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border 0.18s;
}
nav a:hover, nav a:focus {
  color: var(--retro-secondary);
  border-bottom: 2px solid var(--retro-secondary);
}

.btn-primary {
  margin-left: 12px;
}

/* Hide burger on desktop */
.mobile-menu-toggle {
  display: none;
  background: var(--retro-secondary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 7px 0 rgba(139,90,45,0.09); 
}
.mobile-menu-toggle:focus {
  outline: 3px dotted #A66422;
}

/* ==========================
   MAIN LAYOUT
   ========================== */
main {
  min-height: 60vh;
  padding-bottom: 60px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.hero {
  background: var(--retro-accent);
  border-bottom: 5px dashed var(--retro-secondary);
  box-shadow: 0 6px 26px 0 rgba(139,90,45,0.04);
  padding-top: 38px;
  padding-bottom: 38px;
}
.hero h1 {
  color: var(--retro-primary);
  font-size: 2.3rem;
  margin-bottom: 12px;
  text-shadow: 1.2px 1.2px 0px #E8D0B6;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  max-width: 900px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

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

/* ==========================
   FEATURE & CARD LAYOUTS
   ========================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
  margin-bottom: 8px;
}
.feature-grid > div {
  flex: 1 1 260px;
  background: var(--retro-accent);
  border: 2px solid var(--retro-secondary);
  border-radius: 18px;
  box-shadow: 0 2px 11px 0 rgba(139,90,45,0.11);
  padding: 28px 20px 20px 20px;
  position: relative;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.25s, transform 0.15s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 28px 0 rgba(184,125,52,0.13);
  transform: translateY(-3px) scale(1.03);
}
.feature-grid img {
  height: 48px;
  margin-bottom: 10px;
  filter: sepia(0.5) hue-rotate(-10deg) contrast(1) brightness(0.95);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--retro-accent);
  border: 2px solid var(--retro-secondary);
  border-radius: 15px;
  padding: 24px 22px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.14s;
  box-shadow: 0 3px 16px 0 rgba(139,90,45,0.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card:hover {
  box-shadow: 0 8px 40px 0 rgba(139,90,45,0.18);
  transform: translateY(-2px) scale(1.04);
}

/* List & text block specifics */
ul {
  padding-left: 22px;
  margin-bottom: 14px;
}
li {
  margin-bottom: 7px;
  font-weight: 400;
}

/* ==========================
   TESTIMONIAL CARDS
   ========================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F7EBD7;
  border: 2px solid var(--retro-highlight);
  border-radius: 16px;
  box-shadow: 0 3px 16px 0 rgba(139,90,45,0.13);
  transition: box-shadow 0.18s, background 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus {
  background: #F3DEBC;
  box-shadow: 0 6px 28px 0 rgba(184,125,52,0.16);
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: #2F2718;
  border-left: 4px solid var(--retro-secondary);
  padding-left: 14px;
  font-style: italic;
  margin: 0 0 5px 0;
}
.testimonial-card strong {
  color: var(--retro-primary);
}
/* Ensure contrast: always dark text on light bg */
.testimonial-card, .testimonial-card * {
  color: #2F2718;
  background-color: transparent;
}

/* ==========================
   FOOTER
   ========================== */
footer {
  background: var(--retro-bg-dark);
  color: #F4E9C7;
  padding: 44px 0 30px 0;
  font-size: 1rem;
  border-top: 5px solid var(--retro-secondary);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 45px;
  align-items: flex-start;
  justify-content: space-between;
}
footer a {
  color: #F4E9C7;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}
footer a:hover {
  color: #B87D34;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1rem;
  color: #F4E9C7;
}
.footer-contact img {
  height: 18px;
  margin-right: 7px;
  vertical-align: middle;
  filter: grayscale(1) sepia(0.3) contrast(1.3);
}
.footer-legal {
  font-size: 0.96rem;
  color: #C5B496;
  margin-top: 10px;
}

/* ==========================
   MOBILE BURGER NAVIGATION
   ========================== */
.mobile-menu-toggle {
  display: none;
  position: relative;
  z-index: 1003;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: #F4E9C7;
  box-shadow: 0 7px 24px 0 rgba(49,36,28,0.21);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.82,-0.01,.19,1.02);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding: 22px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--retro-secondary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 40px;
  height: 40px;
  align-self: flex-end;
  margin: 0 24px 16px 0;
  z-index: 2002;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  padding-left: 38px;
}
.mobile-nav a {
  color: var(--retro-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.24rem;
  letter-spacing: 0.11em;
  background: none;
  text-decoration: none;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  font-weight: 700;
  transition: color 0.15s, border 0.18s;
  border-radius: 3px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--retro-secondary);
  border-bottom: 2px solid var(--retro-secondary);
}

@media (max-width:1120px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width:900px) {
  header .container, footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  nav {
    gap: 8px;
  }
}
@media (max-width: 768px) {
  header nav,
  .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .footer-contact {
    gap: 6px;
    font-size: 0.97rem;
  }
}
@media (max-width: 600px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  section {
    padding: 16px 4px;
    margin-bottom: 36px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .feature-grid {
    gap: 12px;
  }
}

/* ===========================
   COOKIE CONSENT BANNER
   =========================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 4000;
  width: 100vw;
  background: #F4E9C7;
  color: var(--retro-primary);
  border-top: 3px solid var(--retro-secondary);
  box-shadow: 0 -4px 18px 0 rgba(184,125,52,0.17);
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: center;
  padding: 20px 10px 20px 20px;
  font-size: 1rem;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.33s, transform 0.33s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner-text {
  flex: 1 1 300px;
  min-width: 220px;
}
.cookie-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #fff;
  background: var(--retro-secondary);
  border: none;
  border-radius: 9px;
  padding: 7px 18px;
  font-size: 1rem;
  margin-top: 4px;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}
.cookie-btn:active, .cookie-btn:focus, .cookie-btn:hover {
  background: #A66422;
  color: #fffbe7;
}
.cookie-settings-btn {
  background: #fff;
  color: var(--retro-primary);
  border: 2px solid var(--retro-secondary);
  margin-left: 6px;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--retro-accent);
  color: var(--retro-secondary);
}

/* ===========================
   COOKIE MODAL POPUP
   =========================== */
.cookie-modal {
  position: fixed;
  z-index: 4100;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.96);
  background: #fffbe7;
  border: 3px solid var(--retro-secondary);
  border-radius: 19px;
  box-shadow: 0 10px 46px rgba(139,90,45,0.19);
  padding: 36px 30px 26px 30px;
  width: 90vw;
  max-width: 400px;
  display: none;
  flex-direction: column;
  gap: 18px;
  opacity: 1;
  transition: opacity 0.33s, transform 0.33s;
}
.cookie-modal.open {
  display: flex;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h3 {
  color: var(--retro-secondary);
  font-size: 1.26rem;
  margin-bottom: 8px;
}
.cookie-table {
  width: 100%;
  margin-bottom: 18px;
}
.cookie-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-label {
  flex: 1 1 auto;
  color: var(--retro-primary);
}
.cookie-toggle {
  width: 42px;
  height: 24px;
  border-radius: 15px;
  appearance: none;
  outline: 0;
  background: #E8D0B6;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
}
.cookie-toggle:checked {
  background: var(--retro-secondary);
}
.cookie-toggle::before {
  content: "";
  display: block;
  width: 19px;
  height: 19px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2.4px;
  left: 3px;
  box-shadow: 0 2px 5px 0 rgba(184,125,52,0.06);
  transition: left 0.28s;
}
.cookie-toggle:checked::before {
  left: 20px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 1.4rem;
  color: var(--retro-secondary);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 6002;
}

/* ==========================
   MICRO-ANIMATIONS
   ========================== */
.btn-primary, .cookie-btn, .feature-grid > div, .card, .testimonial-card {
  transition: box-shadow 0.21s, transform 0.13s, background 0.18s;
}
.btn-primary:active {
  transform: scale(0.97);
}
.feature-grid > div:active, .card:active {
  transform: scale(0.98);
}
.testimonial-card:active {
  transform: scale(0.98);
}

/* ==========================
   MISCELLANEOUS COMPONENTS
   ========================== */
.map-location {
  padding: 14px 0;
  color: var(--retro-primary);
}
.map-location h3 {
  font-size: 1.12rem;
  color: var(--retro-secondary);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==========================
   SCROLLBAR (Retro look)
   ========================== */
::-webkit-scrollbar {
  width: 10px;
  background: #E8D0B6;
}
::-webkit-scrollbar-thumb {
  background: var(--retro-secondary);
  border-radius: 8px;
}

/* ==========================
   ACCESSIBILITY
   ========================== */
:focus {
  outline: 2.5px dashed var(--retro-secondary);
  outline-offset: 2px;
}

/* ==========================
   RETRO-NOSTALGIA EXTRAS
   ========================== */
body {
  /* Faint retro paper texture overlay */
  background: #F3F0E5 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><circle fill="%23E8D0B6" opacity="0.11" cx="30" cy="30" r="30"/></svg>');
  background-size: 160px 160px;
  background-repeat: repeat;
}
.section {
  /* subtle border effect for old paper */
  border-radius: 14px;
  border: 1.5px solid #E8D0B6;
  box-shadow: 0 1.5px 16px rgba(105, 61, 19, 0.06);
}

/* Decorative corner for hero */
.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 7px;
  background: repeating-linear-gradient(90deg, #B87D34, #B87D34 16px, #F3F0E5 16px, #F3F0E5 32px);
  border-radius: 0 0 10px 0;
  z-index: 3;
  opacity: 0.18;
}
.hero {
  position: relative;
}

/* Decorative border for section h2 as classic underline */
h2 {
  border-bottom: 3px dashed var(--retro-secondary);
  padding-bottom: 5px;
}

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