/* ==== 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;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  background: #faf9f7;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #222;
  background: #faf9f7;
  line-height: 1.666;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #943124;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #375433;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
}
button:focus, a:focus {
  outline: 2px solid #943124;
  outline-offset: 2px;
}

/* ==== BRAND TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  color: #943124;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
p, ul, ol, .text-section {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #222;
  margin-bottom: 14px;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}

/* ==== CONTAINER & SPACING ====*/
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 28px 0 rgba(37, 33, 29, 0.06);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid #e6ddd2;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(37, 33, 29, 0.04);
  margin-bottom: 20px;
  padding: 28px 24px;
  position: relative;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(37, 33, 29, 0.10);
  transform: translateY(-2px) scale(1.01);
  z-index: 2;
}
.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;
  background: #F1D7B2;
  border-left: 6px solid #943124;
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(37, 33, 29, 0.07);
  transition: box-shadow 0.2s;
}
.testimonial-card p {
  color: #18130f;
  font-style: italic;
  font-size: 1.1rem;
}
.testimonial-card span {
  font-size: 1rem;
  color: #375433;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  margin-bottom: 18px;
}

/* ==== HEADER ==== */
header {
  background: #fff8f2;
  border-bottom: 2px solid #F1D7B2;
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  min-height: 72px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
header img {
  height: 50px;
  margin-left: 20px;
  margin-right: 10px;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 8px;
  font-family: 'Roboto Slab', Georgia, serif;
}
.desktop-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 500;
  color: #943124;
  transition: background 0.2s, color 0.2s;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  background: #F1D7B2;
  color: #375433;
}
.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 10px 32px;
  font-size: 1.07rem;
  cursor: pointer;
  margin-left: 14px;
  min-width: 180px;
  box-shadow: 0 2px 8px rgba(37,33,29,0.03);
  transition: background 0.2s, color 0.2s, box-shadow 0.18s, transform 0.14s;
  text-align: center;
  letter-spacing: 0.01em;
  text-decoration: none;
  outline: none;
}
.btn-primary {
  background: #943124;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #375433;
  color: #fff;
  box-shadow: 0 4px 24px rgba(37,33,29,0.09);
  transform: translateY(-1px) scale(1.025);
}
.btn-secondary {
  background: #fff;
  color: #943124;
  border: 2px solid #943124;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #943124;
  color: #fff;
  border-color: #943124;
}

.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #943124;
  border: 2px solid #943124;
  border-radius: 10px;
  padding: 9px 18px;
  font-size: 1.85rem;
  margin: 0 18px 0 0;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
  z-index: 1001;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F1D7B2;
  color: #375433;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 86vw;
  max-width: 350px;
  height: 100vh;
  background: #fff8f2;
  box-shadow: -4px 0 32px rgba(148,49,36, 0.18);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.86,.01,.17,1);
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 24px 18px 24px;
  gap: 18px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #943124;
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 12px;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #375433;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.2rem;
  color: #943124;
  background: transparent;
  border-radius: 8px;
  padding: 10px 6px;
  transition: background 0.14s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F1D7B2;
  color: #375433;
}

/* ==== FOOTER ==== */
footer {
  background: #fff8f2;
  border-top: 2px solid #F1D7B2;
  margin-top: 60px;
  padding: 26px 0;
}
.footer-nav {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #375433;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1rem;
  border-radius: 7px;
  padding: 6px 10px;
  transition: background 0.18s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F1D7B2;
  color: #943124;
}
.footer-contact {
  color: #375433;
  text-align: center;
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.55;
}
.footer-contact span {
  margin: 0 2px;
}

/* ==== SECTION + HOME/LISTINGS ==== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 28px 0 rgba(37, 33, 29, 0.06);
}
section[aria-label] {
  background: #fff8f2;
  border: 1px solid #f3e6d6;
}
section:last-child {
  margin-bottom: 0;
}
section h2 {
  font-family: 'Roboto Slab', Georgia, serif;
  color: #375433;
}
section ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 0;
}
section ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.04rem;
  color: #222;
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.45;
}
section ul li img {
  display: inline-block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
input[type='search'] {
  width: 100%;
  max-width: 340px;
  padding: 12px 18px;
  font-size: 1.05rem;
  border: 1px solid #e6ddd2;
  border-radius: 12px;
  background: #F1D7B2;
  color: #375433;
  margin-top: 12px;
  box-shadow: 0 1px 4px rgba(37,33,29, 0.03);
  margin-bottom: 18px;
  transition: border 0.17s;
}
input[type='search']:focus {
  border: 1.5px solid #943124;
}

/* ==== GENERAL LISTINGS/CARDS ==== */
.card-grid, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid #e6ddd2;
  border-radius: 18px;
}
.card h3 {
  color: #943124;
}

/* ==== UTILITY CLASSES ==== */
.text-center {
  text-align: center!important;
}
.mt-40 { margin-top: 40px; }
.mt-24 { margin-top: 24px; }
.mb-40 { margin-bottom: 40px; }
.mb-24 { margin-bottom: 24px; }
.w-100 { width: 100%; }

