/* 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;
}
html { font-family: 'Roboto', Arial, sans-serif; font-size: 16px; background: #fff; }
body { color: #2C3142; line-height: 1.6; background: #fff; min-height: 100vh; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; border: none; outline: none; background: none; box-shadow: none; color: inherit; }
button, a.cta { cursor: pointer; }

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2C3142;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 22px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; font-weight: 600; }
h4, h5, h6 { font-size: 1rem; font-weight: 500; }

p, ul li, ol li, span, label, input, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #2C3142;
  font-weight: 400;
}

strong { font-weight: 600; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}


/*********************
 * HEADER & NAV STYLE 
 *********************/
header {
  background: #fff;
  box-shadow: 0 1px 8px rgba(44,49,66,0.04);
  padding: 0;
  margin-bottom: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  height: 38px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: 32px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 4px 6px;
  color: #2C3142;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #EFECEA;
  color: #2C3142;
}

/*************** CTA BUTTONS ******************/
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 12px 28px;
  border-radius: 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 2px 8px rgba(44,49,66,0.07);
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.cta.primary {
  background: #2C3142;
  color: #fff;
}
.cta.primary:hover,
.cta.primary:focus {
  background: #798184;
  color: #fff;
  box-shadow: 0 4px 16px rgba(44,49,66,0.07);
}
.cta.secondary {
  background: #EFECEA;
  color: #2C3142;
}
.cta.secondary:hover,
.cta.secondary:focus {
  background: #798184;
  color: #fff;
  box-shadow: 0 4px 18px rgba(44,49,66,0.09);
}
.cta:active {
  transform: scale(0.97);
}

/***** MOBILE NAV STYLES *****/
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 1020;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  background: #EFECEA;
  border-radius: 50%;
  border: none;
  justify-content: center;
  align-items: center;
  color: #2C3142;
  box-shadow: 0 2px 10px rgba(44,49,66,0.09);
  transition: background 0.2s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #dedad3;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 24px 24px 24px;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.65,.05,.36,1);
  box-shadow: 1px 0 14px rgba(44,49,66,0.12);
  min-height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #2C3142;
  margin-bottom: 24px;
  cursor: pointer;
  transition: color .17s;
  z-index: 2020;
}
.mobile-menu-close:hover {
  color: #798184;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 12px 2px;
  border-radius: 7px;
  transition: background 0.16s, color 0.14s;
  color: #2C3142;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #EFECEA;
  color: #798184;
}
@media (max-width: 1050px) {
  .main-nav {
    gap: 18px;
    margin-left: 0;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
    gap: 16px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle { display: flex; }
}
@media (max-width: 700px) {
  .container { padding-left: 12px; padding-right: 12px; }
  header img { height: 32px; }
  .cta {
    min-width: 130px;
    font-size: 0.95rem;
    padding: 9px 18px;
  }
}

/*********************
 * SECTIONS & LAYOUT  *
 *********************/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(44,49,66,0.05);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.text-section {
  align-items: flex-start;
}

/********** FLEX LAYOUTS ***********/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(44,49,66,0.06);
  margin-bottom: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 17px;
  transition: box-shadow 0.2s, transform 0.12s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(44,49,66,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;
    align-items: flex-start;
    gap: 18px;
  }
}

/********************
 *  FEATURE LISTS   *
 ********************/
.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
  justify-content: flex-start;
}
.features-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 8px rgba(44,49,66,0.07);
  padding: 24px 18px 18px 18px;
  min-width: 220px;
  max-width: 320px;
  flex: 1 0 230px;
  transition: box-shadow 0.21s, transform 0.09s;
}
.features-list li img {
  height: 38px;
  margin-bottom: 10px;
}
.features-list li:hover {
  box-shadow: 0 4px 18px rgba(44,49,66,0.11);
  transform: translateY(-2px) scale(1.01);
}
@media (max-width: 850px) {
  .features-list { flex-direction: column; gap: 20px; }
  .features-list li { max-width: 100%; min-width: 0; }
}

