/* =================== 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 {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #FAFAFA;
  color: #17305A;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #FAFAFA;
  color: #17305A;
  line-height: 1.65;
  letter-spacing: 0.02em;
  font-family: 'Roboto', Arial, sans-serif;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul,ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: #17305A;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #48B984;
  outline: none;
}

/* ==================== BRAND FONTS ==================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #17305A;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.375rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; margin-bottom: 10px; }

p, li, address, cite, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #17305A;
}
blockquote {
  font-style: italic;
  margin: 0 0 8px 0;
}
cite {
  font-style: normal;
  font-weight: 600;
  color: #17305A;
  font-size: 0.97rem;
  display: block;
  margin-top: 6px;
}

/* ==================== LAYOUT CONTAINERS ==================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 3vw;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(23,48,90,0.06);
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #F6F7F8;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(23,48,90,0.04);
  padding: 32px 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-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F1F3F5;
  border-radius: 14px;
  box-shadow: 0 1px 6px 0 rgba(23,48,90,0.07);
  margin-bottom: 24px;
  min-width: 0;
  color: #17305A;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F6F7F8;
  border-radius: 12px;
  padding: 20px 16px;
  box-shadow: 0 1px 5px 0 rgba(23,48,90,0.04);
  flex: 1 1 240px;
}

/* Ensure all content sections/cards are separated properly */
main > section:not(.hero) {
  margin-bottom: 60px;
}

/* ==================== HERO SECTION ==================== */
.hero {
  background: #F4F5F6;
  padding: 60px 0 50px 0;
  border-radius: 0 0 24px 24px;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  gap: 18px;
  text-align: center;
}
.hero h1 {
  color: #17305A;
  font-size: 2.7rem;
  margin-bottom: 18px;
}
.hero p {
  color: #17305A;
  font-size: 1.25em;
}

/* ============= BUTTONS ============ */
.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  border-radius: 50px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 26px;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 6px 0 rgba(23,48,90,0.07);
  margin-top: 8px;
  margin-right: 12px;
}
.cta-primary {
  background: #17305A;
  color: #fff;
}
.cta-primary:hover, .cta-primary:focus {
  background: #48B984;
  color: #fff;
  box-shadow: 0 3px 16px 0 rgba(72,185,132,0.12);
}
.cta-secondary {
  background: #fff;
  color: #17305A;
  border: 2px solid #48B984;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #48B984;
  color: #fff;
  border-color: #48B984;
  box-shadow: 0 2px 10px 0 rgba(72,185,132,0.11);
}
button:focus,
a:focus {
  outline: 2px solid #F1C93B;
  outline-offset: 2px;
}

/* =========== HEADER / NAVIGATION =========== */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(23,48,90,0.07);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 3vw;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 0;
  position: relative;
  color: #17305A;
  transition: color 0.17s;
}
header nav a:hover, header nav a.active {
  color: #48B984;
}
header nav a.cta-primary {
  margin-left: 18px;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #17305A;
  margin-left: 24px;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  z-index: 51;
}
.mobile-menu-toggle:hover {
  background: #F1C93B;
  color: #17305A;
}

/* =========== MOBILE MENU =========== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 4px 40px 0 rgba(23,48,90,0.14);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,0,.175,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #17305A;
  padding: 14px 14px 8px 14px;
  margin: 8px 18px 0 0;
  cursor: pointer;
  border-radius: 7px;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F1C93B;
  color: #17305A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 34px;
  margin-top: 14px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #17305A;
  transition: color 0.19s, background 0.15s;
  padding: 8px 5px;
  border-radius: 7px;
}
.mobile-nav a:hover,.mobile-nav a:focus {
  color: #48B984;
  background: #F5F5F5;
}

/* ========== MAIN ============ */
main {
  flex: 1 0 auto;
  width: 100vw;
  background: #FAFAFA;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: none;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 10px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
  color: #17305A;
  padding-bottom: 4px;
  word-break: break-word;
}

/* ============== CARDS, TESTIMONIALS & FEATURES ============== */
.testimonial-card blockquote {
  color: #17305A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.08em;
  line-height: 1.4;
  margin: 0;
}
.testimonial-card img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #48B984;
  background: #fff;
}
.testimonial-card cite {
  color: #17305A;
}

