/* --- 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: #F2ECE5;
  color: #222B34;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #A87744;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #785930;
  outline: none;
}
ul, ol {
  margin-left: 22px;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
  list-style: disc inside;
}
strong, b {
  font-weight: 700;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Montserrat', Arial, sans-serif;
  color: #222B34;
  font-weight: 700;
  margin-bottom: .5em;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.subheadline {
  color: #785930;
  font-size: 1.12rem;
  font-weight: 500;
  margin-bottom: 18px;
  line-height: 1.4;
}

/* --- GENERAL LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 740px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 2px 16px rgba(168, 119, 68, 0.08);
  padding: 28px 22px 22px;
  flex: 1 1 250px;
  min-width: 250px;
  max-width: 335px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: transform .16s, box-shadow .16s;
}
.feature-grid > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(168,119,68,0.17);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
}

/* --- SECTIONS & SPACING (MANDATORY PATTERNS) --- */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
  position: relative;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  position: relative;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2px 16px rgba(168, 119, 68, 0.11);
  margin-bottom: 20px;
  padding: 26px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 250px;
  max-width: 345px;
  transition: box-shadow .15s, transform .12s;
}
.card:hover {
  box-shadow: 0 8px 38px rgba(168,119,68,0.18);
  transform: translateY(-3px) scale(1.012);
}
.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: center;
  gap: 20px;
  padding: 20px 25px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(168,119,68,0.10);
  margin-bottom: 22px;
  min-width: 260px;
  max-width: 420px;
  flex: 1 1 260px;
}
.testimonial-card p {
  color: #222B34;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.5;
}
.testimonial-card strong {
  color: #A87744;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}
.testimonial-card div {
  font-size: 1.07rem;
  color: #F2B34D;
  letter-spacing: 2px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* --- MAIN NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(34,43,52,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 16px;
  height: 68px;
  position: relative;
}
.main-nav > a img {
  height: 42px;
  width: auto;
  border-radius: 10px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  align-items: center;
}
.main-nav ul li a {
  font-size: 1.07rem;
  color: #222B34;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 9px 8px;
  border-radius: 9px;
  transition: background .17s, color .14s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: #F2ECE5;
  color: #A87744;
}
.btn-primary {
  background: #A87744;
  color: #fff !important;
  font-family: 'Oswald', 'Montserrat', sans-serif;
  padding: 13px 32px;
  border-radius: 24px;
  font-size: 1.07rem;
  box-shadow: 0 2px 16px rgba(168, 119, 68, 0.12);
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none;
  outline: none;
  cursor: pointer;
  margin-left: 15px;
  transition: background .13s, box-shadow .17s, color .13s;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #81582b;
  color: #fff;
  box-shadow: 0 6px 28px rgba(168, 119, 68, 0.17);
}
.btn-secondary {
  background: transparent;
  color: #A87744;
  border: 1.5px solid #A87744;
  font-family: 'Oswald', 'Montserrat', sans-serif;
  padding: 11px 22px;
  border-radius: 22px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background .13s, color .13s, border .13s;
  display: inline-block;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #A87744;
  color: #fff;
  border-color: #A87744;
}

/* --- RESPONSIVE NAVIGATION --- */
.mobile-menu-toggle {
  background: #F2ECE5;
  border: none;
  font-size: 2.1rem;
  color: #A87744;
  border-radius: 10px;
  width: 52px;
  height: 52px;
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 8px;
  right: 18px;
  z-index: 220;
  transition: background .12s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #E1D7CD;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 3000;
  transform: translateX(-105vw);
  transition: transform .35s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 10px 0 32px rgba(34,43,52,0.11);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #F2ECE5;
  border: none;
  font-size: 2rem;
  color: #A87744;
  border-radius: 10px;
  width: 48px;
  height: 48px;
  position: absolute;
  top: 20px;
  right: 24px;
  cursor: pointer;
  z-index: 6;
  transition: background .13s;
}
.mobile-menu-close:active,
.mobile-menu-close:focus {
  background: #E1D7CD;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 84px 0 0 36px;
}
.mobile-nav a {
  font-size: 1.1rem;
  color: #222B34;
  font-family: 'Oswald', 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 15px 0 7px 0;
  min-width: 200px;
  border-radius: 8px;
  transition: background .12s, color .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #A87744;
  background: #F2ECE5;
}

@media (max-width: 1024px) {
  .main-nav ul {
    gap: 15px;
  }
  .feature-grid {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 768px) {
  section, .section { padding: 30px 5px; }
  .container { padding: 0 8px; }
  .content-wrapper {
    gap: 18px;
  }
  .feature-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    min-width: 100%;
    padding: 18px 10px;
  }
  .main-nav {
    padding: 0 6px;
    height: 58px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.11rem; }
  .main-nav > a img { height: 32px; }
}

/* --- CARDS & VISUALS --- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.card strong, .feature-grid strong {
  color: #A87744;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
}
.card a, .feature-grid a {
  margin-top: 10px;
}

/* --- FOOTER --- */
footer {
  background: #222B34;
  color: #fff;
  padding: 38px 0 24px 0;
  width: 100%;
  font-size: 1rem;
  margin-top: 30px;
}
footer .container {
  padding: 0 12px;
}
footer .content-wrapper {
  flex-direction: column;
  gap: 18px;
}
footer nav a {
  color: #F2ECE5;
  margin-right: 6px;
  font-size: 1rem;
  transition: color .13s;
}
footer nav a:hover,footer nav a:focus { color: #A87744; }
.footer-info p, .footer-info a {
  color: #F2ECE5;
  font-size: .97rem;
}

/* ----- COOKIE CONSENT BANNER + MODAL ----- */
.cookie-consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #fff;
  color: #222B34;
  border-radius: 20px;
  box-shadow: 0 2px 18px rgba(34,43,52,0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 19px 32px 19px 28px;
  z-index: 4999;
  font-size: 1.09rem;
  animation: slideCookieIn .6s cubic-bezier(.46,.03,.52,.96) .1s 1;
}
@keyframes slideCookieIn {
  from { transform: translateY(60px); opacity: 0; } to { transform: translateY(0); opacity:1; }
}
.cookie-consent-btns {
  display: flex;
  gap: 14px;
}
.cookie-consent-banner .btn-primary,
.cookie-consent-banner .btn-secondary {
  font-size: 1rem;
  padding: 9px 19px;
  box-shadow: none;
}
.cookie-consent-banner .btn-secondary {
  border-color: #222B34;
  color: #222B34;
}
.cookie-consent-banner .btn-secondary:hover {
  background: #FFF7F0;
  color: #A87744;
}
/* Cookie preferences modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(34,43,52,.25);
  z-index: 5001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal .3s cubic-bezier(.46,.03,.52,.96) 1;
}
@keyframes fadeInCookieModal {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 400px;
  width: 95vw;
  box-shadow: 0 6px 32px rgba(34,43,52,0.18);
  padding: 38px 28px 30px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  animation: fadeInCookieModal .25s cubic-bezier(.46,.03,.52,.96) 1;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  min-height: 38px;
}
.cookie-category label {
  flex: 1;
  font-size: 1.03rem;
  color: #222B34;
}
.cookie-category input[type="checkbox"] {
  width: 22px; height: 22px; accent-color: #A87744;
  border-radius: 6px;
}
.cookie-category input[type="checkbox"]:disabled {
  opacity: 0.7;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  width: 100%;
  margin-top: 16px;
  padding: 10px 0;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 19px;
  background: #F2ECE5;
  color: #A87744;
  font-size: 1.5rem;
  border: none;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 10;
}
.cookie-modal-close:focus,
.cookie-modal-close:active {
  background: #E1D7CD;
}
@media (max-width: 520px) {
  .cookie-consent-banner { flex-direction: column; gap: 8px; text-align: left; padding: 14px 11px; font-size: 1rem; }
  .cookie-consent-btns { justify-content: flex-start; }
  .cookie-modal { padding: 23px 6px 18px 12px; }
}

/* ----- FORM GENERAL (for contact) ----- */
input, textarea, select {
  background: #FCF8F3;
  color: #222B34;
  border: 1.2px solid #A87744;
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 1.06rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 16px;
  width: 100%;
  outline: none;
  transition: border .15s, box-shadow .16s;
  box-shadow: 0 1px 8px rgba(168,119,68,0.04) inset;
}
input:focus, textarea:focus {
  border-color: #785930;
  box-shadow: 0 2px 18px rgba(168,119,68,0.10) !important;
}
label {
  margin-bottom: 6px;
  display: block;
  color: #222B34;
  font-size: 1rem;
}

/* -- MISCELLANEOUS -- */
hr {
  border: none;
  border-top: 1px solid #D6CFC8;
  margin: 24px 0;
}
blockquote {
  padding: 18px 22px;
  background: #fff7ef;
  border-left: 5px solid #A87744;
  border-radius: 10px;
  margin-bottom: 20px;
  color: #785930;
  font-style: italic;
}
.style-description {
  font-style: italic;
  color: #785930;
  font-size: 1.03rem;
  margin-top: 8px;
}

/* --- UTILITY CLASSES --- */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.text-center { text-align: center; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.radius-lg { border-radius: 22px; }
.bg-primary { background: #222B34; color: #fff; }
.bg-accent { background: #F2ECE5; }
.bg-white { background: #fff; }

/* --- MICRO-INTERACTIONS & TRANSITIONS --- */
.btn-primary, .btn-secondary, .main-nav ul li a, .mobile-nav a {
  transition: background .18s, color .18s, box-shadow .18s, border .13s;
}
.feature-grid > div, .card, .testimonial-card {
  transition: box-shadow .15s, transform .13s;
}
input, textarea {
  transition: border .17s, box-shadow .16s;
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
  width: 10px;
  background: #E7DDD2;
}
::-webkit-scrollbar-thumb {
  background: #A87744;
  border-radius: 9px;
}

/* --- ACCESSIBILITY & FOCUS --- */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid #A87744;
  outline-offset: 1px;
}

/* --- PRINT STYLES --- */
@media print {
  nav, .main-nav, .mobile-menu, .mobile-menu-toggle, button, .btn-primary, .btn-secondary, .cookie-consent-banner, .cookie-modal-overlay {
    display: none !important;
  }
}
