/* 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, 
main, 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;
}
*,*:before,*:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #23272F;
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-style: none;
}
ul, ol { list-style: none; }
a {
  color: #285093;
  text-decoration: none;
  transition: color 0.2s;
}
strong { font-weight: 600; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #2A2F36;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
p { margin-bottom: 16px; }

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.text-section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(40,80,147,0.04), 0 1.5px 6px rgba(42,47,54,0.07);
  padding: 32px 24px;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  border-bottom: 1.5px solid #E9EDF3;
  position: sticky;
  top: 0; left: 0;
  width: 100%;
  z-index: 99;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}
.logo-link img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #2A2F36;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E9EDF3;
  color: #285093;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #2A2F36;
  background: #fff;
  padding: 10px 28px;
  border: 2px solid #9e7a2f;
  border-radius: 28px;
  font-size: 1.13rem;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 10px rgba(226,212,116,0.07);
  cursor: pointer;
  transition: background 0.22s, color 0.22s, border 0.22s, box-shadow 0.22s;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: #fffbe9;
  color: #9e7a2f;
  border-color: #c9a537;
  box-shadow: 0 3px 18px rgba(158,122,47,0.15);
}

/* MOBILE HAMBURGER MENU */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 111;
  background: #fff;
  color: #9e7a2f;
  border: 2px solid #9e7a2f;
  border-radius: 50%;
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border 0.2s;
  box-shadow: 0 3px 16px rgba(226,212,116,0.08);
  cursor: pointer;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #285093;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30,33,44,0.98);
  color: #fff;
  z-index: 130;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.57,.11,.43,1.01);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  box-shadow: 0 8px 40px rgba(42,47,54,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
  transition-delay: 0s;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fffbe9;
  font-size: 2.1rem;
  margin: 22px 0 0 20px;
  cursor: pointer;
  align-self: flex-start;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #c9a537;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin: 40px 0 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 10px 0;
  transition: color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #ffd470;
}

/* MAIN LAYOUTS AND FLEX CONTAINERS */
/* Card/grid-like layouts as per structure */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid li {
  flex: 1 1 250px;
  background: #f6f7f8;
  border-radius: 18px;
  box-shadow: 0 3.5px 14px rgba(175,176,143,0.07);
  padding: 28px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  min-width: 230px;
  margin-bottom: 20px;
  border-bottom: 2.5px solid #9e7a2f12;
  transition: box-shadow 0.24s, border-bottom 0.28s;
}
.feature-grid li:hover {
  box-shadow: 0 7px 28px rgba(175,176,143,0.12);
  border-bottom: 2.5px solid #9e7a2f;
}
.feature-grid img {
  height: 38px;
  margin-bottom: 16px;
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.service-cards > div {
  flex: 1 1 260px;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid #E9EDF3;
  box-shadow: 0 4px 18px rgba(232,186,82,0.05);
  padding: 24px 16px 16px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: box-shadow 0.21s, border 0.23s;
}
.service-cards > div:hover {
  border: 1.5px solid #9e7a2f;
  box-shadow: 0 8px 28px rgba(232,186,82,0.10);
}

ol.stepper,
ol.step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  counter-reset: step;
  margin: 0 0 18px 0;
  padding-left: 0;
}
ol.stepper li, ol.step-list li {
  flex: 1 1 230px;
  background: #fffbe9;
  box-shadow: 0 2.5px 10px rgba(226,212,116,0.06);
  border-radius: 13px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 18px;
  position: relative;
  margin-bottom: 20px;
}
ol.stepper img, ol.step-list img {
  height: 42px;
  border-radius: 8px;
}
ol.stepper li div, ol.step-list li div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* Testimonial & Cards */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  color: #2A2F36;
  border-radius: 15px;
  box-shadow: 0 7px 28px rgba(42,47,54,0.09);
  padding: 28px 24px 22px 24px;
  min-width: 280px;
  max-width: 420px;
  margin-bottom: 20px;
  border-left: 5px solid #9e7a2f;
  position: relative;
  transition: box-shadow 0.18s, border-left 0.23s;
}
.testimonial-card:hover {
  box-shadow: 0 16px 48px rgba(199,171,69,0.15);
  border-left: 5px solid #c9a537;
}
.testimonial-meta {
  font-size: 1.05rem;
  color: #9e7a2f;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
}
.testimonial-meta span {
  color: #ffd700;
  font-size: 1.1rem;
  margin-left: 8px;
  letter-spacing: 0.08em;
}

