/* RESET & BASE TYPOGRAPHY ---------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F2F2F2;
  color: #22292F;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #22292F;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #7E5944;
  outline: none;
}
strong { font-weight: bold; }
em { font-style: italic; }
ul, ol {
  padding-left: 1.6em;
  margin-bottom: 1em;
}
li + li {
  margin-top: 0.25em;
}

/* TYPOGRAPHY SCALE ---------------------- */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #22292F;
  margin-bottom: 24px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -.012em;
  margin-bottom: 18px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 12px;
}
h4, .h4 {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 8px;
}
p, .text-section, ul, ol {
  color: #22292F;
  font-size: 1rem;
  margin-bottom: 16px;
}
blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #22292F;
  border-left: 4px solid #22292F;
  padding-left: 16px;
  margin-bottom: 10px;
  font-style: italic;
  background: #F2F2F2;
}

/* CONTAINERS, FLEX LAYOUTS ---------------------- */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(34,41,47,0.07);
  padding: 28px 24px;
  transition: box-shadow .26s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(34,41,47,0.16);
}
.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: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(34,41,47,0.06);
  margin-bottom: 20px;
  min-width: 0;
  transition: box-shadow .22s;
  border: 1px solid #d2d2d2;
}
.testimonial-card blockquote {
  border: none;
  color: #22292F;
  background: transparent;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 10px;
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 10px rgba(34,41,47,0.08);
  min-width: 220px;
  flex: 1 1 220px;
  min-height: 240px;
  transition: box-shadow .18s;
}
.feature-grid > div img {
  width: 36px;
  margin-bottom: 12px;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 32px rgba(34,41,47,0.16);
}
.feature-list {
  list-style: disc;
  margin-bottom: 24px;
  color: #22292F;
  padding-left: 24px;
}

