/* -------------------- 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;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #FEF9F3;
  color: #2B3A42;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  border-radius: 12px;
}
a {
  color: #2B3A42;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover, a:focus {
  color: #A0742D;
  outline: none;
}
ul, ol {
  margin-left: 1.3em;
  margin-bottom: 1.2em;
}
li {
  margin-bottom: 0.5em;
}

/* -------------------- BRAND COLOR VARIABLES -------------------- */
:root {
  --primary: #2B3A42;
  --secondary: #7C8287;
  --accent: #E5DCC3;
  --warm-bg: #FEF9F3;
  --card-bg: #FFF9ED;
  --highlight: #F5E5D1;
  --error: #D77E6B;
  --success: #89B67A;
  --shadow: 0 2px 12px rgba(200,150,86,0.13);
  --btn-shadow: 0 2px 6px rgba(200,150,86,0.16);
  --btn-radius: 32px;
  --card-radius: 16px;
  --fast: 0.18s cubic-bezier(0.52,0.11,0.39,0.94);
  --slow: 0.38s cubic-bezier(0.42,1.1,0.48,0.95);
}

/* -------------------- FONTS -------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.16;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 22px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
}

p, li, blockquote, span, a, label, input, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
}
blockquote {
  font-size: 1.13rem;
  font-style: italic;
  color: #555;
  background: var(--highlight);
  border-left: 5px solid var(--accent);
  padding: 16px 22px;
  margin-bottom: 10px;
  border-radius: 10px 18px 20px 10px;
}

strong {
  color: var(--primary);
  font-weight: 700;
}

/* -------------------- CONTAINERS & SPACING -------------------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 24px 20px 22px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .content-wrapper, .card-container, .cards, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .card {
    padding: 18px 12px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }
}

/* -------------------- HEADER & NAVIGATION -------------------- */
header {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(43,58,66,.07);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 7px;
  padding-bottom: 7px;
}
header img {
  height: 48px;
  width: auto;
  border-radius: 12px;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  padding: 8px 14px;
  border-radius: 20px;
  transition: background var(--fast), color var(--fast);
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
.btn-primary {
  background: var(--accent);
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.13rem;
  padding: 13px 32px;
  border: none;
  border-radius: var(--btn-radius);
  box-shadow: var(--btn-shadow);
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.17s, color 0.17s, box-shadow .18s;
  display: inline-block;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: #EDC275;
  color: #432d13;
  box-shadow: 0 4px 20px rgba(237,194,117,.09);
}
.btn-secondary {
  background: var(--primary);
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1.03rem;
  border: none;
  padding: 11px 28px;
  border-radius: var(--btn-radius);
  box-shadow: var(--btn-shadow);
  cursor: pointer;
  transition: background .17s, color .18s;
  display: inline-block;
  text-align: center;
  margin-left: 0;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #504333;
  color: #fff;
  box-shadow: 0 3px 15px rgba(80,67,51,0.10);
}

/* Hamburger (mobile-menu-toggle) */
.mobile-menu-toggle {
  background: var(--accent);
  color: var(--primary);
  font-size: 2.1rem;
  border: none;
  border-radius: 16px;
  padding: 6px 16px 6px 16px;
  margin-left: 8px;
  display: none;
  cursor: pointer;
  transition: background .17s, color .16s;
  box-shadow: 0 1px 6px rgba(229,220,195,0.11);
}
.mobile-menu-toggle:focus {
  outline: 2px solid #D7A53C;
}

@media (max-width:976px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* -------------------- MOBILE MENU OVERLAY -------------------- */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(43,58,66,0.96);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transition: transform var(--slow);
  transform: translateX(-100vw);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--accent);
  color: var(--primary);
  font-size: 2rem;
  border: none;
  border-radius: 20px;
  margin: 14px 0 18px 16px;
  padding: 4px 17px 6px 17px;
  align-self: flex-start;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(229,220,195,0.11);
  transition: background .16s;
}
.mobile-menu-close:focus {
  outline: 2px solid #EDC275;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-left: 38px;
  margin-top: 16px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  padding: 11px 4px 13px 0;
  text-decoration: none;
  transition: color .15s;
  border-radius: 10px;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  background: #413110;
  padding-left: 12px;
}
@media (min-width: 977px) {
  .mobile-menu {
    display: none;
  }
}

