/* ========================================================== */
/*                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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
input, textarea, button, select {
  font: inherit;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
/* =================== Base Typography ====================== */
:root {
  --color-primary: #995C22;
  --color-primary-dark: #7A471A;
  --color-secondary: #3A3832;
  --color-accent: #FFC773;
  --color-accent-alt: #FFB74D;
  --color-bg: #FFF8F2;
  --color-bg-card: #FFF7E8;
  --color-bg-deco: #FFF3D2;
  --color-text: #3A3832;
  --color-link-hover: #BB7B22;
  --color-grey: #D2C4B2;
  --color-border: #EBD39C;
  --shadow-card: 0 2px 12px rgba(153, 92, 34, 0.10);
  --shadow-card-hover: 0 4px 20px rgba(153, 92, 34, 0.18);
  --radius-card: 18px;
  --radius-btn: 28px;
  --transition: .25s cubic-bezier(.5, .1, .3, 1);
  --font-display: 'Merriweather', serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --font-display-fallback: serif;
  --font-body-fallback: sans-serif;
}
html {
  font-size: 16px;
  background: var(--color-bg);
  color: var(--color-text)
}
body {
  font-family: var(--font-body), var(--font-body-fallback);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display), var(--font-display-fallback);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.18;
  text-shadow: 1px 1px 0 var(--color-bg-deco);
}
h1 {
  font-size: 2.25rem;
  letter-spacing: .03em;
}
h2 {
  font-size: 1.5rem;
  letter-spacing: .01em;
}
h3 {
  font-size: 1.17rem;
  font-style: italic;
}
p, li, blockquote {
  font-size: 1rem;
  color: var(--color-text);
}
blockquote {
  font-family: var(--font-display), var(--font-display-fallback);
  font-size: 1.2rem;
  font-style: italic;
  background: var(--color-bg-deco);
  border-left: 5px solid var(--color-primary);
  margin: 24px 0 24px 0;
  padding: 18px 26px 18px 20px;
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  color: var(--color-primary-dark);
}
strong, b {
  font-weight: 700;
  color: var(--color-primary-dark);
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.container {
  width: 100%;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
ul.icon-list, ul.partner-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 0;
}
ul.icon-list img, ul.partner-list img {
  margin-right: 14px;
  width: 36px;
  height: 36px;
  filter: sepia(0.4) hue-rotate(-15deg) saturate(0.9) brightness(1.1);
  vertical-align: middle;
}
/* ================== Navigation and Header ================= */
header {
  background: var(--color-primary);
  box-shadow: 0 2px 16px rgba(58,56,50,0.06);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
  min-height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  padding: 8px 0;
}
.logo img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 1px 0 var(--color-accent));
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: var(--font-display), var(--font-display-fallback);
  font-size: 1rem;
  color: #fff;
  letter-spacing: .04em;
  border-radius: var(--radius-btn);
  padding: 8px 18px;
  opacity: .97;
  transition: background var(--transition), color var(--transition);
  background: transparent;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  outline: none;
}
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: var(--color-secondary);
  border-radius: 50%;
  padding: 8px 13px 8px 13px;
  border: none;
  font-size: 1.82rem;
  font-family: inherit;
  margin-left: 16px;
  z-index: 102;
  box-shadow: 0 1px 8px rgba(255,183,77,.13);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 1px 16px rgba(255,183,77,0.23);
}
/* ======== Mobile Menu ========== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff8f4;
  box-shadow: 0 0 0 100vw rgba(58,56,50,0.26);
  transition: transform .38s cubic-bezier(.7,.1,.2,1);
  transform: translateX(-100vw);
  z-index: 9999;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0;
  padding: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  animation: slideInMenu .38s cubic-bezier(.7,.1,.2,1);
}
@keyframes slideInMenu {
  from {
    transform: translateX(-100vw);
  }
  to {
    transform: translateX(0);
  }
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 22px 8px 0;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--color-primary);
  cursor: pointer;
  z-index: 1001;
  transition: color var(--transition);
}
.mobile-menu-close:focus,.mobile-menu-close:hover {
  color: var(--color-accent-alt);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 36px 0 0 36px;
}
.mobile-nav a {
  font-family: var(--font-display), var(--font-display-fallback);
  font-size: 1.15rem;
  padding: 10px 0 10px 8px;
  color: var(--color-primary);
  border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
  background: none;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--color-accent-alt);
  color: var(--color-secondary);
}
/* ===== Responsive Navigation ===== */
@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ================== Buttons and CTA ======================= */
.cta-button, .btn, .read-more {
  display: inline-block;
  font-family: var(--font-display), var(--font-display-fallback);
  background: var(--color-accent);
  color: var(--color-primary-dark);
  border: none;
  border-radius: var(--radius-btn);
  padding: 12px 34px;
  font-size: 1.08rem;
  font-weight: bold;
  letter-spacing: .02em;
  margin: 10px 0 0 0;
  box-shadow: 0 1px 6px rgba(153,92,34,0.14);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  outline: none;
}
.cta-button:hover, .cta-button:focus, .btn:hover, .btn:focus, .read-more:hover, .read-more:focus {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px) scale(1.025);
  box-shadow: var(--shadow-card-hover);
}
.read-more {
  padding: 7px 18px;
  font-size: .97rem;
  background: var(--color-primary-dark);
  color: #fff;
  border-radius: var(--radius-btn);
  margin-top: 8px;
}
.read-more:hover, .read-more:focus {
  background: var(--color-accent-alt);
  color: var(--color-primary);
}

