/*--------------------------------------------------
  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, 
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;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F7F6F4;
  color: #2B231F;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  letter-spacing: 0.02em;
}
a {
  color: #4E342E;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
}
a:focus, a:hover {
  color: #FFD54F;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 16px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #32241B;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 500;
}
p, li, blockquote {
  font-size: 1rem;
  margin-bottom: 12px;
  font-family: 'Roboto', Arial, sans-serif;
}
strong {
  font-weight: 700;
  color: #7D6147;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/*--------------------------------------------------
  BRAND VARIABLES (with Fallbacks)
---------------------------------------------------*/
:root {
  --color-primary: #4E342E;
  --color-secondary: #D7CCC8;
  --color-accent: #FFD54F;
  --color-bg: #F7F6F4;
  --color-dark: #32241B;
  --color-card: #fff;
  --color-gold: #D4AF37;
  --color-shadow: rgba(78, 52, 46, .09);
  --color-danger: #A65A29;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/*--------------------------------------------------
  GENERAL LAYOUT - CONTAINER
---------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card);
  border-radius: 16px;
  box-shadow: 0px 2px 24px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0px 6px 32px var(--color-shadow);
  transform: translateY(-2px) 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;
}
.testimonial-card {
  background: #FFF;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0px 1px 14px var(--color-shadow);
  margin-bottom: 28px;
  border-left: 4px solid var(--color-gold);
  position: relative;
  transition: box-shadow 0.17s;
}
.testimonial-card blockquote {
  color: var(--color-primary);
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 12px;
}
.testimonial-card strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-dark);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/*--------------------------------------------------
  HEADER & NAVIGATION
---------------------------------------------------*/
header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 40;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 14px 0 12px 0;
}
header nav > a img {
  height: 40px;
  width: auto;
  display: block;
}
header nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
}
header nav ul li {
  margin-bottom: 0;
}
header nav ul li a {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1rem;
  padding: 4px 10px;
  border-radius: 8px;
  position: relative;
  transition: color 0.2s, background 0.2s;
  font-weight: 500;
}
header nav ul li a:hover, header nav ul li a:focus {
  background: var(--color-secondary);
  color: var(--color-gold);
}
header nav .cta.primary {
  margin-left: 16px;
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 999px;
  color: #fff;
  background: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0px 2px 14px var(--color-shadow);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.14s;
  position: relative;
}
header nav .cta.primary:after {
  content: "";
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  box-shadow: 0 1px 12px 2px rgba(255, 213, 79, 0.10);
  pointer-events: none;
}
header nav .cta.primary:hover, header nav .cta.primary:focus {
  background: var(--color-gold);
  color: var(--color-primary);
  box-shadow: 0px 10px 32px -6px var(--color-gold);
  transform: translateY(-1px) scale(1.03);
}

/*--------------------------------------------------
  MOBILE MENU
---------------------------------------------------*/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  margin-left: 10px;
  z-index: 250;
  padding: 8px 8px;
  transition: background 0.15s;
  border-radius: 8px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}
.mobile-menu {
  display: none;
  position: fixed;
  z-index: 240;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(49,39,31,0.98);
  padding: 32px 24px 24px 24px;
  transition: transform 0.34s cubic-bezier(0.6,0.1,0.4,1), opacity 0.2s;
  transform: translateX(100%);
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  flex-direction: column;
  transform: translateX(0);
  opacity: 1;
  animation: menu-in 0.34s cubic-bezier(0.6,0.1,0.4,1);
}
@keyframes menu-in {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 34px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-gold);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin-top: 10px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.12rem;
  font-family: var(--font-display);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  width: 100%;
  min-width: 150px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-gold);
  color: var(--color-primary);
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 980px) {
  header nav ul,
  header nav .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/*--------------------------------------------------
  HERO / FEATURE / SERVICES / CTA SECTIONS
---------------------------------------------------*/
.hero {
  background: #fff;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 6px 36px -16px rgba(78,52,46,0.07);
  padding: 36px 0 36px 0;
  margin-bottom: 42px;
  position: relative;
}
.hero h1 {
  font-size: 2.3rem;
  margin-bottom: 20px;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}
.hero p {
  font-size: 1.2rem;
  color: var(--color-primary);
  max-width: 600px;
  margin-bottom: 24px;
}
.hero .cta.primary {
  min-width: 168px;
}
.features {
  background: var(--color-bg);
}
.services {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 18px -6px var(--color-shadow);
}
.cta {
  background: #fff;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0px 1px 18px -7px var(--color-shadow);
  padding-bottom: 38px;
}
.cta .cta.primary {
  min-width: 168px;
}

/*--------------------------------------------------
  LISTS & FEATURES
---------------------------------------------------*/
.features .content-wrapper ul,
.services .content-wrapper ul,
.text-section ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 0;
  margin-bottom: 12px;
}
.features .content-wrapper ul li,
.services .content-wrapper ul li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0.5px 12px var(--color-shadow);
  padding: 18px 18px 18px 28px;
  position: relative;
  color: var(--color-dark);
  font-size: 1rem;
}
.features .content-wrapper ul li strong,
.services .content-wrapper ul li strong {
  color: var(--color-gold);
}

