/* CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #181818;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* TYPOGRAPHY: Sophisticated monochrome with brand hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #181818;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.subheadline {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: #464646;
  font-family: 'Roboto', Arial, sans-serif;
  letter-spacing: 0.1em;
  font-weight: 400;
}
p, ul, ol, li {
  color: #383838;
  font-size: 1rem;
  line-height: 1.6;
}
ul, ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
  color: #181818;
}
a {
  color: #21406A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #049C5F;
  text-decoration: underline;
}

/* ---- Layout containers ---- */
.container {
  width: 100%;
  max-width: 1140px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 20px;
  padding-right: 20px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 0;
}
.text-section {
  align-items: flex-start;
  max-width: 700px;
}

/* ---- FLEXBOX Patterns ---- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.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-slider, .testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fafbfc;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(30,30,30,0.07);
  min-width: 270px;
  max-width: 340px;
  margin-bottom: 20px;
  transition: box-shadow 0.14s, transform 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 32px rgba(33,64,106,0.15);
  transform: translateY(-2px) scale(1.02);
}
.testimonial-meta {
  font-size: 0.97rem;
  color: #21406A;
  font-style: italic;
  opacity: 0.86;
}
.stars img {
  height: 1.15em;
  margin-right: 2px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(33,40,60,0.04);
  padding: 24px 22px 18px 22px;
  min-width: 260px;
  max-width: 320px;
  flex: 1 1 260px;
  transition: box-shadow 0.16s, transform 0.12s;
}
.feature-item img {
  width: 40px;
  height: 40px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 4px 24px rgba(33,64,106,0.13);
  transform: scale(1.025) translateY(-2px);
}

.card {
  background: #fafbfc;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(41,41,41,0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 22px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}
.pricing-option {
  flex: 1 1 260px;
  background: #fafbfc;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(33,64,106,0.08);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 240px;
  max-width: 300px;
}
.pricing-option h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #21406A;
}

.case-studies {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.case-study-summary {
  background: #f3f3f3;
  border-radius: 9px;
  padding: 18px 15px;
  flex: 1 1 210px;
  color: #272727;
  font-size: 1rem;
}

.company-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  margin-top: 36px;
  margin-bottom: 0;
  opacity: 0.85;
}
.company-logos img {
  max-height: 38px;
  max-width: 100px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  margin: 18px 0 6px 0;
  color: #363636;
  font-size: 1rem;
}
.contact-details img {
  width: 1.2em;
  vertical-align: middle;
  margin-right: 7px;
  opacity: 0.7;
}

.map-embed {
  margin-top: 20px;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #21406A;
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.2;
  padding: 13px 33px;
  border-radius: 24px;
  transition: background 0.17s, color 0.17s, box-shadow 0.13s, transform 0.12s;
  box-shadow: 0 1px 8px rgba(20,20,20, 0.07);
  cursor: pointer;
  text-decoration: none;
  margin-top: 6px;
  border: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #049C5F;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 18px rgba(33,76,106,0.20);
  outline: none;
}

/* ---- HEADER / NAVIGATION ---- */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(20,20,20,0.09);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}
header img {
  height: 44px;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 18px;
  flex-wrap: wrap;
}
.main-nav a {
  color: #181818;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  padding: 4px 8px;
  font-size: 1rem;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #049C5F;
  background: #f7f7f7;
}
header .btn-primary {
  margin-left: 30px;
  margin-bottom: 0;
}

/* ---- MOBILE NAVIGATION ---- */
.mobile-menu-toggle {
  position: fixed;
  top: 24px;
  right: 22px;
  z-index: 2100;
  display: none;
  background: #181818;
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 24px;
  font-size: 2.1rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(30,30,30,0.11);
  transition: background 0.18s, transform 0.12s;
}
.mobile-menu-toggle:active {
  background: #21406A;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24, 24, 24, 0.97);
  z-index: 2200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.65,.04,.36,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  margin: 30px 0 24px 30px;
  cursor: pointer;
  align-self: flex-start;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 0 0 0 38px;
  margin-top: 0;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.14s;
  border-radius: 2px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #049C5F;
}

