/* -------------------------------------------------
 CSS RESET & BASE 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, 
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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1; background: #F7F8FA; color: #183153; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
button { font: inherit; }

/* -------------------------------------------------
  FONT IMPORTS
-------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;900&family=Roboto:wght@400;500;700&display=swap');

/* -------------------------------------------------
  CSS VARIABLES FOR BRAND
-------------------------------------------------- */
:root {
  --primary: #183153;
  --secondary: #2D9C5A;
  --accent: #F7F8FA;
  --white: #fff;
  --gray: #e2e6ee;
  --shadow: 0 4px 24px 0 rgba(24,49,83,0.07), 0 1px 2px 0 rgba(24,49,83,0.04);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 6px;
  --transition: 0.22s cubic-bezier(.45,0,.55,1);
  --drop: 0 2px 8px rgba(24,49,83,0.07);
}

/* -------------------------------------------------
  TYPOGRAPHY
-------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary);
}
h1 { font-size: 2.5rem; line-height: 1.10; margin-bottom: 18px; }
h2 { font-size: 1.8rem; line-height: 1.15; margin-bottom: 16px; }
h3 { font-size: 1.25rem; line-height: 1.20; margin-bottom: 12px; }

body, p, li, ul, ol, label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--primary);
  letter-spacing: 0.01em;
}
strong { font-weight: 700; }

.tag {
  display: inline-block;
  border-radius: 8px;
  background: var(--gray);
  font-size: 0.85rem;
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  padding: 2px 12px;
  margin-left: 8px;
}

/* -------------------------------------------------
  GENERAL SPACING/LAYOUT
-------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius-lg);
}
.content-wrapper {
  margin-bottom: 0;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 28px 16px 28px;
  flex: 1 1 270px;
  transition: box-shadow var(--transition), transform var(--transition);
  border: 1.5px solid var(--gray);
}
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(24,49,83,0.15);
  transform: translateY(-2px) scale(1.01);
  border-color: var(--secondary);
}
.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;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: var(--gray);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  box-shadow: var(--drop);
  font-size: 1.06rem;
  color: #14203a;
  transition: box-shadow var(--transition), background var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 8px 40px rgba(24,49,83,0.17);
  background: #eaf2eb;
}

.section > .container > .content-wrapper {
  margin-bottom: 0;
}

.contact-brief {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin: 30px 0 24px 0;
}
.contact-brief > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

/* -------------------------------------------------
  BUTTONS
-------------------------------------------------- */
.btn-primary {
  background: var(--secondary);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  border-radius: var(--radius-md);
  padding: 12px 36px;
  font-size: 1.125rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  text-transform: uppercase;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  margin-right: 10px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #228447;
  box-shadow: 0 6px 30px rgba(45,156,90,0.18);
  transform: translateY(-1px) scale(1.03);
}

.btn-secondary {
  background: var(--primary);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  border-radius: var(--radius-md);
  padding: 11px 28px;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  text-transform: uppercase;
  margin-top: 16px;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #274266;
  color: var(--white);
  transform: scale(1.03) translateY(-1px);
}

button, .btn-primary, .btn-secondary {
  outline: none;
  transition: box-shadow var(--transition), background var(--transition), transform var(--transition);
}

/* -------------------------------------------------
  HEADER / NAVIGATION
-------------------------------------------------- */
header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 4px 30px 0 rgba(24,49,83,0.04);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 14px;
  padding-bottom: 14px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
}
header nav a {
  color: var(--primary);
  padding: 9px 8px 7px 8px;
  position: relative;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
header nav a:hover, header nav a:focus {
  color: var(--secondary);
  background: var(--gray);
}
header img {
  height: 38px;
  width: auto;
  margin-right: 8px;
}

header .btn-primary {
  margin-left: 18px;
}

/* -------------------------------------------------
  MOBILE MENU
-------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 24px;
  right: 22px;
  width: 48px;
  height: 48px;
  background: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 2rem;
  z-index: 300;
  box-shadow: var(--drop);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), box-shadow var(--transition);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #228447;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 345px;
  height: 100vh;
  background: var(--primary);
  color: var(--white);
  z-index: 400;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 16px rgba(24,49,83,0.13);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 2rem;
  margin: 18px 18px 8px 0;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(45,156,90,0.13);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 14px 30px 24px 30px;
}
.mobile-nav a {
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.11rem;
  padding: 11px 6px;
  border-radius: var(--radius-md);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}

/* Show/hide mobile menu button and navs */
@media (max-width: 1023px) {
  header nav, header .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1024px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* Overlay on background when mobile menu is open */
.mobile-menu.open::before {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,49,83,0.18);
  z-index: -1;
  pointer-events: none;
}

/* -------------------------------------------------
  HERO SECTIONS
-------------------------------------------------- */
.hero-section {
  background: linear-gradient(110deg, #e2e6ee 50%, #fff 100%);
  padding: 64px 0 52px 0;
  border-bottom: 2.5px solid var(--gray);
  margin-bottom: 0 !important;
}
.hero-section h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  color: var(--primary);
}
.hero-section p {
  font-size: 1.25rem;
  margin-bottom: 34px;
  font-family: 'Roboto', Arial, sans-serif;
  max-width: 680px;
}
.hero-section .btn-primary {
  font-size: 1.13rem;
  padding: 13px 40px;
  margin-top: 12px;
}

/* -------------------------------------------------
  FOOTER
-------------------------------------------------- */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 32px 0 24px 0;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 18px 0 rgba(24,49,83,0.05);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 22px;
}
.footer-top nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
}
.footer-top nav a {
  color: var(--white);
  opacity: 0.96;
  border-radius: 7px;
  padding: 6px 3px;
  transition: background var(--transition), color var(--transition);
}
.footer-top nav a:hover {
  background: var(--secondary);
  color: #fff;
}
.footer-top > a img {
  height: 44px;
  margin-bottom: 8px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  opacity: 0.88;
}