/*--------------------------------------------------
  CONTACT INFO & TEXT BLOCKS
---------------------------------------------------*/
.text-section {
  margin-top: 18px;
  margin-bottom: 20px;
  color: var(--color-dark);
}
.text-section p, .text-section li {
  margin-bottom: 10px;
  font-size: 1rem;
}
.text-section a {
  color: var(--color-primary);
  text-underline-offset: 2px;
}
.text-section a:hover, .text-section a:focus {
  color: var(--color-gold);
}

/*--------------------------------------------------
  FOOTER
---------------------------------------------------*/
footer {
  background: #32241B;
  color: #FFF;
  padding: 40px 0 20px 0;
  border-radius: 24px 24px 0 0;
  margin-top: 60px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 26px;
}
footer nav a {
  color: #FFE9B0;
  font-size: 1rem;
  font-family: var(--font-display);
  opacity: .88;
  transition: color 0.18s, opacity 0.18s;
  border-radius: 8px;
  padding: 4px 10px;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-gold);
  background: rgba(255,213,79,0.10);
  opacity: 1;
}
footer .text-section {
  text-align: center;
  font-size: 0.99rem;
  color: #fff;
  opacity: 0.75;
  letter-spacing: 0.01em;
  padding: 0;
  margin: 0;
}

/*--------------------------------------------------
  BUTTONS & CTAs
---------------------------------------------------*/
.cta, .cta.primary {
  appearance: none;
  border: none;
  display: inline-block;
  font-family: var(--font-display);
  background: var(--color-gold);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.09rem;
  border-radius: 999px;
  padding: 12px 32px;
  box-shadow: 0px 2px 18px var(--color-shadow);
  margin-top: 14px;
  margin-bottom: 8px;
  text-align: center;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, transform 0.14s, box-shadow 0.2s;
  position: relative;
}
.cta.primary {
  background: var(--color-primary);
  color: #fff;
  margin-top: 0;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--color-gold);
  color: var(--color-primary);
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0px 10px 32px -8px var(--color-gold);
}
.cta:hover, .cta:focus {
  color: var(--color-primary);
  background: var(--color-accent);
}
button, .button {
  cursor: pointer;
  border: none;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  background: var(--color-gold);
  color: var(--color-primary);
  padding: 10px 22px;
  transition: background 0.17s, color 0.17s;
}
button:focus, button:hover, .button:focus, .button:hover {
  background: var(--color-primary);
  color: #FFD54F;
}

