/* ---- CSS RESET & BASE ---- */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #242525;
  background: linear-gradient(135deg, #CDF2D6 0%, #E6C09D 100%);
  background-repeat: no-repeat;
  background-size: cover;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
strong {
  font-weight: bold;
}
ul, ol {
  padding-left: 1.3em;
}
li:not(:last-child) {
  margin-bottom: 10px;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #385154;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: 22px;
  font-weight: 800;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 700;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  font-weight: 700;
}
.subheadline {
  font-size: 1.1rem;
  color: #385154;
  margin-bottom: 22px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
}
.text-section p,
.text-section li {
  font-size: 1rem;
  margin-bottom: 18px;
  color: #242525;
}
.text-section ul {
  list-style: disc inside;
}

/* ---- CONTAINER & SPACING ---- */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  /* For centered content blocks */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-section {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
}

/* ---- HEADER & NAVIGATION ---- */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(56,81,84,0.06);
  border-bottom: 1px solid #e8ebe9;
  position: relative;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #385154;
  letter-spacing: 0.02em;
  border-radius: 6px;
  padding: 8px 14px;
  transition: background 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #CDF2D6;
}
.cta.primary {
  background: #385154;
  color: #fff;
  border-radius: 8px;
  padding: 12px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(56,81,84,0.08);
  letter-spacing: 0.02em;
  margin-left: 12px;
  transition: background 0.22s, box-shadow 0.22s, color 0.2s;
  border: none;
  cursor: pointer;
  display: inline-block;
  outline: none;
  text-align: center;
}
.cta.primary:hover,
.cta.primary:focus {
  background: #518a73;
  color: #fff;
  box-shadow: 0 4px 24px rgba(56,81,84,0.18);
}
.cta.secondary {
  background: #CDF2D6;
  color: #385154;
  border-radius: 8px;
  padding: 10px 19px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  outline: none;
}
.cta.secondary:hover,
.cta.secondary:focus {
  background: #e6c09d;
  color: #385154;
}
.mobile-menu-toggle {
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: #385154;
  margin-left: 18px;
  cursor: pointer;
  display: none;
  padding: 5px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #518a73;
  background: #CDF2D6;
  border-radius: 7px;
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed;
  z-index: 2500;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #CDF2D6 0%, #E6C09D 100%);
  box-shadow: 0 2px 32px rgba(56,81,84,0.15);
  transform: translateX(-100%);
  visibility: hidden;
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.57,1.28,.77,.56), opacity 0.16s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: #385154;
  margin: 36px 20px 0 0;
  cursor: pointer;
  padding: 6px;
  transition: background 0.22s, color 0.22s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #fff;
  background: #385154;
  border-radius: 7px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 50px;
  margin-left: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #385154;
  font-weight: 600;
  padding: 10px 0 10px 0;
  width: 100%;
  border-radius: 8px;
  display: block;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: #fff;
  background: #385154;
}

/* Hide navigation & show burger on mobile */
@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

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

