/* ===================
   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,
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;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #fff;
  color: #222222;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  vertical-align: middle;
}
a { color: inherit; text-decoration: none; transition: color 0.15s; }
ul, ol {list-style: inside disc; margin-left: 20px;}
li {margin-bottom: 8px;}
:focus { outline: 2px dashed #B3925B; outline-offset: 2px;}

/* ===================
   FONT IMPORTS
   =================== */
@import url('https://fonts.googleapis.com/css?family=Merriweather:900,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');

/* ===================
   BASE TYPOGRAPHY
   =================== */
h1 {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 2.8rem;
  color: #744436;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
h2 {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 2rem;
  color: #744436;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #B3925B;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #744436;
}
.subtitle {
  font-size: 1.25rem;
  color: #B3925B;
  font-weight: 600;
  margin-bottom: 20px;
}
p, li {
  font-size: 1.05rem;
  color: #222222;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
strong {
  color: #744436;
  font-weight: 700;
}
em {
  color: #744436;
  font-style: italic;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ===================
   LAYOUT CONTAINERS
   =================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* =============
   HEADER / NAV
   ============= */
header {
  background: #FFE0B2;
  border-bottom: 5px solid #B3925B;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 24px;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  height: 60px;
  margin-right: 24px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-grow: 1;
}
nav.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #744436;
  letter-spacing: 0.04em;
  position: relative;
  transition: color 0.18s;
  padding: 8px 0;
}
nav.main-nav a:hover {
  color: #B3925B;
}
.cta-btn {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 1.12rem;
  background: #744436;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 28px;
  margin-left: 28px;
  box-shadow: 0 4px 18px rgba(116,68,54,0.07);
  transition: background 0.17s, color 0.17s, transform 0.17s, box-shadow 0.17s;
  letter-spacing: 0.04em;
  cursor: pointer;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: #B3925B;
  color: #222222;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 18px rgba(179,146,91,0.15);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: #744436;
  font-size: 2.2rem;
  padding: 8px 14px;
  margin-left: 18px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s;
  display: none;
  z-index: 110;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FFE0B2;
}

/* Mobile nav overlay */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 9999;
  box-shadow: 0 0 40px rgba(0,0,0,0.09);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 40px;
  padding-left: 28px;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.65,.04,.36,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 36px;
  background: none;
  color: #744436;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  z-index: 12001;
  padding: 12px;
  border-radius: 6px;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFE0B2;
  color: #B3925B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.26rem;
  font-weight: 700;
  color: #744436;
  padding: 15px 0;
  display: block;
  border-bottom: 1.5px solid #FFE0B2;
  transition: color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #B3925B;
}

/* Hide mobile menu toggle on desktop */
@media (min-width: 980px) {
  .mobile-menu,
  .mobile-menu.open { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}
@media (max-width: 979px) {
  nav.main-nav { display: none !important; }
  .cta-btn { margin-left: auto; }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =============
   MAIN/SECTIONS
   ============= */
main { min-height: 70vh; }
section {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(179,146,91,0.05);
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 20px;
}

/* =============
   FLEXBOX GRIDS & SPACING
   ============= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFE0B2;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(180,140,85,0.09);
  margin-bottom: 20px;
  padding: 24px;
  position: relative;
  flex: 1 0 320px;
  min-width: 280px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 28px 0 rgba(179,146,91,0.15), 0 1.5px 6px 0 rgba(116,68,54,0.10);
  transform: translateY(-3px) scale(1.022);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 18px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px rgba(179,146,91,0.09);
  flex: 1 1 240px;
  min-width: 200px;
  max-width: 290px;
  padding: 20px 16px 30px 16px;
  transition: box-shadow 0.18s, transform 0.15s;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.feature-grid > div:hover,
.feature-grid > div:focus-within {
  box-shadow: 0 8px 24px 0 rgba(116,68,54,0.16);
  transform: translateY(-3px) scale(1.025);
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  border-radius: 10px;
}
.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-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 28px 22px 28px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 22px 0 rgba(116,68,54,0.06);
  min-width: 250px;
  flex: 1 1 300px;
  margin-bottom: 20px;
  border-left: 5px solid #B3925B;
  transition: box-shadow 0.16s, border 0.14s;
}
.testimonial-card p {
  color: #222222;
  font-size: 1.08rem;
  font-weight: 500;
}
.testimonial-footer {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #744436;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.map-placeholder {
  margin: 24px 0 0 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 16px 6px 0;
  background: #FFE0B2;
  border-radius: 12px;
  font-weight: bold;
  color: #744436;
}

/* =============
   FOOTER
   ============= */
footer {
  background: #FFE0B2;
  border-top: 5px solid #B3925B;
  width: 100%;
  margin-top: 60px;
  padding: 30px 0 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #744436;
  font-weight: 700;
  font-size: 1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.14s, border 0.17s;
  padding-bottom: 2px;
}
.footer-nav a:hover {
  color: #B3925B;
  border-bottom: 2px solid #B3925B;
}
.footer-contact {
  text-align: center;
  color: #744436;
  font-size: 0.98rem;
  margin-bottom: 10px;
}
.footer-logo img {
  height: 44px;
  margin-top: 10px;
  opacity: 0.95;
}

/* ====================
   BUTTONS & INTERACTIONS
   ==================== */
button, .cta-btn {
  transition: background 0.16s, color 0.16s, box-shadow 0.14s, transform 0.13s;
}
button:active, .cta-btn:active {
  filter: brightness(0.97);
}

/* ============
   COOKIE BANNER
   ============ */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #744436;
  color: #fff;
  z-index: 10010;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  box-shadow: 0 -3px 16px 0 rgba(80,40,29,0.13);
  padding: 19px 16px;
  font-size: 1.06rem;
  font-family: 'Montserrat', Arial, sans-serif;
  animation: cookieSlideUp 0.6s cubic-bezier(.41,-0.02,.69,1.2) 1;
}
@keyframes cookieSlideUp {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  margin-bottom: 0;
  font-size: 1.07rem;
}
.cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 18px;
  padding: 9px 20px;
  cursor: pointer;
  margin: 0 2px;
  background: #FFE0B2;
  color: #744436;
  box-shadow: 0 2px 8px rgba(179,146,91,0.10);
  transition: background 0.13s, color 0.13s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #B3925B;
  color: #fff;
}
.cookie-btn.secondary {
  background: transparent;
  border: 2px solid #FFE0B2;
  color: #FFE0B2;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #fff;
  color: #744436;
}

/* ============
   COOKIE MODAL
   ============ */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,34,34,0.55);
  z-index: 11010;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.25s;
}
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal-content {
  background: #fff;
  color: #222222;
  border-radius: 18px;
  padding: 36px 20px 28px 32px;
  min-width: 310px;
  max-width: 92vw;
  min-height: 160px;
  box-shadow: 0 10px 36px 0 rgba(116,68,54,0.14);
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-family: 'Merriweather', serif;
}
.cookie-modal-content h2 {
  color: #744436;
  font-size: 1.36rem;
  font-weight: 900;
  font-family: 'Merriweather', serif;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cookie-category label {
  display: flex;
  align-items: center;
  color: #744436;
  font-size: 1.12rem;
  gap: 10px;
  font-weight: 700;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  background: #FFE0B2;
  border-radius: 16px;
  position: relative;
  margin: 0 10px;
  transition: background 0.13s;
  border: 2px solid #B3925B;
}
.cookie-toggle input[type='checkbox'] {
  display: none;
}
.cookie-toggle span {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #B3925B;
  position: absolute;
  top: 50%;
  left: 2px;
  transform: translateY(-50%);
  transition: left 0.17s;
}
.cookie-toggle input[type='checkbox']:checked + span {
  left: 18px;
  background: #744436;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #744436;
  font-size: 2rem;
  align-self: flex-end;
  margin-top: -22px;
  margin-right: -8px;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #B3925B;
}

/* Responsive for cookie modal */
@media (max-width: 570px) {
  .cookie-modal-content {padding: 26px 10px 18px 10px;}
}

/* ===================
   MOBILE RESPONSIVE
   =================== */
@media (max-width: 768px) {
  html {font-size: 95%;}
  h1 {font-size: 2rem;}
  h2 {font-size: 1.4rem;}
  .container { padding: 0 8px; }
  section, .section {
    padding: 26px 6px;
    border-radius: 13px;
  }
  .feature-grid, .testimonial-slider, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 20px!important;
  }
  .card {
    min-width: 90vw;
    padding: 16px 10px;
    border-radius: 12px;
  }
  .footer-logo img {
    height: 33px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  header {
    height: auto;
    padding: 10px 10px 8px 10px;
    flex-wrap: wrap;
  }
  .logo {margin-right: 10px;}
  .footer-nav { gap: 14px; }
}

/* For small mobiles */
@media (max-width: 480px) {
  html { font-size: 89%; }
  .feature-grid > div, .card {padding: 13px 6px;}
  .footer-logo img { height: 24px; }
}

/* ====================
   MISC UTILITIES
   ==================== */
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.mb-24 {margin-bottom: 24px;}
.mt-20 {margin-top: 20px;}

/* High-contrast links in testimonials */
.testimonial-card a { color: #744436; text-decoration: underline; word-break: break-word; }
.testimonial-card a:hover { color: #B3925B; }

/* ========
   LISTS
   ======== */
ul, ol { margin-bottom: 12px;}
ul > li, ol > li {
  position: relative;
  font-size: 1rem;
  color: #222222;
  font-weight: 500;
  padding-left: 6px;
  margin-bottom: 7px;
}

/* ===============
   MISCELLANEOUS
   =============== */
::-webkit-scrollbar {
  width: 10px;
  background: #FFE0B2;
}
::-webkit-scrollbar-thumb {
  background: #B3925B;
  border-radius: 7px;
}

/* Decorative geometric background accents (optional - can be used for .section directly) */
.section::before {
  content: '';
  display: block;
  position: absolute;
  left: -60px;
  top: -50px;
  width: 130px;
  height: 130px;
  background: #FFE0B2;
  border-radius: 35% 65% 67% 33% / 40% 30% 70% 60%;
  z-index: 0;
  opacity: 0.16;
}
@media (max-width: 768px) {
  .section::before {display: none;}
}
.section {position: relative; z-index: 1;}

/* =============
   ANIMATIONS
   ============= */
.cta-btn,
.feature-grid > div,
.card,
.testimonial-card,
.cookie-btn,
button,
.mobile-menu-open {
  transition: all 0.19s cubic-bezier(.68,-0.2,.67,1.3);
}
.cta-btn:active {
  transform: scale(0.975);
}

/* =============
   ACCESSIBILITY
   ============= */
[tabindex]:focus,
a:focus,
button:focus {
  outline: 2px dashed #B3925B;
  outline-offset: 2.5px;
}

/* =============
   SPECIAL CLASSES FOR CARD/SLIDER
   ============= */

/* Prevent card overlapping */
.card, .feature-grid > div, .testimonial-card {
  margin-bottom: 20px !important;
}

/* =============
   Z-INDEXES (mobile menu and cookie modal)
   ============= */
.mobile-menu { z-index: 9000; }
.cookie-modal { z-index: 11010; }
.cookie-banner { z-index: 12010; }

/* =============
   FORMS (cookie modal checkboxes)
   ============= */
input[type='checkbox'] {
  accent-color: #B3925B;
  width: 18px;
  height: 18px;
  margin-right: 4px;
}

/* ===================
   PRINT
   =================== */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal, footer { display: none !important; }
  main { margin: 0; }
  .section, section, .container { box-shadow: none !important; background: #fff !important; }
}
