/* --- 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,
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 {
  line-height: 1.15;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: #F7F9FA;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #333C49;
  background: #F7F9FA;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #333C49;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #85A394;
  outline: none;
}
ul, ol {
  margin-left: 25px;
  margin-bottom: 24px;
}
li {
  margin-bottom: 8px;
}
button, input, textarea {
  font-family: inherit;
  font-size: 100%;
  box-sizing: border-box;
}
button {
  border: none;
  cursor: pointer;
  background: none;
}
fieldset {
  border: 0;
}

/* --- TYPOGRAPHY --- */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.1;
  color: #333C49;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: #333C49;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: #333C49;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: #333C49;
}
p, ul, ol, address {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #333C49;
}
strong {
  font-weight: 600;
}
.text-section {
  max-width: 700px;
  margin: 0 auto;
}

/* --- LAYOUT --- */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(51,60,73,0.07);
}

/* SPACING PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(51,60,73,0.06);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
  min-width: 260px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(51,60,73,0.14);
  z-index: 2;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F4EDE4;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(51,60,73,0.08);
  margin-bottom: 20px;
  color: #232731;
  max-width: 600px;
  min-width: 220px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 16px rgba(51,60,73,0.13);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 7px rgba(51,60,73,0.07);
  padding: 24px 18px;
  margin-bottom: 20px;
  min-width: 210px;
  flex: 1 1 250px;
  transition: box-shadow 0.18s;
}
.feature-item:hover {
  box-shadow: 0 4px 16px rgba(51,60,73,0.14);
}

/* =========== HEADER/NAVIGATION =========== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px rgba(51,60,73,0.06);
  position: sticky;
  top: 0; left: 0;
  z-index: 200;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  padding: 7px 6px;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #333C49;
  position: relative;
  transition: color 0.15s;
}
header nav a:hover, header nav a:focus {
  color: #85A394;
}
.button.primary {
  background: #333C49;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 6px;
  margin-left: 24px;
  box-shadow: 0 1px 4px rgba(51,60,73,0.08);
  transition: background 0.16s, box-shadow 0.19s;
  border: none;
  display: inline-block;
}
.button.primary:hover, .button.primary:focus {
  background: #85A394;
  color: #fff;
  box-shadow: 0 4px 20px rgba(133,163,148,0.13);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: #333C49;
  margin-left: 18px;
  border-radius: 4px;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  transition: background 0.16s;
  z-index: 305;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F4EDE4;
  color: #333C49;
}
/* -------- MOBILE MENU --------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(100%);
  background: #fff;
  z-index: 320;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transition: transform 0.35s cubic-bezier(.7,.27,.43,1);
  box-shadow: -2px 0 28px rgba(51,60,73,0.09);
  padding-top: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  align-self: flex-end;
  margin: 0 26px 10px 0;
  background: none;
  color: #333C49;
  border-radius: 6px;
  padding: 8px;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F4EDE4;
  color: #333C49;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 34px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  color: #333C49;
  padding: 13px 0;
  transition: color 0.15s;
  border-bottom: 1px solid #EFEFEF;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #85A394;
}

@media (max-width: 1020px) {
  header nav {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 8px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100%;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
    padding: 10px 8px;
  }
  header nav {
    display: none;
  }
  .button.primary {
    margin-left: 0;
    padding: 12px 16px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* =================== MAIN PAGE COMPONENTS ==================== */

