/* CSS RESET - Modern 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 {
  height: 100%;
}
body {
  height: 100%;
  line-height: 1.5;
  background: #F3F6F9;
  color: #1C3F58;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-width: 320px;
  -webkit-text-size-adjust: 100%;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #1C3F58;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #6AB187;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 1.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1C3F58;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.5em;
}
h1 { font-size: 2.25rem; margin-bottom: 24px; }
h2 { font-size: 1.7rem; margin-bottom: 20px; }
h3 { font-size: 1.2rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }
p, li { font-size: 1rem; color: #1C3F58; margin-bottom: 12px; line-height: 1.7; }
strong, b { font-weight: 600; }
blockquote {
  font-size: 1.08rem;
  color: #3B4F5C;
  font-style: italic;
  line-height: 1.6;
  background: #F3F6F9;
  border-left: 4px solid #6AB187;
  padding: 14px 20px;
  margin: 0 0 20px 0;
}
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
section.accent, .accent {
  background: #F3F6F9;
  border-radius: 18px;
}
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/************************
   HEADER & NAVIGATION
*************************/
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e4e7ee;
  position: sticky;
  top: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0 14px 18px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: flex-end;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding-right: 18px;
}
.main-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  color: #24425F;
  background: none;
  border: none;
  font-weight: 500;
}
.main-nav a.active, .main-nav a:hover, .main-nav a:focus {
  background: #F3F6F9;
  color: #6AB187;
}
.main-nav .cta-primary {
  background: #6AB187;
  color: #fff;
  padding: 10px 22px;
  margin-left: 12px;
  font-weight: 600;
  border-radius: 24px;
  box-shadow: 0 2px 10px rgba(26,65,90,.04);
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
  border: none;
  outline: none;
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: #1C3F58;
  color: #fff;
  box-shadow: 0 4px 14px rgba(26,65,90,.09);
}
.mobile-menu-toggle {
  display: none;
  background: #fff;
  font-size: 2rem;
  border: none;
  outline: none;
  padding: 8px 18px;
  color: #1C3F58;
  cursor: pointer;
  z-index: 102;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  color: #6AB187;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 32px rgba(44,68,85,0.18);
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.66,.01,.27,1.01);
  z-index: 200;
  padding-top: 18px;
  padding-bottom: 40px;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #1C3F58;
  position: absolute;
  top: 18px;
  right: 24px;
  cursor: pointer;
  z-index: 201;
  padding: 4px 10px;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #6AB187;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 38px 30px 0 30px;
  margin-top: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.14rem;
  color: #1C3F58;
  background: none;
  padding: 14px 10px;
  border-radius: 8px;
  margin-bottom: 5px;
  width: 100%;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav .active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #F3F6F9;
  color: #6AB187;
}
.mobile-nav .cta-primary {
  background: #6AB187;
  color: #fff;
  padding: 12px 22px;
  width: auto;
  font-weight: 600;
  border-radius: 24px;
  margin: 12px 0 6px 0;
  box-shadow: 0 2px 10px rgba(26,65,90,.04);
}
@media (max-width: 1020px) {
  .main-nav {
    gap: 6px 10px;
    padding-right: 8px;
  }
}
@media (max-width: 850px) {
  .main-nav {
    font-size: 0.98rem;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
  }
}
@media (max-width: 550px) {
  .container {
    padding: 0 6px;
  }
  .logo {
    padding-left: 6px;
  }
}

/****************************
  HERO SECTIONS & BANNERS
****************************/
.hero, .cta-banner, .about-intro, .services-overview, .accent {
  border-radius: 18px;
  background: #F3F6F9;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.hero {
  min-height: 340px;
  display: flex;
  align-items: center;
  background: #F3F6F9;
  box-shadow: 0 2px 24px rgba(44, 68, 85, 0.04);
}
.cta-banner, .contact-banner {
  align-items: center;
  text-align: center;
  background: #E8EFEB;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(55, 95, 72, 0.03);
}
.cta-banner .cta-primary, .contact-banner .cta-primary {
  margin-top: 12px;
}

