/* 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #fff;
  color: #1a1a1a;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  vertical-align: middle;
  height: auto;
}
a {
  color: #223249;
  text-decoration: none;
  transition: color .15s;
  outline: none;
}
a:focus-visible {
  outline: 2px solid #223249;
  outline-offset: 2px;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 0.5em;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #101017;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.13;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #22242A;
}
.subheadline {
  color: #585858;
  font-size: 1.13rem;
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 28px;
}
.cta-text, .thank-you-message {
  color: #22242A;
  font-size: 1.13rem;
  margin-bottom: 20px;
  line-height: 1.7;
}
p {
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}

/* LAYOUT ELEMENTS */
.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.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: 10px;
  box-shadow: 0 4px 24px rgba(34,50,73,0.08), 0 1.5px 6px rgba(34,50,73,0.04);
  padding: 32px 26px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(34,50,73,0.13), 0 2px 10px rgba(34,50,73,0.06);
  transform: translateY(-2px) 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: center;
  gap: 20px;
  padding: 20px;
  background: #fafbfc;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(34,50,73,0.05);
  margin-bottom: 24px;
  transition: box-shadow .18s, background .18s;
  border: 1px solid #ECECEC;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(34,50,73,0.09);
  background: #fff;
}
.testimonial-card p {
  color: #101017;
  font-style: italic;
  font-size: 1rem;
}
.testimonial-meta {
  color: #727272;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  padding: 24px 18px;
  box-shadow: 0 3px 16px rgba(34,50,73,0.06);
  min-width: 220px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  border: 1px solid #ECECEC;
  transition: box-shadow .18s, border-color .18s;
}
.feature-item:hover {
  box-shadow: 0 7px 26px rgba(34,50,73,0.10);
  border-color: #D7E2F0;
}

/* NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #ECECEC;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  height: 70px;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 28px;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex: 1 1 auto;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #223249;
  padding: 9px 7px;
  border-radius: 5px;
  transition: background .16s, color .16s;
}
.main-nav a:hover,
.main-nav a:focus-visible {
  background: #f6f6f6;
  color: #B14913;
}
.cta-btn {
  background: #223249;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 12px 32px;
  border-radius: 7px;
  border: none;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(34,50,73,0.07);
  cursor: pointer;
  transition: background .17s, color .17s, box-shadow .17s, transform .18s;
  margin-left: 22px;
}
.cta-btn:hover,
.cta-btn:focus-visible {
  background: #fff;
  color: #223249;
  outline: 2px solid #223249;
  box-shadow: 0 4px 16px rgba(34,50,73,0.11);
  transform: translateY(-1px) scale(1.03);
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #223249;
  cursor: pointer;
  display: none;
  margin-left: 20px;
  padding: 4px 8px;
  transition: color .15s;
}
.mobile-menu-toggle:focus-visible {
  outline: 2px solid #223249;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(245, 245, 247, 0.98);
  box-shadow: 0 4px 24px rgba(34,50,73,0.11);
  z-index: 1300;
  transform: translateX(100vw);
  transition: transform .38s cubic-bezier(0.77,0,0.175,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 24px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #223249;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 11px;
  transition: color .17s;
  padding: 2px 8px;
}
.mobile-menu-close:hover {
  color: #B14913;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.18rem;
  color: #223249;
  padding: 14px 0;
  border-radius: 3px;
  transition: background .16s, color .14s;
  text-align: left;
  width: 100%;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  color: #B14913;
  background: #EBEBEB;
}

/* HERO SECTIONS */
.hero, .about-hero, .services-hero, .blog-hero, .references-hero, .contact-hero, .thank-you-section {
  background: #fff;
  padding: 56px 0 48px 0;
  margin-bottom: 60px;
  border-bottom: 1px solid #ECECEC;
}
.hero h1, .about-hero h1, .services-hero h1, .blog-hero h1, .references-hero h1, .contact-hero h1, .thank-you-section h1 {
  color: #223249;
  font-size: 2.4rem;
  margin-bottom: 15px;
}

/* FEATURES */
.features {
  background: #fafaff;
  padding: 28px 0;
  margin-bottom: 60px;
  border-bottom: 1px solid #ECECEC;
}
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
}

/* SERVICES DOMAINS/TEASERS */
.services .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
}
.service-teaser {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 24px rgba(34,50,73,0.06);
  min-width: 225px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  border: 1px solid #ECECEC;
  padding: 24px 16px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: box-shadow .18s, border-color .18s;
}
.service-teaser a {
  color: #223249;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color .14s;
  text-decoration: underline;
  font-size: 1rem;
}
.service-teaser a:hover {
  color: #B14913;
}
.service-teaser:hover {
  box-shadow: 0 7px 26px rgba(34,50,73,0.09);
  border-color: #D7E2F0;
}

