/* =========================================================
   VIM Spaces - Monochrome Sophisticated CSS
   Modern sophisticated monochrome palette; Flexbox-only layouts
   Brand: Montserrat, Open Sans | Primary: #2C3546 | Accent: #F4B942 | Gray: #E2E6EB
   ========================================================= */

/***************************
RESET & BASE STYLES
****************************/
html {
  box-sizing: border-box;
  font-size: 16px;
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #f8f9fa;
  color: #181A20;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
  transition: background 0.4s;
}

/***************************
TYPOGRAPHY
****************************/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #181A20;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {font-size: 2.7rem; margin-bottom: 24px;}
h2 {font-size: 2rem; margin-bottom: 20px;}
h3 {font-size: 1.4rem; margin-bottom: 16px;}
h4 {font-size: 1.15rem; margin-bottom: 12px; font-weight: 600; letter-spacing: 0.015em;}
h5, h6 {font-size: 1rem;}

p, ul, ol {
  color: #23252c;
  margin-bottom: 16px;
  font-size: 1.06rem;
}
li {margin-bottom: 8px;}
ul, ol {padding-left: 1.25em;}
strong {font-weight: 600;}
blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22232A;
  border-left: 4px solid #181A20;
  padding-left: 18px;
  font-size: 1.13rem;
  margin-bottom: 8px;
  font-style: italic;
}

/***************************
LINKS & BUTTONS
****************************/
a {
  color: #2C3546;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus { 
  color: #F4B942; 
  outline: none;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 0.8em 2em;
  border-radius: 38px;
  background: #181A20;
  color: #fff;
  font-size: 1.07rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(40,40,45,0.08);
  transition: background 0.16s, color 0.16s, box-shadow 0.23s, transform 0.23s;
  margin-top: 12px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F4B942;
  color: #181A20;
  box-shadow: 0 4px 18px rgba(44,53,70,0.12);
  transform: translateY(-2px) scale(1.03);
}
button, input[type="button"], input[type="submit"] {
  font-family: inherit;
}

/***************************
CONTAINER + FLEX LAYOUTS
****************************/
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
/* Wrapper for flexbox */
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0px;
}
.text-section {
  align-items: center;
  text-align: center;
}

/***************************
HEADER & MAIN NAV
****************************/
header {
  width: 100%;
  background: #fff;
  border-bottom: 1.5px solid #E2E6EB;
  z-index: 1000;
  position: sticky;
  top: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 24px 0;
  flex-wrap: wrap;
  gap: 28px;
}
.logo-link img {
  height: 50px;
  width: auto;
  vertical-align: middle;
  display: inline-block;
}
.main-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #23252C;
  font-weight: 500;
  font-size: 1.07rem;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background 0.12s, color 0.15s;
  position: relative;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: #181A20;
  color: #fff;
}

/***************************
MOBILE NAVIGATION
****************************/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #181A20;
  margin-left: auto;
  cursor: pointer;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 320px;
  max-width: 92vw;
  background: #fff;
  box-shadow: 4px 0 32px rgba(10,10,15,0.23);
  z-index: 2002;
  transform: translateX(-110%);
  transition: transform 0.33s cubic-bezier(0.7,0,0.2,1);
  padding: 32px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #2C3546;
  align-self: flex-end;
  margin-right: 24px;
  margin-bottom: 18px;
  cursor: pointer;
  transition: color 0.14s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #F4B942;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2C3546;
  font-weight: 500;
  font-size: 1.15rem;
  padding: 18px 28px 18px 34px;
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  transition: background 0.14s, color 0.15s;
  border-bottom: 1px solid #E2E6EB;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #2C3546;
  color: #fff;
}

/***************************
HERO SECTIONS
****************************/
.hero {
  background: #fff;
  padding: 48px 0 36px 0;
  border-bottom: 1.5px solid #E2E6EB;
}
.hero .content-wrapper {
  align-items: flex-start;
  text-align: left;
  max-width: 680px;
  margin-top: 24px;
}
.hero h1 {
  color: #181A20;
  letter-spacing: 0.02em;
  font-size: 2.5rem;
  font-weight: 700;
}
.hero p {
  margin-bottom: 24px;
  font-size: 1.15rem;
  color: #353849;
}

/***************************
SECTIONS & LAYOUTS
****************************/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(40,40,45,0.03);
}
.content-wrapper {
  width: 100%;
}
.text-section {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
}