/****************************
   FLEXBOX CONTENT GRIDS
****************************/
.features-grid, .service-detail-grid, .team-bios, .client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 12px;
}
.features-grid > div, .service-detail-grid > div, .team-member {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 360px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(44, 68, 85, 0.06);
  padding: 26px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 15px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.features-grid > div:hover,
.service-detail-grid > div:hover,
.team-member:hover {
  box-shadow: 0 6px 32px rgba(44, 68, 85, 0.15);
  transform: translateY(-4px) scale(1.015);
}
.features-grid img, .service-detail-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 1px 10px rgba(44, 68, 85, 0.06);
  display: flex;
  flex-direction: column;
}
.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;
  margin-top: 18px;
  margin-bottom: 14px;
}
@media (max-width: 900px) {
  .features-grid, .service-detail-grid, .team-bios, .client-logos, .content-grid {
    gap: 16px;
  }
  .features-grid > div, .service-detail-grid > div, .team-member {
    min-width: 180px;
    max-width: 100%;
    padding: 18px 10px;
  }
}
@media (max-width: 760px) {
  .features-grid, .service-detail-grid, .content-grid, .team-bios, .client-logos {
    flex-direction: column;
    gap: 14px;
  }
  .features-grid > div, .service-detail-grid > div, .team-member {
    min-width: 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}

/**********************
    TESTIMONIALS
**********************/
.testimonials, .testimonials-preview {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(44, 68, 85, 0.07);
  border: 1px solid #e1eaea;
  transition: box-shadow 0.17s, transform 0.15s;
}
.testimonial-card:hover,
.testimonial-card:focus {
  box-shadow: 0 6px 28px rgba(44,68,85,0.13);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card blockquote {
  font-size: 1.08rem;
  color: #294060;
  line-height: 1.7;
  margin-bottom: 2px;
  background: transparent;
  border-left: 3px solid #6AB187;
  padding: 0 0 0 10px;
}
.testimonial-card span {
  color: #6A7A89;
  font-size: 0.99rem;
  margin-left: 3px;
}

/****************************
     SPECIAL ELEMENTS
****************************/
.client-logos {
  display: flex;
  gap: 32px;
  margin-top: 18px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.client-logos img {
  width: 90px;
  height: auto;
  opacity: 0.85;
  filter: grayscale(20%);
  transition: opacity 0.18s, filter 0.18s;
}
.client-logos img:hover {
  opacity: 1;
  filter: none;
}
.team-member {
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 600px) {
  .testimonial-card {
    padding: 16px 10px;
  }
  .client-logos {
    gap: 18px;
  }
}

/*******************
    LEGAL PAGE STYLES
*******************/
.legal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 10px rgba(44, 68, 85, 0.06);
  margin-bottom: 60px;
  padding: 34px 20px;
}
.legal h1, .legal h2 {
  margin-bottom: 16px;
}
.legal .text-section {
  margin-bottom: 24px;
}

/****************************
          FOOTER
*****************************/
footer {
  background: #1C3F58;
  color: #fff;
  margin-top: 40px;
  padding: 0;
  width: 100%;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 16px 14px 16px;
  max-width: 1120px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-size: 0.97rem;
  opacity: 0.91;
  padding: 2px 8px;
  transition: color 0.18s, opacity 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #6AB187;
  opacity: 1;
}
.footer-contact {
  display: flex;
  gap: 8px 16px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.98rem;
  opacity: 0.96;
}
.footer-contact address {
  font-style: normal;
  color: #fff;
  margin-right: 8px;
  opacity: 0.90;
}
.footer-contact a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: 0.94;
  transition: color 0.16s, opacity 0.16s;
}
.footer-contact a:hover { color: #6AB187; opacity: 1; }
.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.98rem;
  letter-spacing: 0.025em;
  opacity: 0.94;
}
.footer-brand img {
  height: 34px;
}
@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    padding: 20px 8px 10px 8px;
  }
  .footer-nav,
  .footer-contact,
  .footer-brand {
    flex-direction: column;
    gap: 10px;
    flex-wrap: wrap;
    align-items: flex-start;
  }
}

/************************************
         BUTTONS & MICROINTERACTIONS
*************************************/
.cta-primary,
button,
input[type="submit"] {
  display: inline-block;
  background: #6AB187;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(26,65,90,.05);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.19s, color 0.18s;
  outline: none;
  margin-top: 8px;
}
.cta-primary:hover, .cta-primary:focus, button:hover, button:focus, input[type="submit"]:hover {
  background: #1C3F58;
  color: #fff;
  box-shadow: 0 4px 18px rgba(56,105,85,0.10);
}

