/* -----------------------------------------------------
   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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #fff;
  color: #18191B;
  min-height: 100%;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #1A1D22;
  font-size: 1rem;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #18191B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #21426B;
  outline: none;
}

/* -----------------------------------------------------
   TYPOGRAPHY
----------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #101112;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
}
p, ul, ol {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.125rem;
  color: #25272a;
  margin-bottom: 16px;
}
p:last-child {
  margin-bottom: 0;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
  font-size: 1.05rem;
}
strong {
  font-weight: 700;
}

/* -----------------------------------------------------
   BRAND COLORS/PALETTE
----------------------------------------------------- */
:root {
  --primary: #101112;           /* Deepest black for headings */
  --secondary: #222427;         /* Text and nav bar window */
  --accent: #F5F7FA;            /* Light background/sections */
  --brand-blue: #21426B;
  --brand-green: #6CC3A0;
  --white: #fff;
  --gray-50: #f7f7f7;
  --gray-100: #eaeaea;
  --gray-300: #dadce0;
  --gray-500: #c2c4ca;
  --gray-700: #6b6e73;
}

/* -----------------------------------------------------
   CONTAINER & LAYOUT
----------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(25, 26, 30, 0.07);
  transition: box-shadow 0.2s;
}
.section:last-child {
  margin-bottom: 0;
}

/* -----------------------------------------------------
   HEADER, NAVIGATION, HERO
----------------------------------------------------- */
header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  width: 100%;
  z-index: 100;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 10px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 5px 0;
  position: relative;
  transition: color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--brand-blue);
}
.nav-cta {
  background: var(--primary);
  color: var(--white);
  border-radius: 32px;
  padding: 9px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-left: 24px;
  box-shadow: 0 2px 8px rgba(33, 66, 107, 0.08);
  transition: background 0.17s, color 0.17s, box-shadow 0.17s;
  border: none;
  cursor: pointer;
}
.nav-cta:hover, .nav-cta:focus {
  background: var(--brand-blue);
  color: var(--accent);
  box-shadow: 0 6px 24px rgba(33,66,107,0.12);
}

/* Hamburger Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  margin-left: 16px;
  transition: color 0.2s;
  z-index: 120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--brand-blue);
  outline: none;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--white);
  box-shadow: 0 4px 48px rgba(16,20,29,0.19);
  z-index: 6000;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  color: var(--primary);
  border: none;
  font-size: 2rem;
  align-self: flex-end;
  margin: 28px 24px 0 0;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 6200;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--brand-blue);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 56px 0 0 0;
  align-items: flex-start;
  padding: 0 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
  border-radius: 6px;
  padding: 10px 0 10px 6px;
  transition: background 0.14s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-blue);
  color: var(--white);
}

/* Hide desktop main-nav and show burger on mobile */
@media (max-width: 992px) {
  .main-nav, .nav-cta {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HERO 
---------------------------------------------------- */
.hero {
  min-height: 340px;
  background: var(--accent);
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  padding: 64px 0 52px 0;
  position: relative;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 720px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 2.7rem;
  color: var(--primary);
}
.hero p {
  font-size: 1.25rem;
  color: var(--brand-blue);
  font-weight: 400;
}
.hero .cta-btn {
  margin-top: 18px;
}

/* -----------------------------------------------------
   BUTTONS & CTAS
----------------------------------------------------- */
.cta-btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 36px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 32px;
  border: none;
  box-shadow: 0 2px 8px rgba(20,16,25,0.10);
  cursor: pointer;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  letter-spacing: 0.03em;
  margin-top: 10px;
  text-align: center;
}
.cta-btn.primary {
  background: var(--brand-blue);
  color: var(--white);
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 8px 32px rgba(34,36,39,0.14);
  outline: none;
}
.cta-section {
  background: var(--primary);
  color: var(--white);
  padding: 40px 20px 44px 20px;
  margin-bottom: 0 !important;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 2px 12px rgba(25, 25, 34, 0.08);
}
.cta-section .content-wrapper > * {
  color: var(--white);
}
.cta-section h2 {
  color: var(--white);
}

/* -----------------------------------------------------
   FLEXBOX CARDS, GRIDS, FEATURE LISTS
----------------------------------------------------- */
.feature-grid, .team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.feature {
  background: var(--accent);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(33, 66, 107, 0.04);
  padding: 30px 22px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 314px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.2s, transform 0.14s;
}
.feature img {
  width: 48px;
  height: 48px;
  filter: grayscale(100%);
  opacity: 0.75;
}
.feature h3 {
  margin-bottom: 2px;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 8px 32px rgba(33, 66, 107, 0.10);
  transform: translateY(-2px) scale(1.025);
  z-index: 20;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--accent);
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(33,66,107,0.06);
  padding: 28px 22px;
  flex: 1 1 280px;
  min-width: 230px;
  transition: box-shadow 0.2s, transform 0.14s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 30px rgba(33,66,107,0.12);
  transform: translateY(-2px) scale(1.02);
}