/***************************
FLEXBOX LAYOUT PATTERNS
****************************/
.card-container,
.card-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 310px;
  min-width: 270px;
  max-width: 350px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f6f7fa;
  padding: 26px 18px 28px 18px;
  border-radius: 13px;
  box-shadow: 0 2.5px 20px 0 rgba(44,53,70,0.06);
  min-width: 220px;
  flex: 1;
}
.feature-item img {
  display: block;
  width: 42px;
  height: 42px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 22px 0 0 0;
}
.service-item {
  flex: 1 1 320px;
  padding: 26px 24px 24px 24px;
  background: #f5f6f8;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(44,53,70,0.05);
  margin-bottom: 20px;
}
.project-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 15px 0 23px 0;
}
.project-tile {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 7px 0 rgba(44,53,70,0.06);
  padding: 22px 16px 18px 22px;
  flex: 1 1 230px;
  min-width: 180px;
  margin-bottom: 20px;
}

.team-list, .process-steps, .project-list, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0;
}
.team-bio, .process-step, .project-overview, .blog-preview {
  flex: 1 1 280px;
  min-width: 210px;
  background: #f9fafb;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(44,53,70,0.04);
  padding: 18px 14px 16px 18px;
  margin-bottom: 20px;
}
.process-step img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

/***************************
TESTIMONIALS
****************************/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 32px 18px 28px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 21px 0 rgba(44,53,70,0.09);
  margin-bottom: 24px;
  margin-top: 20px;
  border: 1px solid #E2E6EB;
  transition: box-shadow 0.14s, border 0.16s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 32px rgba(44,53,70,0.15);
  border: 1.5px solid #2C3546;
}
.testimonial-card blockquote {
  color: #181A20;
  font-size: 1.09rem;
  margin: 0;
  border:none;
  padding-left:0;
  font-style: italic;
}
.testimonial-meta {
  font-size: 1.02rem;
  color: #2C3546;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-left: 10px;
  font-weight: 500;
}

/***************************
CONTACT SNIPPET & INFO
****************************/
.contact-snippet {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 1.09rem;
  color: #2C3546;
  line-height: 1.4;
  font-family: 'Open Sans', Arial, sans-serif;
}
.contact-snippet img {
  vertical-align: middle;
  width: 24px;
  height: 24px;
}

.contact-info-block {
  padding: 30px;
  background: #f6f7fa;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(44,53,70,0.05);
  margin-top:14px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info-block address {
  font-style: normal;
}
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
}
.map-placeholder img {
  width: 30px;
  height: 30px;
}

/***************************
FOOTER
****************************/
footer {
  width: 100%;
  background: #181A20;
  color: #ffffff;
  padding: 0 0 16px 0;
  margin-top: 60px;
}
footer .container {
  padding-top: 38px;
  padding-bottom: 18px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 38px;
  padding-bottom: 6px;
}
.logo-footer img {
  height: 42px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #E2E6EB;
  font-size: 1rem;
  letter-spacing: 0.01em;
  margin-bottom: 0;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {color: #F4B942;}
.footer-contact address {
  font-style: normal;
  color: #E2E6EB;
  font-size: 1rem;
  line-height: 1.5;
}
.footer-contact img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin: 0 7px 0 0;
}
.footer-bottom {
  border-top: 1.2px solid #23242A;
  text-align: center;
  padding-top: 9px;
  color: #AEB5C0;
  font-size: 0.95rem;
}

/***************************
BLOG BADGES & CATEGORY
****************************/
.blog-category {
  display: inline-block;
  background: #E2E6EB;
  color: #23252C;
  border-radius: 7px;
  font-size: 0.96rem;
  padding: 3px 11px;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 7px;
}

/***************************
SPECIAL STATES, CARDS, EFFECTS
****************************/
.card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 13px rgba(44,53,70,0.04);
  transition: box-shadow 0.14s, border 0.16s;
  border: 1.5px solid #ECECEC;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 32px rgba(44,53,70,0.13);
  border: 1.5px solid #2C3546;
}

/***************************
COOKIE CONSENT BANNER & MODAL
****************************/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #181A20;
  color: #fff;
  z-index: 2100;
  padding: 18px 20px 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(44,53,70,0.13);
  gap: 20px;
  font-size: 1.02rem;
  transition: transform 0.28s cubic-bezier(0.7,0,0.2,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 13px;
  margin-left: 18px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 22px;
  border: none;
  padding: 8px 23px;
  font-weight: 600;
  font-size: 1rem;
  background: #E2E6EB;
  color: #181A20;
  margin: 0;
  box-shadow: 0 2px 7px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: background 0.11s, color 0.13s, box-shadow 0.14s;
}
.cookie-btn.accept {
  background: #F4B942;
  color: #181A20;
}
.cookie-btn.reject {
  background: #fff;
  color: #181A20;
  border: 1.5px solid #E2E6EB;
}
.cookie-btn.settings {
  background: #2C3546;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  box-shadow: 0 4px 22px rgba(44,53,70,0.13);
  background: #F4B942;
  color: #181A20;
}

