/* 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 { 
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #24324F;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { 
  display: block; 
  max-width: 100%; 
  height: auto;
}
ul, ol { list-style-position: inside; margin-bottom: 16px; }
ul {list-style-type: disc;}
ol {list-style-type: decimal;}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:focus { outline: 2px solid #6CC3B6; border-radius: 5px; }

/* BRAND FONTS */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #24324F;
}

h1 {
  font-size: 2.5rem; /* 40px on desktop */
  margin-bottom: 24px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem; /* 32px on desktop */
  margin-bottom: 20px;
  line-height: 1.14;
}
h3 {
  font-size: 1.375rem; /* 22px on desktop */
  margin-bottom: 12px;
  line-height: 1.2;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  line-height: 1.25;
}
p, li {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #24324F;
}
p {margin-bottom: 16px;}
strong {font-weight: 700;}
em {font-style: italic;}

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

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(36,50,79,0.07);
}

@media (max-width:600px){
  .section {
    padding: 24px 6px;
    margin-bottom: 36px;
    border-radius: 12px;
  }
}

/* HERO SECTION */
.hero {
  background: #F7F7F2;
  padding: 60px 0 40px 0;
  margin-bottom: 60px;
}
.hero .container { align-items: center; }
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}
.hero h1 {
  color: #24324F;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 32px;
  max-width: 700px;
}

@media (max-width: 600px) {
  .hero {
    padding: 32px 0 24px 0;
    margin-bottom: 32px;
  }
  .hero p {
    font-size: 1rem;
  }
}

/* FLEX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 12px rgba(36,50,79,0.07);
  padding: 28px 24px;
  flex: 1 1 300px;
  min-width: 260px;
  max-width: 100%;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 28px rgba(36,50,79,0.12);
  transform: translateY(-3px) scale(1.01);
}
.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: #F7F7F2;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(36,50,79,0.07);
  margin-bottom: 20px;
  margin-top: 16px;
  font-size: 1.1rem;
  color: #24324F;
}
.testimonial-card span {
  font-family: "Montserrat",Arial,Helvetica,sans-serif;
  color: #24324F;
  opacity: 0.8;
  font-size: 0.97rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURES GRID (INDEX) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px 18px 24px;
  box-shadow: 0 1.5px 12px rgba(36,50,79,0.07);
  flex: 1 1 220px;
  min-width: 220px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 28px rgba(36,50,79,0.12);
  transform: translateY(-3px) scale(1.01);
}
.feature-grid h3 {
  font-size: 1.15rem;
  color: #24324F;
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}

@media (max-width:768px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* BUTTONS */
.cta, button, .btn {
  background: #24324F;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 13px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 1.5px 6px rgba(36,50,79,0.07);
  transition: background 0.18s, color 0.18s, box-shadow 0.21s, transform 0.16s;
  margin-top: 10px;
  display: inline-block;
  letter-spacing: 0.008em;
}
.cta:hover, .cta:focus, button:hover, button:focus, .btn:hover, .btn:focus {
  background: #6CC3B6;
  color: #24324F;
  box-shadow: 0 4px 18px rgba(108,195,182,0.13);
  transform: translateY(-1px) scale(1.04);
  outline: none;
}

/* NAVIGATION (DESKTOP) */
header {
  background: #fff;
  border-bottom: 1px solid #EEEEEE;
  box-shadow: 0 1.5px 8px rgba(36,50,79,0.03);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 4px;
  color: #24324F;
  border-radius: 4px;
  transition: background 0.17s, color 0.17s;
}
header nav a:hover, header nav a:focus {
  color: #6CC3B6;
  background: rgba(108,195,182,0.07);
}
header nav a.cta {
  margin-left: 16px;
}
header img {
  height: 38px;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #24324F;
  font-size: 2.1rem;
  padding: 0 8px 0 8px;
  margin-left: 20px;
  cursor: pointer;
  z-index: 122;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus { outline: 2px solid #6CC3B6; border-radius: 50%; background: #F7F7F2; }

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 0 80px rgba(36,50,79,0.15);
  z-index: 151;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.37s cubic-bezier(.58,.15,.44,1.11);
  opacity: 1;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0%);
  box-shadow: 0 0 50px rgba(36,50,79,0.18);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 20px 0 0;
  background: none;
  border: none;
  color: #24324F;
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0 6px;
  transition: color 0.18s;
}
.mobile-menu-close:focus { outline: 2px solid #6CC3B6; border-radius: 50%; background: #F7F7F2; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 14px;
  align-items: flex-start;
  margin-top: 24px;
  padding-left: 32px;
  padding-right: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.17rem;
  color: #24324F;
  text-decoration: none;
  padding: 13px 0;
  width: 100%;
  border-radius: 8px;
  background: none;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #F7F7F2;
  color: #6CC3B6;
}

