/* ==== 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.55;
  background: #E6E2DD;
  color: #372312;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s;
  outline: 0;
}
img {
  border-style: none;
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}


/* ==== BRAND FONTS & COLORS ==== */
:root {
  --color-primary: #6F4A2F;
  --color-secondary: #E6E2DD;
  --color-bg: #FEFCF7;
  --color-bg-alt: #FFFFFF;
  --color-accent: #02736F;
  --color-accent-dark: #00635F;
  --color-shadow: rgba(90,50,15,0.12);
  --color-border: #D3C5B3;
  --color-card-bg: #FFFDF9;
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

body {
  font-family: var(--font-body);
  background: var(--color-secondary);
  color: #372312;
  font-size: 16px;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 {font-size: 2.6rem;font-weight: 900;}
h2 {font-size: 2rem;font-weight: 800;}
h3 {font-size: 1.45rem;font-weight: 700;}
h4 {font-size: 1.18rem;font-weight: 700;}

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.33rem; }
}

p, ul, ol {
  font-size: 1rem;
  margin-bottom: 18px;
}
strong, b {
  font-weight: bold;
}


/* ==== LAYOUT CONTAINERS & FLEXBOX ==== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
  background: var(--color-card-bg);
  border-radius: 18px;
  box-shadow: 0 3px 24px var(--color-shadow);
  padding: 28px 20px;
  transition: transform .20s, box-shadow .22s;
  border: 1px solid var(--color-border);
}
.card:hover {
  transform: translateY(-6px) scale(1.014);
  box-shadow: 0 9px 30px rgba(60,30,10,0.20);
}
.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;
  margin-bottom: 24px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(80,40,20,0.09);
  border: 1px solid #DEDEDE;
  flex-direction: column;
  width: 100%;
  max-width: 540px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== HERO SECTION ==== */
.hero {
  background: linear-gradient(80deg, var(--color-secondary) 38%, #FFFCEB 100%);
  min-height: 290px;
  display: flex;
  align-items: center;
  padding: 0;
  margin-bottom: 36px;
}
.hero .container {
  align-items: flex-start;
}
.hero h1 {
  color: var(--color-accent);
  font-size: 2.8rem;
  font-family: var(--font-display);
  font-weight: 900;
  text-shadow: 0 2px 20px #b5d5d020;
  margin-bottom: 18px;
}
.hero p {
  color: #3c2822;
  font-size: 1.25rem;
  margin-bottom: 30px;
}

/* ==== HEADER ==== */
header {
  background-color: var(--color-bg-alt);
  box-shadow: 0 2px 16px rgba(60,40,20,0.10);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 34;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 18px 8px;
  gap: 28px;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 22px;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 6px 10px;
  color: var(--color-accent);
  border-radius: 12px;
  transition: background 0.17s, color 0.19s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-accent-dark);
  color: #FFF;
}
.cta.primary, .cta.secondary {
  font-family: var(--font-display);
  background: var(--color-primary);
  color: #FFF;
  font-size: 1.11rem;
  padding: 13px 26px;
  border-radius: 30px;
  border: none;
  transition: background 0.22s, color 0.2s, box-shadow 0.22s;
  font-weight: 700;
  box-shadow: 0 3px 20px var(--color-shadow);
  outline: 0;
  letter-spacing: 0.02em;
  cursor: pointer;
  margin-left: 18px;
  display: inline-block;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta.primary {
  background: var(--color-primary);
  color: #FFF;
}
.cta.primary:hover,
.cta.primary:focus {
  background: var(--color-accent);
  color: #FFF;
  box-shadow: 0 5px 23px #00807522;
}
.cta.secondary {
  background: var(--color-accent);
  color: #FFF;
}
.cta.secondary:hover,
.cta.secondary:focus {
  background: var(--color-primary);
  color: #FFF;
}

/* ==== FOOTER ==== */
footer {
  background: var(--color-primary);
  color: #FFF;
  padding: 32px 0 15px 0;
  margin-top: 18px;
  box-shadow: 0 -2px 16px rgba(90,40,15,0.06);
}
footer .container {
  gap: 14px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.footer-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #fff;
  background: var(--color-accent-dark);
}
.company-info {
  color: #E8E2DA;
  font-size: 0.92rem;
  margin-top: 8px;
  opacity: 0.85;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==== TEXT STYLES & ELEMENTS ==== */
ul {
  padding-left: 18px;
  margin-bottom: 16px;
}
ul li {
  font-size: 1.01rem;
  margin-bottom: 10px;
  line-height: 1.54;
  position: relative;
  padding-left: 15px;
}
ul li:before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--color-accent);
  border-radius: 60%;
  position: absolute;
  left: 0;
  top: 8px;
  opacity: 0.75;
}
.main-nav ul, .footer-nav ul { padding-left: 0; }