/* DETAILED SERVICE GRID ON SERVICES PAGE */
.services-detail .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.service-box {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(34,50,73,0.07);
  flex: 1 1 220px;
  min-width: 220px;
  border: 1px solid #ECECEC;
  padding: 24px 16px 14px 18px;
  margin-bottom: 20px;
  transition: box-shadow .19s, border-color .18s;
}
.service-box:hover {
  box-shadow: 0 8px 30px rgba(34,50,73,0.11);
  border-color: #D7E2F0;
}

.step-list {
  margin: 20px 0 20px 18px;
  font-size: 1rem;
  color: #22242A;
  padding-left: 1.3em;
}

.service-promise {
  background: #fafbfc;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  margin-top: 18px;
  padding: 15px 24px;
  color: #223249;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
}

/* BLOG */
.blog-post-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 38px;
}
.blog-teaser {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #eee;
  box-shadow: 0 2px 14px rgba(34,50,73,0.04);
  padding: 22px 18px 22px 18px;
  min-width: 220px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .18s, border-color .17s;
}
.blog-teaser:hover {
  box-shadow: 0 7px 24px rgba(34,50,73,0.08);
  border-color: #B14913;
}
.blog-teaser a {
  color: #B14913;
  font-weight: 600;
  text-decoration: underline;
}

.categories-overview {
  margin-top: 12px;
}
.categories-overview ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  margin: 0;
}
.categories-overview li {
  background: #F1F1F4;
  color: #223249;
  border-radius: 7px;
  padding: 7px 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.newsletter-signup {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

/* CASE STUDIES & REFERENCES */
.case-study-snippets {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}
.case-study {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 18px rgba(34,50,73,0.06);
  padding: 22px 18px 18px 20px;
  min-width: 220px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  border: 1px solid #ECECEC;
  transition: box-shadow .17s, border-color .15s;
}
.case-study:hover {
  border-color: #B14913;
  box-shadow: 0 7px 22px rgba(34,50,73,0.10);
}
.result-highlights ul {
  margin: 0;
}
.result-highlights li {
  color: #223249;
  margin-bottom: 7px;
  font-weight: 500;
}

/* FAQ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 22px;
}
.faq-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(34,50,73,0.04);
  border: 1px solid #ECECEC;
  padding: 22px 16px 18px 18px;
  transition: box-shadow .16s, border-color .15s;
}
.faq-item h3 {
  cursor: pointer;
  font-size: 1.12rem;
  color: #223249;
  margin-bottom: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.faq-item:hover {
  border-color: #B14913;
  box-shadow: 0 5px 21px rgba(34,50,73,0.08);
}

/* CONTACT PAGE */
.contact-info .address-block, .phone-email, .office-hours {
  margin-bottom: 14px;
}
.phone-email {
  display: flex;
  flex-direction: row;
  gap: 36px;
  flex-wrap: wrap;
}
.phone-email a {
  color: #223249;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}

/* FOOTER */
footer {
  background: #F6F7F9;
  border-top: 1px solid #ECECEC;
  padding: 36px 0 24px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
footer img {
  height: 31px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #223249;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 4px;
  transition: color .16s;
}
.footer-nav a:hover {
  color: #B14913;
}
.footer-contact {
  color: #727272;
  font-size: 0.99rem;
  font-family: 'Roboto', Arial, sans-serif;
  max-width: 300px;
}
.footer-contact a {
  color: #223249;
  font-weight: 500;
  transition: color .15s;
}
.footer-contact a:hover {
  color: #B14913;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #101017;
  color: #fff;
  z-index: 1200;
  padding: 28px 18px 18px 18px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 -4px 32px rgba(34,50,73,0.12);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
  transition: opacity .5s, transform .45s;
}
.cookie-consent-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-consent-text {
  font-size: 1rem;
  color: #fff;
  flex: 1 1 auto;
  margin-right: 12px;
}
.cookie-btns {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 5px;
  border: none;
  padding: 10px 20px;
  margin: 0;
  cursor: pointer;
  transition: background .16s, color .14s;
}
.cookie-accept {
  background: #223249;
  color: #fff;
}
.cookie-accept:hover {
  background: #B14913;
  color: #fff;
}
.cookie-reject {
  background: #fff;
  color: #223249;
  border: 1.5px solid #223249;
}
.cookie-reject:hover {
  background: #eee;
  color: #B14913;
  border-color: #B14913;
}
.cookie-settings {
  background: none;
  color: #fff;
  border: 1.5px solid #fff;
}
.cookie-settings:hover {
  background: #fff;
  color: #223249;
  border-color: #223249;
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,50,73,0.47);
  z-index: 1400;
  opacity: 0;
  pointer-events: none;
  transition: opacity .33s;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  position: fixed;
  bottom: 50%; left: 50%;
  transform: translate(-50%, 60px) scale(0.98);
  min-width: 320px;
  max-width: 98vw;
  background: #fff;
  box-shadow: 0 8px 50px rgba(34,50,73,0.22);
  z-index: 1500;
  border-radius: 12px;
  padding: 36px 30px 24px 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .43s, transform .39s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0px) scale(1.0);
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: #223249;
}
.cookie-categories {
  margin-bottom: 31px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  color: #22242A;
}
.cookie-switch {
  appearance: none;
  width: 40px;
  height: 22px;
  background: #d6d6da;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .15s;
}
.cookie-switch:checked {
  background: #223249;
}
.cookie-switch:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}
.cookie-switch::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s;
}
.cookie-switch:checked::before {
  transform: translateX(18px);
}
.cookie-modal-buttons {
  display: flex;
  gap: 14px;
  margin-top: 7px;
}
.cookie-modal-close {
  background: none;
  color: #223249;
  border: 1.5px solid #223249;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .14s;
}
.cookie-modal-close:hover {
  background: #223249;
  color: #fff;
  border-color: #223249;
}

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