@media (max-width: 1023px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* CARDS, CASE STUDIES, SERVICES */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-cards > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 12px rgba(36,50,79,0.07);
  padding: 28px 22px 20px 22px;
  min-width: 220px;
  flex: 1 1 250px;
  transition: box-shadow 0.18s, transform 0.17s;
  margin-bottom: 20px;
}
.service-cards > div:hover {
  box-shadow: 0 6px 28px rgba(36,50,79,0.13);
  transform: translateY(-3px) scale(1.01);
}

.case-studies {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.case-studies > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1.5px 12px rgba(36,50,79,0.07);
  padding: 28px 20px 18px 20px;
  min-width: 210px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.17s;
}
.case-studies > div:hover {
  box-shadow: 0 6px 28px rgba(36,50,79,0.13);
  transform: translateY(-3px) scale(1.01);
}

@media (max-width: 900px) {
  .service-cards, .case-studies {
    flex-direction: column;
    gap: 20px;
  }
}

/* ALERTS & SMALL COMPONENTS */
.alert {
  background: #F7F7F2;
  border-left: 5px solid #6CC3B6;
  color: #24324F;
  border-radius: 7px;
  padding: 11px 18px;
  margin: 20px 0 12px 0;
  font-size: 1rem;
}

/* CTA BANNER */
.cta-banner {
  background: #24324F;
  color: #fff;
  border-radius: 22px;
  box-shadow: 0 3px 26px rgba(36,50,79,0.14);
  margin: 45px 0 0 0;
  padding: 40px 0;
}
.cta-banner .cta {
  background: #6CC3B6;
  color: #24324F;
  margin-top: 28px;
  margin-bottom: 10px;
}
.cta-banner .cta:hover, .cta-banner .cta:focus {
  background: #fff;
  color: #24324F;
  box-shadow: 0 6px 32px rgba(108,195,182,0.13);
}
.cta-banner h2, .cta-banner p {
  color: #fff;
}

@media (max-width:600px) {
  .cta-banner {
    border-radius: 15px;
    padding: 24px 0;
  }
  .cta-banner .cta {
    font-size: 1rem;
    padding: 11px 22px;
  }
}

/* LISTS & TYPOGRAPHY */
ul, ol {
  padding-left: 0;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.text-section {
  margin: 0px 0 14px 0;
  padding: 0;
}
.text-section ul {
  margin-bottom: 20px;
}
.text-section h2 {margin-top:32px;}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}

