/* =======================
   CSS RESET & NORMALIZATION
   ======================= */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FFFFFF;
  color: #2C2F38;
}
ol, ul {
  list-style: none;
}
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}
img {
  border-style: none;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
:focus {
  outline: 2px solid #B84D14;
  outline-offset: 2px;
}

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

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #FFF;
  color: #2C2F38;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: #2C2F38;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p, li {
  font-size: 1rem;
  color: #393C45;
  margin-bottom: 12px;
}
strong { color: #964012; font-weight: 600; }
em { color: #2C2F38; opacity: 0.7; font-style: normal; }

.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

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

.text-section {
  margin-bottom: 32px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* =======================
   HEADER & NAVIGATION
   ======================= */
header {
  width: 100%;
  background: #FFF;
  box-shadow: 0 2px 8px rgba(44,47,56,0.07);
  z-index: 100;
  position: sticky;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 0 0 0;
  min-height: 76px;
}
.logo-link {
  display: flex;
  align-items: center;
  height: 76px;
  padding: 0 20px;
}
.logo-link img {
  height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 22px;
  margin-left: 12px;
}
.main-nav a {
  font-weight: 600;
  color: #2C2F38;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #964012;
  background: #E7E9EC;
}

.cta-btn {
  background: #964012;
  color: #FFF;
  font-weight: 700;
  font-family: 'Open Sans', Arial, sans-serif;
  border-radius: 7px;
  padding: 12px 26px;
  font-size: 1.09rem;
  margin-left: 32px;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(184,77,20,0.08);
  border: none;
  cursor: pointer;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #B84D14;
  color: #FFF;
  transform: translateY(-1.5px) scale(1.03);
  box-shadow: 0 4px 16px rgba(184,77,20,0.13);
}

/* --- Hamburger Menu Button --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #964012;
  margin-left: 28px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  line-height: 1;
  transition: background 0.18s;
  z-index: 210;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E7E9EC;
}

/* --- Mobile Menu Overlay --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #FFF;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 30px 18px 18px 18px;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.34s cubic-bezier(.56,1.38,.59,.99), opacity 0.26s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #964012;
  margin-bottom: 20px;
  cursor: pointer;
  border-radius: 6px;
  padding: 6px 12px;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E7E9EC;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.11rem;
  font-weight: 600;
  color: #2C2F38;
  padding: 10px 0;
  border-radius: 6px;
  width: 100%;
  display: block;
  transition: background 0.19s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E7E9EC;
  color: #964012;
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 14px;
  }
  .cta-btn {
    margin-left: 18px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 480px) {
  header {
    padding-left: 0;
    min-height: 60px;
  }
  .logo-link {
    padding-left: 6px;
    height: 60px;
  }
  .logo-link img {
    height: 36px;
  }
}

/* =======================
   HERO SECTION
   ======================= */
.hero {
  background: linear-gradient(90deg, #E7E9EC 0%, #FFF 100%);
  padding: 54px 0 44px 0;
  min-height: 280px;
  display: flex;
  align-items: center;
}
.hero .container {
  align-items: flex-start;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  max-width: 580px;
}
.hero h1 {
  color: #964012;
}
.hero p {
  color: #393C45;
}

@media (max-width: 900px) {
  .hero {
    padding: 34px 0 32px 0;
    min-height: 200px;
  }
}
@media (max-width: 530px) {
  .hero {
    padding: 22px 0 18px 0;
  }
  .hero .container {
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* =======================
   FEATURE & CARD STYLES
   ======================= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 6px;
  margin-bottom: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF;
  box-shadow: 0 2px 10px 0 rgba(44,47,56,0.06);
  border-radius: 12px;
  border: 1.5px solid #E7E9EC;
  padding: 30px 22px 28px 22px;
  min-width: 210px;
  max-width: 300px;
  flex: 1 1 250px;
  transition: box-shadow 0.23s, transform 0.17s, border 0.2s;
  position: relative;
  margin-bottom: 20px;
}
.feature-item img {
  width: 38px;
  height: 38px;
}
.feature-item:hover, .feature-item:focus-within {
  border-color: #B84D14;
  box-shadow: 0 6px 18px 0 rgba(184,77,20,0.10);
  transform: scale(1.025) translateY(-2px);
}
.feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 3px;
  color: #964012;
}

/* =======================
   TESTIMONIALS
   ======================= */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #E7E9EC;
  color: #2C2F38;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(44,47,56,0.06);
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 22px rgba(44,47,56,0.11);
  transform: scale(1.015);
}
.testimonial-card p {
  font-size: 1.10rem;
  font-style: italic;
  color: #2C2F38;
  margin-bottom: 0;
}
.testimonial-meta {
  color: #964012;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* =======================
   CARD CONTAINER & FLEX PATTERNS
   ======================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(44,47,56,0.08);
  position: relative;
  padding: 28px 20px;
  border: 1.5px solid #E7E9EC;
  transition: box-shadow 0.21s;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* =======================
   LISTS, LINKS, BUTTONS
   ======================= */
ul, ol {
  margin-left: 22px;
  margin-bottom: 12px;
}
ul li, ol li {
  padding-left: 0;
  margin-bottom: 8px;
  position: relative;
}
ul li:before {
  content: '\2022';
  color: #964012;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  font-size: 1rem;
  line-height: 1;
}
a {
  color: #964012;
  transition: color 0.16s;
}
a:hover, a:focus {
  color: #B84D14;
  text-decoration: underline;
}
button {
  cursor: pointer;
}

/* =======================
   FOOTER STYLES
   ======================= */
footer {
  background: #E7E9EC;
  padding: 34px 0 0 0;
  width: 100%;
  margin-top: 50px;
  font-size: 1rem;
  color: #393C45;
  border-top: 1.5px solid #E7E9EC;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 18px;
  justify-content: center;
}
.footer-nav a {
  color: #2C2F38;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.14s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #FFF;
  color: #964012;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
  font-size: 0.98rem;
  margin-bottom: 14px;
}
.footer-info a {
  color: #964012;
}

/* =======================
   RESPONSIVE DESIGN
   ======================= */
@media (max-width: 1090px) {
  .container {
    max-width: 97vw;
  }
  .feature-item { min-width: 140px; max-width: 97vw; }
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 20px;
  }
  .section {
    padding: 32px 10px;
    margin-bottom: 40px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding-left: 8px; padding-right: 8px;
  }
  .section {
    padding: 22px 6px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.29rem; }
  h2 { font-size: 1.06rem; }
  h3 { font-size: 1rem; }
  .feature-item { padding: 18px 10px 12px 10px; }
}

/* =======================
   COOKIE CONSENT BANNER
   ======================= */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #2C2F38;
  color: #FFF;
  z-index: 11500;
  box-shadow: 0 -4px 16px rgba(44,47,56,0.17);
  padding: 22px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  transition: transform 0.38s, opacity 0.25s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-consent-banner .cookie-text {
  font-size: 1rem;
  color: #FFF;
  text-align: center;
}
.cookie-consent-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
}
.cookie-btn {
  border-radius: 7px;
  padding: 9px 18px;
  font-size: 0.98rem;
  font-weight: 700;
  font-family: 'Open Sans', Arial, sans-serif;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.16s;
  margin-right: 0;
}
.cookie-btn.accept {
  background: #964012;
  color: #FFF;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #B84D14;
  color: #FFF;
}
.cookie-btn.reject {
  background: #E7E9EC;
  color: #2C2F38;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #B84D14;
  color: #FFF;
}
.cookie-btn.settings {
  background: transparent;
  color: #E7E9EC;
  border: 1.5px solid #E7E9EC;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  border-color: #B84D14;
  color: #B84D14;
  background: #FFF;
}

/* --- Cookie Modal --- */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(44,47,56,0.60);
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.31s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #FFF;
  color: #2C2F38;
  border-radius: 14px;
  box-shadow: 0 10px 36px rgba(44,47,56,0.13);
  padding: 32px 20px 28px 20px;
  max-width: 350px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  text-align: left;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.55rem;
  color: #964012;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #E7E9EC;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 1rem;
}
.cookie-category label {
  cursor: pointer;
  color: #2C2F38;
}
.cookie-switch {
  position: relative;
  width: 36px;
  height: 20px;
  display: inline-block;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  top: 0; left: 0;
  width: 36px;
  height: 20px;
  background: #E7E9EC;
  border-radius: 20px;
  transition: background 0.25s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #964012;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  background: #FFF;
  border-radius: 50%;
  transition: transform 0.25s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
}
.cookie-category .cookie-locked {
  color: #964012;
  font-size: 1.11rem;
  margin-left: 7px;
}
.cookie-modal-content .cookie-btns {
  justify-content: flex-end;
  margin-top: 0;
  gap: 12px;
}

@media (max-width: 410px) {
  .cookie-modal-content {
    padding: 14px 4px 13px 4px;
  }
}

/* =======================
   UTILITY CLASSES
   ======================= */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-16 { margin-top: 16px !important; }
.mb-20 { margin-bottom: 20px !important; }
.pb-0 { padding-bottom: 0 !important; }
.text-center { text-align: center !important; }
.fw-bold { font-weight: bold !important; }

/* =======================
   GENERAL ANIMATIONS & MICRO-INTERACTIONS
   ======================= */
button, .cta-btn, .feature-item, .testimonial-card, .card {
  transition: box-shadow 0.22s, background 0.16s, transform 0.16s;
}

/* =======================
   CUSTOM SCROLLBAR (optional for desktop)
   ======================= */
@media (min-width: 900px) {
  ::-webkit-scrollbar { width: 10px; background: #E7E9EC; }
  ::-webkit-scrollbar-thumb { background: #C7CBD1; border-radius: 8px; }
  ::-webkit-scrollbar-thumb:hover { background: #B84D14; }
}

/* =======================
   PRINT FRIENDLY STYLES
   ======================= */
@media print {
  header, .hero, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal { display: none !important; }
  body { color: #000; background: #FFF; }
  .container { max-width: 100vw; }
}

/* =======================
   OVERRIDES FOR HTML STRUCTURE & COLOR CONTRAST
   ======================= */
/* Testimonial cards use light backgrounds with dark, readable text per accessibility */

/* =======================
   END OF STYLE.CSS
   ======================= */