blockquote {
  font-style: italic;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.11rem;
  opacity: 0.85;
  margin-bottom: 12px;
  position: relative;
  padding-left: 22px;
}
blockquote:before {
  content: "\201C";
  font-size: 2.2rem;
  color: var(--color-accent);
  position: absolute;
  left: 0;
  top: -8px;
  opacity: 0.22;
  line-height: 1;
}

/* ==== TESTIMONIALS ==== */
.testimonial-card {
  margin-bottom: 28px;
  background: #FFF;
  color: #281701;
  border-left: 7px solid var(--color-accent);
  box-shadow: 0 3px 18px rgba(46,67,66,0.1);
  min-width: 0;
}
.testimonial-card div {
  font-size: 1rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  opacity: 0.97;
}

/* ==== BUTTONS & LINKS ==== */
button,
.cta {
  font-family: var(--font-display);
  cursor: pointer;
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 1.09rem;
  border-radius: 30px;
  padding: 13px 25px;
  transition: background 0.22s, color 0.22s, box-shadow 0.18s, outline 0.14s;
  box-shadow: 0 3px 20px var(--color-shadow);
}
button:hover,
.cta:hover, button:focus,
.cta:focus {
  background: var(--color-accent-dark);
  color: #fff;
  box-shadow: 0 6px 23px #00807522;
  outline: 2px solid var(--color-accent-dark);
  outline-offset: 1px;
}

/* ==== ANIMATIONS & TRANSITIONS ==== */
.section, .card, .testimonial-card, .cta, .main-nav a, .footer-nav a {
  transition: box-shadow .16s, background .19s, color 0.14s, transform 0.16s;
}

@media (hover: hover) {
  .cta:active, .main-nav a:active {
    transform: scale(0.98) translateY(2px);
  }
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1060px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 10px;
    padding: 7px 6px;
  }
  .main-nav {
    gap: 9px;
    font-size: 0.99rem;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .main-nav {
    display: none !important;
  }
  .cta.primary {
    display: none !important;
  }
  footer .container, .company-info, .footer-nav {
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
    text-align: left;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 44px;
  }
  .card-container,
  .content-grid,
  .text-image-section {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .testimonial-card {
    max-width: 100%;
    gap: 13px;
  }
}
@media (max-width: 580px) {
  .hero {
    min-height: 120px;
    padding-bottom: 9px;
  }
}

/* ==== BURGER MENU MOBILE ==== */
.mobile-menu-toggle {
  display: none;
  position: relative;
  z-index: 99;
  background: var(--color-primary);
  color: #fff;
  border-radius: 14px;
  border: none;
  padding: 10px 18px;
  font-size: 1.6rem;
  line-height: 1;
  margin-left: auto;
  margin-right: 10px;
  box-shadow: 0 1px 6px var(--color-shadow);
  transition: background 0.18s, color 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-accent-dark);
  color: #fff;
}

@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: block;
  }
}

/*  == MOBILE MENU OVERLAY ==  */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(240,234,225, 0.98);
  box-shadow: 0 2px 26px 0px rgba(50,40,30,0.14);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 28px 18px 28px;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.78,0.09,0.16,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  position: absolute;
  right: 24px;
  top: 14px;
  background: var(--color-accent);
  color: #FFF;
  border: none;
  font-size: 2.0rem;
  line-height: 1;
  border-radius: 16px;
  padding: 8px 14px;
  box-shadow: 0 1px 10px var(--color-shadow);
  cursor: pointer;
  z-index: 1100;
  transition: background .14s, color 0.14s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-primary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 44px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.23rem;
  font-weight: 700;
  color: var(--color-primary);
  border-radius: 16px;
  padding: 17px 15px 11px 0;
  transition: background 0.16s, color 0.15s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: #FFF;
}

@media (min-width: 901px) {
  .mobile-menu {
    display: none!important;
  }
  .mobile-menu-toggle {
    display: none!important;
  }
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #F3E6D9;
  color: #442a19;
  z-index: 2500;
  width: 100vw;
  min-height: 50px;
  box-shadow: 0px -2px 16px 0px #c6a88a28, 0 -1px 0 #d4c3ae;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 1.07rem;
  padding: 18px 20px 18px 16px;
  animation: banner-in .55s cubic-bezier(.78,.13,.24,1);
}
@keyframes banner-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 0;
  font-size: 1.06rem;
  line-height: 1.42;
  font-family: var(--font-body);
}
.cookie-banner .cookie-btn {
  font-size: 1.02rem;
  margin-left: 12px;
  margin-right: 5px;
  padding: 11px 19px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 24px;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.14s, color 0.13s;
}
.cookie-banner .cookie-btn.rej {
  background: #d3641c;
  color: #fff;
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: #ecdec3;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  margin-left: 9px;
}
.cookie-banner .cookie-btn.settings:hover,
.cookie-banner .cookie-btn.settings:focus {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.99rem;
    padding: 18px 8px 12px 12px;
  }
  .cookie-banner .cookie-btn {
    margin: 5px 0 3px 0;
  }
}

