/* ---------------- 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,
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, 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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  height: 100%;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
img {
  border-style: none;
  max-width: 100%;
  display: block;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}
*, *::before, *::after {
  box-sizing: inherit;
}

/* ----------------- CUSTOM PROPERTIES ---------------------- */
:root {
  --color-primary: #64423D;
  --color-secondary: #F3EEE7;
  --color-accent: #AB765F;
  --color-gold: #C7A96B;
  --color-gold-hover: #B3934D;
  --color-premium-dark: #46312a;
  --color-premium-black: #241812;
  --color-white: #fff;
  --color-neutral: #DED7CC;
  --shadow-premium: 0 4px 24px 0 rgba(100,66,61,0.14), 0 1.5px 4px 0 rgba(198,163,95,0.08);
  --shadow-gold: 0 4px 16px rgba(199,169,107,0.12);
  --font-display: 'Quicksand', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Lato', 'Segoe UI', Arial, sans-serif;
}

/* ----------------- TYPOGRAPHY ---------------------- */
body {
  font-family: var(--font-body);
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  color: var(--color-premium-dark);
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
p, ul, ol {
  color: var(--color-primary);
  margin-bottom: 18px;
  font-size: 1rem;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
  color: var(--color-accent);
}
address {
  font-style: normal;
  font-size: 1rem;
  margin: 18px 0 10px 0;
  color: var(--color-premium-dark);
}

/* ----------------- CONTAINERS & SECTIONS ---------------------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 670px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  box-shadow: var(--shadow-premium);
  border-radius: 16px;
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  min-width: 245px;
  flex: 1 1 290px;
  border: 1.5px solid var(--color-gold);
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(199,169,107,0.19);
  transform: translateY(-5px) scale(1.01);
  z-index: 2;
}

.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;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: var(--shadow-gold);
  border-left: 5px solid var(--color-gold);
  margin-bottom: 20px;
  max-width: 550px;
  font-size: 1.1rem;
  transition: box-shadow 0.22s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(199,169,107,0.14);
}
.testimonial-card p {
  color: var(--color-premium-dark);
}
.testimonial-card span {
  color: var(--color-accent);
  font-size: 0.96rem;
  font-family: var(--font-display);
  font-weight: 500;
  margin-top: -6px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --------------------- HEADER ------------------------ */
header {
  background: var(--color-white);
  box-shadow: 0 2px 20px rgba(100,66,61,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px 20px 20px;
  position: sticky;
  top: 0;
  z-index: 30;
}
header a img {
  height: 48px;
  transition: filter 0.22s;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}
header nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.04rem;
  padding: 6px 2px;
  transition: color 0.18s, border-bottom 0.18s;
  border-bottom: 2px solid transparent;
}
header nav a:hover, header nav a:focus {
  color: var(--color-gold);
  border-bottom: 2px solid var(--color-gold);
}

.cta-btn {
  background: var(--color-gold);
  color: var(--color-premium-black);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  padding: 12px 32px;
  border-radius: 28px;
  box-shadow: 0 3px 20px rgba(199,169,107,0.14);
  border: none;
  margin-left: 16px;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.16s;
  cursor: pointer;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-gold-hover);
  color: var(--color-white);
  box-shadow: 0 6px 32px 0 rgba(199,169,107,0.18);
  transform: translateY(-2px) scale(1.04);
}

