/* CSS RESET & NORMALIZE (Scandinavian Clean Foundation) */
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;
  box-sizing: border-box;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background-color: #F6F8F9;
  color: #093D6D;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #2CA6A4;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #093D6D;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
  background: transparent;
}

/* VARIABLES (fallbacks included) */
:root {
  --primary: #093D6D;
  --secondary: #2CA6A4;
  --accent: #F6F8F9;
  --heading-font: 'Montserrat', Arial, Helvetica, sans-serif;
  --body-font: 'Roboto', Arial, Helvetica, sans-serif;
  --content-bg: #fff;
  --border-radius: 14px;
  --shadow: 0 4px 24px 0 rgba(9, 61, 109, 0.07);
  --transition: 0.23s cubic-bezier(0.4,0.08,0.27,1);
}

/* TYPOGRAPHY SCALE & HIERARCHY */
h1, .h1 {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--primary);
  letter-spacing: -0.5px;
}
h2, .h2 {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--primary);
  letter-spacing: -0.2px;
}
h3, .h3 {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--primary);
}
p, ul, ol {
  font-size: 1rem;
  color: #153655;
  margin-bottom: 16px;
}
strong {
  font-weight: 600;
  color: var(--primary);
}

/* LAYOUT: FLEXBOX CONTAINERS (SCANDINAVIAN SPACING) */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: var(--content-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 24px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.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 {
  background: #F6F8F9;
  color: #093D6D;
  box-shadow: 0 4px 16px 0 rgba(9,61,109,0.05);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 0;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(44,166,164,0.10);
  transform: translateY(-2px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.service-list > div {
  background: var(--content-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  flex: 1 1 220px;
  min-width: 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-list > div:hover, .service-list > div:focus-within {
  box-shadow: 0 8px 32px 0 rgba(44,166,164,0.09);
  transform: translateY(-3px) scale(1.02);
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-accordion > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(9, 61, 109,0.04);
  padding: 18px 20px;
  transition: box-shadow var(--transition), background var(--transition);
}
.faq-accordion > div:hover {
  box-shadow: 0 4px 16px 0 rgba(9,61,109,0.1);
  background: #F6F8F9;
}

.footer-logo img {
  width: 52px;
  height: auto;
}
.footer-links, .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 15px;
}
.footer-contact-short {
  font-size: 14px;
  color: #496088;
  margin-top: 8px;
}
footer {
  background: var(--accent);
  border-top: 1px solid #e3e6ea;
  padding: 30px 0 10px 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 0;
}

/* BUTTONS & CTAs */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.2;
  min-width: 168px;
  padding: 12px 28px;
  border-radius: 7px;
  background: var(--secondary);
  color: #fff;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px 0 rgba(44,166,164,0.09);
  border: none;
  outline: none;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  margin-top: 8px;
  margin-bottom: 8px;
}
.cta-button:hover, .cta-button:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(9,61,109,0.10);
  transform: translateY(-2px) scale(1.01);
  text-decoration: none;
}

/* NAVIGATION (DESKTOP & MOBILE) */
header {
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(9,61,109,0.06);
  position: relative;
  z-index: 999;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 18px;
}
.main-nav ul {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav li {
  display: flex;
  align-items: center;
}
.main-nav a {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
  letter-spacing: 0.02em;
  padding: 6px 10px;
  border-radius: 5px;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}

/* Hide mobile nav elements desktop */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

/* MOBILE NAVIGATION MENU (SLIDING OVERLAY) */
@media (max-width: 900px) {
  .main-nav ul {
    display: none;
  }
  .main-nav .cta-button {
    display: none;
  }
  .main-nav {
    justify-content: flex-start;
  }
  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1202;
    font-size: 2.2rem;
    background: var(--secondary);
    color: #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
    border: none;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: var(--primary);
    color: #fff;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 88vw;
    max-width: 370px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 24px 0 rgba(9,61,109,0.09);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4,0.08,0.27,1);
    z-index: 1201;
    padding: 32px 24px 24px 24px;
  }
  .mobile-menu.active {
    transform: translateX(0);
  }
  .mobile-menu-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--secondary);
    color: #fff;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    z-index: 1203;
    transition: background var(--transition);
  }
  .mobile-menu-close:hover, .mobile-menu-close:focus {
    background: var(--primary);
    color: #fff;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 48px;
  }
  .mobile-nav a {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1.13rem;
    color: var(--primary);
    background: var(--accent);
    border-radius: 7px;
    padding: 13px 14px;
    transition: background var(--transition), color var(--transition);
    min-width: 152px;
  }
  .mobile-nav a:hover, .mobile-nav a:focus {
    background: var(--secondary);
    color: #fff;
  }
  .mobile-menu {
    box-sizing: border-box;
    /* Overlay handling will be in JS or fallback if needed */
  }
}