/*--------------------------------------------------
  MISCELLANEOUS & GLOBAL EFFECTS
---------------------------------------------------*/
::-webkit-input-placeholder { color: #C8B6A6; }
::-moz-placeholder { color: #C8B6A6; }
:-ms-input-placeholder { color: #C8B6A6; }
::placeholder { color: #C8B6A6; }

hr {
  border: none;
  border-top: 1px solid #E0D5C8;
  margin: 20px 0;
}

/* Subtle shadow for modern cards */
.card, .testimonial-card, .features .content-wrapper ul li, .services .content-wrapper ul li {
  box-shadow: 0px 1px 12px var(--color-shadow);
}
div.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px -6px var(--color-gold);
  transition: box-shadow 0.13s;
}

/* Gold accent bar for refinement */
.testimonial-card:before {
  content: '';
  display: block;
  width: 4px;
  height: 100%;
  background: var(--color-gold);
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 5px 0 0 5px;
}

/*--------------------------------------------------
  LEGAL / POLICY SECTIONS
---------------------------------------------------*/
.legal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0px 3px 18px -7px var(--color-shadow);
  padding: 48px 30px;
  margin-bottom: 36px;
}
.legal h1 {
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 24px;
}
.legal ul {
  margin-top: 10px;
  margin-bottom: 10px;
}
.legal ul li {
  color: var(--color-dark);
  margin-bottom: 8px;
  position: relative;
  padding-left: 24px;
}
.legal ul li:before {
  content: '\2022';
  color: var(--color-gold);
  position: absolute;
  left: 0;
  font-size: 1.1em;
}

/*--------------------------------------------------
  RESPONSIVENESS - FLEXBOX & SPACING RULES
---------------------------------------------------*/
@media (max-width: 1200px) {
  .container {
    max-width: 96vw;
    padding: 0 10px;
  }
}
@media (max-width: 980px) {
  .container {
    max-width: 99vw;
    padding: 0 6px;
  }
  .hero, .features, .services, .cta, .legal {
    padding-left: 2vw;
    padding-right: 2vw;
    border-radius: 0;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 0;
  }
  .section {
    margin-bottom: 40px;
    padding: 22px 4vw;
  }
  .card-container {
    gap: 16px;
  }
  .card {
    padding: 18px 10px 14px 12px;
  }
  .features .content-wrapper ul li,
  .services .content-wrapper ul li {
    padding: 12px 10px 12px 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 10px 18px 12px;
    gap: 8px;
    font-size: 1.02rem;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .hero h1 {
    font-size: 1.36rem;
    margin-bottom: 14px;
  }
  .hero p {
    font-size: 1.01rem;
    margin-bottom: 14px;
  }
  footer {
    border-radius: 0;
    padding: 30px 0 12px 0;
  }
  footer nav {
    gap: 10px;
    font-size: 0.96rem;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.2rem; }
  h2 { font-size: 1.04rem; }
  h3 { font-size: 0.99rem; }
  .card, .testimonial-card {
    padding: 12px 8px 10px 8px;
    font-size: 0.98rem;
  }
  .legal {
    padding: 18px 6px 19px 6px;
  }
  .section {
    padding: 14px 3vw;
    margin-bottom: 22px;
  }
}

/*--------------------------------------------------
  COOKIE CONSENT BANNER
---------------------------------------------------*/
.cookie-consent-banner {
  position: fixed;
  z-index: 2200;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFF;
  border-top: 2px solid var(--color-gold);
  box-shadow: 0 -4px 32px -12px var(--color-shadow);
  padding: 20px 10vw 22px 10vw;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 1.02rem;
  transition: transform 0.25s cubic-bezier(0.61,0.01,0.65,1), opacity 0.17s;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  animation: cookie-in 0.28s cubic-bezier(.17,.67,.83,1.15) 1;
}
@keyframes cookie-in {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.cookie-consent-banner .cookie-text {
  flex: 1 1 260px;
  color: var(--color-primary);
  margin-bottom: 8px;
  font-size: 0.99rem;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-consent-banner button,
.cookie-consent-banner .button {
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.99rem;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.15s, color 0.15s, box-shadow 0.19s;
  box-shadow: 0 0.5px 7px var(--color-shadow);
}
.cookie-consent-banner .cookie-accept {
  background: var(--color-primary);
  color: #fff;
}
.cookie-consent-banner .cookie-accept:hover, .cookie-consent-banner .cookie-accept:focus {
  background: var(--color-gold);
  color: var(--color-primary);
}
.cookie-consent-banner .cookie-reject {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-consent-banner .cookie-reject:hover, .cookie-consent-banner .cookie-reject:focus {
  background: var(--color-danger);
  color: #fff;
}
.cookie-consent-banner .cookie-settings {
  background: none;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  padding: 9px 19px;
}
.cookie-consent-banner .cookie-settings:hover, .cookie-consent-banner .cookie-settings:focus {
  background: var(--color-secondary);
}

@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 4vw 14px 4vw;
  }
  .cookie-consent-banner .cookie-buttons {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 2300;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(47,36,27,0.81);
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.cookie-modal-overlay.active {
  display: flex;
  animation: cookie-modal-in 0.25s cubic-bezier(.045,.92,.36,1.02) 1;
}
@keyframes cookie-modal-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 420px;
  width: 93vw;
  box-shadow: 0 8px 48px -11px var(--color-shadow);
  padding: 36px 30px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal h2 {
  color: var(--color-primary);
  font-size: 1.22rem;
  margin-bottom: 6px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 18px; right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-primary);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 7px;
  transition: background 0.14s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: var(--color-secondary);
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.cookie-category label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
}
.cookie-category input[type="checkbox"] {
  width: 20px; height: 20px; margin-top: 2px; accent-color: var(--color-gold);
}
.cookie-category .category-desc {
  color: var(--color-dark);
  font-size: 0.98rem;
  margin-top: 3px;
}
.cookie-category .always-on {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 8px;
  font-size: 0.95rem;
  padding: 4px 6px;
  margin-left: 6px;
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 10px;
}
@media (max-width: 600px) {
  .cookie-modal {
    padding: 16px 5vw 14px 5vw;
    max-width: 95vw;
    font-size: 0.98rem;
  }
  .cookie-modal .cookie-modal-buttons {
    flex-direction: column;
    gap: 7px;
  }
}

/*--------------------------------------------------
  ANIMATIONS & MICRO-INTERACTIONS
---------------------------------------------------*/
.card, .testimonial-card, .cta, button, .button, .mobile-menu, .cookie-modal {
  transition: box-shadow 0.19s, transform 0.14s, background 0.15s, color 0.14s, border 0.15s, opacity 0.17s;
}
.card:active, .testimonial-card:active, .cta:active, button:active, .button:active {
  transform: scale(0.98);
}

/*--------------------------------------------------
  NO GRID/COLUMNS - ONLY FLEXBOX!
---------------------------------------------------*/
/* Ensured: No display:grid, grid-* or columns anywhere */

/*--------------------------------------------------
  END OF CSS
---------------------------------------------------*/

