/* RESET & BASELINE ------------------------- */
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, main, 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F8F8F6;
  color: #23272D;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}
hr {
  border: none;
  border-top: 1px solid #eaeaea;
  margin: 32px 0;
}
a {
  color: #23272D;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #A79367;
  outline-offset: 2px;
}

/* BRAND COLOR VARIABLES --------------------- */
:root {
  --color-primary: #23272D;
  --color-secondary: #A79367;
  --color-accent: #E9E5DC;
  --color-bg: #F8F8F6;
  --color-white: #ffffff;
  --color-black: #111112;
}

/* TYPOGRAPHY -------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, ul, ol {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.7;
}
ul, ol {
  padding-left: 24px;
}
ul li, ol li {
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
  color: var(--color-primary);
}

label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  display: block;
  margin-bottom: 6px;
  margin-top: 16px;
}

/* BUTTON & CTA ----------------------------- */
.cta, button, input[type='submit'], .cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 6px;
  padding: 13px 28px;
  background: var(--color-secondary);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.15s, transform 0.12s;
  box-shadow: 0 2px 8px rgba(35, 39, 45, 0.02);
  margin: 8px 0 0 0;
  display: inline-block;
}
.cta:hover, button:hover, .cookie-banner button:hover {
  background: #76613a;
  color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(167, 147, 103, 0.12);
  transform: translateY(-2px) scale(1.03);
}
.cta:focus, button:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

button {
  font-size: 1rem;
}

/* CONTAINER -------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* HEADER ----------------------------------- */
header {
  background: var(--color-white);
  border-bottom: 1px solid #ececec;
  box-shadow: 0 2px 12px rgba(167, 147, 103, 0.03);
  position: sticky;
  top: 0;
  z-index: 999;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 0;
}
header a img {
  height: 46px;
  margin-right: 28px;
  margin-bottom: 0;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 8px 6px;
  border-radius: 4px;
  transition: background 0.13s, color 0.18s;
}
header nav a:hover {
  background: var(--color-accent);
  color: var(--color-secondary);
}

header .cta {
  margin-left: 22px;
  margin-right: 0;
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-secondary);
  box-shadow: 0 2px 8px rgba(35, 39, 45, 0.05);
}
header .cta:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-secondary);
  cursor: pointer;
  margin-left: 24px;
  line-height: 1;
  padding: 6px 10px;
  transition: color 0.2s, background 0.18s;
  z-index: 1101;
}

/* MOBILE MENU OVERLAY ---------------------- */
.mobile-menu {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(35,39,45,0.97);
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.56,0,.25,1);
  z-index: 1100;
  overflow-y: auto;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 25px;
  right: 26px;
  background: none;
  color: var(--color-white);
  font-size: 2.1rem;
  border: none;
  z-index: 1110;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  transition: background 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 110px 0 0 0;
  padding: 40px 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--color-white);
  padding: 14px 0;
  border-radius: 3px;
  transition: color 0.15s, background 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* HERO & MAIN SECTIONS --------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 20px 0;
}
.card {
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(35,39,45,0.06);
  padding: 26px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(167,147,103,0.13);
  transform: scale(1.02);
}

.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;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

article {
  margin-bottom: 24px;
  background: var(--color-accent);
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: 0 2px 8px rgba(167,147,103,0.06);
}
article:last-child {
  margin-bottom: 0;
}

ul {
  list-style: disc outside;
}

.section ul, .section ol {
  margin-bottom: 10px;
}

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

.testimonial-card {
  background: var(--color-accent);
  border-radius: 16px;
  box-shadow: 0 3px 20px rgba(35,39,45,0.09);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  color: var(--color-primary);
  max-width: 800px;
  min-width: 0;
  min-height: 100px;
  transition: box-shadow 0.18s, transform 0.13s;
  flex: 1 1 100%;
}
.testimonial-card:last-child {
  margin-bottom: 0;
}
.testimonial-card p {
  color: var(--color-primary);
  font-size: 1.05rem;
  margin-bottom: 0;
  font-style: italic;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-secondary);
  margin-left: 18px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(167,147,103,0.15);
  transform: scale(1.01);
}

/* FORMS ------------------------------------ */
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(35,39,45,0.04);
  padding: 26px 18px;
  width: 100%;
  max-width: 440px;
}
input[type=text], input[type=email], textarea {
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 2px;
  background: var(--color-accent);
  color: var(--color-primary);
  transition: border 0.15s;
}
input:focus, textarea:focus {
  border: 1.5px solid var(--color-secondary);
  background: #fff;
  outline: none;
}
textarea {
  resize: vertical;
  min-height: 80px;
}
form button[type=submit] {
  align-self: flex-end;
  margin-top: 14px;
}

