/* ---- 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, 
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;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  width: 100%;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #F4F5F7;
  color: #1A2436;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #234375;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D18D3B;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 20px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #234375;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 18px;
  letter-spacing: -1px;
}
h2 {
  font-size: 1.625rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #234375;
}
p {
  margin-bottom: 14px;
}
strong, b {
  font-weight: bold;
}
subheadline, .subheadline {
  font-size: 1.15rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #374151;
  margin-bottom: 22px;
  display: block;
}

/* ---- CONTAINER & LAYOUT ---- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 rgba(34,67,117,0.03), 0 1.5px 8px 0 rgba(34,67,117,.05);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section:last-child {
  margin-bottom: 0;
}

.text-section {
  background: #F4F5F7;
  border-radius: 12px;
  padding: 28px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* ---- PRIMARY BUTTONS & CTAs ---- */
.cta-button, .btn, .cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: #234375;
  color: #fff;
  border: none;
  border-radius: 28px;
  padding: 12px 32px;
  font-size: 1rem;
  box-shadow: 0 2px 12px 0 rgba(34,67,117,0.08);
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.24s, transform 0.14s;
  margin-bottom: 6px;
}
.cta-button:hover, .cta-button:focus, .btn:hover, .btn:focus, .cookie-btn:hover, .cookie-btn:focus {
  background: #D18D3B;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 3px 15px 0 rgba(209,141,59,0.09);
}
.report-link {
  color: #234375;
  font-weight: 500;
  font-size: 1rem;
  display: inline-block;
  transition: color 0.2s;
  border-bottom: 1.5px solid #D18D3B;
  padding-bottom: 2px;
}
.report-link:hover, .report-link:focus {
  color: #D18D3B;
  border-bottom-color: #234375;
}

/* ---- HEADER & NAVIGATION ---- */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(34,67,117,0.06);
  position: relative;
  z-index: 102;
  border-bottom: 1px solid #EFF0F2;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
}
header img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #1A2436;
  font-weight: 500;
  position: relative;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.22s, background 0.20s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F4F5F7;
  color: #D18D3B;
}

/* Hamburger menu toggle (mobile only) */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #234375;
  cursor: pointer;
  z-index: 106;
  padding: 5px 12px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F4F5F7;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.77,0,.18,1);
  z-index: 109;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  box-shadow: -6px 0 36px 0 rgba(34,67,117,0.16);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #234375;
  font-size: 2.1rem;
  align-self: flex-end;
  margin: 22px 22px 0 0;
  cursor: pointer;
  transition: background 0.15s;
  border-radius: 7px;
  padding: 4px 12px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F4F5F7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
  padding: 28px 32px 12px 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  color: #234375;
  font-weight: 600;
  padding: 12px 0 12px 4px;
  border-radius: 8px;
  width: 100%;
  transition: background 0.20s, color 0.20s;
  margin-left: 2px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4F5F7;
  color: #D18D3B;
}
/* Hide nav on mobile */
@media(max-width: 1023px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-button {
    margin-left: auto;
  }
}
@media(min-width: 1024px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ---- FLEX SPACING PATTERNS ---- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(34,67,117,0.03);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow 0.20s, transform 0.22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px 0 rgba(34,67,117,.13);
  transform: translateY(-2px) scale(1.012);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.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;
  padding: 18px 12px;
  border-radius: 8px;
  background: #F4F5F7;
  margin-bottom: 15px;
}
.feature-grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(34,67,117,0.04);
  flex: 1 1 210px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 18px 18px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.18s;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 6px 24px 0 rgba(34,67,117,0.09);
  transform: translateY(-2px);
}
.feature-grid img {
  height: 38px;
  width: auto;
  margin-bottom: 5px;
}

/* ---- TESTIMONIALS ---- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 22px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2.5px 18px 0 rgba(34,67,117,0.06);
  flex-direction: column;
  align-items: flex-start;
  border-left: 6px solid #D18D3B;
  transition: box-shadow 0.15s;
}
.testimonial-card p {
  font-size: 1.12rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1A2436;
  margin-bottom: 8px;
}
.testimonial-card h4 {
  color: #234375;
  font-size: 1rem;
  margin-top: 4px;
  letter-spacing: .5px;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 8px 28px 0 rgba(209,141,59,0.08);
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: #234375;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 22px 0 rgba(209,141,59,0.11), 0 2px 15px 0 rgba(34,67,117,0.08);
  padding: 38px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.cta-banner h2, .cta-banner h3 {
  color: #fff;
  margin-bottom: 10px;
}
.cta-banner a.cta-button {
  background: #D18D3B;
  color: #fff;
  margin-top: 8px;
}
.cta-banner a.cta-button:hover, .cta-banner a.cta-button:focus {
  background: #234375;
  color: #fff;
}

/* ---- FOOTER ---- */
footer {
  background: #F4F5F7;
  color: #222f3e;
  border-top: 1px solid #EFF0F2;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 32px;
  padding-bottom: 32px;
}
.footer-logo img {
  height: 48px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #234375;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding-bottom: 2px;
  border-bottom: 1.5px solid #D18D3B00;
  transition: border-bottom 0.21s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #D18D3B;
  border-bottom: 1.5px solid #D18D3B;
}
.footer-contact p, .footer-contact a {
  font-size: 1rem;
  color: #1A2436;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 4px;
}

