/* 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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.6;
  min-height: 100vh;
  background: #F4ECE2;
  color: #233027;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #B66A32;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D38B5A;
  text-decoration: underline;
}
ul, ol { padding-left: 1.2em; margin-bottom: 1em; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}
button { cursor: pointer; }
strong { font-weight: 700; }
em { font-style: italic; }

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #233027;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4 { font-size: 1.15rem; }
p { margin-bottom: 16px; color: #233027; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}

/* UTILITY LAYOUTS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 0;
}
@media (min-width: 900px) {
  .content-wrapper {
    flex-direction: row;
    gap: 32px;
    align-items: flex-start;
  }
}
.text-section {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(210,139,90,0.08),0 0.5px 1.5px 0 rgba(58,72,60,0.15);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(210,139,90,0.07);
  padding: 24px 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 10px 40px rgba(182,106,50,0.13);
  transform: translateY(-2px) scale(1.012);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 24px; }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #FFF9F3;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(182,106,50,0.09);
  margin-bottom: 20px;
  border: 1px solid #F4ECE2;
  min-width: 180px;
  max-width: 350px;
}
.testimonial-card p {
  font-size: 1.02rem;
  color: #233027;
  line-height: 1.5;
}
.testimonial-card span {
  color: #B66A32;
  font-weight: bold;
  font-size: 1.2rem;
}
.testimonial-card div {
  color: #3A483C;
  font-size: 0.97rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SPECIFIC SECTION STYLES */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
section > .container {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0 20px;
}

/* NAVIGATION & HEADER */
header {
  background: #3A483C;
  padding: 0;
  box-shadow: 0 2px 14px 0 rgba(58,72,60,0.07);
  z-index: 999;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 0;
}
header nav {
  display: flex;
  gap: 20px;
}
header nav a {
  color: #F4ECE2;
  font-family: 'Montserrat', Arial,sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 14px;
  border-radius: 14px;
  transition: background 0.16s, color 0.15s;
  line-height: 1.2;
}
header nav a:hover,
header nav a:focus {
  background: #B66A32;
  color: #fff;
}
header img {
  height: 44px;
  width: auto;
  border-radius: 10px;
}
.mobile-menu-toggle {
  display: none;
  background: #B66A32;
  color: #fff;
  font-size: 2rem;
  border-radius: 12px;
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
  border: none;
  margin-left: 16px;
  transition: background 0.17s, box-shadow 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #D38B5A;
  box-shadow: 0 4px 16px rgba(210,139,90,0.11);
}
@media (max-width: 980px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #3A483C;
  color: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 24px 0 24px;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(.77,0,.175,1), opacity 0.23s;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: #B66A32;
  color: #fff;
  font-size: 2rem;
  border-radius: 10px;
  border: none;
  width: 48px;
  height: 48px;
  align-self: flex-end;
  margin-bottom: 24px;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #D38B5A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  text-align: left;
  border-radius: 12px;
  padding: 14px 8px;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #B66A32;
  color: #FFF9F3;
}
/* END MOBILE MENU */

/* FOOTER */
footer {
  background: #3A483C;
  color: #F4ECE2;
  padding: 36px 0 16px 0;
}
footer .container {
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 9px;
}
footer nav a {
  color: #F4ECE2;
  font-family: 'Montserrat', Arial,sans-serif;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 12px;
  transition: background 0.14s;
  font-size: 0.98rem;
}
footer nav a:hover,
footer nav a:focus {
  background: #B66A32;
  color: #fff;
}
footer .text-section p {
  font-size: 0.97rem;
  margin-bottom: 0;
  color: #F4ECE2;
}

/* CTA BUTTONS */
.cta {
  display: inline-block;
  background: #B66A32;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1.07rem;
  border: none;
  border-radius: 18px;
  padding: 12px 32px;
  box-shadow: 0 2px 16px rgba(210,139,90,0.13);
  margin: 10px 0 0 0;
  transition: background 0.17s, box-shadow 0.21s, color 0.17s, transform 0.19s;
  cursor: pointer;
}
.cta.primary {
  background: #3A483C;
  color: #fff;
}
.cta:hover,
.cta:focus {
  background: #D38B5A;
  color: #fff;
  box-shadow: 0 6px 28px rgba(182,106,50,0.18);
  transform: translateY(-2px) scale(1.03);
}

/* FORMS & INPUTS */
input[type="text"] {
  width: 220px;
  max-width: 100%;
  padding: 11px 13px;
  border: 1.5px solid #D38B5A;
  border-radius: 13px;
  font-size: 1rem;
  background: #FFF9F3;
  color: #3A483C;
  transition: border-color 0.19s;
}
input[type="text"]:focus {
  border-color: #B66A32;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin-right: 6px;
  color: #3A483C;
}

/* ICONS IN LISTS */
ul li img {
  height: 26px;
  width: 26px;
  margin-right: 6px;
  vertical-align: middle;
}