/* Case studies */
.case-study {
  background: #fefcff;
  border-left: 4px solid #285093;
  border-radius: 13px;
  box-shadow: 0 3px 12px rgba(40,80,147,0.06);
  margin-bottom: 22px;
  padding: 26px 18px 20px 22px;
}

/* Cards for .card-list, .service-list, .blog-list */
.service-list, .usps, .blog-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 18px;
}
.service-list li {
  background: #f6f7f8;
  border-radius: 9px;
  box-shadow: 0 2.5px 8px rgba(232,186,82,0.08);
  padding: 23px 16px 17px 16px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 3px solid #9e7a2f22;
  transition: border-left 0.2s, box-shadow 0.21s;
}
.service-list li:hover {
  border-left: 3px solid #9e7a2f;
  box-shadow: 0 6px 22px rgba(232,186,82,0.11);
}
.usps li {
  font-weight: 600;
  color: #285093;
  background: #fff;
  border-radius: 7px;
  padding: 11px 13px;
  margin-bottom: 6px;
}
.blog-list {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-list article {
  flex: 1 1 290px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2.5px 8px rgba(40,80,147,0.07);
  padding: 22px 16px 16px 16px;
  border-left: 3px solid #28509317;
  min-width: 255px;
  transition: border-left 0.2s, box-shadow 0.20s;
  margin-bottom: 20px;
}
.blog-list article:hover {
  border-left: 3px solid #9e7a2f;
  box-shadow: 0 7px 26px rgba(199,171,69,0.10);
}

dl, dt, dd {
  font-size: 1rem;
  margin-bottom: 7px;
}
dl dt {
  font-weight: 600;
  margin-top: 12px;
}
dl dd {
  margin-left: 18px;
}

/* FOOTER */
footer {
  background: #2A2F36;
  color: #f4f4f5;
  padding: 42px 0 26px 0;
  margin-top: 70px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 27px;
}
.footer-nav a {
  color: #f8eed3;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: color 0.22s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #ffd700;
}
.footer-brand {
  text-align: center;
  margin-top: 18px;
}
.footer-brand img {
  height: 36px;
  margin-bottom: 9px;
}
.footer-brand p, .footer-brand a {
  color: #ffffffcc;
  font-size: 0.99rem;
  margin-bottom: 7px;
  word-break: break-word;
}
.footer-brand a:hover, .footer-brand a:focus { color: #ffd470; }

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: #fffffffb;
  color: #2A2F36;
  box-shadow: 0 -4px 26px rgba(40,80,147,0.11), 0 -1.5px 6px rgba(158,122,47,0.09);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px 16px;
  transition: transform 0.44s cubic-bezier(.68,0,.31,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner p {
  max-width: 430px;
  margin-bottom: 0;
}
.cookie-banner .banner-btns {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}
.cookie-btn,
.cookie-settings-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 20px;
  padding: 8px 18px;
  border: 2px solid #9e7a2f;
  background: #fff;
  color: #9e7a2f;
  font-size: 1rem;
  cursor: pointer;
  margin-right: 2px;
  transition: background .19s, color .18s, border .18s;
}
.cookie-btn.accept {
  background: #9e7a2f;
  color: #fff;
  border-color: #9e7a2f;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #c9a537;
  color: #fff9e0;
}
.cookie-btn.reject {
  background: #fff;
  color: #285093;
  border-color: #285093;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #f6f7fb;
  color: #285093;
}
.cookie-settings-btn {
  background: #fffbe9;
  color: #9e7a2f;
  border-color: #ffd470;
}
.cookie-settings-btn:hover,
.cookie-settings-btn:focus {
  background: #fff9e0;
  color: #c9a537;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,33,44,0.55);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.41s;
}
.cookie-modal.hidden {
  pointer-events: none;
  opacity: 0;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 60px rgba(42,47,54,0.32);
  max-width: 410px;
  padding: 40px 28px 30px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
  animation: cookiepop .5s cubic-bezier(.6,.3,.3,1.2);
}
@keyframes cookiepop {
  from { opacity:0; transform: scale(.91) translateY(60px); }
  to   { opacity:1; transform: scale(1) translateY(0); }
}
.cookie-modal-content h2 {
  color: #285093;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 12px 0;
  gap: 11px;
  border-bottom: 1px solid #E9EDF3;
}
.cookie-category:last-child { border-bottom: 0; }
.cookie-category label {
  font-size: 1rem;
  font-weight: 600;
  color: #2A2F36;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 16px;
  background: #E9EDF3;
  position: relative;
  margin-left: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.2s;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle span {
  display: block;
  width: 18px; height: 18px;
  background: #c9a537;
  border-radius: 50%;
  position: absolute;
  left: 2px; top: 2px;
  transition: left 0.19s cubic-bezier(.47,1.64,.41,.8);
}
.cookie-toggle input:checked + span {
  left: 18px;
  background: #285093;
}
.cookie-modal-close {
  position: absolute;
  top: 19px; right: 19px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #9e7a2f;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #c9a537;
}

/* UTILITIES */
.gold {
  color: #9e7a2f;
}
.bg-accent {
  background: #E9EDF3;
}
.bg-primary {
  background: #285093;
  color: #fff;
}
.bg-secondary {
  background: #2A2F36;
  color: #fff;
}
.rounded-xl {
  border-radius: 24px;
}
.shadow-lg {
  box-shadow: 0 7px 28px rgba(42,47,54,0.12);
}

/* Buttons (general) */
button, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  outline: none;
  border: none;
  background: none;
}

/* MICRO-INTERACTIONS */
.cta-btn,
.cookie-btn,
.cookie-settings-btn,
.main-nav a,
.mobile-nav a,
.mobile-menu-toggle,
.service-cards > div,
.testimonial-card,
.service-list li,
.blog-list article {
  transition: box-shadow .18s, border .23s, color .22s, background .20s, transform .14s;
}
.cta-btn:active,
.service-cards > div:active,
.testimonial-card:active,
.service-list li:active,
.blog-list article:active {
  transform: scale(0.98);
}

/* SPACING/ALIGNMENT ORDERS (MANDATORY FLEX PATTERNS) */
.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;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* RESPONSIVE STYLES */
@media (max-width: 1100px) {
  .container {
    max-width: 970px;
  }
  .main-nav {
    gap: 18px;
  }
  .service-cards, .blog-list, .feature-grid, .testimonial-slider {
    gap: 18px;
  }
}
@media (max-width: 850px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .service-cards, .blog-list, .feature-grid { gap: 18px; }
  header .container { flex-direction: column; height: auto; gap: 10px; align-items: flex-start; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    height: 60px;
    gap: 0;
    padding: 0 8px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .service-cards, .testimonial-slider, .blog-list, .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .service-cards > div, .feature-grid li, .testimonial-card, .blog-list article {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .section {
    padding: 32px 6px;
    margin-bottom: 42px;
  }
  ol.stepper, ol.step-list {
    flex-direction: column;
    gap: 16px;
  }
  .content-wrapper, .text-section {
    padding: 20px 6px;
  }
  .footer-brand img {
    height:32px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
    padding:14px 7px;
  }
}
@media (max-width: 520px) {
  .container {
    max-width: 100vw;
    padding: 0;
  }
  header .container,
  .footer-nav { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-nav { margin-bottom: 14px; }
  .footer-brand { font-size: 0.96rem; }
  .footer-brand img { height: 26px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.13rem; }
}

/* ACCESSIBILITY & FOCUS STATES */
button:focus, a:focus {
  outline: 2.5px solid #9e7a2f;
  outline-offset: 2px;
}

/* SCROLLBAR (BRANDED) */
::-webkit-scrollbar {
  width: 10px;
  background: #E9EDF3;
}
::-webkit-scrollbar-thumb {
  background: #E9EDF3;
  border-radius: 7px;
  border: 1.5px solid #9e7a2f13;
}
::-webkit-scrollbar-thumb:hover {
  background: #c9a53744;
}

/* Hide cookie modal and menu by default - scripts toggle .open/.hide/.hidden */
.cookie-modal {
  display: none;
}
.cookie-modal.active {
  display: flex;
}
.mobile-menu {
  display: flex;
  pointer-events: none;
}
.mobile-menu.open {
  pointer-events: auto;
}

/* Print support */
@media print {
  header, footer, .cookie-banner, .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  .container, .section, main, body {
    background: #fff !important;
    color: #000 !important;
  }
}