/* ==== COOKIE PREFERENCE MODAL ==== */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(43, 26, 19, 0.26);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-in .41s cubic-bezier(.75,.05,.21,1);
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes cookie-modal-in {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #FFFDF9;
  box-shadow: 0 12px 48px rgba(60,32,10,0.19);
  border-radius: 22px;
  padding: 38px 28px 24px 28px;
  min-width: 320px;
  max-width: 95vw;
  color: #291a0d;
  font-size: 1.09rem;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 16px;
  font-size: 1.35rem;
  border: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0.5px 8px var(--color-shadow);
  transition: background .14s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: var(--color-primary);
}
.cookie-modal h2 {
  margin-bottom: 4px;
  font-size: 1.24rem;
}
.cookie-category-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  font-size: 1.03rem;
  margin-bottom: 10px;
}
.cookie-category-label {
  flex: 1;
}
.cookie-category-toggle {
  appearance: none;
  width: 44px;
  height: 24px;
  background: #E8E2DC;
  border-radius: 14px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.16s;
  vertical-align: middle;
}
.cookie-category-toggle:checked {
  background: var(--color-accent);
}
.cookie-category-toggle:disabled {
  opacity: 0.8;
}
.cookie-category-toggle::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1.5px 5px #b1b1b111;
  transition: left .19s;
}
.cookie-category-toggle:checked::before {
  left: 24px;
  background: var(--color-accent-dark);
}

/* ==== CREATIVE ARTISTIC ACCENTS ==== */
.hero {
  position: relative;
  overflow: hidden;
}
.hero:before {
  content: "";
  display: block;
  position: absolute;
  width: 240px; height: 240px;
  right: -120px; top: -90px;
  background: rgba(2,115,111,0.17);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.hero:after {
  content: '';
  display: block;
  position: absolute;
  left: -130px; bottom: -110px;
  width: 180px; height: 170px;
  background: rgba(111,74,47,0.07);
  border-radius: 60% 100% 80% 120%/ 80% 60% 130% 90%;
  z-index: 0;
  pointer-events: none;
}
.hero .content-wrapper {
  z-index: 2;
  position: relative;
}

/* Decorative artistic lines below headings */
h1:after, h2:after {
  content: '';
  display: block;
  margin-top: 11px;
  width: 54px;
  height: 5px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
  border-radius: 2.5px;
  opacity: 0.58;
}

/* Card artistic details */
.card {
  overflow: visible;
}
.card:after {
  content: '';
  position: absolute;
  right: -20px; top: 24px;
  width: 37px; height: 37px;
  background: rgba(2,115,111,0.11);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* ==== VISUAL HIERARCHY & SPACING ==== */
main > section {
  margin-bottom: 60px;
  padding: 40px 0px;
}
@media (max-width: 800px) {
  main > section {
    padding: 28px 0px;
    margin-bottom: 34px;
  }
}

/* ==== FORM ELEMENTS (for contact pages if any forms) ==== */
input, textarea, select {
  font-family: var(--font-body);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 13px 14px;
  margin-bottom: 14px;
  width: 100%;
  font-size: 1rem;
  box-shadow: 0 1px 6px #baa88216;
  background: #FFFDF9;
  transition: border-color .17s, box-shadow .19s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent-dark);
  outline: none;
  box-shadow: 0 0 0 2px #21cec350;
}
label {
  font-family: var(--font-display);
  font-size: 1.07rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 6px;
}

/* ==== UTILITY CLASSES ==== */
.hide { display: none !important; }
.text-center { text-align: center !important; }
.mt-2 { margin-top: 8px !important; }
.mt-4 { margin-top: 24px !important; }

/* ==== ENSURE NO OVERLAP & ENOUGH SPACING ==== */
.section, .card-container > *, .content-grid > *, .feature-item, .testimonial-card,
.text-image-section > * {
  margin-bottom: 20px;
}

/* ==== SCROLLBAR STYLING ==== */
body::-webkit-scrollbar {
  width: 13px;
  background: #E7E3DD;
  border-radius: 10px;
}
body::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 10px;
}

/* ==== SELECTION COLOR ==== */
::selection {
  background: var(--color-accent);
  color: #fff;
}

/* ==== FOCUS-VISIBLE for accessibility ==== */
:focus-visible {
  outline: 2px solid var(--color-accent-dark);
  outline-offset: 2px;
}

/* ==== CARD-LIKE SECTION WRAPPERS (for FAQ or similar) ==== */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 22px 20px 20px 20px;
  border-radius: 13px;
  background: #FFFCF7;
  box-shadow: 0 1px 9px rgba(70,38,17,0.09);
  margin-bottom: 20px;
  min-width: 0;
}

/* ==== ARTISTIC FONT STYLE FOR HEADINGS ==== */
h1, h2 {
  font-family: 'Montserrat', var(--font-display), Arial, sans-serif;
  letter-spacing: 1.5px;
  text-transform: none;
}

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