/* ===================== FOOTER ====================== */
footer {
  background: #F9FBFB;
  border-top: 1px solid #EBEBEB;
  padding: 32px 0 18px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
footer nav {
  display: flex;
  gap: 22px;
  margin: 8px 0;
}
footer nav a {
  color: #17305A;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: #48B984;
}
footer p {
  color: #8C99B5;
  font-size: 0.97rem;
}

/* ========== COOKIE BANNER & MODAL =========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #17305A;
  box-shadow: 0 -2px 16px 0 rgba(23,48,90,0.08);
  padding: 24px 18px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 1.06rem;
  animation: cookie-in 0.8s cubic-bezier(.33,.69,0,1); 
}
@keyframes cookie-in {
  from { transform: translateY(120px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}
.cookie-banner button {
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 23px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.17s, color 0.17s;
}
.cookie-banner .accept {
  background: #48B984;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #17305A;
  color: #fff;
}
.cookie-banner .reject {
  background: #F6F7F8;
  color: #17305A;
  border: 1px solid #48B984;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #fff1c2;
  color: #17305A;
}
.cookie-banner .settings {
  background: #F1C93B;
  color: #17305A;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #48B984;
  color: #fff;
}

.cookie-modal-bg {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(23,48,90,0.27);
  z-index: 3010;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-bg.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 48px 0 rgba(23,48,90,0.17);
  padding: 32px 26px 26px 26px;
  max-width: 390px;
  width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modal-bounce 0.48s cubic-bezier(.13,.89,.41,1.03);
}
@keyframes modal-bounce {
  from {transform: scale(0.92) translateY(60px); opacity: 0;}
  to {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal h2 {
  font-size: 1.23rem;
  margin-bottom: 7px;
  color: #17305A;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category .cookie-toggle {
  width: 32px;
  height: 18px;
  background: #F6F7F8;
  border-radius: 11px;
  position: relative;
  cursor: pointer;
  border: 1px solid #ddd;
  transition: background 0.16s;
}
.cookie-category .cookie-toggle[data-enabled="true"] {
  background: #48B984;
  border-color: #48B984;
}
.cookie-category .cookie-toggle .circle {
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 1px; top: 1px;
  transition: left 0.22s;
}
.cookie-category .cookie-toggle[data-enabled="true"] .circle {
  left: 15px;
}
.cookie-category .essential {
  opacity: .55;
  pointer-events: none;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-size: 1rem;
  border-radius: 50px;
  border: none;
  padding: 9px 24px;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.17s, color 0.17s;
  margin-right: 0;
}
.cookie-modal .save {
  background: #48B984;
  color: #fff;
}
.cookie-modal .save:hover {
  background: #17305A;
}
.cookie-modal .cancel {
  background: #F6F7F8;
  color: #17305A;
}
.cookie-modal .cancel:hover {
  background: #F1C93B;
  color: #17305A;
}

/* ========== RESPONSIVE =========== */
@media (max-width: 1100px) {
  .container {
    max-width: 900px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 740px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  main > section, .section {
    padding: 32px 8px;
  }
  .hero {
    padding: 44px 0 34px 0;
    border-radius: 0 0 16px 16px;
  }
  .container {
    padding: 0 2vw;
  }
  .content-wrapper {
    gap: 15px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 22px;
  }
  .card {
    padding: 22px 11px;
  }
  .testimonial-card {
    padding: 14px 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  .feature-item {
    padding: 14px 7px;
    min-width: 0;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  header .container {
    flex-direction: row;
    gap: 0;
    padding: 12px 2vw;
  }
}
@media (max-width: 670px) {
  .container {
    max-width: 98vw;
    padding: 0 1vw;
  }
  h1 {font-size: 2rem;}
  h2 {font-size: 1.37rem;}
  h3 {font-size: 1.05rem;}
  .hero .content-wrapper h1 { font-size: 2.14rem;}
}
@media (max-width: 800px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 801px) {
  .mobile-menu, .mobile-menu.open {
    display: none !important;
  }
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
  width: 10px;
  background: #F4F5F6;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: #E4E8EE;
  border-radius: 10px;
}

/* ============ ICON IMAGES ============ */
ul li img, .contact-list img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-right: 7px;
  vertical-align: middle;
}

/* ============= FORM FIELDS (if any future forms) ============= */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px;
  border-radius: 7px;
  border: 1px solid #D5DDE5;
  background: #F6F7F8;
  color: #17305A;
  margin-bottom: 12px;
  width: 100%;
  box-sizing: border-box;
  transition: border 0.13s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #48B984;
  outline: none;
  background: #fff;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #17305A;
  margin-bottom: 4px;
  display: inline-block;
}

/* ===================== Z-INDEX ORDER ===================== */
header {
  z-index: 30;
}
.mobile-menu {
  z-index: 100;
}
.cookie-banner, .cookie-modal-bg {
  z-index: 3000;
}

/* ===================== MICRO INTERACTIONS ===================== */
.card, .feature-item, .testimonial-card {
  transition: box-shadow 0.16s, transform 0.13s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover {
  box-shadow: 0 6px 28px 0 rgba(23,48,90,0.11);
  transform: translateY(-2px) scale(1.013);
}

/* List markers for ultra minimal Scandinavian style */
ul li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #48B984;
  border-radius: 50%;
  margin-right: 12px;
  position: relative;
  top: 1px;
}
ul.contact-list li::before {
  content: none;
}

/* ========== A11Y: HIDE FOR SCREEN READERS ONLY ========== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