/* Mobile menu burger */
.mobile-menu-toggle {
  display: none;
  background: var(--color-premium-dark);
  color: var(--color-gold);
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-left: 22px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover {
  background: var(--color-gold);
  color: var(--color-premium-black);
}

/* --------------------- MOBILE MENU ------------------------ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-white);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.85,0,0.15,1);
  box-shadow: 2px 0 40px rgba(100,66,61,0.11);
  padding: 36px 28px 28px 20px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  color: var(--color-gold);
  background: transparent;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  transition: background 0.16s,color 0.16s;
}
.mobile-menu-close:hover {
  background: var(--color-gold);
  color: var(--color-white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--color-premium-dark);
  font-size: 1.28rem;
  padding: 8px 0;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
  text-align: left;
  min-width: 120px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-gold);
  background: rgba(199,169,107,0.1);
}

/* Hide nav & show burger on mobile */
@media (max-width: 980px) {
  header nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 580px) {
  header {
    padding: 14px 12px 14px 10px;
  }
  header a img {
    height: 38px;
  }
}

/* --------------------- FOOTER ------------------------ */
footer {
  background: var(--color-premium-dark);
  color: var(--color-gold);
  padding: 36px 16px 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
}
footer a img {
  height: 42px;
  margin-bottom: 12px;
}
footer nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 10px;
}
footer nav a {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  opacity: 0.96;
  transition: color 0.15s, opacity 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-white);
  opacity: 1;
}
footer span {
  font-size: 0.98rem;
  color: var(--color-neutral);
  opacity: 0.98;
}

/* --------------------- LISTS & CONTENT ------------------------ */
ul, ol {
  padding-left: 18px;
  margin-bottom: 18px;
  list-style: disc;
}
ul li, ol li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 1rem;
}
ul li strong {
  color: var(--color-gold);
  font-weight: 700;
}

/* ------------------- FORM ELEMENTS --------------------- */
input, textarea, select {
  font-family: var(--font-body);
  border: 1.5px solid var(--color-gold);
  padding: 9px 13px;
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 1rem;
  outline: none;
  margin-bottom: 16px;
  width: 100%;
  transition: border-color 0.16s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-premium-dark);
  box-shadow: 0 0 0 2px rgba(100,66,61,0.10);
}

/* --------------------- BUTTONS & INTERACTIONS ----------------- */
button, .button, .btn {
  font-family: var(--font-display);
  padding: 10px 32px;
  border-radius: 28px;
  background: var(--color-gold);
  color: var(--color-premium-black);
  font-size: 1.06rem;
  font-weight: 700;
  border: none;
  margin-bottom: 6px;
  transition: background 0.16s, color 0.16s, transform 0.13s, box-shadow 0.13s;
  box-shadow: 0 2px 20px rgba(199,169,107,0.12);
  cursor: pointer;
}
button:hover, .button:hover, .btn:hover,
button:focus, .button:focus, .btn:focus {
  background: var(--color-gold-hover);
  color: var(--color-white);
  transform: scale(1.03);
  box-shadow: 0 6px 32px 0 rgba(199,169,107,0.16);
}