/* ANIMATIONS */
@media (prefers-reduced-motion: no-preference) {
  .cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close, .card, .feature-item, .service-teaser, .service-box, .blog-teaser, .case-study, .testimonial-card, .faq-item {
    transition: box-shadow .23s, border-color .19s, background .14s, transform .15s, color .13s;
  }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1150px) {
  .container { max-width: 98vw; }
}
@media (max-width: 950px) {
  .container { max-width: 100vw; }
  .main-nav, .footer-nav {
    gap: 12px;
  }
  .services .service-list, .features .feature-grid, .blog-post-teasers, .case-study-snippets, .services-detail .service-grid {
    gap: 12px;
  }
}
@media (max-width: 850px) {
  .main-nav { gap: 12px; }
  .services .service-list, .feature-grid, .content-grid, .blog-post-teasers, .case-study-snippets, .services-detail .service-grid {
    gap: 10px;
    flex-direction: column;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.04rem; }
  header .container {
    height: auto;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .cta-btn {
    margin-left: 0;
    margin-top: 11px;
  }
  .features .feature-grid, .services .service-list, .services-detail .service-grid, .case-study-snippets, .blog-post-teasers, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card, .faq-item, .case-study, .feature-item, .service-teaser, .service-box, .blog-teaser {
    min-width: 0;
    width: 100%;
  }
  .about-hero, .services-hero, .blog-hero, .references-hero, .contact-hero, .thank-you-section, .hero {
    padding: 33px 0 30px 0;
  }
  .cookie-consent-banner {
    flex-direction: column;
    padding: 18px 10px;
    gap: 18px;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
    font-size: 0.95rem;
  }
}
@media (max-width: 490px) {
  .container { padding: 0 8px; }
  .cta-btn, .cookie-btn, .cookie-modal-close {
    font-size: 0.97rem;
    padding: 9px 14px;
  }
  .cookie-modal {
    padding: 18px 7px 10px 9px;
    min-width: 90vw;
    border-radius: 9px;
  }
}

/* MONOCHROME SOPHISTICATED TWEAKS */
body {
  background: #f6f7f9;
  color: #22242A;
}
.section, .content-wrapper {
  background: none;
}
.card, .feature-item, .service-teaser, .service-box, .blog-teaser, .case-study, .testimonial-card, .faq-item {
  background: #fff;
}
header, .mobile-menu, .cookie-modal, footer, .testimonial-card, .faq-item {
  background: #fafbfc;
}
.hero, .about-hero, .services-hero, .blog-hero, .references-hero, .contact-hero, .thank-you-section {
  background: #fff;
}

/* VISUAL HIERARCHY */
h1, .cta-section h2, .about-cta h2, .services-cta h2, .blog-cta h2, .faq-cta h2 {
  color: #223249;
  letter-spacing: -0.015em;
}
.cta-btn, .cookie-accept {
  background: #223249;
  color: #fff;
}
.cta-btn:hover {
  color: #223249;
  background: #fff;
  outline: 2px solid #223249;
}

/* FORMS (if any are added) */
input, textarea, select {
  border: 1.5px solid #C2C2C2;
  border-radius: 5px;
  padding: 10px;
  font-size: 1.05rem;
  font-family: 'Roboto', Arial, sans-serif;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #223249;
  box-shadow: 0 0 0 2px #B8C6E7;
  outline: none;
}
::placeholder {
  color: #9096a0;
  opacity: 1;
}

/* Hide elements for accessibility */
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

section{
  padding-top: 80px;
}