/* Buttons & Links ---------------------- */
.cta-btn, .cta-nav, .mobile-nav a.cta-nav {
  display: inline-block;
  border-radius: 6px;
  background: #22292F;
  color: #fff!important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 13px 32px;
  margin-top: 12px;
  border: none;
  box-shadow: 0 1px 3px rgba(34,41,47,0.08);
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .22s;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus, .cta-nav:hover, .cta-nav:focus {
  background: #fff;
  color: #22292F!important;
  border: 1.5px solid #22292F;
  box-shadow: 0 6px 24px rgba(34,41,47,0.14);
}

/* NAVIGATION --------------------------- */
header {
  position: relative;
  background: #fff;
  box-shadow: 0 2.5px 12px rgba(34,41,47,0.04);
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}
.logo img {
  height: 46px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #22292F;
  padding: 7px 0;
  transition: color .16s, border-color .16s;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover, .main-nav a:focus {
  color: #7E5944;
  border-bottom: 1px solid #7E5944;
}
.main-nav .cta-nav {
  background: #22292F;
  border-radius: 4px;
  color: #fff;
  padding: 7px 18px!important;
  margin-left: 18px;
}
.main-nav .cta-nav:hover, .main-nav .cta-nav:focus {
  background: #fff;
  color: #22292F;
  border: 1.5px solid #22292F;
}

/* MOBILE NAVIGATION -------------------- */
.mobile-menu-toggle {
  background: #22292F;
  color: #fff;
  font-size: 1.8rem;
  border: none;
  border-radius: 5px;
  padding: 7px 15px;
  cursor: pointer;
  display: none;
  align-items: center;
  transition: background .19s, color .19s;
  z-index: 1202;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #7E5944;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: #22292FDB;
  backdrop-filter: blur(2.5px);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2rem;
  border: none;
  position: absolute;
  top: 26px;
  right: 26px;
  cursor: pointer;
  z-index: 1201;
  transition: color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #7E5944;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  margin-top: 70px;
  margin-left: 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  color: #fff;
  font-weight: 500;
  text-align: left;
  letter-spacing: 0.01em;
  padding: 2px 0;
  transition: color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #7E5944;
}
.mobile-nav a.cta-nav {
  background: #7E5944;
  color: #fff;
  padding: 13px 26px;
  border-radius: 5px;
  margin-top: 14px;
  align-self: flex-start;
  font-size: 1.11rem;
  font-weight: 600;
  transition: background .19s, color .19s;
}
.mobile-nav a.cta-nav:hover, .mobile-nav a.cta-nav:focus {
  background: #fff;
  color: #7E5944;
}

/* HERO SECTION --------------------- */
.hero-section {
  background: #22292F;
  color: #fff;
  padding: 68px 0 56px 0;
}
.hero-section .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.hero-section h1, .hero-section h2, .hero-section h3 {
  color: #fff;
}
.hero-section p {
  color: #f2f2f2;
}
.hero-section .cta-btn {
  background: #fff;
  color: #22292F;
  font-weight: bold;
  margin-top: 18px;
}
.hero-section .cta-btn:hover, .hero-section .cta-btn:focus {
  background: #7E5944;
  color: #fff;
}

/* ABOUT, FEATURES, & SECTION STYLES ------ */
.features-section, .about-section, .services-overview-section, .services-section,
.cookies-policy-section, .privacy-policy-section, .rodo-section,
.terms-section, .thank-you-section, .cta-section, .contact-section,
.blog-categories-section, .newsletter-section, .testimonials-section, .steps-section {
  background: #F2F2F2;
  border-radius: 12px;
  margin-bottom: 60px;
  padding: 40px 0;
}
.features-section h2, .about-section h2, .cta-section h2, .testimonials-section h2 {
  color: #22292F;
  margin-bottom: 26px;
}
.text-section {
  margin-bottom: 20px;
}
.text-section ul {
  margin-bottom: 6px;
}
.steps-section .step-list, .features-section .feature-list {
  margin-bottom: 18px;
}
.case-study-highlight {
  border-left: 4px solid #7E5944;
  padding-left: 13px;
  background: #fff;
  border-radius: 7px;
  margin-bottom: 14px;
}
.timeline-highlights ul {
  list-style: circle;
}

/* NEWSLETTER SECTION ------------------- */
.newsletter-section {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(34,41,47,0.05);
  text-align: center;
}
.newsletter-section .cta-btn {
  margin-top: 18px;
}

/* BLOG CATEGORIES ------------------- */
.categories-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 26px;
}
.categories-list li {
  background: #fff;
  border-radius: 7px;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 1rem;
  color: #22292F;
  box-shadow: 0 1.5px 7px rgba(34,41,47,0.07);
}

/* CONTACT & MAP LOCATION/BUSINESS HOURS ------------- */
.contact-section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 18px;
}
.contact-section ul li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #22292F;
  font-size: 1rem;
}
.contact-section ul li img {
  width: 21px;
}
.map-location, .business-hours {
  margin-bottom: 22px;
  background: #fff;
  border-radius: 7px;
  padding: 17px 18px 11px 18px;
  box-shadow: 0 1.5px 7px rgba(34,41,47,0.08);
}
.business-hours h3, .map-location h3 {
  margin-bottom: 5px;
}

/* FOOTER ---------------------------- */
footer {
  background: #fff;
  box-shadow: 0 -2.5px 16px rgba(34,41,47,0.03);
  padding: 32px 0 22px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 16px;
  justify-content: center;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #22292F;
  font-weight: 500;
  letter-spacing: .01em;
  transition: color .16s;
  border-bottom: 1px solid transparent;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #7E5944;
  border-bottom: 1px solid #7E5944;
}
.footer-info {
  color: #444;
  font-size: 0.93rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0.86;
}