.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;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(33,66,107,0.07);
  margin-bottom: 28px;
  min-width: 240px;
  max-width: 600px;
  font-size: 1.13rem;
  font-style: italic;
  color: #202328;
  flex: 1 1 330px;
}
.testimonial-card p {
  color: #101112;
  font-size: 1.13rem;
  margin-bottom: 10px;
}
.testimonial-card span {
  color: var(--brand-blue);
  font-style: normal;
  font-size: 0.97em;
  font-weight: 500;
  margin-left: auto;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Flex List for ordered steps */
ol {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* -----------------------------------------------------
   FOOTER
----------------------------------------------------- */
footer {
  background: #202328;
  color: #f3f4f7;
  padding: 44px 0 30px 0;
  border-top: 1px solid var(--gray-100);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.footer-logo img {
  height: 42px;
  margin-bottom: 7px;
  filter: grayscale(100%);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 1rem;
  color: #f3f4f7;
}
.footer-nav a {
  color: #d2d4d8;
  padding: 2px 4px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--brand-green);
}
.footer-contact p {
  color: #c3c5cc;
  font-size: 0.94rem;
  margin-bottom: 0;
  text-align: center;
}
footer small {
  color: #b2b3b9;
  font-size: 0.83rem;
}

/* -----------------------------------------------------
   RESPONSIVE DESIGN (MOBILE-FIRST)
----------------------------------------------------- */
@media (max-width: 992px) {
  .feature-grid, .team-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 22px;
  }
  .main-nav, .nav-cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 13px;
  }
  .content-wrapper, .section, .cta-section {
    padding: 23px 7px;
    gap: 18px;
    margin-bottom: 32px;
  }
  .hero {
    padding: 32px 0 24px 0;
    min-height: 220px;
  }
  .hero .container {
    min-height: 136px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 15px 12px;
    font-size: 1rem;
    margin-bottom: 16px;
  }
  .section, .cta-section {
    border-radius: 12px;
  }
  .feature, .card {
    padding: 18px 11px;
    min-width: 0;
    max-width: unset;
  }
  .footer-contact p {
    font-size: 0.87rem;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.08rem; }
  .feature, .card {
    font-size: 0.97rem;
    padding: 10px 7px;
  }
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* -----------------------------------------------------
   MISC: MODALS, ANIMATION, MICRO-INTERACTIONS
----------------------------------------------------- */
input, button, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
::-webkit-input-placeholder, ::-moz-placeholder, :-ms-input-placeholder, ::placeholder {
  color: #b2b3b9;
  opacity: 1;
}

/* -----------------------------------------------------
   COOKIE CONSENT BANNER
----------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 9999;
  background: var(--gray-50);
  color: var(--primary);
  padding: 22px 18px 22px 18px;
  box-shadow: 0 -2px 24px rgba(33,66,107,0.09);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: transform 0.3s cubic-bezier(.44,.08,.73,.88), opacity 0.28s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner__message {
  font-size: 1.07rem;
  color: var(--primary);
  flex: 1 1 auto;
}
.cookie-banner__buttons {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-btn {
  border-radius: 24px;
  border: none;
  padding: 9px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: var(--gray-100);
  color: var(--primary);
  transition: background 0.16s, color 0.17s, box-shadow 0.13s;
  box-shadow: 0 1px 3px rgba(33,66,107,0.04);
}
.cookie-btn.accept {
  background: var(--brand-blue);
  color: var(--white);
}
.cookie-btn.reject {
  background: var(--primary);
  color: var(--white);
}
.cookie-btn.settings {
  background: var(--gray-100);
  color: var(--primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--brand-green);
  color: var(--white);
  outline: none;
}

/* Cookie preferences modal popup */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 10010;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25, 26, 30, 0.56);
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModalBG 0.29s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeInCookieModalBG {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: var(--white);
  border-radius: 15px;
  max-width: 420px;
  width: calc(100vw - 46px);
  padding: 30px 22px 22px 22px;
  box-shadow: 0 14px 48px rgba(33,66,107,0.16);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: slideInCookieModal 0.29s;
}
@keyframes slideInCookieModal {
  0% { transform: translateY(64px) scale(0.97); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.22rem;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--primary);
}
.cookie-modal .toggle {
  background: #dadce0;
  border-radius: 14px;
  width: 36px;
  height: 22px;
  position: relative;
  margin-left: 14px;
  flex-shrink: 0;
  cursor: pointer;
  display: inline-block;
}
.cookie-modal .toggle input {
  display: none;
}
.cookie-modal .slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(33,66,107,0.09);
  transition: left 0.17s;
}
.cookie-modal .toggle input:checked + .slider {
  left: 16px;
  background: var(--brand-green);
}
.cookie-modal .cookie-category.essential .slider {
  background: var(--brand-green);
}
.cookie-modal .cookie-category.essential .toggle {
  background: #bad7cd;
  pointer-events: none;
}

.cookie-modal .modal-actions {
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 12px;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
  padding: 8px 22px;
}
.cookie-modal .cookie-btn.primary {
  background: var(--brand-blue);
  color: var(--white);
}

/* -----------------------------------------------------
   ACCESSIBILITY: FOCUS STYLES
----------------------------------------------------- */
a:focus, button:focus, .cta-btn:focus, .nav-cta:focus, .mobile-menu-toggle:focus, .cookie-btn:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--brand-green);
  outline-offset: 2px;
}

/* -----------------------------------------------------
   VISUAL DETAILS/SHADOWS/BORDERS
----------------------------------------------------- */
.section, .card, .feature, .testimonial-card, .cta-section {
  box-shadow: 0 2px 16px rgba(33,66,107,0.05);
}
.feature, .card, .testimonial-card {
  border: 1px solid var(--gray-100);
}

hr {
  border: none;
  border-top: 1px solid var(--gray-100);
  margin: 38px 0;
}

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

/* Margin between all cards and sections */
.card, .feature, .testimonial-card, .section {
  margin-bottom: 20px;
}

/* -----------------------------------------------------
   CUSTOM SCROLLBAR (subtle monochrome)
----------------------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
  background: var(--gray-100);
}
::-webkit-scrollbar-thumb {
  background: var(--gray-500);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-blue);
}

/* -----------------------------------------------------
   OVERRIDES/PRINT
----------------------------------------------------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { color: #101112; background: #fff; }
}
/* END CSS */
