/* --- 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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #F9F5F2;
  color: #2D3A3A;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: #2D3A3A; text-decoration: none; transition: color 0.2s; }

/* --- BRAND TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #2D3A3A;
}
h1 { font-size: 2.3rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 1.7rem; margin-bottom: 20px; }
h3 { font-size: 1.2rem; font-weight: 700; margin: 24px 0 12px 0; }
p, ul, ol, li, a {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.65;
}
strong { font-weight: bold; }

/* --- CONTAINERS & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(45,58,58,0.09);
  padding: 32px 28px;
  transition: box-shadow 0.25s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 22px 0 rgba(45,58,58,0.18);
  transform: translateY(-4px) 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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}

.text-section ul, .content-wrapper ul {
  margin-left: 22px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.text-section li, .content-wrapper li {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.6;
}
.text-section a {
  color: #8A5100;
  text-decoration: underline;
  transition: color 0.2s;
}
.text-section a:hover {
  color: #A59E8C;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 2px 6px -2px rgba(45,58,58,0.09);
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.logo img { height: 48px; margin: 16px 0 8px 0; }
header {
  flex-direction: column;
  gap: 0;
}
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: 24px;
}
nav.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #2D3A3A;
  padding: 10px 6px;
  border-radius: 6px;
  transition: background 0.16s, color 0.15s;
}
nav.main-nav a:hover, nav.main-nav a.active {
  color: #f9f5f2;
  background: #2D3A3A;
}
.cta.primary {
  background: #A59E8C;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 32px;
  padding: 11px 32px;
  margin-left: 20px;
  box-shadow: 0 2px 10px 0 rgba(165,158,140,0.09);
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.18s, transform 0.17s;
  display: inline-block;
  position: relative;
  letter-spacing: 0.5px;
}
.cta.primary:hover, .cta.primary:focus {
  background: #2D3A3A;
  color: #fff;
  box-shadow: 0 6px 22px 0 rgba(165,158,140,0.19);
  transform: translateY(-2px) scale(1.04);
}
.cta {
  background: transparent;
  border: 2px solid #A59E8C;
  color: #A59E8C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 32px;
  padding: 9px 28px;
  margin: 10px 0 10px 0;
  transition: background 0.18s, color 0.18s, border 0.18s, transform 0.13s;
  cursor: pointer;
  display: inline-block;
}
.cta:hover { background: #A59E8C; color: #fff; border-color: #2D3A3A; transform: scale(1.04); }

/* Header Layout */
header {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding: 8px 0 8px 0;
  gap: 20px;
}
.logo { margin-left: 8px; margin-right: 10px; }

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: #A59E8C;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  margin-left: auto;
  margin-right: 8px;
  padding: 4px 12px;
  z-index: 101;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(45,58,58, .94);
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(.8, .1, .36, 1.3);
  z-index: 100;
  padding: 0;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  color: #f9f5f2;
  font-size: 2.5rem;
  padding: 14px 24px 10px 10px;
  margin-top: 4vh;
  margin-right: 8px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 90vw;
  margin: 36px 10px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #f9f5f2;
  padding: 16px 4px 16px 0;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.7px;
  transition: color .16s, background .14s;
}
.mobile-nav a:active,
.mobile-nav a:hover { color: #A59E8C; background: rgba(249,245,242,0.06); }

@media (max-width: 1024px) {
  nav.main-nav, .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle { display: block !important; }
}
@media (max-width: 768px) {
  header { flex-wrap: wrap; flex-direction: row; gap: 8px; }
  .logo img { height: 38px; }
  .container { padding: 0 4vw; }
}

/* --- HERO & SECTION LAYOUTS --- */
section, main section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: transparent;
  display: flex;
  width: 100%;
}
section:last-child { margin-bottom: 0; }

.section, .content-wrapper {
  width: 100%;
  margin-bottom: 0;
}