/* CARD & GRID SYSTEM */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* RESPONSIVE FLEX RULES */
@media (max-width: 900px) {
  .container {
    max-width: 100%;
    padding: 0 14px;
  }
  .card {
    min-width: unset;
    max-width: 95vw;
    padding: 18px 12px;
  }
  .testimonial-card {
    min-width: unset;
    max-width: 99vw;
    padding: 18px 10px;
  }
  .section {
    padding: 30px 5px;
  }
}
@media (max-width: 540px) {
  .container {
    padding: 0 2vw;
  }
  .section {
    padding: 18px 2vw;
    margin-bottom: 36px;
  }
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.07rem; }
}

/* FLEX PATTERNS RE-APPLIED FOR HTML CLASSES */
.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; }

/* VISUAL EFFECTS - SHADOWS & ROUNDED */
.card, .testimonial-card, .section {
  box-shadow: 0 3px 20px rgba(210,139,90,0.07);
  border-radius: 16px;
}

/* LISTS */
ul {
  list-style: disc inside;
  margin-bottom: 18px;
}
ol {
  list-style: decimal inside;
}
li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* MICROINTERACTIONS FOR CARDS & SECTIONS */
.card, .testimonial-card {
  transition: box-shadow 0.21s, transform 0.18s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 12px 32px rgba(182,106,50,0.13);
  transform: translateY(-2px) scale(1.017);
}

/* SECTIONS IN HERO STYLES */
section:first-of-type {
  background: linear-gradient(95deg, #F4ECE2 84%, #FFF9F3 100%);
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #FFF9F3;
  color: #233027;
  box-shadow: 0 -2px 16px rgba(211,139,90,0.13);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 10vw 24px 10vw;
  min-height: 52px;
  gap: 24px;
  flex-wrap: wrap;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  animation: fadeInUp 0.6s;
  font-size: 1rem;
}
@keyframes fadeInUp {
  from { transform: translateY(36px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner button {
  background: #B66A32;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 13px;
  padding: 9px 20px;
  margin-left: 7px;
  font-size: 1rem;
  transition: background 0.16s, box-shadow 0.17s;
  box-shadow: 0 2px 12px rgba(182,106,50,0.10);
}
.cookie-consent-banner button:hover,
.cookie-consent-banner button:focus {
  background: #D38B5A;
}
.cookie-consent-banner .cookie-settings {
  background: #fff;
  color: #B66A32;
  border: 1.2px solid #B66A32;
  margin-left: 8px;
}
.cookie-consent-banner .cookie-settings:hover,
.cookie-consent-banner .cookie-settings:focus {
  background: #FFF4ED;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  z-index: 12001;
  background: rgba(58,72,60, 0.21);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.26s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #FFF9F3;
  color: #233027;
  border-radius: 24px;
  box-shadow: 0 6px 36px rgba(210,139,90,0.18);
  max-width: 380px;
  width: 95vw;
  padding: 38px 30px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  position: relative;
  animation: fadeInScale 0.33s;
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 12px;
  background: transparent;
  color: #B66A32;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}
.cookie-modal h3 {
  font-size: 1.3rem;
  color: #B66A32;
  font-weight: 700;
  margin-bottom: 5px;
}
.cookie-category {
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 1.07rem;
}
.cookie-category label {
  font-weight: 500;
  color: #3A483C;
}
.cookie-toggle {
  appearance: none;
  width: 40px;
  height: 24px;
  background: #F4ECE2;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.17s;
  box-shadow: 0 1px 2px rgba(58,72,60,0.09);
}
.cookie-toggle:checked {
  background: #B66A32;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.2s;
  box-shadow: 0 1px 4px rgba(58,72,60,0.08);
  border: 1px solid #F4ECE2;
}
.cookie-toggle:checked:before {
  left: 17px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  width: 100%;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  padding: 10px 20px;
  border-radius: 13px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}

/* HIDE/SHOW mobile menu and overlay */
@media (max-width: 900px) {
  .container { max-width: 100vw; }
  header .container { padding: 0 10px; }
}

/* Z-INDEX LAYERS */
header { z-index: 990; }
.mobile-menu { z-index: 2000; }
.cookie-consent-banner { z-index: 9999; }
.cookie-modal-overlay { z-index: 12001; }

/* A11Y - FOCUS STYLES */
a, button, input[type="text"]:focus {
  outline: 2px solid #B66A32;
  outline-offset: 2px;
}

/* IMAGE & ICONS ROUNDED */
img, .icon, .feature-icon {
  border-radius: 11px;
}

/* SPACING FOR ALL CARDS/SECTIONS - OVERRIDE for min 20px between */
.card, .testimonial-card, .section {
  margin-bottom: 20px !important;
}
.content-grid, .card-container, .section > .container, .content-wrapper {
  gap: 20px;
}
@media (max-width:768px) {
  .content-wrapper { flex-direction: column; gap: 20px; }
  .card, .testimonial-card, .section { margin-bottom: 16px !important; }
  .cookie-consent-banner { font-size: 15px; padding: 9px 4vw 18px 4vw; gap: 13px; }
}

/* SCROLLBAR CUSTOMIZATION (optional for friendlier, soft style) */
::-webkit-scrollbar {
  width: 8px;
  background: #F4ECE2;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: #D38B5A;
  border-radius: 8px;
}


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