/* ---- HERO SECTION ---- */
.hero {
  background: linear-gradient(120deg, #CDF2D6 0%, #fff 100%);
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(56,81,84,0.08);
  margin-top: 28px;
  margin-bottom: 60px;
  padding: 60px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 8px;
  color: #385154;
}
.hero .subheadline {
  font-size: 1.2rem;
  color: #385154;
  margin-bottom: 22px;
}

/* ---- FEATURE GRIDS/ITEMS ---- */
.features .content-wrapper,
.feature-grid,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
}
.feature-grid {
  width: 100%;
  margin-top: 20px;
}
.feature {
  background: #fff;
  padding: 32px 22px;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(56,81,84,0.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 230px;
  flex: 1 1 235px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature img {
  width: 44px;
  height: 44px;
}
.feature h3 {
  color: #385154;
  font-size: 1.16rem;
}
.feature p {
  color: #2a2a2b;
  font-size: 1.01rem;
}
.feature:hover,
.feature:focus-within {
  box-shadow: 0 8px 30px rgba(56,81,84,0.17);
  transform: translateY(-5px) scale(1.03);
}

/* ---- SERVICE CARDS ---- */
.service-list {
  width: 100%;
  margin-top: 22px;
  gap: 24px;
}
.service {
  background: #fff;
  border: 1px solid #CDF2D6;
  box-shadow: 0 4px 18px rgba(56,81,84,0.07);
  border-radius: 15px;
  flex: 1 1 240px;
  min-width: 200px;
  max-width: 310px;
  margin-bottom: 20px;
  padding: 28px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.service img {
  height: 40px;
  margin-bottom: 7px;
}
.service h3 {
  font-size: 1.17rem;
  color: #385154;
  margin-bottom: 7px;
}
.service-price {
  color: #385154;
  font-size: 1.05rem;
  font-weight: bold;
  margin-top: auto;
}
.service:hover, .service:focus-within {
  box-shadow: 0 8px 28px rgba(230,192,157,0.11);
  border-color: #E6C09D;
  transform: translateY(-4px) scale(1.03);
}

/* ---- BLOG TEASER ---- */
.blog-teaser {
  flex: 1 1 270px;
  min-width: 225px;
  background: #fff;
  border-radius: 14px;
  padding: 26px 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 18px rgba(56,81,84,0.07);
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.blog-teaser h3 {
  color: #385154;
  font-size: 1.18rem;
  font-weight: 700;
}
.blog-teaser p {
  color: #242525;
  font-size: 1.01rem;
}
.blog-teaser a.cta.secondary {
  margin-top: 6px;
}
.blog-teaser:hover,
.blog-teaser:focus-within {
  box-shadow: 0 8px 24px rgba(56,81,84,0.17);
  transform: translateY(-4px) scale(1.03);
}

/* ---- TESTIMONIALS ---- */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #f8fefe;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(56,81,84,0.08);
  padding: 28px 26px;
  min-width: 225px;
  max-width: 400px;
  flex: 1 1 250px;
  color: #222; /* Dark text for contrast */
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #1f2122;
  font-style: italic;
}
.customer-name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  color: #385154;
  font-weight: 600;
  align-self: flex-end;
}

/* ---- CTA SECTION ---- */
.cta-section {
  background: linear-gradient(94deg, #E6C09D 0%, #CDF2D6 100%);
  border-radius: 24px;
  box-shadow: 0 4px 28px rgba(56,81,84,0.10);
  margin-bottom: 60px;
}
.cta-section .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 16px;
}
.cta-section h2 {
  font-size: 1.7rem;
  color: #385154;
}

/* ---- LEGAL SECTIONS ---- */
.legal .content-wrapper {
  align-items: center;
  gap: 20px;
}
.legal h1 {
  font-size: 2.1rem;
}
.legal .text-section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(56,81,84,0.04);
  padding: 26px 20px;
  margin-top: 14px;
  color: #222;
}

/* ---- CARD CONTAINERS ---- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(56,81,84,0.07);
  transition: box-shadow 0.16s, transform 0.18s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 30px rgba(230,192,157,0.18);
  transform: scale(1.025);
}

.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---- FOOTER ---- */
footer {
  background: #385154;
  color: #fff;
  padding: 44px 0 18px 0;
  border-top: 3px solid #E6C09D;
}
footer .container {
  display: flex;
  flex-direction: row;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo img {
  height: 44px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.footer-nav a {
  color: #E6C09D;
  font-size: 1rem;
  padding: 3px 0;
  transition: color 0.2s;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #CDF2D6;
}
.footer-contact {
  font-size: 0.97rem;
  margin-top: 10px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-contact img {
  height: 17px;
  width: 17px;
  display: inline-block;
  margin-right: 4px;
  vertical-align: middle;
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 9999;
  width: 100vw;
  background: #fff;
  border-top: 2px solid #E6C09D;
  box-shadow: 0 -6px 32px rgba(56,81,84,0.11);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 32px;
  opacity: 1;
  transition: opacity 0.18s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  color: #385154;
  font-size: 1rem;
  max-width: 480px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  background: #CDF2D6;
  color: #385154;
  border: none;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 9px 16px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.13s;
  outline: none;
  box-shadow: 0 2px 7px rgba(56,81,84,0.05);
}
.cookie-banner button.accept {
  background: #385154;
  color: #fff;
}
.cookie-banner button.accept:hover,
.cookie-banner button.accept:focus {
  background: #518a73;
}
.cookie-banner button.reject {
  background: #E6C09D;
  color: #385154;
}
.cookie-banner button.reject:hover,
.cookie-banner button.reject:focus {
  background: #cdf2d6;
  color: #385154;
}
.cookie-banner button.settings {
  background: #fff;
  border: 2px solid #CDF2D6;
  color: #385154;
}
.cookie-banner button.settings:hover,
.cookie-banner button.settings:focus {
  background: #CDF2D6;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  z-index: 10000;
  background: rgba(56,81,84,0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.21s;
}
.cookie-modal.open { opacity: 1; pointer-events: auto; }
.cookie-modal-dialog {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 28px rgba(56,81,84,0.19);
  padding: 36px 32px 26px 32px;
  max-width: 420px;
  min-width: 260px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  animation: cookieModalIn 0.31s cubic-bezier(.71,1.2,.32,1.21);
}
@keyframes cookieModalIn {
  from { transform: translateY(60px) scale(0.97); opacity: 0; }
  to {  transform: none; opacity: 1; }
}
.cookie-modal-dialog h3 {
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #385154;
}
.cookie-modal-dialog .cookie-categories {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-category input[type='checkbox'] {
  appearance: none;
  width: 20px; height: 20px;
  border: 2px solid #CDF2D6;
  border-radius: 4px;
  background: #fff;
  transition: background 0.18s;
  margin-right: 2px;
  position: relative;
}
.cookie-category input[type='checkbox']:checked {
  background: #385154;
  border-color: #385154;
}
.cookie-category input[type='checkbox']:checked:after {
  content: '';
  position: absolute;
  left: 5px; top: 1px;
  width: 7px; height: 13px;
  border-right: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(44deg);
}
.cookie-modal-dialog .cookie-actions {
  justify-content: flex-end;
  width: 100%;
  gap: 10px;
}
.cookie-modal-dialog button {
  padding: 9px 18px;
}
.cookie-modal-dialog .close-modal {
  position: absolute;
  right: 31px;
  top: 24px;
  background: transparent;
  border: none;
  color: #385154;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.13s;
  border-radius: 6px;
  padding: 5px 7px;
}
.cookie-modal-dialog .close-modal:hover,
.cookie-modal-dialog .close-modal:focus {
  background: #CDF2D6;
}

/* ---- MEDIA QUERIES ---- */
@media (max-width: 1050px) {
  .container {
    max-width: 98vw;
    padding-left: 14px;
    padding-right: 14px;
  }
}
@media (max-width: 900px) {
  .features .content-wrapper,
  .feature-grid,
  .service-list,
  .testimonials .content-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-logo, .footer-contact {
    margin-bottom: 20px;
  }
  footer .container {
    gap: 14px;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  .hero {
    padding: 34px 6px;
    margin-top: 15px;
    margin-bottom: 38px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .section, section {
    margin-bottom: 34px;
    padding: 24px 9px;
  }
  .feature, .service, .blog-teaser {
    min-width: 180px;
    padding: 20px 10px;
    border-radius: 12px;
  }
  .testimonial-card {
    padding: 20px 13px;
    border-radius: 13px;
  }
  .cta-section {
    border-radius: 11px;
    padding: 26px 7px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .text-section {
    padding: 5px;
    font-size: 0.98rem;
  }
  .text-image-section, .content-grid {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 8px;
  }
  .cookie-banner .cookie-actions {
    gap: 8px;
  }
  .cookie-modal-dialog {
    min-width: 90vw;
    padding: 21px 8px 21px 14px;
  }
}
@media (max-width: 530px) {
  h1 { font-size: 1.35rem;}
  h2 { font-size: 1.09rem;}
  .logo img, .footer-logo img {
    height: 33px;
  }
  .container {
    padding-left: 4px;
    padding-right: 4px;
  }
  .footer-contact {
    font-size: 0.9rem;
  }
  .testimonial-card {
    min-width: 160px;
    padding: 15px 5px;
  }
  .feature, .service, .blog-teaser {
    min-width: 125px;
    padding: 13px 4px;
  }
  .cta.primary, .cta.secondary, .cookie-banner button {
    font-size: 0.93rem;
    padding: 8px 10px;
  }
}

/* ---- FORM ELEMENTS (if needed in future) ---- */
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  border: 1.5px solid #CDF2D6;
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 1rem;
  margin-bottom: 16px;
  transition: border 0.17s, box-shadow 0.16s;
  outline: none;
  box-shadow: 0 2px 8px rgba(56,81,84,0.03);
}
input:focus, textarea:focus, select:focus {
  border-color: #385154;
  box-shadow: 0 2px 18px rgba(56,81,84,0.07);
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #385154;
}

/* --- Smooth transitions & micro interactions --- */
button, a, .feature, .service, .blog-teaser, .card, .testimonial-card {
  transition: box-shadow 0.2s, transform 0.16s, background 0.16s, color 0.16s;
}

/* Accessibility focus ring */
a:focus, button:focus {
  outline: 2px solid #385154;
  outline-offset: 2px;
}

/* Utility: Hide visually */
.sr-only { position: absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* --- Misc classes for future use --- */
.mt-2 { margin-top: 8px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mt-3 { margin-top: 16px !important; }
.mb-3 { margin-bottom: 16px !important; }
.mt-4 { margin-top: 24px !important; }
.mb-4 { margin-bottom: 24px !important; }

/* ---- END OF CSS ---- */