/*************************************
      COOKIE CONSENT BANNER + MODAL
**************************************/
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 98vw;
  max-width: 530px;
  background: #fff;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 2px 22px rgba(44,68,85,0.09);
  padding: 22px 27px 24px 27px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid #e4e7ee;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.36s, bottom 0.36s;
}
#cookie-banner.active {
  opacity: 1;
  bottom: 0;
  pointer-events: auto;
}
#cookie-banner h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.13rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: #1C3F58;
}
#cookie-banner p {
  font-size: 0.99rem;
  color: #375060;
  margin-bottom: 0;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 2px;
}
.cookie-actions .cookie-btn {
  border-radius: 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 10px 20px;
  background: #6AB187;
  color: #fff;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 1px 6px rgba(26,65,90,0.06);
  transition: background 0.19s, color 0.18s;
  margin: 0 0 0 4px;
}
.cookie-actions .cookie-btn:hover, .cookie-actions .cookie-btn:focus {
  background: #1C3F58;
}
.cookie-actions .cookie-btn.outline {
  background: transparent;
  color: #1C3F58;
  border: 1.5px solid #6AB187;
  transition: background 0.19s, color 0.18s;
}
.cookie-actions .cookie-btn.outline:hover, .cookie-actions .cookie-btn.outline:focus {
  background: #F3F6F9;
  color: #6AB187;
}

/* COOKIE MODAL */
#cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28,63,88, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.36s;
}
#cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 12px;
  max-width: 420px;
  width: 97vw;
  box-shadow: 0 10px 30px rgba(44, 68, 85, 0.13);
  padding: 28px 30px 22px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 2002;
  border: 1.5px solid #dde6e7;
}
.cookie-modal-content h5 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.03rem;
  color: #1C3F58;
  font-weight: 600;
  margin-bottom: 2px;
}
.cookie-settings-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 8px 0 16px 0;
}
.cookie-settings-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0 0 0;
}
.cookie-settings-category label {
  font-size: 1rem;
  color: #1C3F58;
}
.cookie-switch {
  display: inline-flex;
  align-items: center;
}
/* Toggle switch */
.cookie-switch input[type=checkbox] {
  display: none;
}
.cookie-switch span {
  display: inline-block;
  width: 37px;
  height: 20px;
  border-radius: 10px;
  background: #e1eaea;
  position: relative;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-switch input[type=checkbox]:checked + span {
  background: #6AB187;
}
.cookie-switch span::before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 3px;
  top: 2.5px;
  box-shadow: 0 2px 6px rgba(55,90,88,.11);
  transition: left 0.20s;
}
.cookie-switch input[type=checkbox]:checked + span::before {
  left: 19px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 17px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #1C3F58;
  cursor: pointer;
  z-index: 2;
  transition: color 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #6AB187;
}
@media (max-width: 650px) {
  #cookie-banner {
    max-width: 94vw;
    padding: 17px 9px 16px 9px;
  }
  .cookie-modal-content {
    padding: 22px 7px 14px 9px;
  }
}

/*************************************
      RESPONSIVE TYPOGRAPHY
**************************************/
@media (max-width: 950px) {
  h1 { font-size: 1.66rem; }
  h2 { font-size: 1.28rem; }
  h3 { font-size: 1.14rem; }
  body { font-size: 15px; }
}
@media (max-width: 700px) {
  h1 { font-size: 1.22rem; }
  h2 { font-size: 1.04rem; }
  h3 { font-size: 1rem; }
  body { font-size: 15px; }
}

/*******************************
  UTILITY + Spacing
*******************************/
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-24 { margin-top: 24px !important; }
.mt-60 { margin-top: 60px !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-align-center { align-items: center; }
.flex-align-start { align-items: flex-start; }
.flex-wrap { flex-wrap: wrap; }
gap-8 { gap: 8px; }

/**************************
  ACCESSIBILITY
***************************/
:focus-visible {
  outline: 2px solid #6AB187;
  outline-offset: 2px;
}
[tabindex='-1']:focus {
  outline: none !important;
}
/* Hide visually but keep accessible */
.visually-hidden {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
}

/* Selection highlight with Scandinavian color */
::selection {
  background: #6AB187;
  color: #fff;
}

/* END OF SCANDINAVIAN CLEAN CSS */