/* === ANIMATIONS & MICRO-INTERACTIONS === */
.btn-primary, .btn-secondary, .mobile-menu-toggle {
  transition: color 0.18s, background 0.18s, box-shadow 0.21s, transform 0.12s;
}
.card, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.13s;
}
.card:hover, .card:focus {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 8px 32px rgba(37, 33, 29, 0.10);
  z-index: 2;
}
.btn:active { transform: scale(0.98); }

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff8f2;
  border-top: 2px solid #F1D7B2;
  box-shadow: 0 1px 18px rgba(37,33,29,0.08);
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 22px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  color: #222;
  animation: slideup-banner 0.5s cubic-bezier(.48,.01,.42,1);
}
@keyframes slideup-banner {
  0% { transform: translateY(100%); opacity:0; }
  90% { transform: translateY(-10px); opacity:1; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner .cookie-btn {
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 8px 22px;
  font-size: 1rem;
  cursor: pointer;
  margin-left: 7px;
  min-width: 120px;
  transition: background 0.15s, color 0.13s, box-shadow 0.17s;
}
.cookie-banner .accept {
  background: #943124;
  color: #fff;
}
.cookie-banner .accept:hover {
  background: #375433;
}
.cookie-banner .reject {
  background: #fff;
  border: 2px solid #943124;
  color: #943124;
}
.cookie-banner .reject:hover {
  background: #943124;
  color: #fff;
}
.cookie-banner .settings {
  background: #F1D7B2;
  color: #943124;
}
.cookie-banner .settings:hover {
  background: #943124;
  color: #fff;
}

/* ==== COOKIE PREFERENCES MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(52,52,52,0.2);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff8f2;
  border: 2px solid #F1D7B2;
  border-radius: 16px;
  box-shadow: 0 2px 32px rgba(148, 49, 36, 0.14);
  padding: 36px 30px 22px 30px;
  min-width: 320px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  animation: animCookiesModal 0.48s cubic-bezier(.48,.01,.42,1);
}
@keyframes animCookiesModal {
  0% { transform: scale(0.93); opacity:0; }
  100% { transform: scale(1); opacity:1; }
}
.cookie-modal .modal-close {
  position: absolute;
  right: 18px; top:16px;
  background: none;
  border: none;
  color: #943124;
  font-size: 1.7rem;
  cursor: pointer;
  z-index: 1;
  padding: 0;
  transition: color 0.15s;
}
.cookie-modal .modal-close:hover { color: #375433; }
.cookie-modal h3 {
  color: #943124;
  font-size: 1.23rem;
  font-family: 'Roboto Slab', Georgia, serif;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 6px;
}
.cookie-category label {
  color: #222;
  font-weight: 500;
}
.cookie-category input[type=checkbox] {
  width: 19px; height: 19px;
  accent-color: #943124;
}
.cookie-category input[type=checkbox]:disabled {
  opacity: .58;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 18px;
}
.cookie-modal .modal-actions button {
  border-radius: 10px;
  border: none;
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  padding: 8px 18px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal .accept {
  background: #943124;
  color: #fff;
}
.cookie-modal .accept:hover {
  background: #375433;
}
.cookie-modal .reject {
  background: #fff;
  border: 2px solid #943124;
  color: #943124;
}
.cookie-modal .reject:hover {
  background: #943124;
  color: #fff;
}

/* ==== RESPONSIVE DESIGN ==== */
@media screen and (max-width: 1200px) {
  .container { max-width: 98vw; }
}
@media screen and (max-width: 990px) {
  .container { padding-left: 16px; padding-right: 16px; }
  header img { margin-left: 9px; }
}
@media screen and (max-width: 850px) {
  .container { padding-left: 6px; padding-right: 6px; }
  header img { margin-left: 0; }
  .desktop-nav a { padding: 7px 8px; }
}

@media screen and (max-width: 768px) {
  .container { max-width: 100vw; }
  /* Header adjustments */
  .desktop-nav {
    display: none;
  }
  .btn-primary, .btn-secondary {
    min-width: 0;
    width: 100%;
    margin-left: 0;
    margin-top: 12px;
  }
  .mobile-menu-toggle {
    display: inline-block!important;
  }
  header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0 2px 0;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 15px 6px;
    font-size: .99rem;
    text-align: center;
  }
  section {
    margin-bottom: 38px;
    padding: 22px 5px;
    border-radius: 12px;
  }
  .section {
    margin-bottom: 38px;
    padding: 22px 5px;
    border-radius: 12px;
  }
  .testimonial-card {
    padding: 12px;
    border-radius: 10px;
    gap: 12px;
  }
  .card {
    padding: 18px 10px;
    border-radius: 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  footer {
    padding: 13px 0 7px 0;
    border-radius: 0;
    margin-top: 18px;
  }
  .footer-nav, .footer-contact {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    margin-bottom: 7px;
  }
  h1 {
    font-size: 1.65rem;
    margin-bottom: 14px;
  }
  h2 {
    font-size: 1.24rem;
    margin-bottom: 12px;
  }
  p, ul li, .footer-contact {
    font-size: .98rem;
  }
}

/* Min-width for hamburger on mobile only */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    min-width: 48px;
    min-height: 48px;
  }
}

/* Ensure hamburger overlays menu properly */
@media (max-width: 768px) {
  .mobile-menu {
    width: 94vw;
    max-width: 98vw;
    top: 0;
    right: 0;
    height: 100vh;
    transform: translateX(100%);
    padding: 33px 12px 18px 24px;
    z-index: 9999;
  }
  .mobile-menu.open {
    transform: translateX(0);
    box-shadow: -4px 0 32px rgba(148,49,36, 0.18);
  }
}


/* === FOCUS VISIBLE HIGHLIGHT === */
:focus-visible {
  outline: 2.5px solid #943124;
  outline-offset: 2px;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
  width: 12px;
  background: #F1D7B2;
}
::-webkit-scrollbar-thumb {
  background: #d6b486;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #943124;
}

/* === HIDE FOR PRINT === */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none!important; }
}

/* ========== END CSS ========== */