/* ---- UTILITY CLASSES ---- */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  header .container {
    gap: 8px;
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .footer-logo img { height: 36px; }
  .footer-nav, footer .container, .footer-contact { gap: 12px; }
}

/* ---- RESPONSIVE DESIGN ---- */
@media (max-width: 900px) {
  .feature-grid {
    gap: 18px;
  }
  .feature-grid li, .card {
    flex: 1 1 180px;
    min-width: 170px;
  }
  .section {
    padding: 28px 12px;
  }
  .cta-banner {
    padding: 24px 12px;
  }
}
@media (max-width: 668px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid li, .card, .text-section, .section {
    padding-left: 10px;
    padding-right: 10px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
  h1 {
    font-size: 1.35rem;
  }  
  h2 {
    font-size: 1.08rem;
  }  
  .cta-banner {
    padding: 16px 6px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .section {
    margin-bottom: 38px;
    padding: 20px 4px;
  }
}

/* ---- SOCIAL LINKS ---- */
.social-links {
  margin-top: 20px;
}
.social-links p {
  color: #1A2436;
  font-size: 1rem;
  letter-spacing: 0.2px;
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 -2px 16px 0 rgba(34,67,117,0.07);
  padding: 22px 18px 22px 18px;
  z-index: 1500;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  border-top: 2px solid #EFF0F2;
  font-size: 1rem;
  justify-content: space-between;
  min-height: 70px;
  transition: transform 0.35s cubic-bezier(.5,1.6,.39,1), opacity 0.35s cubic-bezier(.5,1.6,.39,1);
}
.cookie-consent-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-consent-text {
  color: #1A2436;
  font-size: 1rem;
  flex: 1 1 200px;
  min-width: 180px;
}
.cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  background: #234375;
  color: #fff;
  padding: 8px 22px;
  border-radius: 25px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.18s, color 0.18s;
  outline: none;
}
.cookie-btn.secondary {
  background: #fff;
  color: #234375;
  border: 1.5px solid #234375;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #F4F5F7;
  color: #D18D3B;
  border-color: #D18D3B;
}
.cookie-btn.settings {
  background: #D18D3B;
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #234375;
  color: #fff;
}
/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 2000;
  left: 0; right:0; top:0; bottom:0;
  background: rgba(34, 67, 117, 0.16);
  opacity: 1;
  transition: opacity 0.25s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  position: fixed;
  z-index: 2100;
  left: 50%; top: 50%;
  transform: translate(-50%,-56%);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 42px 0 rgba(34,67,117,0.17);
  max-width: 430px;
  width: 94%;
  padding: 32px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 1;
  transition: opacity 0.31s, transform 0.26s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,+10%);
}
.cookie-modal h2 {
  font-size: 1.27rem;
  color: #234375;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 6px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  padding: 8px 0;
}
.cookie-category-label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #1A2436;
  font-weight: 500;
}
.cookie-category-switch {
  display: inline-flex;
  align-items: center;
}
.cookie-switch {
  width: 38px;
  height: 22px;
  position: relative;
  display: inline-block;
}
.cookie-switch input { display: none; }
.cookie-slider {
  position: absolute;
  top: 0; left: 0; right:0; bottom:0;
  background: #F4F5F7;
  border-radius: 22px;
  transition: background 0.22s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #234375;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 2.3px; top: 2px;
  width: 17px; height: 17px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 6px 0 rgba(0,0,0,.06);
  transition: transform 0.22s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(15px);
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #234375;
  font-size: 1.3rem;
  position: absolute;
  right: 15px;
  top: 13px;
  cursor: pointer;
  border-radius: 8px;
  padding: 2px 9px;
  transition: background 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F4F5F7;
}
@media(max-width: 425px) {
  .cookie-modal {
    padding: 18px 7px 14px 7px;
    max-width: 97vw;
  }
  .cookie-category-label {
    font-size: 0.97rem;
  }
}

/* ---- TYPOGRAPHY SCALE ---- */
@media (max-width: 468px) {
  h1 { font-size: 1.12rem; } 
  h2 { font-size: 1.01rem; }
  h3 { font-size: 0.98rem; } 
  h4 { font-size: 0.93rem; }
  p, li, .cta-button, .btn, .cookie-btn {
    font-size: 0.96rem;
  }
}

/* ---- FOCUS STYLES for ACCESSIBILITY ---- */
a:focus, button:focus, .cta-button:focus, .cookie-btn:focus, .mobile-menu-close:focus, .cookie-modal-close:focus {
  outline: 2px solid #D18D3B;
  outline-offset: 2px;
}

/* ---- CUSTOM SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 8px;
  background: #EFF0F2;
}
::-webkit-scrollbar-thumb {
  background: #D18D3B80;
  border-radius: 6px;
}

/* ---- SCANDINAVIAN MICRO-ANIMATIONS ---- */
button, .card, .cta-button, .cookie-btn, .feature-grid li, .testimonial-card {
  transition: background 0.2s, color 0.21s, box-shadow 0.18s, transform 0.12s;
}

/* ---- END ---- */
