/* ====================================== */
/*           CSS RESET & BASE             */
/* ====================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-family: inherit;
}
body {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  color: #262E38;
  background: #FFF7F2;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #B69564;
  text-decoration: none;
  transition: color 0.22s;
}
a:focus-visible,
a:hover {
  color: #262E38;
}
ul,ol {
  padding-left: 1.1em;
  margin: 0 0 1.2em 0;
}
ul li, ol li {
  margin-bottom: 0.6em;
}


/* ====================================== */
/*              BRAND FONTS               */
/* ====================================== */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #262E38;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h4, h5 {
  font-size: 1rem;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
}
strong {
  font-weight: 600;
}

/* ====================================== */
/*         BRAND COLORS & THEME           */
/* ====================================== */
:root {
  --color-primary: #262E38;
  --color-secondary: #B69564;
  --color-accent: #F3F3F3;
  --color-bg: #FFF7F2;
  --color-white: #fff;
  --color-grey: #ede3d1;
  --color-shadow: rgba(38,46,56,0.10);
  --color-shadow-heavy: rgba(38,46,56,0.16);
  --color-error: #a33636;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow-card: 0 4px 24px 0 var(--color-shadow);
}

/* ====================================== */
/*           CONTAINER SYSTEM             */
/* ====================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ====================================== */
/*         HEADER & NAVIGATION            */
/* ====================================== */
header {
  width: 100%;
  background: var(--color-bg);
  box-shadow: 0 2px 12px 0 var(--color-shadow);
  z-index: 30;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  position: relative;
}
.logo img {
  max-height: 44px;
  margin-right: 22px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
  margin-left: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  transition: background 0.16s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus-visible {
  background: var(--color-secondary);
  color: var(--color-bg);
}
.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  display: inline-block;
  padding: 12px 28px;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px var(--color-shadow);
  margin-left: 26px;
  border: none;
  transition: background 0.18s, color 0.20s, box-shadow 0.18s, transform 0.14s;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.cta-btn:hover,
.cta-btn:focus-visible {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 18px var(--color-shadow-heavy);
  transform: translateY(-2px) scale(1.04);
}

/* Hamburger Button */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  background: var(--color-white);
  font-size: 2rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-secondary);
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1001;
  transition: box-shadow 0.12s;
  box-shadow: 0 1px 6px var(--color-shadow);
  display: none;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus-visible {
  box-shadow: 0 2px 12px var(--color-shadow-heavy);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-bg);
  z-index: 1100;
  transform: translateX(-100vw);
  transition: transform 0.3s cubic-bezier(.75,-0.02,0,1), box-shadow 0.2s;
  box-shadow: 4px 0 32px var(--color-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 28px 0 0;
  padding: 10px 18px;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  font-size: 1.7rem;
  cursor: pointer;
  border: none;
  transition: background 0.16s, color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus-visible {
  background: var(--color-primary);
  color: var(--color-white);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  align-items: flex-start;
  padding-left: 40px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 15px 10px 15px 0;
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  width: 100%;
  transition: background 0.16s, color 0.18s;
}
.mobile-nav a:focus-visible,
.mobile-nav a:hover {
  background: var(--color-secondary);
  color: var(--color-bg);
}


/* ====================================== */
/*             HERO & SECTIONS            */
/* ====================================== */
section {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px var(--color-shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
  transition: box-shadow 0.18s;
}
section:hover {
  box-shadow: 0 8px 32px var(--color-shadow-heavy);
}

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

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px var(--color-shadow);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.18s;
  min-width: 260px;
}
.card:hover {
  box-shadow: 0 8px 28px var(--color-shadow-heavy);
  transform: translateY(-2px) scale(1.02);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.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: #fffdf8;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px var(--color-shadow);
  margin-bottom: 20px;
  min-width: 240px;
  font-size: 1rem;
}
.testimonial-card blockquote {
  color: #262E38;
  margin-bottom: 8px;
  font-style: italic;
  font-weight: 400;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #6B4E2A;
}

ol {
  counter-reset: li;
}
ol > li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.5em;
}
ol > li:before {
  content: counter(li) '.';
  counter-increment: li;
  color: var(--color-secondary);
  position: absolute;
  left: 0;
  font-weight: 700;
}


/* ====================================== */
/*           SOCIAL MEDIA ICONS           */
/* ====================================== */
.social-media-links {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-top: 10px;
}
.social-media-links img {
  width: 30px;
  height: 30px;
  filter: none;
  transition: filter 0.18s, transform 0.16s;
  border-radius: 50%;
  background: var(--color-accent);
  padding: 3px;
}
.social-media-links img:hover {
  filter: brightness(0.88) drop-shadow(0 2px 6px var(--color-shadow));
  transform: scale(1.1);
}