/* Mandatory Flexbox Grids as in content */
.feature-grid, .service-overview-grid, .services-list-grid, .project-showcase-grid, .team-intro-grid, .process-steps-grid, .article-snippet-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid .feature-item,
.service-overview-grid .service-card,
.services-list-grid .service-item,
.project-showcase-grid .project-card,
.team-intro-grid .team-member,
.process-steps-grid .process-step,
.article-snippet-grid .article-snippet {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(51,60,73,0.07);
  flex: 1 1 290px;
  min-width: 240px;
  max-width: 380px;
  padding: 26px 22px;
  margin-bottom: 20px;
  transition: box-shadow 0.20s, transform 0.17s;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
}
.feature-grid .feature-item:hover,
.service-overview-grid .service-card:hover,
.services-list-grid .service-item:hover,
.team-intro-grid .team-member:hover,
.article-snippet-grid .article-snippet:hover {
  box-shadow: 0 6px 24px rgba(51,60,73,0.14);
  transform: translateY(-4px) scale(1.012);
  z-index: 2;
}
.service-card .price, .service-item .price {
  margin-top: 10px;
  font-weight: bold;
  color: #85A394;
  font-size: 1.05rem;
}
.project-card h3 {
  margin-top: 8px;
  font-size: 1.2rem;
}
.project-card .highlight {
  background: #F4EDE4;
  color: #232731;
  font-size: 0.98rem;
  border-radius: 5px;
  padding: 10px 14px;
  margin-top: 14px;
  font-weight: 600;
}
.process-step img {
  width: 44px;
  height: 44px;
}

/* Step Process List */
.step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 10px 0 24px 0;
  padding: 0;
}
.step-list li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 11px rgba(51,60,73,0.07);
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 320px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.step-list li img {
  width: 40px; height: 40px;
}
.step-list li span {
  font-weight: 600;
  color: #333C49;
}

/* Testimonial Slider/Group */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 0 0;
}


/* Forms */
form {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 1px 8px rgba(51,60,73,0.06);
  max-width: 520px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
form label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #333C49;
}
input[type="text"], input[type="email"], textarea {
  border: 1px solid #DEDDE0;
  padding: 12px 10px;
  border-radius: 5px;
  width: 100%;
  font-size: 1rem;
  background: #fafbfc;
  resize: vertical;
  transition: border 0.14s, box-shadow 0.17s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 1.5px solid #85A394;
  background: #fff;
  box-shadow: 0 0 0 2px #F4EDE4;
  outline: none;
}

/* Newsletter form button special styling */
form .button.primary {
  width: fit-content;
  align-self: flex-start;
  margin-top: 12px;
}

/* Read more links in blog snippets */
.read-more {
  color: #85A394;
  font-weight: 600;
  text-decoration: underline;
  font-size: 1.03rem;
  letter-spacing: 0.01em;
  margin-top: auto;
  transition: color 0.15s;
}
.read-more:hover, .read-more:focus {
  color: #333C49;
}

/* ============= BENEFIT & USP LISTS ============= */
.benefit-list, .usps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style-type: disc;
  margin-left: 24px;
  margin-bottom: 16px;
}

/* ============= FOOTER ============= */
footer {
  background: #333C49;
  color: #fff;
  margin-top: 40px;
  box-shadow: 0 -1px 8px rgba(51,60,73,0.06);
  padding: 38px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 44px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-menu a {
  color: #F4EDE4;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  margin-bottom: 2px;
  transition: color 0.13s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #85A394;
}
.footer-branding {
  flex: 0 0 auto;
}
.footer-contact {
  font-size: 1rem;
  color: #F4EDE4;
}
.footer-contact strong {
  display: block;
  margin-bottom: 5px;
}

/* ============= COOKIE BANNER & MODAL ============= */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100%;
  background: #232731;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 18px;
  z-index: 5000;
  box-shadow: 0 -4px 20px rgba(51,60,73,0.12);
  animation: slideUpBanner 0.48s cubic-bezier(.66,.04,.32,1.13);
}
@keyframes slideUpBanner {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  font-size: 1rem;
  color: #fff;
  max-width: 520px;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
}
.cookie-banner__button {
  background: #85A394;
  color: #fff;
  font-size: 1rem;
  padding: 10px 18px;
  border-radius: 5px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: none;
  transition: background 0.12s, color 0.12s;
}
.cookie-banner__button--settings {
  background: #F4EDE4;
  color: #333C49;
}
.cookie-banner__button:hover, .cookie-banner__button:focus {
  background: #333C49;
  color: #fff;
}
.cookie-banner__button--settings:hover, .cookie-banner__button--settings:focus {
  background: #85A394;
  color: #fff;
}

