/* === 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  background: #F4F1ED;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #28313A;
  font-size: 16px;
  min-height: 100vh;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  background-color: transparent;
  color: #28313A;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #C9A46C;
  outline: none;
}
img {
  border: 0;
  max-width: 100%;
  height: auto;
  display: block;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #28313A;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.3rem; margin-bottom: 8px; }
h4, h5, h6 { font-size: 1rem; }
p, li, blockquote, cite {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #28313A;
}
blockquote {
  border-left: 3px solid #C9A46C;
  margin: 0 0 12px 0;
  padding-left: 14px;
  font-style: italic;
  color: #28313A;
  background: #FDFBFA;
}
cite {
  font-style: normal;
  color: #C9A46C;
  font-weight: 600;
}

/* === BRAND FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;600&display=swap');

/* === CONTAINERS & SECTIONS === */
.container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 28px;
  box-shadow: 0 2px 10px 0 rgba(54, 49, 44, 0.03);
}

/* === HEADER & NAVIGATION === */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FDFBFA;
  padding: 18px 22px;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  box-shadow: 0 2px 18px 0 rgba(41, 34, 22, 0.06);
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  margin: 0 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: 0.02em;
  color: #28313A;
  position: relative;
  padding: 6px 2px;
  transition: color 0.18s;
}
.main-nav a:after {
  content: '';
  display: block;
  margin: 0 auto;
  width: 0;
  height: 2px;
  background: #C9A46C;
  border-radius: 2px;
  transition: width 0.23s;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 60%;
}
.main-nav a:hover, .main-nav a:focus {
  color: #C9A46C;
}
.button-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #C9A46C;
  color: #28313A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.02rem;
  border-radius: 100px;
  border: none;
  padding: 11px 32px;
  cursor: pointer;
  box-shadow: 0 3px 18px 0 rgba(201, 164, 108, 0.08);
  transition: background 0.21s, color 0.16s, box-shadow 0.18s, transform 0.12s;
}
.button-primary:hover, .button-primary:focus {
  background: #ffd287;
  color: #2a2f3a;
  box-shadow: 0 6px 30px 0 rgba(201, 164, 108, 0.18);
  transform: translateY(-2px) scale(1.03);
}
.button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: #C9A46C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  border: 2px solid #C9A46C;
  border-radius: 100px;
  padding: 10px 26px;
  cursor: pointer;
  transition: background 0.21s, color 0.16s, border 0.15s, transform 0.14s;
}
.button-secondary:hover, .button-secondary:focus {
  background: #C9A46C;
  color: #28313A;
  border-color: #C9A46C;
  transform: translateY(-2px) scale(1.03);
}
.mobile-menu-toggle {
  display: none;
  background: #C9A46C;
  color: #28313A;
  border: none;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #ffd287;
  outline: none;
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(40, 49, 58, 0.98);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.86,.01,.21,1.01);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 60px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px; right: 22px;
  background: #C9A46C;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px; height: 44px;
  color: #28313A;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 2001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #ffd287;
  color: #28313A;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  color: #fff;
  font-weight: 700;
  text-align: left;
  padding: 9px 3px;
  border-radius: 8px;
  transition: background 0.16s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #C9A46C;
  color: #28313A;
}

/* === PAGE STRUCTURE === */
main {
  display: flex;
  flex-direction: column;
  gap: 0px;
  margin-bottom: 60px;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 2px 14px 0 rgba(41, 35, 20, 0.045);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(41, 35, 20, 0.045);
  transition: box-shadow 0.21s, transform 0.15s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 29px -4px rgba(201, 164, 108, 0.15);
  transform: translateY(-3px) scale(1.015);
}
.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;
  background: #F4F1ED;
  color: #28313A;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 1px 12px 0 rgba(41, 35, 20, 0.07);
  flex-wrap: wrap;
  transition: box-shadow 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 30px -7px rgba(201, 164, 108, 0.08);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 14px;
}
.feature-grid > div {
  background: #FDFBFA;
  border-radius: 18px;
  box-shadow: 0 1px 8px 0 rgba(201, 164, 108, 0.06);
  padding: 26px 26px 22px 26px;
  min-width: 240px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 30px -4px rgba(201, 164, 108, 0.13);
  transform: translateY(-2px) scale(1.01);
}
.feature-grid img {
  width: 42px;
  margin-bottom: 7px;
  filter: drop-shadow(0 0 3px #C9A46C33);
}

ul, ol {
  margin-bottom: 12px;
  padding-left: 18px;
}
ul {
  list-style-type: disc;
}
li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #28313A;
}
li img {
  margin-right: 11px;
  vertical-align: middle;
  height: 20px;
  width: 20px;
}
/* Decorative accents: playful underline for headings */
h2, h3 {
  position: relative;
}
h2::after, h3::after {
  content: '';
  display: block;
  width: 38px;
  height: 4px;
  background: #C9A46C;
  border-radius: 4px;
  margin-top: 4px;
}
h2 {
  margin-bottom: 17px;
}
h3 {
  margin-bottom: 12px;
}