/* Prevent scrolling when menu open */
body.mobile-menu-open {
  overflow: hidden;
}

/* -------------------- FOOTER -------------------- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 36px 0 20px 0;
  font-size: 1rem;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 11px;
}
.footer-nav a {
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: color .18s;
  border-radius: 7px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFF9ED;
  background: #96843b;
  padding-left: 8px;
}
footer p {
  font-size: .98rem;
  color: #FFECC2;
}

/* -------------------- SECTION & FLEX SPACING REQS -------------------- */
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;
  background: var(--card-bg);
  box-shadow: var(--shadow);
  padding: 20px;
  border-radius: var(--card-radius);
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: #2B3A42;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -------------------- HERO & LAYOUT ADJUSTMENTS -------------------- */
@media (max-width: 768px) {
  section {
    padding: 25px 8px 35px 8px;
    margin-bottom: 40px;
  }
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.1rem;
  }
}

section:last-child {
  margin-bottom: 0;
}

.content-wrapper > * + * {
  margin-top: 0px;
} 

/* -------------------- LISTS -------------------- */
ul, ol {
  color: #4C5C63;
  margin-bottom: 10px;
  padding-left: 20px;
}
ul {
  list-style: disc inside;
}
ol {
  list-style: decimal inside;
}
.text-section ul, .content-wrapper ul {
  gap: 0;
  margin-bottom: 0.7em;
}
ul li, ol li {
  margin-left: 0;
  margin-bottom: 8px;
}

/* -------------------- TESTIMONIALS -------------------- */
.testimonial-card {
  background: var(--card-bg);
  color: #232323;
  border-radius: 18px;
  box-shadow: 0 2px 13px rgba(186,148,86,0.10);
  font-size: 1.10rem;
  margin-bottom: 20px;
  padding: 20px 32px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 210px;
}
.testimonial-card blockquote {
  color: #514C45;
  margin: 0 0 8px 0;
}
.testimonial-card p {
  font-size: 1rem;
  color: #333;
  font-style: normal;
  margin: 0 0 0 8px;
  font-family: 'Montserrat', sans-serif;
}

/* -------------------- SOCIAL LINKS -------------------- */
section .content-wrapper ul li img {
  vertical-align: middle;
  margin-right: 9px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
}

/* -------------------- INTERACTIVE STATES -------------------- */
.btn-primary, .btn-secondary, button, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.18s, box-shadow 0.18s, color 0.18s, transform 0.13s;
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.97);
}
a:active {
  color: #D3AB57;
}

/* -------------------- FORM STYLES (Contact, Cookie Banner, etc) -------------------- */
input, textarea {
  background: #fff;
  border: 1.5px solid var(--accent);
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 1rem;
  color: var(--primary);
  outline: none;
  width: 100%;
  margin-bottom: 18px;
  font-family: 'Open Sans', sans-serif;
  box-shadow: 0 1px 0.5px rgba(120,100,70,0.06);
  transition: border-color .15s;
}
input:focus, textarea:focus {
  border-color: #D3AB57;
}
label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 5px;
  display: block;
}