@media (max-width: 990px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/* -------------------------------------------------
  PAGE CONTENT/LISTS/FEATURES
-------------------------------------------------- */
ul, ol {
  padding-left: 0;
}
.content-wrapper ul, .content-wrapper ol {
  margin: 18px 0 15px 0;
  padding-left: 0;
}
.content-wrapper ul > li, .content-wrapper ol > li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 19px;
  font-size: 1.04rem;
  line-height: 1.65;
}
.content-wrapper ul > li img, .content-wrapper ol > li img {
  position: absolute;
  left: 0;
  top: calc(50% - 15px);
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.content-wrapper ul > li:last-child, .content-wrapper ol > li:last-child {
  margin-bottom: 0;
}

.content-wrapper ol {
  counter-reset: numbers;
}
.content-wrapper ol > li {
  counter-increment: numbers;
  padding-left: 41px;
}
.content-wrapper ol > li::before {
  content: counter(numbers) ".";
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--secondary);
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: 1px;
  width: 30px;
}

/* -------------------------------------------------
  CARDS & SPECIAL SECTIONS
-------------------------------------------------- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 28px 16px 28px;
  flex: 1 1 270px;
  border: 1.5px solid var(--gray);
}
.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;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -------------------------------------------------
  MEDIA QUERIES: GENERAL RESPONSIVE
-------------------------------------------------- */
@media (max-width: 768px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.19rem; }
  h3 { font-size: 1.01rem; }

  .container {
    padding: 0 10px;
  }

  .hero-section {
    padding: 34px 0 26px 0;
  }
  .hero-section h1 {
    font-size: 1.29rem;
    margin-bottom: 12px;
  }
  .hero-section p {
    font-size: 1rem;
    margin-bottom: 22px;
  }
  .footer-top {
    flex-direction: column;
    gap: 9px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .section {
    padding: 20px 7px;
    margin-bottom: 32px;
  }
  .content-wrapper ul > li, .content-wrapper ol > li {
    padding-left: 28px; font-size: 0.99rem;
  }
  .content-wrapper ul > li img, .content-wrapper ol > li img {
    width: 22px; height: 22px; top: calc(50% - 11px);
  }
  .contact-brief {
    flex-direction: column; align-items: flex-start; gap: 7px; margin: 16px 0 15px 0;
  }
  .testimonial-card {
    font-size: 0.99rem;
    padding: 13px 9px;
  }
  .card {
    padding: 17px 13px 10px 13px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}

/* -------------------------------------------------
  MICRO-INTERACTIONS & HOVER ANIMATIONS
-------------------------------------------------- */
a, button, .btn-primary, .btn-secondary {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
ul > li img, ol > li img {
  transition: transform var(--transition);
}
ul > li:hover img, ol > li:hover img {
  transform: scale(1.1) rotate(-7deg);
}

/* -------------------------------------------------
  GEOMETRIC / STRUCTURED VISUALS
-------------------------------------------------- */
.section, .testimonial-card, .card {
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray);
}
h1, h2 { text-transform: none; }
h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-feature-settings: "ss01", "ss03";
  font-variation-settings: 'wdth' 120, 'wght' 700;
}

.btn-primary, .btn-secondary {
  border-radius: 12px;
  letter-spacing: 0.035em;
}

hr {
  border: none;
  border-top: 2px solid var(--gray);
  margin: 22px 0;
}