/* === FOOTER === */
footer {
  background: #28313A;
  color: #fff;
  padding: 36px 0 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.footer-nav {
  margin-bottom: 13px;
}
.footer-nav nav {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.footer-nav a {
  color: #C9A46C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  opacity: 0.85;
  transition: color 0.15s, opacity 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  opacity: 1;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin-top: 3px;
}
.footer-brand img {
  width: 53px;
  height: 53px;
}
.brand-info {
  font-size: 1rem;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  opacity: 0.93;
  letter-spacing: 0.01em;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: #28313A;
  color: #fff;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 30px 18px 26px 18px;
  box-shadow: 0 -3px 18px 0 rgba(41,35,20,0.11);
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: transform 0.4s;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner-message {
  text-align: center;
  margin-bottom: 10px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  border: none;
  border-radius: 100px;
  padding: 10px 22px;
  background: #C9A46C;
  color: #28313A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.19s, color 0.14s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #ffd287;
  color: #2a2f3a;
}
.cookie-btn.secondary {
  background: transparent;
  color: #C9A46C;
  border: 2px solid #C9A46C;
}
.cookie-btn.secondary:hover {
  background: #C9A46C;
  color: #28313A;
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; bottom: 0; top: 0;
  z-index: 4000;
  background: rgba(40, 49, 58, 0.87);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.23s;
  opacity: 1;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #28313A;
  border-radius: 26px;
  padding: 34px 24px 28px 24px;
  min-width: 320px;
  max-width: 450px;
  box-shadow: 0 4px 40px 0 rgba(41,35,20,0.15);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-modal h2 {
  font-size: 1.28rem;
  color: #C9A46C;
  margin-bottom: 0;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #E4DAC7;
  border-radius: 11px;
  cursor: pointer;
  position: relative;
  outline: none;
  transition: background 0.15s;
}
.cookie-toggle:checked {
  background: #C9A46C;
}
.cookie-toggle::after {
  content: '';
  display: block;
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(41,35,20,0.08);
  transition: left 0.15s;
}
.cookie-toggle:checked::after {
  left: 18px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 7px;
}
.cookie-modal-close {
  background: transparent;
  border: none;
  color: #C9A46C;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  opacity: 0.8;
  margin-left: auto;
  transition: color 0.14s, opacity 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #28313A;
  opacity: 1;
}

/* === ANIMATION KEYFRAMES === */
@keyframes slideInMenu {
  0% { transform: translateX(100%); }
  100% { transform: translateX(0); }
}
@keyframes slideOutMenu {
  0% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes popIn {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

/* === CREATIVE ARTISTIC TOUCHES === */
.section {
  /* Vibrant colored border accent, painted style */
  border-left: 7px solid #C9A46C;
  position: relative;
  box-shadow: 0 6px 30px 0 rgba(201, 164, 108, 0.058);
}
.section:before {
  content: '';
  display: block;
  position: absolute;
  border-radius: 99px;
  top: -15px;
  left: 14px;
  width: 70px;
  height: 13px;
  background: #ffd28733;
  z-index: 0;
}
section > .container, .section .container {
  position: relative;
  z-index: 1;
}

.feature-grid > div, .card {
  /* Hand-drawn shadow for artisan feel */
  box-shadow: 0 2px 12px 0 #C9A46C33, 0 6px 15px 0 #28313A08;
}

h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: none;
  letter-spacing: 0.02em;
}
h1 {
  text-shadow: 2px 3px #F4F1ED, 0 5px 18px #C9A46C22;
  color: #28313A;
}
h2 {
  text-shadow: 1px 2px #F4F1ED, 0 4px 16px #C9A46C22;
}
h3 {
  color: #C9A46C;
}

/* Artistic separator under some content blocks */
.artistic-sep {
  width: 60px;
  height: 6px;
  background: #C9A46C;
  opacity: 0.19;
  border-radius: 3px;
  margin: 22px 0;
}

/* === RESPONSIVE BREAKPOINTS === */
@media (max-width: 1050px) {
  .container {
    max-width: 97vw;
    padding: 0 8px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 20px;
  }
  header {
    padding: 13px 8px;
  }
}
@media (max-width: 768px) {
  header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 16px 9px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
    padding: 18px 14px 17px 16px;
  }
  .section {
    padding: 26px 7px;
    margin-bottom: 38px;
  }
}
@media (max-width: 585px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.06rem; }
  .footer-nav nav { flex-direction: column; gap: 7px; }
  .footer-brand { flex-direction: column; gap: 5px; }
  .brand-info { font-size: 0.97rem; text-align: center; }
  .cookie-modal { min-width: 0; max-width: 96vw; padding: 22px 7px; }
}

/* === UTILITY CLASSES === */
.hide { display: none !important; }
.flex-col { display: flex; flex-direction: column; }
.flex-row { display: flex; flex-direction: row; }
.gap-20 { gap: 20px; }
.gap-32 { gap: 32px; }

/* === MICRO-INTERACTIONS & FOCUS STATES === */
.button-primary:focus-visible, .button-secondary:focus-visible,
.mobile-menu-toggle:focus-visible, .mobile-menu-close:focus-visible {
  outline: 3px solid #C9A46C;
  outline-offset: 2px;
}
a:focus-visible {
  outline: 2px solid #C9A46C;
}
input, button, select, textarea {
  font-family: inherit;
}

/* === FORMS (for contact page preview) === */
input, textarea {
  border-radius: 7px;
  border: 1.5px solid #C9A46C;
  padding: 11px 13px;
  font-size: 1rem;
  background: #FDFBFA;
  color: #28313A;
  margin-bottom: 18px;
  width: 100%;
  transition: border 0.17s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #28313A;
}

/* === ANIMATED ELEMENTS === */
.section, .testimonial-card, .feature-grid > div,
.button-primary, .button-secondary, .card {
  animation: fadeIn 0.7s ease;
}

/* === Misc fixes === */
::-webkit-input-placeholder { color: #9C978A; }
::-moz-placeholder { color: #9C978A; }
:-ms-input-placeholder { color: #9C978A; }
::placeholder { color: #9C978A; }

.table { display: flex; flex-direction: column; width: 100%; }

/* === EXTRAS: Artistic touch for links === */
a:hover, a:focus {
  text-decoration: underline wavy #C9A46C 2.5px;
}

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