/* MAIN SECTIONS / PAGE STRUCTURE */
main {
  padding-bottom: 80px;
}
section {
  background: none;
}
section > .container > .content-wrapper {
  background: var(--content-bg);
  border-radius: var(--border-radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  margin-bottom: 0;
  gap: 24px;
}

@media (max-width: 600px) {
  section > .container > .content-wrapper {
    padding: 16px 8px;
    border-radius: 10px;
  }
}

/* FLEX RESPONSES FOR CARDS AND GRIDS */
@media (max-width: 992px) {
  .service-list, .card-container, .content-grid, .footer-links, .footer-legal, footer .content-wrapper {
    flex-direction: column;
    gap: 16px;
  }
  .service-list > div {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .container {
    max-width: 100%;
    padding: 0 7px;
  }
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.22rem; }
}
@media (max-width: 480px) {
  .card, .service-list > div, .testimonial-card, .faq-accordion > div {
    padding: 12px 6px;
    border-radius: 8px;
  }
  h1, .h1 {
    font-size: 1.42rem;
    margin-bottom: 12px;
  }
  h2, .h2 {
    font-size: 1.08rem;
    margin-bottom: 10px;
  }
}

/* LIST STYLING FOR FEATURES, CONTACT, ETC */
ul, ol {
  padding-left: 0;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--secondary);
  position: absolute;
  left: 0;
  top: 7px;
}

.service-list ul, .service-list li, .faq-accordion ul, .faq-accordion li {
  padding-left: 0; margin-bottom: 0;
}
.service-benefits ul {
  padding-left: 0;
}

/* CONTACT/FOOTER LINKS */
.footer-links a, .footer-legal a {
  color: #496088;
  font-weight: 500;
  transition: color var(--transition);
  padding: 4px 6px;
  border-radius: 3px;
}
.footer-links a:hover, .footer-legal a:hover, .footer-links a:focus, .footer-legal a:focus {
  color: var(--secondary);
  background: #e3ecec;
}

/* INPUTS & FORMS (for potential forms/futureproof) */
input, textarea {
  width: 100%;
  padding: 11px 10px;
  border-radius: 7px;
  background: #f5f8fb;
  border: 1.5px solid #ced7e8;
  margin-bottom: 14px;
  font-size: 1rem;
  transition: border var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px #2CA6A440;
}

/* MICRO-INTERACTIONS */
.card, .testimonial-card, .faq-accordion > div, .service-list > div {
  transition: box-shadow var(--transition), transform var(--transition), background var(--transition);
}
.card:hover, .faq-accordion > div:hover, .service-list > div:hover {
  box-shadow: 0 8px 24px 0 rgba(9,61,109,0.08);
  transform: translateY(-2px) scale(1.012);
}

/* --- COOKIE CONSENT BANNER + MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 16px 0 rgba(9,61,109,0.07);
  padding: 22px 16px 22px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 3000;
  transition: transform 0.42s cubic-bezier(0.4,0.08,0.27,1);
  transform: translateY(110%);
}
.cookie-banner.visible {
  transform: translateY(0);
}
.cookie-banner p {
  color: #093D6D;
  font-size: 1rem;
  max-width: 600px;
}
.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 6px;
  padding: 9px 19px;
  border: none;
  outline: none;
  transition: background var(--transition), color var(--transition);
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 2px 8px 0 rgba(44,166,164,0.06);
}
.cookie-btn.accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.reject {
  background: #e3e6ea;
  color: var(--primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #cad2db;
  color: var(--primary);
}
.cookie-btn.settings {
  background: var(--accent);
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--secondary);
  color: #fff;
}

/* COOKIE MODAL POPUP (FLEX ONLY!) */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(9,61,109,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px 0 rgba(44,166,164,0.13);
  padding: 38px 24px 30px 24px;
  display: flex;
  flex-direction: column;
  width: 97vw;
  max-width: 430px;
  gap: 16px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 1.4rem;
  background: #e3e6ea;
  color: var(--primary);
  border-radius: 50%;
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4100;
  transition: background var(--transition);
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--secondary);
  color: #fff;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 12px 0 24px 0;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 4px;
  accent-color: var(--secondary);
}
.cookie-category-label {
  font-weight: 500;
  color: var(--primary);
  font-size: 1rem;
}
.cookie-category-desc {
  color: #153655;
  font-size: 0.97rem;
}
.essential-label {
  color: #8090a2;
  font-size: 0.95rem;
  margin-left: 6px;
}
@media (max-width: 500px) {
  .cookie-modal { padding: 19px 6px 16px 6px; border-radius: 8px; }
  .cookie-modal h2 { font-size: 1.12rem; }
}

/* SCANDINAVIAN SHADOWS & ACCENT LINES */
h2:after, .section h2:after {
  content: '';
  display: block;
  height: 3px;
  width: 54px;
  background: var(--secondary);
  margin-top: 7px;
  border-radius: 2px;
}

/* ADDITIONAL MISC CLASSES */
::-webkit-scrollbar { width: 9px; background: #F6F8F9; }
::-webkit-scrollbar-thumb { background: #e3e6ea; border-radius: 7px; }
::-webkit-input-placeholder { color: #8491aa; }
::-moz-placeholder { color: #8491aa; }
:-ms-input-placeholder { color: #8491aa; }
::placeholder { color: #8491aa; }

/* Animations for page load, smooth transitions */
.fadeIn { animation: fadeIn 0.38s ease-in; }
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Z-INDEX CLEARANCE for overlays */
.mobile-menu, .mobile-menu-close { z-index: 1202; }
.cookie-banner { z-index: 3100; }
.cookie-modal-overlay { z-index: 4000; }

/* FOCUS STATES FOR ACCESSIBILITY */
:focus-visible { outline: 2.5px solid var(--secondary); outline-offset: 2px; }

/* MAKE SURE NO OVERLAP & ALL FLEX - Never use grid, columns etc! */
/* [Compliance with critical requirements proved by selectors + only flex layout above] */