/*********************
 *   SERVICES GRID   *
 *********************/
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.services-grid > div {
  background: #EFECEA;
  border-radius: 14px;
  padding: 26px 20px 18px 20px;
  flex: 1 0 250px;
  min-width: 220px;
  transition: box-shadow 0.17s;
  box-shadow: 0 1px 8px rgba(44,49,66,0.025);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.services-grid > div:hover {
  box-shadow: 0 4px 20px rgba(121,129,132,0.07);
}
@media (max-width: 920px) {
  .services-grid { flex-direction: column; gap: 18px; }
  .services-grid > div { min-width: 0; }
}

/*********************
 *   TESTIMONIALS    *
 *********************/
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.testimonial-card {
  background: #EFECEA;
  color: #2C3142;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(44,49,66,0.045);
  padding: 20px;
  min-width: 240px;
  flex: 1 0 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #2C3142;
  font-size: 1.03rem;
  line-height: 1.5;
  text-align: center;
}
.testimonial-card span {
  color: #798184;
  font-size: 0.98rem;
}

/* Single column testimonials in sections */
.content-wrapper > .testimonial-card {
  align-self: flex-start;
  width: 100%;
  max-width: 560px;
  box-sizing: border-box;
}

/********* CONTACT INFO **********/
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 16px;
}
.contact-info-list li, .footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #2C3142;
}
.contact-info-list img, .footer-contact img {
  height: 22px;
}
.opening-hours {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #2C3142;
}
.opening-hours img { height: 22px; }

/********* TAGS & ARTICLE PREVIEW ******/
.articles-preview {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.articles-preview article {
  flex: 1 0 230px;
  min-width: 220px;
  background: #EFECEA;
  border-radius: 12px;
  padding: 18px 16px 13px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 8px rgba(44,49,66,0.04);
}
.tags-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.tags-list span {
  background: #fff;
  border-radius: 7px;
  color: #798184;
  font-size: 0.98rem;
  padding: 6px 13px;
  box-shadow: 0 1px 4px rgba(44,49,66,0.03);
}

/****** FEATURED POST ******/
.featured-post {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 10px rgba(44,49,66,0.055);
  padding: 22px 15px 20px 15px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

/************ INSPIRATION TILES ***********/
.inspiration-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.inspiration-tiles > div {
  background: #EFECEA;
  border-radius: 14px;
  padding: 24px 17px 16px 17px;
  min-width: 175px;
  flex: 1 0 200px;
  box-shadow: 0 1px 6px rgba(44,49,66,0.03);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (max-width: 800px) {
  .inspiration-tiles {
    flex-direction: column;
    gap: 15px;
  }
  .inspiration-tiles > div {
    min-width: 0;
  }
}

/******** CW: CUSTOM SOLUTION ******/
.custom-solution {
  background: #EFECEA;
  padding: 22px 15px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}

/************* FOOTER *************/
footer {
  background: #fff;
  box-shadow: 0 -2px 10px rgba(44,49,66,0.04);
  padding-top: 34px;
  padding-bottom: 18px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 0;
}
.footer-branding {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  min-width: 185px;
}
.footer-branding img {
  height: 38px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-nav a {
  color: #798184;
  font-size: 0.98rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  transition: color 0.15s;
  margin-bottom: 3px;
}
.footer-nav a:hover {
  color: #2C3142;
}
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
footer .container:last-child {
  justify-content: center;
  text-align: center;
  padding-top: 14px;
  font-size: 0.97rem;
  color: #798184;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 23px;
    align-items: flex-start;
  }
}

/**********************  MISC STYLES  ***************************/
section ul, section ol {
  padding-left: 22px;
  margin-bottom: 10px;
  color: #2C3142;
}
section ul li, section ol li {
  margin-bottom: 7px;
  position: relative;
}
section ul li::before {
  content: '\2023';
  color: #798184;
  margin-right: 10px;
  font-size: 1.2em;
}
section ol li {
  list-style: decimal inside;
  margin-left: 0;
}
section ol li::before { display: none; }

input, textarea {
  background: #EFECEA;
  border: 1px solid #dedad3;
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 1rem;
  margin-bottom: 11px;
}
label { margin-bottom: 6px; display: block; font-weight: 500; }

/*************** SPACING 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; }

/***************** RESPONSIVE *****************/
@media (max-width: 768px) {
  .section { padding: 25px 3px; margin-bottom: 36px; }
  .content-wrapper { gap: 18px; }
  .card-container, .content-grid, .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .card, .testimonial-card, .features-list li, .services-grid > div, .articles-preview article, .inspiration-tiles > div {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
}
/******** Extra Small *********/
@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.08rem; }
  .cta, .cta.primary, .cta.secondary { font-size: 0.91rem; padding: 9px 10px; }
}


/*********** HOVER EFFECTS & TRANSITIONS ************/
a, .cta, .main-nav a, .mobile-nav a, button {
  transition: background 0.17s, color 0.16s, box-shadow 0.17s, border 0.15s, transform 0.12s;
}

.button:active {
  transform: scale(.98);
}

/*********** MICRO-INTERACTIONS ************/
.cta, .card, .testimonial-card, .services-grid > div, .features-list li, .articles-preview article, .inspiration-tiles > div,
.custom-solution, .featured-post {
  will-change: box-shadow, transform;
}

/* Links underlines for content */
.text-section a.cta, .content-wrapper a.cta {
  margin-top: 12px;
}
.text-section a[href], .content-wrapper a[href]:not(.cta) {
  color: #2C3142;
  border-bottom: 1.5px solid #EFECEA;
  padding-bottom: 1.5px;
  transition: color 0.14s, border 0.14s;
  font-weight: 500;
}
.text-section a[href]:not(.cta):hover {
  color: #798184;
  border-bottom: 1.5px solid #798184;
}

/***********************
*   COOKIE CONSENT     *
***********************/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4000;
  background: #fff;
  color: #2C3142;
  box-shadow: 0 -2px 22px rgba(44,49,66,0.07);
  padding: 20px 12px 18px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  min-height: 56px;
  font-size: 1rem;
  animation: cookieBannerSlideIn 0.8s cubic-bezier(.55,.05,.13,1);
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
  flex: 1 1 240px;
  color: #2C3142;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
  align-items: center;
}
.cookie-banner .cookie-btn {
  padding: 9px 18px;
  border-radius: 8px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  background: #EFECEA;
  color: #2C3142;
  transition: background 0.16s, color 0.15s;
}
.cookie-banner .cookie-btn.accept {
  background: #2C3142;
  color: #fff;
}
.cookie-banner .cookie-btn.accept:hover,
.cookie-banner .cookie-btn.accept:focus {
  background: #798184;
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: #2C3142;
  border: 1.5px solid #EFECEA;
}
.cookie-banner .cookie-btn.reject:hover {
  background: #EFECEA;
}
.cookie-banner .cookie-btn.settings {
  background: #EFECEA;
  color: #2C3142;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #dedad3;
}

@media (max-width: 700px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 13px; }
  .cookie-banner .cookie-actions { flex-wrap: wrap; gap: 8px; }
}