.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 56px;
  transform: translateX(-50%) translateY(100%);
  background: #fff;
  color: #333C49;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -2px 32px rgba(51,60,73,0.25);
  width: 95%;
  max-width: 500px;
  z-index: 5100;
  padding: 34px 30px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.43s cubic-bezier(.69,.25,.37,1.07), opacity 0.3s;
  opacity: 0;
}
.cookie-modal.open {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.cookie-modal__close {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 1.6rem;
  color: #333C49;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  padding: 3px 8px;
  transition: background 0.16s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #F4EDE4;
  color: #232731;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: #333C49;
  margin-bottom: 0;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #ececec;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category__label {
  color: #333C49;
}
.cookie-category__toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}
.toggle-switch {
  width: 38px;
  height: 22px;
  border-radius: 16px;
  background: #ececec;
  position: relative;
  cursor: pointer;
  transition: background 0.16s;
}
.toggle-switch[data-checked="true"] {
  background: #85A394;
}
.toggle-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.2s;
}
.toggle-switch[data-checked="true"] .toggle-slider {
  left: 18px;
}
.cookie-modal__actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 8px;
  }
  .cookie-modal {
    padding: 16px 4px 8px 8px;
    max-width: 99vw;
    left: 0;
    transform: translateX(0) translateY(100%);
  }
}

/* =============== MEDIA QUERIES/RESPONSIVE =============== */
@media (max-width: 1220px) {
  .feature-grid, .service-overview-grid, .services-list-grid, .project-showcase-grid, .team-intro-grid, .process-steps-grid, .article-snippet-grid {
    gap: 16px;
  }
}
@media (max-width: 980px) {
  .feature-grid, .service-overview-grid, .services-list-grid, .project-showcase-grid, .team-intro-grid, .process-steps-grid, .article-snippet-grid {
    justify-content: flex-start;
  }
}
@media (max-width: 900px) {
  .feature-grid .feature-item,
  .service-overview-grid .service-card,
  .services-list-grid .service-item,
  .project-showcase-grid .project-card,
  .team-intro-grid .team-member,
  .process-steps-grid .process-step,
  .article-snippet-grid .article-snippet {
    flex: 1 1 95%;
    min-width: 220px;
    max-width: 500px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 27px 8px;
    margin-bottom: 38px;
  }
  .container, .footer .container {
    padding: 0 7px;
  }
  .content-grid, .feature-grid, .service-overview-grid, .services-list-grid, .project-showcase-grid, .team-intro-grid, .process-steps-grid, .article-snippet-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .footer .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
  .card {
    min-width: 90vw;
  }
  .testimonial-card {
    min-width: 95vw;
    max-width: 99vw;
    padding: 16px 8px;
  }
}
@media (max-width: 520px) {
  h1, .h1 { font-size: 1.7rem; }
  h2, .h2 { font-size: 1.25rem; }
  h3, .h3 { font-size: 1.05rem; }
  .content-wrapper { gap: 15px; }
  .testimonial-card, .feature-item, .card {
    padding: 12px 8px;
    font-size: 1rem;
  }
  form {
    padding: 12px 5px;
    font-size: 1rem;
    min-width: 0;
    max-width: 100vw;
  }
}

/* =================== UTILITIES/GENERAL ===================== */
.hide {
  display: none !important;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }

/* ========== MICRO-INTERACTIONS & ANIMATIONS ========== */
.button.primary, .cookie-banner__button {
  transition: background 0.16s, color 0.18s, box-shadow 0.19s, transform 0.13s;
}
.button.primary:active, .cookie-banner__button:active {
  transform: scale(0.98);
}
.card, .service-card, .feature-item, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.15s;
}

/* ==================== ACCESSIBILITY ===================== */
:focus {
  outline: 2px solid #85A394;
  outline-offset: 2px;
}

/* =================== SPECIAL BLOCKS ===================== */
address {
  font-style: normal;
  color: #333C49;
  font-size: 1rem;
  margin-bottom: 14px;
  line-height: 1.7;
}

/* ========== FONT IMPORTS ==========
   (Place in HTML head, but shown here for logical fullness)
*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');