.company-map img {
  max-width: 180px;
  border-radius: var(--radius-lg);
  background: var(--color-secondary);
  box-shadow: 0 1px 8px var(--color-shadow);
  margin-top: 18px;
}


/* ====================================== */
/*                 FOOTER                 */
/* ====================================== */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: 50px;
}
footer .container {
  padding: 32px 16px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  padding: 7px 0;
  transition: background 0.14s, color 0.16s;
}
footer nav a:hover,
footer nav a:focus-visible {
  color: var(--color-secondary);
  background: rgba(255,255,255,0.11);
}
.footer-info {
  font-size: 0.92rem;
  margin-top: 18px;
  color: #ddd4be;
}


/* ====================================== */
/*         COOKIE CONSENT BANNER          */
/* ====================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fae5cb;
  color: #39322b;
  padding: 24px 16px 24px 16px;
  box-shadow: 0 -3px 16px var(--color-shadow-heavy);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  z-index: 1200;
  transition: bottom 0.33s;
}
.cookie-banner.hidden {
  bottom: -260px;
  pointer-events: none;
}
.cookie-banner-text {
  flex: 1 1;
  font-size: 1rem;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 10px 22px;
  border: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 2px 8px var(--color-shadow);
  margin-left: 0;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.16s;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-btn.reject {
  background: var(--color-error);
  color: var(--color-white);
}
.cookie-btn.settings {
  background: var(--color-bg);
  color: var(--color-primary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-btn:hover,
.cookie-btn:focus-visible {
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 4px 14px var(--color-shadow-heavy);
}


/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(38,46,56,0.32);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.cookie-modal {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 32px var(--color-shadow-heavy);
  max-width: 420px;
  width: 90vw;
  padding: 36px 30px 26px 30px;
  position: relative;
  z-index: 1400;
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: var(--color-accent);
  padding: 12px 13px;
  border-radius: var(--radius-md);
}
.cookie-category label {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--color-secondary);
  border-radius: 7px;
  margin-left: 10px;
  cursor: pointer;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: var(--color-secondary);
  border-radius: var(--radius-md);
  padding: 2px 7px;
  font-size: 1.3em;
  cursor: pointer;
  color: var(--color-primary);
  border: none;
  transition: background 0.12s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus-visible {
  background: var(--color-error);
  color: var(--color-white);
}

/* ====================================== */
/*         RESPONSIVE: MOBILE-FIRST       */
/* ====================================== */

@media (max-width: 1024px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
    gap: 10px;
  }
  .main-nav,
  .cta-btn {
    margin-left: 0;
  }
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .container { padding-left: 8px; padding-right: 8px; }
  section { padding: 32px 8px; }
  .section {padding: 32px 8px;}
}
@media (max-width: 768px) {
  .main-nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    box-shadow: 0 2px 12px 0 var(--color-shadow);
  }
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  section, .section {
    padding: 20px 4px;
    margin-bottom: 34px;
    border-radius: var(--radius-md);
  }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.16rem; }
  .testimonial-card { flex-direction: column; gap: 10px; font-size: 0.98rem; }
  .company-map img { max-width: 110px; }
  .card-container, .content-grid, .text-image-section {
    flex-direction: column !important;
    gap: 14px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    font-size: 1rem;
    padding: 18px 5px;
    align-items: flex-start;
  }
  .cookie-banner-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .cookie-modal { padding: 18px 7px 13px 12px; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.12rem; }
  h2 { font-size: 1.01rem; }
  p, li, blockquote { font-size: 0.96rem; }
  .footer-info { font-size: 0.83rem; }
  .card, .testimonial-card, section { padding: 15px 4px; }
}


/* ====================================== */
/*         MICRO-INTERACTIONS             */
/* ====================================== */
input, textarea, select {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-accent);
  background: var(--color-bg);
  padding: 10px 15px;
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 12px;
  transition: border 0.16s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--color-secondary);
  box-shadow: 0 0 0 2px var(--color-shadow);
  background: #fffefa;
}

::-webkit-input-placeholder { color: #b3a27e; opacity:1; }
::-moz-placeholder { color: #b3a27e; opacity:1; }
:-ms-input-placeholder { color: #b3a27e; opacity:1; }
::placeholder { color: #b3a27e; opacity:1; }

button { cursor: pointer; }

/* Ensure lists are always readable on warm bg */
ul, ol {
  background: transparent;
  color: #2a261d;
}

/* ====================================== */
/*   MANDATORY FLEXBOX ALIGNMENT PATTERNS */
/* ====================================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .text-image-section,
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
  }
}

/* ============= UTILITIES ============= */
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mt-32 { margin-top: 32px !important; }
.mb-32 { margin-bottom: 32px !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.text-center { text-align: center; }

/* =========== PRINT RESET ============= */
@media print {
  header, footer, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  section, .container { box-shadow:none !important; background: #fff !important; color: #000 !important; padding: 4px !important; }
}

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