/* ------------------ COOKIE CONSENT BANNER -------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--color-premium-dark);
  color: var(--color-gold);
  padding: 24px 18px 20px 18px;
  box-shadow: 0 -2px 21px 0 rgba(100,66,61,0.15);
  z-index: 201;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 1.02rem;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(0.82,0,0.35,1), opacity 0.3s ease;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cookie-banner button {
  font-size: 0.96rem;
  padding: 8px 22px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  background: var(--color-gold);
  color: var(--color-premium-black);
  font-family: var(--font-display);
  font-weight: 600;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.cookie-banner button:hover {
  background: var(--color-gold-hover);
  color: var(--color-white);
}
.cookie-banner .cookie-settings-btn {
  background: transparent;
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold);
  font-weight: 600;
  box-shadow: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.cookie-banner .cookie-settings-btn:hover {
  background: var(--color-gold);
  color: var(--color-premium-black);
}

/* Modal overlay for cookies settings */
.cookie-modal-overlay {
  position: fixed;
  z-index: 210;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(36,24,18,0.30);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.25s;
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: 18px;
  max-width: 430px;
  width: 96vw;
  box-shadow: 0 8px 48px rgba(100,66,61,0.20);
  padding: 36px 28px 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: fade-up 0.38s cubic-bezier(0.65,0,0.41,1);
}
.cookie-modal h2 {
  color: var(--color-premium-dark);
  font-size: 1.48rem;
  margin-bottom: 9px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  font-family: var(--font-body);
}
.cookie-modal .cookie-category strong {
  color: var(--color-gold);
  font-weight: 700;
}
.cookie-modal .cookie-toggle {
  width: 38px;
  height: 20px;
  background: var(--color-neutral);
  border-radius: 20px;
  position: relative;
  margin-left: 4px;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal .cookie-toggle[data-checked="true"] {
  background: var(--color-gold);
}
.cookie-modal .cookie-toggle-circle {
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  background: var(--color-premium-dark);
  border-radius: 50%;
  transition: left 0.16s;
}
.cookie-modal .cookie-toggle[data-checked="true"] .cookie-toggle-circle {
  left: 20px;
  background: var(--color-gold);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 20px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  color: var(--color-accent);
  font-size: 1.85rem;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal .modal-close:hover {
  background: var(--color-neutral);
  color: var(--color-gold);
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ----------- HERO & MAIN SECTIONS ----------------- */
main > section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  background: none;
}
.main-hero {
  background: var(--color-secondary);
  padding: 60px 0 36px 0;
  border-bottom: 1.5px solid var(--color-neutral);
}

/* ------------------- RESPONSIVE ---------------------- */
@media (max-width: 980px) {
  .container {
    padding: 0 12px;
  }
  .testimonial-card {
    max-width: 98vw;
  }
  .text-image-section {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 24px 8px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .testimonial-card {
    padding: 16px;
    font-size: 1rem;
  }
  .card-container, .feature-list {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .testimonial-card {
    font-size: 0.99rem;
  }
  .cta-btn, button {
    font-size: 0.99rem;
    padding: 10px 16px;
  }
  .cookie-banner,
  .cookie-modal {
    font-size: 0.98rem;
    padding: 16px 8px 18px 8px;
  }
}

/* ------------------- MICRO-ANIMATIONS -------------------- */
a, button, .cta-btn, .card, .testimonial-card, header nav a, footer nav a {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.18s, transform 0.17s;
}

/* -------------------- UTIL CLASSES ------------------------ */
.text-center { text-align: center !important; }
.mb-2 { margin-bottom: 20px !important; }
.mb-3 { margin-bottom: 36px !important; }
.mt-2 { margin-top: 20px !important; }
.mt-3 { margin-top: 36px !important; }

/* -------------- SPECIAL DESIGN DETAILS ---------------------- */
hr {
  border: none;
  height: 1.5px;
  background: linear-gradient(to right, transparent 0%, var(--color-gold) 60%, transparent 100%);
  margin: 34px 0 27px 0;
  opacity: 0.22;
}

/* Gold accent underline for headings */
h2, h1 {
  position: relative;
  z-index: 0;
}
h2:after, h1:after {
  content: '';
  display: block;
  margin: 12px 0 0 0;
  width: 52px;
  height: 4px;
  border-radius: 4px;
  background: var(--color-gold);
  opacity: 0.45;
}
h1:after {
  width: 66px;
  height: 4px;
  opacity: 0.35;
}

/* Cards with gold accent bar */
.card:before {
  content: '';
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-gold);
  margin-bottom: 12px;
  opacity: 0.55;
}

/* -------------- SCROLLBAR STYLES ------------------ */
body {
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold) var(--color-neutral);
}
body::-webkit-scrollbar {
  width: 9px;
  background: var(--color-neutral);
}
body::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 5px;
}

/* -------------- Z-INDEX LAYERS ------------------ */
header { z-index: 30; }
.mobile-menu { z-index: 150; }
.cookie-banner { z-index: 201; }
.cookie-modal-overlay { z-index: 210; }

/* -------------- A11Y & FOCUS --------------------- */
a:focus-visible, button:focus-visible, .cta-btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* -------------- VISUAL HIERARCHY ----------------- */
@media (min-width: 1081px) {
  .container { max-width: 1200px; }
}

/* END OF CSS */