/* COOKIE CONSENT BANNER -------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 1300;
  background: #22292F;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 18px;
  font-size: 1rem;
  box-shadow: 0 -1.5px 14px rgba(34,41,47,.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(.66,.02,.19,1), opacity .4s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .cookie-message {
  flex: 2 1 240px;
  color: #fff;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 5px;
  cursor: pointer;
  border: none;
  transition: background .18s, color .18s, box-shadow .18s;
  margin: 0 1px;
}
.cookie-banner .accept-btn {
  background: #7E5944;
  color: #fff;
  border: none;
}
.cookie-banner .accept-btn:hover, .cookie-banner .accept-btn:focus {
  background: #fff;
  color: #7E5944;
  border: 1.5px solid #7E5944;
}
.cookie-banner .reject-btn {
  background: #fff;
  color: #22292F;
  border: 1.5px solid #7E5944;
}
.cookie-banner .reject-btn:hover, .cookie-banner .reject-btn:focus {
  background: #7E5944;
  color: #fff;
}
.cookie-banner .settings-btn {
  background: #22292F;
  color: #fff;
  border: 1.5px solid #7E5944;
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: #7E5944;
  color: #fff;
}
/* Cookie preferences modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,41,47,0.79);
  z-index: 1350;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .32s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  color: #22292F;
  border-radius: 11px;
  box-shadow: 0 16px 64px 0 rgba(34,41,47,.28);
  max-width: 380px;
  width: 92vw;
  padding: 38px 22px 30px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal .cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 9px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  color: #22292F;
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e3e3e3;
  padding-bottom: 12px;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal .category-title {
  font-weight: 500;
  font-size: 1.02rem;
  color: #22292F;
}
.cookie-modal .category-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-modal .toggle-switch {
  width: 36px;
  height: 20px;
  border-radius: 12px;
  background: #e2e2e2;
  position: relative;
  cursor: pointer;
  transition: background .16s;
}
.cookie-modal .toggle-switch[data-enabled='true'] {
  background: #7E5944;
}
.cookie-modal .toggle-slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1.5px 3px rgba(34,41,47,0.11);
  transition: left .22s;
}
.cookie-modal .toggle-switch[data-enabled='true'] .toggle-slider {
  left: 18px;
}
.cookie-modal .save-cookie-btn {
  margin-top: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  border-radius: 8px;
  background: #22292F;
  color: #fff;
  padding: 11px 26px;
  border: none;
  cursor: pointer;
  transition: background .16s;
}
.cookie-modal .save-cookie-btn:hover, .cookie-modal .save-cookie-btn:focus {
  background: #7E5944;
  color: #fff;
}
.cookie-modal .cookie-desc {
  font-size: 0.98rem;
  color: #444;
  opacity: 0.78;
}

/* ANIMATIONS & TRANSITIONS -------------- */
.card, .feature-grid > div, .testimonial-card, .cta-btn, .main-nav a, .footer-nav a, .mobile-nav a {
  transition: box-shadow 0.22s, background .19s, color .18s, border .16s;
}

/* RESPONSIVE DESIGN --------------------- */
@media (max-width: 1100px) {
  .container { max-width: 960px; }
  .feature-grid { gap: 18px; }
}
@media (max-width:900px) {
  .feature-grid{gap:12px;}
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container {
    padding: 0 9px;
  }
  header .container {
    padding: 9px 9px;
  }
  .main-nav {
    display: none!important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
    padding: 18px 12px 14px 12px;
  }
  .categories-list {
    flex-direction: column;
    gap: 13px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 10px;
  }
  .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .card {
    padding: 18px 11px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  h1, .h1 { font-size: 1.6rem; }
  h2, .h2 { font-size: 1.22rem; }
  h3, .h3 { font-size: 1.01rem; }
  .hero-section {
    padding: 34px 0 26px 0;
  }
  .newsletter-section { padding: 14px 0; }
  .section,
  .features-section,
  .about-section,
  .services-overview-section,
  .services-section,
  .cookies-policy-section,
  .privacy-policy-section,
  .rodo-section,
  .terms-section,
  .thank-you-section,
  .cta-section,
  .contact-section,
  .blog-categories-section,
  .newsletter-section,
  .testimonials-section,
  .steps-section {
    padding: 18px 0;
    margin-bottom: 32px;
    border-radius: 6px;
  }
  .card-container { gap: 13px; }
  .footer-info { font-size: 0.89rem; text-align:center; gap: 2px;}
  .cookie-modal .cookie-modal-content {
    padding: 22px 6px 19px 6px;
    max-width: 97vw;
  }
  .cookie-banner { padding: 15px 4px; font-size: 0.95rem; }
}

/* UTILITY CLASSES -------------------------- */
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.mt-24 { margin-top: 24px!important; }
.mb-24 { margin-bottom: 24px!important; }
.rounded { border-radius: 9px!important; }

/* VISUAL DIVIDERS -------------------------- */
.divider {
  height: 1px;
  background: #e4e4e4;
  margin: 22px 0;
  border-radius: 1px;
}

/* ACCESSIBILITY ---------------------------- */
:focus {
  outline: 2px solid #7E5944;
  outline-offset: 3px;
}

/* PRINT B/W ---------------------------- */
@media print {
  body, .container, header, footer, section, article, div, nav,.card,.feature-grid > div,
  .testimonial-card, .hero-section {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none!important;
  }
  a, a:hover { color: #000!important; border: none!important; }
  .cookie-banner, .cookie-modal, .mobile-menu { display: none!important; }
}
