/* --- CSS RESET & BASE --- */
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, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}
body {
  min-height: 100vh;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  color: #2D2D2D;
  background: #fff;
  line-height: 1.6;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: none;
}
a {
  color: #3A3A56;
  text-decoration: none;
  transition: color 0.18s;
}
strong {
  font-weight: 700;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 0.5em;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  color: inherit;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  outline: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #3A3A56;
  font-weight: 700;
  line-height: 1.14;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; letter-spacing: -0.01em; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 14px; font-weight: 600; }
h4 { font-size: 1.15rem; }
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
section:last-child {
  margin-bottom: 0;
}
/* --- LAYOUT: CONTAINERS & FLEX --- */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
/* --- 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 2px 14px 0 rgba(58, 58, 86, 0.05);
  padding: 28px 22px;
  min-width: 240px;
  flex: 1 1 320px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 4px 22px 2px rgba(58, 58, 86, 0.09);
}
.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 24px;
  margin-bottom: 20px;
  background: #F8FAF7;
  box-shadow: 0 2px 10px 0 rgba(58,58,86,0.08);
  border-radius: 14px;
  border: 1px solid #E9ECE8;
  max-width: 600px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px 2px rgba(58, 58, 86, 0.11);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  align-items: flex-start;
}
.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F6F6F3;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(58, 58, 86, 0.03);
  margin-right: 0;
}
.feature-description {
  font-size: 1rem;
  color: #3A3A56;
  margin-bottom: 18px;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  flex: 1 1 210px;
}
/* --- HERO & CTA --- */
.hero {
  display: flex;
  background: #F8FAF7;
  padding: 60px 0 50px 0;
  box-shadow: 0 2px 24px 0 rgba(58, 58, 86, 0.04);
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  color: #3A3A56;
  font-size: 2.8rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
.hero p {
  color: #3A3A56;
  font-size: 1.22rem;
  margin-bottom: 18px;
}
.cta {
  display: flex;
  background: #F8FAF7;
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 14px;
}
.cta h2 {
  font-size: 2rem;
  color: #3A3A56;
  margin-bottom: 9px;
}
/* --- BUTTONS --- */
.cta-button,
.cta-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  background: #3A3A56;
  color: #fff;
  border-radius: 8px;
  padding: 12px 32px;
  transition: background 0.2s, box-shadow 0.18s, color 0.18s;
  box-shadow: 0 1px 8px 0 rgba(58,58,86,0.05);
  border: none;
  cursor: pointer;
  margin-top: 10px;
}
.cta-button:hover,
.cta-button:focus {
  background: #222235;
  color: #E0B87C;
  box-shadow: 0 4px 12px 0 rgba(58, 58, 86, 0.11);
}
.cta-button-secondary {
  background: #fff;
  color: #3A3A56;
  border: 1.5px solid #3A3A56;
}
.cta-button-secondary:hover,
.cta-button-secondary:focus {
  background: #E0B87C;
  color: #3A3A56;
  border-color: #E0B87C;
}
.read-more {
  color: #3A3A56;
  border-bottom: 1.5px solid #E0B87C;
  transition: color 0.18s, border-color .14s;
  font-weight: 600;
}
.read-more:hover, .read-more:focus {
  color: #E0B87C;
  border-color: #3A3A56;
}
/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  border-bottom: 1.5px solid #E9ECE8;
}
header .container {
  min-height: 68px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  padding-top: 6px;
  padding-bottom: 6px;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
}
.main-navigation {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.main-navigation a {
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 1rem;
  color: #3A3A56;
  font-weight: 500;
  transition: background 0.14s, color 0.14s;
}
.main-navigation a:hover,
.main-navigation a:focus {
  background: #F8FAF7;
  color: #E0B87C;
}
.mobile-menu-toggle {
  background: #fff;
  border-radius: 50%;
  height: 40px;
  width: 40px;
  border: 1.5px solid #E9ECE8;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #3A3A56;
  transition: border 0.12s, background 0.12s;
  z-index: 1201;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #F8FAF7;
  border-color: #E0B87C;
  color: #E0B87C;
}
/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  z-index: 1400;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 4px 32px 0 rgba(58,58,86,0.13);
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(0.77,0,0.175,1);
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: flex-start;
  padding-top: 30px;
  padding-left: 38px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #3A3A56;
  margin-bottom: 18px;
  margin-left: -10px;
  cursor: pointer;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #E0B87C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #3A3A56;
  padding: 14px 0;
  border-radius: 7px;
  font-weight: 600;
  transition: background 0.15s, color .12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F8FAF7;
  color: #E0B87C;
}
/* --- SERVICES, LISTS, PROCESS, FAQ --- */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.services-list li {
  background: #F8FAF7;
  border: 1.5px solid #E9ECE8;
  border-radius: 10px;
  padding: 22px 20px;
  font-size: 1rem;
  color: #3A3A56;
  box-shadow: 0 2px 10px 0 rgba(58,58,86,0.04);
}
.process-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  counter-reset: section;
}
.process-list li {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 1rem;
  color: #3A3A56;
  min-height: 54px;
  box-shadow: 0 1px 6px 0 rgba(58,58,86,0.03);
}
.process-list img {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.faq-item {
  background: #F8FAF7;
  border-radius: 10px;
  border: 1.5px solid #E9ECE8;
  padding: 18px 16px;
  box-shadow: 0 2px 7px 0 rgba(58,58,86,0.03);
  transition: box-shadow 0.17s;
}
.faq-item h3 {
  font-size: 1.21rem;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #3A3A56;
  font-weight: 600;
}
.faq-item p {
  font-size: 1em;
  color: #3A3A56;
}
/* --- BLOG PREVIEW --- */
.blog-posts-list .blog-post-preview {
  background: #fff;
  border: 1.5px solid #E9ECE8;
  border-radius: 10px;
  box-shadow: 0 2px 10px 0 rgba(58,58,86,0.04);
  padding: 22px 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.blog-posts-list .blog-post-preview:hover {
  box-shadow: 0 4px 22px 2px rgba(58, 58, 86, 0.09);
}
.blog-post-preview h3 {
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #3A3A56;
  font-weight: 700;
  margin-bottom: 10px;
}
.blog-post-preview p {
  font-size: 1em;
  color: #3A3A56;
  margin-bottom: 3px;
}
/* --- PROJECTS --- */
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 6px;
}
.project-highlight-card {
  background: #F8FAF7;
  border-radius: 10px;
  border: 1.5px solid #E9ECE8;
  padding: 24px 19px;
  flex: 1 1 300px;
  box-shadow: 0 2px 10px 0 rgba(58,58,86,0.04);
  margin-bottom: 20px;
  min-width: 220px;
  transition: box-shadow 0.18s;
}
.project-highlight-card:hover {
  box-shadow: 0 5px 18px 2px rgba(58, 58, 86, 0.11);
}
/* --- LEGAL TEXTS --- */
.legal .text-section {
  font-size: 1rem;
  color: #2D2D2D;
  margin-bottom: 8px;
}
.legal h2 {
  font-size: 1.21rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #3A3A56;
}
/* --- TEXT/CONTACT --- */
.text-section {
  font-size: 1rem;
  color: #3A3A56;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 10px;
}
.text-section img {
  vertical-align: middle;
  margin-right: 7px;
  width: 19px;
  height: 19px;
  filter: grayscale(1) contrast(0.85);
}
.text-section a {
  color: #3A3A56;
  text-decoration: underline;
  transition: color 0.14s;
}
.text-section a:hover, .text-section a:focus {
  color: #E0B87C;
}
/* --- FOOTER --- */
footer {
  background: #F8FAF7;
  padding: 36px 0 26px 0;
  border-top: 1.5px solid #E9ECE8;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 34px 16px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 176px;
}
.footer-nav a {
  color: #3A3A56;
  font-size: 0.99rem;
  border-radius: 6px;
  padding: 4px 2px;
  transition: color 0.13s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #E0B87C;
  background: #fff;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  font-size: 1rem;
  color: #666;
}
.footer-brand img {
  height: 30px;
  width: 30px;
  border-radius: 50%;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.96rem;
  color: #3A3A56;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  vertical-align: sub;
  margin-right: 6px;
}
/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 1600;
  background: #fff;
  border-top: 2px solid #E0B87C;
  box-shadow: 0 -2px 18px 0 rgba(58,58,86,0.09);
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  transition: transform 0.33s cubic-bezier(0.6, 0, 0.2, 1), opacity 0.22s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(140%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  margin-top: 3px;
}
.cookie-banner .cookie-btn, .cookie-banner .cookie-settings-btn {
  display: inline-flex;
  align-items: center;
  background: #3A3A56;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #E0B87C;
  color: #3A3A56;
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: #3A3A56;
  border: 1.5px solid #3A3A56;
}
.cookie-banner .cookie-btn.reject:hover {
  background: #F8FAF7;
  color: #E0B87C;
  border-color: #E0B87C;
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #3A3A56;
  border: 1.5px solid #3A3A56;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #E0B87C;
  color: #3A3A56;
  border-color: #E0B87C;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -48%) scale(1);
  z-index: 1650;
  background: #fff;
  width: 94vw;
  max-width: 420px;
  border-radius: 16px;
  box-shadow: 0 4px 42px 0 rgba(58,58,86,0.19);
  padding: 36px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 1;
  transition: transform 0.24s cubic-bezier(0.8,0,0.2,1), opacity 0.2s;
}
.cookie-modal.hide {
  opacity: 0;
  transform: translate(-50%,-20%) scale(0.95);
  pointer-events: none;
}
.cookie-modal h2 {
  font-size: 1.19rem;
  margin-bottom: 1px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 20px;
  right: 16px;
  font-size: 2rem;
  color: #3A3A56;
  background: none;
  border: none;
  cursor: pointer;
}
.cookie-modal .modal-close:hover {
  color: #E0B87C;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 3px;
}
.cookie-modal label {
  font-size: 1rem;
  color: #3A3A56;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}
.cookie-modal .cookie-switch {
  appearance: none;
  width: 34px;
  height: 20px;
  border-radius: 16px;
  background: #CED3CC;
  position: relative;
  outline: none;
  transition: background 0.18s;
  margin-left: 3px;
  cursor: pointer;
}
.cookie-modal .cookie-switch:checked {
  background: #E0B87C;
}
.cookie-modal .cookie-switch::after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px;
  top: 2px;
  transition: left 0.18s;
  box-shadow: 0 1px 6px 0 rgba(58,58,86,0.09);
}
.cookie-modal .cookie-switch:checked::after {
  left: 16px;
}
.cookie-modal .cookie-switch[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 17px;
  flex-wrap: wrap;
}
.cookie-modal .modal-btn {
  background: #3A3A56;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.13s;
}
.cookie-modal .modal-btn:hover {
  background: #E0B87C;
  color: #3A3A56;
}
.cookie-modal .modal-btn.reject {
  background: #fff;
  color: #3A3A56;
  border: 1.5px solid #3A3A56;
}
.cookie-modal .modal-btn.reject:hover {
  background: #F8FAF7;
  color: #E0B87C;
  border-color: #E0B87C;
}
/* --- MEDIA QUERIES: MOBILE-FIRST --- */
@media (max-width: 1024px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
  header .container { gap: 18px; }
}
@media (max-width: 900px) {
  .container { max-width: 800px; }
  .content-grid { gap: 14px; }
  .features .feature-grid { gap: 12px 22px; }
  .project-list { gap: 10px; }
}
@media (max-width: 768px) {
  body { font-size: 0.97rem; }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.17rem; }
  header .container { flex-direction: row; gap: 6px; }
  .main-navigation { display: none !important; }
  .cta-button { padding: 11px 18px; font-size: 0.98rem; }
  .cta-button-secondary { padding: 11px 18px; font-size: 0.98rem; }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    max-width: 100vw;
    padding-left: 9px;
    padding-right: 9px;
  }
  .section, section {
    margin-bottom: 44px;
    padding: 24px 7px;
  }
  .card, .project-highlight-card {
    min-width: 160px;
    padding: 14px 9px;
  }
  .testimonial-card, .faq-item, .blog-post-preview, .services-list li {
    padding: 14px 8px;
  }
  .feature-grid {
    gap: 8px 7px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 19px;
    align-items: flex-start;
  }
  .content-wrapper {
    gap: 18px;
  }
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .footer-nav {
    min-width: 110px;
  }
}
@media (max-width: 540px) {
  .cookie-modal {
    width: 96vw;
    max-width: 99vw;
    padding: 22px 7px 16px 7px;
  }
  .footer-contact {
    font-size: 0.91rem;
  }
}
@media (max-width: 410px) {
  .footer-contact, .footer-nav, .footer-brand {
    font-size: 0.88rem;
  }
}
/* --- MICRO-INTERACTIONS --- */
a, button, .cta-button, .cta-button-secondary, .read-more, .cookie-btn, .cookie-settings-btn, .modal-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: 
    color 0.16s,
    background 0.16s,
    border 0.14s,
    box-shadow 0.15s;
}

/* --- FONTS INCLUSION (FALLBACK for CSS variables) --- */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  src: local('Montserrat'), url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400 700;
  src: local('Lato'), url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');
}

/* --- REMOVE SPIN BUTTONS ON INPUTS (Noforms here but for futureproofing) --- */
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

/* --- UTILITY CLASSES (for spacing if needed) --- */
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

/* --- CRITICAL: NO CSS GRID ANYWHERE. FLEXBOX ONLY. --- */

/* END */