/* FOOTER */
footer {
  background: #F7F7F2;
  padding: 40px 0 16px 0;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
footer nav a {
  color: #24324F;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 3px 0;
  border-radius: 4px;
  transition: background 0.14s, color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: #6CC3B6;
  background: #e2f4ef;
}
footer img {
  height: 34px;
}
footer address {
  font-size: 1.01rem;
  font-style: normal;
  color: #767676;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
footer small {
  margin-top: 12px;
  color: #b5b5b5;
  font-size: 0.97rem;
  display: block;
}

/* SPACING & HIERARCHY */
main {
  margin-top: 0px;
  margin-bottom: 36px;
}
section {
  margin-bottom: 60px;
}
@media (max-width: 600px) {
  section {
    margin-bottom: 32px;
  }
}

/* FORMS (if any) */
input, textarea, select {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: 1px solid #E2E2E2;
  background: #fff;
  padding: 13px 14px;
  border-radius: 7px;
  color: #1A1A1A;
  margin-bottom: 12px;
  outline: none;
  width: 100%;
  box-shadow: 0 0.5px 2px rgba(36,50,79,0.04);
  transition: border-color 0.17s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #6CC3B6;
  box-shadow: 0 0 0 2px #6CC3B62b;
}
label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}

/* NICE MICROINTERACTIONS */
.card, .service-cards > div, .feature-grid > div, .case-studies > div {
  will-change: transform,box-shadow;
}

/* UTILITY */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-24 { margin-bottom: 24px; }
.mt-24 { margin-top: 24px; }

/* RESPONSIVE SPACING */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: #fff;
  color: #24324F;
  border-top: 1.5px solid #E2E2E2;
  box-shadow: 0 -4px 36px rgba(36,50,79,0.09);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  align-items: center;
  padding: 18px 8px 18px 8px;
  font-size: 1rem;
  transition: transform 0.34s cubic-bezier(.7,.1,.24,1.2), opacity 0.18s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
  justify-content: center;
}
.cookie-btn {
  background: #24324F;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  margin-right: 0px;
  transition: background 0.15s, color 0.15s;
}
.cookie-btn.accept {
  background: #6CC3B6;
  color: #24324F;
}
.cookie-btn.reject {
  background: #fff;
  border: 1px solid #24324F;
  color: #24324F;
}
.cookie-btn.settings {
  background: none;
  border: 1px solid #6CC3B6;
  color: #6CC3B6;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #F7F7F2 !important;
  color: #24324F !important;
  outline: 2px solid #6CC3B6;
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(36, 50, 79, 0.18);
  z-index: 10030;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.23s;
  pointer-events: auto;
}
.cookie-modal-backdrop.hide {
  pointer-events: none;
  opacity: 0;
}
.cookie-modal {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 74px rgba(36,50,79,0.16);
  padding: 32px 22px 22px 22px;
  width: 96vw;
  max-width: 380px;
  z-index: 11000;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-modal h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 14px 0;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #E2E2E2;
  border-radius: 12px;
  position: relative;
  outline: none;
  border: none;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-toggle:checked {
  background: #6CC3B6;
}
.cookie-toggle:disabled {
  background: #B3EDE3;
  cursor: not-allowed;
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(36,50,79,0.1);
  transition: left 0.19s;
}
.cookie-toggle:checked::after {
  left: 18px;
}
.cookie-category .locked {
  font-size: 1.13em;
  color: #6CC3B6;
  margin-left: 4px;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 24px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: #24324F;
  font-size: 1.4rem;
  cursor: pointer;
}
.cookie-modal-close:focus {
  outline: 2px solid #6CC3B6;
  background: #F7F7F2;
  border-radius: 50%;
}

@media (max-width:590px) {
  .cookie-modal { padding:22px 4vw; }
}

/* ANIMATIONS & EFFECTS */
@media (prefers-reduced-motion: no-preference) {
  .cta, button, .btn, .card, .service-cards > div, .feature-grid > div, .case-studies > div, .testimonial-card {
      transition: box-shadow 0.19s, transform 0.17s, background 0.16s, color 0.16s;
  }
  .mobile-menu,
  .cookie-consent-banner,
  .cookie-modal,
  .cookie-modal-backdrop {
      transition: transform 0.34s cubic-bezier(.7,.1,.24,1.2), opacity 0.28s;
  }
}

/* FINAL TOUCHES */
::-webkit-input-placeholder { color: #C4C9CF; }
::-moz-placeholder { color: #C4C9CF; }
:-ms-input-placeholder { color: #C4C9CF; }
::placeholder { color: #C4C9CF; }

@media (max-width: 768px) {
  .section, .feature-grid > div, .service-cards > div, .card {
    padding: 20px 12px;
    border-radius: 10px;
  }
  .feature-grid, .service-cards, .case-studies {
    flex-direction: column;
    gap: 18px;
  }
  main {
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .hero { padding: 18px 0 10px 0; }
  .section { padding-left: 4px; padding-right: 4px; }
}

/*********
  ENSURE THERE IS NO CSS GRID OR COLUMN LAYOUTS: ONLY FLEX!
*********/