/* angular accent divider for geometric spirit */
.section h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 6px;
  margin-top: 8px;
  background: linear-gradient(135deg, var(--secondary) 60%, var(--primary) 100%);
  clip-path: polygon(91% 0, 100% 100%, 0 100%, 9% 0);
  border-radius: 4px;
}
@media (max-width: 768px) {
  .section h2::after {
    width: 36px;
    height: 3px;
    margin-top: 6px;
  }
}

/* -------------------------------------------------
  COOKIE CONSENT BANNER & MODAL
-------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -4px 24px rgba(24,49,83,0.13);
  padding: 17px 30px 17px 18px;
  z-index: 499;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  transition: transform 0.38s cubic-bezier(.77,0,.18,1);
}
.cookie-banner.hide {
  transform: translateY(110%);
  pointer-events: none;
  opacity: 0.7;
}
.cookie-banner p {
  flex: 2 1 250px;
  margin-right: 15px;
  font-size: 1.02rem;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  padding: 8px 25px;
  font-size: 1rem;
  margin-right: 12px;
  margin-bottom: 4px;
  box-shadow: 0 2px 8px rgba(24,49,83,0.07);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.cookie-banner .accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .accept:hover {
  background: #228447;
  color: #fff;
}
.cookie-banner .reject {
  background: #e2e6ee;
  color: var(--primary);
}
.cookie-banner .reject:hover {
  background: #d8e2db;
}
.cookie-banner .settings {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--gray);
}
.cookie-banner .settings:hover {
  background: var(--gray);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 5px 12px 10px;
  }
  .cookie-banner p {
    margin-right: 0;
    font-size: 0.94rem;
  }
}

.cookie-modal-backdrop {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,49,83,0.22);
  z-index: 600;
  justify-content: center;
  align-items: center;
}
.cookie-modal-backdrop.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  padding: 30px 32px 22px 32px;
  border-radius: 18px;
  min-width: 320px;
  max-width: 90vw;
  box-shadow: 0 6px 48px rgba(24,49,83,0.18);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1.01rem;
  color: var(--primary);
  animation: modalIn .34s cubic-bezier(.87,0,.13,1) 1;
}
@keyframes modalIn {
  from {
    transform: translateY(90px) scale(0.96);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
.cookie-modal h3 {
  font-size: 1.11rem;
  margin-bottom: 11px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 17px;
}
.cookie-modal .cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
}
.cookie-modal .cookie-switch {
  appearance: none;
  width: 38px;
  height: 21px;
  background: #e2e6ee;
  border-radius: 16px;
  position: relative;
  outline: none;
  margin-right: 9px;
  cursor: pointer;
  vertical-align: middle;
  transition: background var(--transition);
}
.cookie-modal .cookie-switch:checked {
  background: var(--secondary);
}
.cookie-modal .cookie-switch:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.cookie-modal .cookie-switch:before {
  content: "";
  display: block;
  position: absolute;
  left: 4px;
  top: 2.5px;
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 3px #bbb;
  transition: left var(--transition);
}
.cookie-modal .cookie-switch:checked:before {
  left: 19px;
}
.cookie-modal .modal-actions {
  margin-top: 18px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: flex-end;
}

.cookie-modal .modal-btn {
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 28px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.cookie-modal .modal-btn.secondary {
  background: #e2e6ee;
  color: var(--primary);
}
.cookie-modal .modal-btn:hover {
  background: #228447;
}
.cookie-modal .modal-btn.secondary:hover {
  background: #d8e2db;
}

/* -------------------------------------------------
  CUSTOM SCROLLBAR
-------------------------------------------------- */
body::-webkit-scrollbar {
  width: 11px;
  background: var(--accent);
}
body::-webkit-scrollbar-thumb {
  background: var(--gray);
  border-radius: 11px;
}
body::-webkit-scrollbar-thumb:hover {
  background: #c4cee2;
}

/* -------------------------------------------------
  ACCESSIBILITY FOCUS STYLES
-------------------------------------------------- */
:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 1px;
  transition: outline var(--transition);
}
::-moz-focus-inner {
  border: none;
}

/* -------------------------------------------------
  NOTICES, ALERTS, ETC
-------------------------------------------------- */
.alert {
  background: #fdeee8;
  color: #a74228;
  border-left: 5px solid #e08e68;
  padding: 14px 22px;
  border-radius: 9px;
  margin-bottom: 24px;
}

/* -------------------------------------------------
  PRINT OPTIMIZATION
-------------------------------------------------- */
@media print {
  header, .cookie-banner, .mobile-menu, .mobile-menu-toggle, footer { display: none !important; }
  .container { max-width: 100% !important; padding: 0; }
  .section { box-shadow: none; border: none; background: #fff; }
}

/* -------------------------------------------------
  END OF CSS
-------------------------------------------------- */