/* Cookie preferences modal */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24,26,32,0.50);
  z-index: 2101;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
}
.cookie-modal {
  background: #fff;
  color: #23252C;
  padding: 36px 24px 32px 32px;
  border-radius: 18px;
  max-width: 420px;
  width: 92vw;
  box-shadow: 0 8px 40px rgba(44,53,70,0.20);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  font-size: 1.02rem;
  position: relative;
  z-index: 2102;
}
.cookie-modal h3 {
  font-size: 1.32rem;
  margin-bottom: 8px;
  color: #181A20;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 100%;
  margin-bottom: 22px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.05rem;
}
.cookie-category label {
  font-size: 1.05rem;
  color: #181A20;
}
.cookie-category input[type="checkbox"] {
  accent-color: #F4B942;
  width: 21px;
  height: 21px;
  margin: 0 7px 0 0;
}
.cookie-modal-actions {
  display: flex;
  width: 100%;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  color: #2C3546;
  font-size: 1.8rem;
  position: absolute;
  top: 12px;
  right: 18px;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  color: #F4B942;
}

/***************************
RESPONSIVE QUERIES
****************************/
@media (max-width: 1280px) {
  .container {max-width: 93vw;}
}
@media (max-width: 990px) {
  .main-nav ul {
    gap: 16px;
  }
  .feature-grid, .service-list, .team-list, .project-tiles, .content-grid,
  .project-list, .process-steps, .blog-list {
    gap: 14px;
  }
  section {
    padding: 30px 8px;
  }
}
@media (max-width: 850px) {
  .main-nav ul {
    display: none;
  }
  .cta-btn {margin-top: 0;}
}
@media (max-width: 768px) {
  /* MOBILE NAV revealed */
  .mobile-menu-toggle {
    display: block;
    margin-left: 16px;
  }
  .main-nav ul,
  .main-nav .cta-btn {
    display: none;
  }
  .main-nav {
    gap: 16px;
    padding: 14px 0;
  }
  .hero {
    padding: 34px 0 26px 0;
    border-radius: 0;
  }
  .hero .content-wrapper {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    min-width: 0;
  }
  .content-wrapper, .text-section {
    padding-left: 0;
    padding-right: 0;
  }
  .feature-grid, .service-list, .team-list, .project-tiles, .content-grid,
  .project-list, .process-steps, .blog-list {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 14px;
    gap: 10px;
  }
  section {
    margin-bottom: 38px;
    padding: 20px 4vw;
    border-radius: 10px;
  }
  .card, .feature-item, .service-item, .project-tile, .team-bio, .process-step, .project-overview, .blog-preview {
    min-width: unset;
    max-width: unset;
    width: 100%;
  }
  .footer-contact {
    margin-bottom: 9px;
  }
  footer .content-wrapper {
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 510px) {
  body {font-size: 0.98rem;}
  h1 {font-size: 1.58rem;}
  h2 {font-size: 1.21rem;}
  .hero h1 {font-size: 1.3rem;}
  .cta-btn, .cookie-btn {
    padding: 0.7em 1.2em;
    font-size: 0.98rem;
  }
}

/***************************
UTILITY & OVERRIDES
****************************/
::-webkit-input-placeholder { color: #5c606e; opacity: 1; }
::-moz-placeholder { color: #5c606e; opacity: 1; }
:-ms-input-placeholder { color: #5c606e; opacity: 1; }
::placeholder { color: #5c606e; opacity: 1; }

img:not(.logo-footer):not(.logo-link img), svg {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Hide visually but available for screen readers */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/***************************
SMOOTH ANIMATIONS
****************************/
section, .card, .feature-item, .service-item, .testimonial-card, .blog-preview, .project-tile {
  transition: box-shadow 0.19s, border 0.13s;
}

/***************************
CUSTOM SCROLLBAR (desktop)
****************************/
@media (pointer: fine) {
  ::-webkit-scrollbar {width: 9px; background: #E2E6EB;}
  ::-webkit-scrollbar-thumb {background: #c3c7d1; border-radius: 9px;}
  ::-webkit-scrollbar-thumb:hover {background: #b0b4c2;}
}

/***************************
END: VIM Spaces Monochrome Sophisticated CSS
****************************/