/* -------------------- COOKIE CONSENT BANNER -------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #543f25;
  color: #fff;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  box-shadow: 0 -2px 22px rgba(68,50,16,0.11);
  z-index: 10000;
  padding: 32px 18px 26px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s, transform 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(170px);
  pointer-events: none;
}
.cookie-banner p {
  color: #FFECC2;
  font-size: 1rem;
  margin-bottom: 8px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.cookie-banner .btn-cookie {
  border: none;
  border-radius: 24px;
  padding: 11px 26px;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-right: 4px;
  margin-left: 0;
  cursor: pointer;
  transition: background .16s, box-shadow .14s, color .14s;
  box-shadow: 0 1px 6px rgba(229,220,195,0.11);
}
.cookie-banner .btn-cookie.accept {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner .btn-cookie.accept:hover {
  background: #FFD892;
  color: #543f25;
}
.cookie-banner .btn-cookie.reject {
  background: #D77E6B;
  color: #fff;
}
.cookie-banner .btn-cookie.reject:hover {
  background: #B76852;
}
.cookie-banner .btn-cookie.settings {
  background: #fff9ea;
  color: #2B3A42;
  border: 1px solid var(--accent);
}
.cookie-banner .btn-cookie.settings:hover {
  background: #FFF4D2;
}

@media (max-width: 600px) {
  .cookie-banner {
    padding: 22px 8px 22px 8px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }
}

/* -------------------- COOKIE CONSENT MODAL -------------------- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43,58,66,0.7);
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: var(--card-bg);
  color: var(--primary);
  border-radius: 22px;
  box-shadow: 0 2px 32px rgba(80,60,20,0.15);
  padding: 34px 28px 22px 28px;
  min-width: 320px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalIn .28s var(--fast);
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: translateY(50px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-modal-title {
  font-size: 1.22rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 7px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.cookie-category label {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.04rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--accent);
  margin-right: 6px;
  transform: scale(1.18);
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 9px;
}
.cookie-modal .btn-cookie {
  padding: 11px 26px;
}

.cookie-category .always-on {
  font-size: .98rem;
  color: #4c5c63;
  background: #E6E5DA;
  border-radius: 10px;
  padding: 2px 9px 2px 7px;
  margin-left: 7px;
}

@media (max-width: 430px){
  .cookie-modal {
    min-width: unset;
    padding: 18px 7px 13px 7px;
  }
}

/* -------------------- MISC & UTILITIES -------------------- */
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.align-center { align-items: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* -------------------- OVERRIDE TO PREVENT OVERLAPPING & BOX SIZING -------------------- */
section, .card, .testimonial-card, .card-container, .container, .content-wrapper, .text-section, .cards, .content-grid { box-sizing: border-box; }

/* -------------------- ACCESSIBILITY: FOCUS VISIBLE INDICATORS -------------------- */
a:focus-visible, button:focus-visible, .btn-primary:focus-visible, .btn-secondary:focus-visible {
  outline: 2.5px solid #A0742D;
  outline-offset: 2px;
}

/* -------------------- RESPONSIVE LAYOUT CORRECTIONS -------------------- */
@media (max-width: 576px) {
  header img {
    height: 36px;
  }
  .btn-primary, .btn-secondary {
    padding: 11px 12vw;
    font-size: 0.98rem;
  }
}

/* -------------------- CARD VARIANTS: PROMOS, ALERTS, ETC. -------------------- */
.card.promo, .promo-card {
  background: var(--highlight);
  color: #674F28;
  border: 1.5px solid var(--accent);
  font-weight: 500;
  box-shadow: 0 2px 16px rgba(246,215,140,0.14);
}
.card.error {
  background: #F7DED5;
  color: var(--error);
  border: 1.5px solid #D77E6B;
}
.card.success {
  background: #EAF2E6;
  color: var(--success);
  border: 1.5px solid #89B67A;
}

/* -------------------- SMOOTH SECTION/CONTENT FADE-IN -------------------- */
.section, .card, .testimonial-card, .card-content, .card-container {
  opacity: 1;
  transition: opacity 0.29s;
}

/* -------------------- ADDITIONAL ANIMATIONS -------------------- */
.btn-primary, .btn-secondary, .btn-cookie, .mobile-menu-toggle, .mobile-menu-close {
  transition: all 0.17s cubic-bezier(.39,.47,.58,.4);
}
.card, .testimonial-card {
  transition: box-shadow 0.17s, transform 0.18s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 5px 24px rgba(200,150,86,0.18), 0 1.5px 6px rgba(234,227,180,0.14);
  transform: translateY(-3px) scale(1.012);
}

/* -------------------- PRINT FRIENDLINESS -------------------- */
@media print {
  header, .main-nav, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay, footer { display: none !important; }
  body { background: #fff; color: #111; }
  section, .container, .card { box-shadow: none !important; background: #fff !important; color: #232323; }
}