/****** COOKIE MODAL ******/
.cookie-modal {
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  z-index: 4500;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(44,49,66,0.24);
  animation: fadeInBg 0.2s;
}

.cookie-modal.open {
  display: flex;
}
@keyframes fadeInBg {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  padding: 34px 24px 28px 24px;
  border-radius: 20px;
  max-width: 370px;
  min-width: 250px;
  box-shadow: 0 4px 48px rgba(44,49,66,0.16);
  z-index: 4550;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: modalIn .43s cubic-bezier(.55,.05,.8,1.06);
  color: #2C3142;
}
@keyframes modalIn {
  from { transform: scale(0.94) translateY(40px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  margin-bottom: 6px;
  letter-spacing: 0;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-category label {
  margin: 0; font-weight: 500;
}
.cookie-category input[type=checkbox] {
  accent-color: #2C3142;  /* fallback for wide support */
  width: 18px; height: 18px;
  border-radius: 5px;
  border: 1.5px solid #798184;
}
.cookie-category .essential {
  font-weight: 500;
  color: #718184;
}
.cookie-actions-modal {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 13px;
}
.cookie-modal-close {
  background: none;
  border: none;
  position: absolute;
  top: 12px; right: 14px;
  font-size: 1.8rem;
  color: #2C3142;
  cursor: pointer;
}

/********** MODAL OVERLAY FIX ******/
@media (max-width: 440px) {
  .cookie-modal-content {
    max-width: 97vw;
    padding: 18px 6vw 15px 6vw;
  }
}

/****************** UTILITY ***************/
.sr-only {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/****************  VISUAL HIERARCHY *******************/
h1:first-child,
h2:first-child {
  margin-top: 0;
}
section:not(:first-child) h1, section:not(:first-child) h2 {
  margin-top: 12px;
}
p + h2, p + h3 {
  margin-top: 20px;
}

/***************** MISC ***************/
::-webkit-input-placeholder { color: #79797a; }
:-moz-placeholder { color: #79797a; }
::-moz-placeholder { color: #79797a; }
:-ms-input-placeholder { color: #79797a; }

::selection {
  background: #EFECEA;
}

/* Prevent overlapping and ensure all flex layouts use gap and margin as required */
section, .card, .testimonial-card, .features-list li, .services-grid>div, .articles-preview article, .inspiration-tiles>div, .custom-solution, .featured-post {
  margin-bottom: 20px;
}

/* Accessibility/Contrast fix for testimonials */
.testimonial-card, .testimonial-slider .testimonial-card {
  background: #EFECEA;
  color: #2C3142;
}

/*********** PRINT REMOVE BANNER ************/
@media print {
  .cookie-banner, .cookie-modal { display: none !important; }
  header, footer { box-shadow: none !important; }
}