/* ================== Cards, Sections, Grids ======================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px 28px 22px 28px;
  position: relative;
  min-width: 230px;
  flex: 1 1 270px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px) scale(1.018);
}
.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;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 16px rgba(153,92,34,0.07);
  min-width: 250px;
  max-width: 600px;
}
.testimonial-card p {
  color: var(--color-primary-dark);
  font-style: italic;
  font-family: var(--font-display), var(--font-display-fallback);
  font-size: 1.11rem;
  flex: 1 1 auto;
}
.testimonial-card span {
  color: var(--color-secondary);
  font-family: var(--font-body), var(--font-body-fallback);
  font-size: .97rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 22px;
}
.icon-set {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  margin: 12px 0;
}
.icon-set img {
  width: 52px;
  height: 52px;
  filter: sepia(0.25) hue-rotate(-12deg) saturate(0.8);
}
.partner-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-family: var(--font-body), var(--font-body-fallback);
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  padding: 13px 22px;
  box-shadow: 0 1px 7px rgba(153,92,34,0.05);
}
ul {
  margin-bottom: 14px;
}
li {
  margin-bottom: 9px;
  line-height: 1.65;
}
/* ================== Footer Styles ======================= */
footer {
  background: var(--color-primary-dark);
  color: #fff;
  padding: 38px 0 24px 0;
  font-size: .95rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #f5e6d7;
  font-size: .99rem;
  font-family: var(--font-display), var(--font-display-fallback);
  padding: 5px 10px;
  border-radius: 10px;
  opacity: 1;
  background: none;
  transition: background var(--transition), color var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-accent-alt);
  color: var(--color-primary-dark);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact img {
  width: 28px;
  margin-right: 6px;
}
footer p {
  color: #fffdf8;
  margin-top: 15px;
  opacity: .75;
}
/* ================= Cookie Consent Banner ================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  background: #fff7e8;
  border-top: 2px solid var(--color-accent-alt);
  box-shadow: 0 -1px 16px rgba(58,56,50,.12);
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px 16px;
  font-family: var(--font-body), var(--font-body-fallback);
  font-size: 1rem;
  transition: transform .33s cubic-bezier(.7,.1,.2,1), opacity .28s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner p {
  color: var(--color-primary-dark);
  margin-bottom: 0;
  line-height: 1.5;
}
.cookie-banner .cookie-btn {
  font-family: var(--font-display), var(--font-display-fallback);
  padding: 8px 20px;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  border: none;
  border-radius: var(--radius-btn);
  font-size: .99rem;
  font-weight: bold;
  margin: 0 8px 0 0;
  box-shadow: 0 1px 7px rgba(153,92,34,0.10);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-banner .cookie-btn cookie-settings-btn {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--color-primary-dark);
  color: #fff;
}
.cookie-banner .cookie-btn.reject {
  background: #fde2b5;
  color: var(--color-primary);
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: var(--color-primary);
  color: #fff;
}
/* ======= Cookie Modal ======= */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(58,56,50,0.26);
  z-index: 10010;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 34px 18px;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fadein .26s;
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff7e8;
  border-radius: var(--radius-card);
  max-width: 420px;
  width: 100%;
  padding: 34px 28px 28px 28px;
  box-shadow: 0 6px 32px rgba(153,92,34,.12);
  position: relative;
  font-family: var(--font-body), var(--font-body-fallback);
  color: var(--color-primary-dark);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal h2 {
  color: var(--color-primary);
  font-size: 1.28rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 20px;
  top: 18px;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 1.6rem;
  cursor: pointer;
  transition: color var(--transition);
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: var(--color-accent-alt);
}
.cookie-preference {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}
.cookie-category label {
  font-weight: 600;
  font-family: var(--font-body), var(--font-body-fallback);
  color: var(--color-primary-dark);
}
.cookie-category input[type=checkbox] {
  width: 21px;
  height: 21px;
  accent-color: var(--color-accent-alt);
  margin-right: 5px;
}
.cookie-category .always-enabled {
  background: var(--color-grey);
  color: var(--color-primary);
  padding: 3px 8px;
  border-radius: 8px;
  font-size: .84rem;
  font-weight: 500;
  margin-left: 7px;
}
.cookie-modal .cookie-btn {
  margin-top: 16px;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 23px 10px 13px 10px;
    max-width: 98vw;
  }
}
/* =================== Utility & Layout ======================= */
.support-text {
  background: var(--color-bg-deco);
  padding: 20px 18px;
  border-radius: 12px;
  margin-top: 14px;
}
.static-map {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 8px rgba(153,92,34,0.08);
  padding: 12px;
  width: 280px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
/* ==================== Media Queries & Responsiveness =================== */
@media (max-width: 900px) {
  .container {
    max-width: 94vw;
    padding-right: 0;
    padding-left: 0;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.50rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .content-wrapper, .content-grid, .icon-set, .partner-list {
    flex-direction: column;
    gap: 15px;
  }
  .footer-nav {
    gap: 13px;
  }
  .section {
    margin-bottom: 36px;
    padding: 28px 7px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 13px;
  }
  .static-map {
    width: 98vw;
    margin-left: -7vw;
    margin-right: -7vw;
  }
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .container {
    max-width: 100vw;
    padding-left: 0;
    padding-right: 0;
  }
  .section {
    padding: 20px 2px;
  }
  .static-map {
    min-width: 100vw;
    border-radius: 0;
    padding: 4px;
  }
}

/* ============= Patterns, Vintage & Retro Details ============ */
body {
  background: repeating-linear-gradient(135deg, #fff8f4 0% 24px, #fff4eb 25px 56px, #fff8f4 57px 108px);
}
section {
  border-radius: var(--radius-card);
  box-shadow: 0 2px 24px rgba(153,92,34,0.07);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
}
.card, .testimonial-card, .partner-list li {
  background: repeating-linear-gradient(120deg, #fff7e8 0 24px, #fff3d2 24px 48px, #fff7e8 48px 72px);
  border: 1.5px solid var(--color-border);
}
.cta-button {
  font-family: 'Merriweather', serif;
  text-transform: uppercase;
  letter-spacing: .06em;
  box-shadow: 0 2px 18px rgba(255,199,115,0.10);
  border: 2.5px solid var(--color-primary-dark);
  background: var(--color-accent-alt);
}
.cta-button:after {
  content: '\2192';
  margin-left: 8px;
  font-family: inherit;
  font-size: 1.04em;
  vertical-align: middle;
  opacity: .70;
}
.cta-button:hover:after {
  transform: translateX(3px);
  transition: transform var(--transition);
}

/* ============== Micro-interactions & Transitions ============ */
.card, .testimonial-card, .partner-list li, .cookie-modal {
  transition: box-shadow var(--transition), background var(--transition), transform var(--transition);
}
.card:hover, .partner-list li:hover {
  background: #fffbe7;
  transform: translateY(-1.5px) scale(1.012);
}
.testimonial-card:hover {
  background: #fff7e8;
  box-shadow: var(--shadow-card-hover);
}

/* ================== Accessibility & Focus ===================== */
a:focus, button:focus {
  outline: 2px dashed var(--color-accent-alt);
  outline-offset: 2px;
}
/* ================= Hide visually but accessible =============== */
.visually-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =========== Decorative Only (never for content/real cards) ========== */
.vintage-deco-corner {
  position: absolute;
  width: 32px;
  height: 32px;
  z-index: 1;
  pointer-events: none;
  opacity: .22;
}
.vintage-deco-corner.top-left { top: -12px; left: -12px; background: url('../assets/deco-corner.svg') no-repeat; }
.vintage-deco-corner.bottom-right { bottom: -12px; right: -12px; background: url('../assets/deco-corner.svg') no-repeat 100% 100%; transform: rotate(180deg); }

/* ==================== End of CSS ===================== */