/* FOOTER ----------------------------------- */
footer {
  background: var(--color-white);
  border-top: 1px solid #eaeaea;
  margin-top: 36px;
  padding: 0;
  box-shadow: 0 -2px 12px rgba(167,147,103,0.03);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  padding: 32px 20px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-secondary);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.17s;
}
footer nav a:hover {
  color: var(--color-primary);
}
footer .text-section {
  font-size: 0.98rem;
  color: var(--color-primary);
  gap: 5px;
}

/* COOKIES CONSENT BANNER ------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  right: 0;
  background: var(--color-white);
  border-top: 1.5px solid var(--color-accent);
  box-shadow: 0 -4px 24px rgba(35,39,45,0.10);
  padding: 28px 20px 20px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  z-index: 2000;
  justify-content: space-between;
  animation: cookiebannerin .54s cubic-bezier(.67,0,.23,1);
}
.cookie-banner__message {
  color: var(--color-primary);
  font-size: 1.02rem;
  max-width: 480px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner button {
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: 6px;
  border: none;
  padding: 12px 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  margin: 0;
  box-shadow: 0 2px 10px rgba(167,147,103,0.05);
  transition: background 0.16s, color 0.17s;
}
.cookie-banner button:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}

@keyframes cookiebannerin {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0%); opacity: 1; }
}

/* COOKIE SETTINGS MODAL -------------------- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(35,39,45,0.62);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeinmodal 0.28s;
}
@keyframes fadeinmodal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 6px 40px rgba(167,147,103,0.13);
  padding: 34px 26px 26px 26px;
  max-width: 420px;
  width: 95vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cookiemodalin 0.38s cubic-bezier(.67,0,.23,1);
}
@keyframes cookiemodalin {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.7rem;
  color: var(--color-secondary);
  background: none;
  border: none;
  cursor: pointer;
}
.cookie-modal-close:hover {
  color: var(--color-primary);
}
.cookie-modal h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-category label {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-category input[type='checkbox'][disabled] {
  accent-color: var(--color-secondary);
  opacity: 0.6;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 6px;
}

/* ICON STYLES ------------------------------ */
img[alt^='icon-'], svg[alt^='icon-'] {
  width: 28px;
  height: 28px;
  margin-right: 10px;
  vertical-align: middle;
}

/* RESPONSIVE FLEX LAYOUTS ------------------ */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
  section {
    padding: 36px 12px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px 10px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    min-height: 66px;
    gap: 0;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .cta {
    margin-left: 0;
  }
  section {
    padding: 25px 5vw 25px 5vw;
    margin-bottom: 44px;
  }
  .content-wrapper {
    gap: 14px;
    align-items: flex-start;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
  }
  .feature-item, .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  .text-section {
    gap: 7px;
  }
}

@media (max-width: 570px) {
  .container {
    padding: 0 4px;
    max-width: 100vw;
  }
  h1 {
    font-size: 1.65rem;
    margin-bottom: 16px;
  }
  h2 {
    font-size: 1.2rem;
    margin-bottom: 11px;
  }
  .content-wrapper, .text-section {
    gap: 7px;
  }
  .card, article {
    padding: 15px 7px;
  }
  .cookie-banner__message {
    font-size: 0.92rem;
    max-width: 95vw;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 7px 14px 7px;
  }
}

/* UTILITIES ------------------------------- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }

.text-center { text-align: center !important; }
.text-left { text-align: left !important; }

/* LIST CUSTOMIZATION ---------------------- */
ul {
  list-style: disc outside;
  margin-left: 0;
}
ul ul, ol ul {
  list-style-type: circle;
  padding-left: 14px;
}

/* BRAND ACCENTS/FINE LINES ---------------- */
hr {
  border: none;
  border-top: 1.5px solid var(--color-accent);
  background: none;
}

/* CUSTOM INTERACTIONS --------------------- */
.card, .testimonial-card, article {
  transition: box-shadow 0.19s, transform 0.11s;
  will-change: box-shadow, transform;
}
.cta,
button,
input[type='submit'],
.cookie-banner button {
  transition: background 0.17s, color 0.16s, box-shadow 0.12s, transform 0.11s;
}

/* SCROLLBAR CLEANUP (modern browsers) ------ */
body::-webkit-scrollbar, .cookie-modal::-webkit-scrollbar {
  width: 8px;
  background: var(--color-bg);
}
body::-webkit-scrollbar-thumb, .cookie-modal::-webkit-scrollbar-thumb {
  background: #d9d6ce;
  border-radius: 5px;
}

/* END ------------------------------------- */