/* ---- FOOTER ---- */
footer {
  background: #181818;
  color: #fff;
  padding: 48px 0 32px 0;
  border-top: 4px solid #21406A;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.72;
  font-size: 1rem;
  transition: color 0.12s, opacity 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #049C5F;
  opacity: 1;
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-info strong {
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.11rem;
  letter-spacing: 0.01em;
}
.footer-info a {
  color: #F3E7D3;
  opacity: 0.93;
  text-decoration: underline dotted;
  font-size: 1rem;
}
.footer-info img {
  height: 62px;
  margin-top: 8px;
  opacity: 0.92;
}

/* ---- COOKIE BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 2500;
  background: #222;
  color: #fff;
  padding: 22px 16px 20px 16px;
  box-shadow: 0 -2px 32px rgba(33,64,106,.13);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  font-size: 1rem;
}
.cookie-banner__text {
  max-width: 360px;
  line-height: 1.5;
}
.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
}
.btn-cookie {
  background: #049C5F;
  color: #fff;
  font-weight: 500;
  border-radius: 16px;
  padding: 10px 20px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.14s;
  margin-right: 2px;
  font-size: 1rem;
}
.btn-cookie.settings {
  background: #21406A;
}
.btn-cookie.reject {
  background: #282828;
}
.btn-cookie:hover, .btn-cookie:focus {
  background: #027345;
  color: #fff;
}
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(24,24,24,0.86);
  z-index: 2600;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.26s;
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal__box {
  background: #fff;
  color: #181818;
  border-radius: 20px;
  padding: 40px 30px 28px 30px;
  max-width: 430px;
  width: 94vw;
  box-shadow: 0 6px 32px rgba(33,64,106,.16);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-modal__close {
  background: none;
  border: none;
  color: #181818;
  font-size: 2.1rem;
  cursor: pointer;
  margin-left: 16px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
}
.cookie-toggle {
  width: 34px;
  height: 19px;
  border-radius: 12px;
  background: #dedede;
  position: relative;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.19s;
}
.cookie-toggle.active {
  background: #049C5F;
}
.cookie-toggle-dot {
  position: absolute;
  left: 3px;
  top: 2px;
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.17s;
}
.cookie-toggle.active .cookie-toggle-dot {
  left: 16px;
}
.cookie-category.essential .cookie-toggle {
  background: #21406A;
}
.cookie-category.essential {
  font-style: italic;
  opacity: 0.78;
}

/* Utility: Hide visually for a11y only */
.visually-hidden {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- GENERAL SPACING & VISUALS ---- */
main {
  min-height: 60vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
hr {
  border: none;
  border-top: 1px solid #e1e1e1;
  margin: 22px 0;
}

/* --- Responsive Design: Mobile First --- */
@media (max-width: 1000px) {
  .container {
    max-width: 96vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .feature-grid, .pricing-table {
    gap: 18px;
  }
  .testimonial-slider {
    gap: 14px;
  }
  .footer-info {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.45rem; }
  .feature-grid, .pricing-table, .case-studies {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 12px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .main-nav, header .btn-primary {
    display: none;
  }
  .header .container {
    flex-direction: row;
    gap: 10px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
  }
  .footer-info {
    flex-direction: column;
    gap: 18px;
  }
  section {
    padding: 26px 6px;
    margin-bottom: 34px;
  }
  .testimonial-card, .feature-item, .pricing-option {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .contact-details {
    flex-direction: column;
    gap: 10px;
  }
  .company-logos {
    gap: 14px;
    margin-top: 20px;
  }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    font-size: 0.93rem;
    padding: 16px 6px 13px 6px;
  }
  .cookie-modal__box {
    padding: 17px 7px 15px 12px;
    max-width: 97vw;
  }
}

/* ---- MICRO-INTERACTIONS/ANIMATIONS ---- */
.btn-primary, .btn-cookie {
  will-change: transform, box-shadow;
}
.btn-primary:active { transform: scale(0.96); }
.btn-cookie:active { transform: scale(0.97); }
.feature-item:active, .testimonial-card:active {
  transform: scale(0.985);
  box-shadow: 0 1px 7px rgba(33,76,106,0.11);
}

/* Extra Spacing for Accessibility */
section:not(:last-child) {
  margin-bottom: 60px;
}
.card:not(:last-child), .testimonial-card:not(:last-child) {
  margin-bottom: 20px;
}

/* Hide elements for accessibility only */
[hidden] {
  display: none !important;
}

/* ------- END ------- */