/* --- FEATURES / ICON LISTS --- */
.content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.content-wrapper ul li {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.02rem;
  color: #3E2A11;
  font-family: 'Roboto', Arial, sans-serif;
}
.content-wrapper ul li img {
  height: 32px;
  width: 32px;
  border-radius: 8px;
  background: #F9F5F2;
  border: 1.5px solid #A59E8C44;
  box-shadow: 0 2px 6px rgba(45,58,58,0.11);
  padding: 5px;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  box-shadow: 0 4px 16px 0 rgba(45,58,58,0.09);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.14s;
  max-width: 660px;
  color: #2D3A3A;
}
.testimonial-card p {
  font-style: italic;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2d3a3a;
  font-size: 1.08rem;
  margin-bottom: 0;
}
.testimonial-card span {
  margin-left: auto;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.98rem;
  color: #8A5100;
  font-weight: 600;
}
.testimonial-card:hover {
  box-shadow: 0 10px 34px 0 rgba(45,58,58,0.19);
  transform: scale(1.02);
}

/* --- FOOTER --- */
footer {
  background: #2D3A3A;
  color: #F9F5F2;
  padding: 36px 0 24px 0;
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #A59E8C;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  transition: color 0.19s;
}
.footer-nav a:hover { color: #fff; }
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
}
.footer-brand img { height: 40px; margin-bottom: 6px; }
.footer-brand p { color: #A59E8C; font-size: 0.97rem; margin: 0; font-family: 'Roboto', Arial, sans-serif; }

/* --- COOKIE CONSENT --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 130;
  background: #313D3D;
  color: #f9f5f2;
  box-shadow: 0 -2px 12px 0 rgba(45,58,58,0.21);
  padding: 16px 16px 16px 18px;
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  justify-content: flex-start;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: transform .23s cubic-bezier(.7,.04,.58, 1.3);
  transform: translateY(0);
}
.cookie-banner.hide { transform: translateY(120%); }
.cookie-banner__text { max-width: 500px; color: #f9f5f2; }
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  padding: 8px 22px;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background .17s, color .13s, transform .13s;
  box-shadow: 0 1px 6px 0 rgba(45,58,58,0.07);
  outline: none;
}
.cookie-btn.accept {
  background: #A59E8C;
  color: #fff;
}
.cookie-btn.accept:hover { background: #2D3A3A; }
.cookie-btn.reject {
  background: #fff;
  color: #2d3a3a;
  border: 2px solid #A59E8C;
}
.cookie-btn.reject:hover { background: #A59E8C; color: #fff; }
.cookie-btn.settings {
  background: transparent;
  border: 2px solid #F9F5F2;
  color: #F9F5F2;
}
.cookie-btn.settings:hover { background: #F9F5F2; color: #2D3A3A; }

/* Cookie Modal */
.cookie-modal__backdrop {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(45,58,58,0.51);
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal__backdrop.show { display: flex; }
.cookie-modal {
  background: #fff;
  padding: 36px 28px 22px 28px;
  border-radius: 20px;
  box-shadow: 0 3px 44px 0 rgba(45,58,58,.22);
  color: #2D3A3A;
  min-width: 320px;
  max-width: 98vw;
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal__close {
  background: transparent;
  border: none;
  color: #2d3a3a;
  font-size: 2rem;
  position: absolute;
  top: 10px; right: 18px;
  cursor: pointer;
}
.cookie-modal h2 {
  color: #2D3A3A;
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 1rem;
}
.cookie-toggle {
  width: 38px; height: 22px;
  position: relative;
  background: #A59E8C33;
  border-radius: 24px;
  transition: background 0.15s;
  cursor: pointer;
  border: 1.5px solid #A59E8C77;
}
.cookie-toggle input {
  opacity: 0;
  position: absolute;
  width: 100%; height: 100%;
  left: 0; top: 0;
  cursor: pointer;
}
.cookie-toggle span {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.16s cubic-bezier(.5, .44, .38, 1.4);
  box-shadow: 0 1px 2px rgba(45,58,58,0.10);
}
.cookie-toggle input:checked + span {
  background: #A59E8C;
  left: 18px;
}
.cookie-category.essential .cookie-toggle {
  background: #A59E8C22;
  cursor: not-allowed;
}
.cookie-category.essential .cookie-toggle span {
  background: #A59E8C;
}
.cookie-category.essential label {
  font-weight: bold;
  color: #8A5100;
  opacity: 0.81;
}

/* --- BUTTONS & LINKS --- */
button {
  font-family: inherit;
  cursor: pointer;
}
a:hover, button:focus {
  outline: none;
}

/* --- RESPONSIVE & FLEX LAYOUTS --- */
@media (max-width: 1000px) {
  .container { max-width: 94vw; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
  .content-wrapper, .content-grid { gap: 16px; }
  section, main section { padding: 32px 0; }
  .testimonial-card { flex-direction: column; align-items: flex-start; padding: 18px; }
  .footer-nav { gap: 18px; }
  .footer-brand img { height: 30px; }
}
@media (max-width: 600px) {
  .container { padding: 0 2vw; }
  section, main section { padding: 20px 0; }
  .card { padding: 18px 10px; }
  .testimonial-card { padding: 14px; }
}
.text-image-section { flex-direction: row; }
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 14px; }
}
/* Ensure all label/content layouts are always flex based! */
/* --- ARTISTIC DECORATIVE ELEMENTS --- */
section > .container > .content-wrapper h2 {
  position: relative;
  padding-left: 0;
  z-index: 1;
}
section > .container > .content-wrapper h2::after {
  content: '';
  display: block;
  width: 60px; height: 7px;
  border-radius: 8px 12px 7px 3px;
  background: #A59E8C;
  margin-top: 7px;
  margin-bottom: -6px;
  opacity: 0.28;
}
.testimonial-card {
  background: linear-gradient(90deg,#fff 90%, #A59E8C11 100%);
}
.testimonial-card span strong { color: #A59E8C; font-weight: 700; letter-spacing: 0.5px; font-size: 1.01rem; }

/* --- UNIQUE ARTISTIC BUTTON ELEMENTS --- */
.cta.primary:before {
  content: '';
  display: inline-block;
  width: 12px; height: 12px;
  background: #F9F5F2;
  border-radius: 50%;
  margin-right: 14px;
  vertical-align: middle;
  box-shadow: 0 1.5px 5px 0 #A59E8C22;
  transition: background 0.18s;
}
.cta.primary:hover:before { background: #A59E8C; }

/* --- FORM, INPUTS --- */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: 2px solid #A59E8C;
  border-radius: 5px;
  padding: 10px 12px;
  margin-bottom: 18px;
  background: #fff;
  outline: none;
  transition: border-color 0.16s, box-shadow 0.11s;
}
input:focus, textarea:focus, select:focus {
  border-color: #2D3A3A;
  box-shadow: 0 1px 6px 0 #2D3A3A22;
}
label { font-family: 'Montserrat', Arial, sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 3px; }

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.card, .testimonial-card {
  transition: box-shadow 0.24s, transform 0.19s;
}
.cta, .cta.primary, .cookie-btn {
  transition: background 0.17s, color 0.12s, border 0.18s, transform 0.13s;
}

/* --- ARTISTIC FONTS/FALLBACKS (ensure Google Fonts are loaded with preconnect in <head>) --- */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700 900;
  src: local('Montserrat'), local('Montserrat-Bold'),
    url('https://fonts.gstatic.com/s/montserrat/v25/JTUQjIg1_i6t8kCHKm459WxRhg.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400 700;
  src: local('Roboto'), local('Roboto-Regular'),
    url('https://fonts.gstatic.com/s/roboto/v29/KFOmCnqEu92Fr1Me5Q.woff2') format('woff2');
  font-display: swap;
}

/* --- SPECIAL ARTISTIC EFFECTS (PAINT STROKES) DEMO --- */
h1, h2, .cta.primary, .cta {
  /* Artistic touch: slightly offset shadow for creative depth */
  text-shadow: 0 2px 8px #A59E8C15, 0 2px 0 #fff3;
}

/* --- HELPER CLASSES --- */
.hide { display: none !important; }
.flex { display: flex; }
.center { justify-content: center; align-items: center; }

/* --- ENSURE NO GRID LAYOUTS ARE USED --- */
/* --- END OF FILE --- */
