/* === CSS RESET & BASE === */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F5F7FA;
  color: #255968;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
a {
  color: #255968;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #224350;
  outline: none;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 20px;
}
li + li {
  margin-top: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 16px;
  color: #255968;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.15;
}
h2 {
  font-size: 1.7rem;
}
h3 {
  font-size: 1.35rem;
}
p {
  margin-bottom: 18px;
}
strong {
  font-weight: 600;
}
hr {
  border: none;
  border-top: 1px solid #e3e8ef;
  margin: 28px 0;
}

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 650px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 16px;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 6vw;
    margin-bottom: 32px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(85, 107, 125, 0.06);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  flex: 1 1 270px;
  transition: box-shadow 0.15s;
}
.card:hover {
  box-shadow: 0 4px 32px rgba(52, 76, 110, 0.11);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  margin-top: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  border-left: 5px solid #A7B7C4;
  box-shadow: 0 1px 10px rgba(52,76,110,0.05);
  font-size: 1.07rem;
  color: #232e36;
}
.testimonial-card p {
  font-style: italic;
  color: #24434f;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: #255968;
  font-weight: 600;
}

/* === SCANDINAVIAN CLEAN BUTTONS === */
.cta-btn, .btn, button, .cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 32px;
  font-size: 1.15rem;
  font-weight: 600;
  background: #255968;
  color: #fff;
  border: none;
  border-radius: 28px;
  box-shadow: 0 1px 8px rgba(52,76,110,0.03);
  cursor: pointer;
  transition: background-color 0.18s, box-shadow 0.18s, transform 0.14s;
  margin-top: 7px;
  text-align: center;
  letter-spacing: 0.04em;
}
.cta-btn:hover, .btn:hover, button:hover, .cookie-btn:hover {
  background: #183f46;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(52,76,110,0.10);
}
.cta-btn:focus, .btn:focus, button:focus, .cookie-btn:focus {
  outline: 2px solid #A7B7C4;
  outline-offset: 1px;
}
.btn-secondary, .cookie-btn.secondary {
  background: #fff;
  color: #255968;
  border: 2px solid #A7B7C4;
}
.btn-secondary:hover, .cookie-btn.secondary:hover {
  background: #e0ebf0;
}

/* Cookie btn variations */
.cookie-btn.danger {
  background: #b94330;
  color: #fff;
}
.cookie-btn.danger:hover {
  background: #7d2e20;
}


/* === HEADER & NAVIGATION === */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 10px rgba(85,107,125,0.05);
  position: sticky;
  top: 0;
  z-index: 1001;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 20px;
}
header a img {
  height: 42px;
  width: auto;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  padding: 8px 16px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #255968;
  transition: background 0.16s, color 0.19s;
}
header nav a:hover, header nav a:focus {
  background: #A7B7C410;
  color: #183f46;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #255968;
  cursor: pointer;
  padding: 5px 12px 2px 12px;
  border-radius: 6px;
  transition: background 0.16s;
  margin-left: 10px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #eaeff4;
}
@media (max-width: 992px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  header .container {
    gap: 0;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37,89,104,0.97);
  width: 100vw;
  height: 100vh;
  z-index: 1111;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.83,0,0.17,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #fff;
  background: none;
  border: none;
  margin: 22px 30px 10px 0px;
  cursor: pointer;
  align-self: flex-end;
  padding: 6px 12px;
  border-radius: 5px;
  transition: background 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #25596833;
}
.mobile-menu .mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
  margin-top: 24px;
  padding-left: 40px;
}
.mobile-menu .mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 10px 0;
  transition: color 0.15s, background 0.14s;
  border-radius: 4px;
  width: 90%;
}
.mobile-menu .mobile-nav a:hover, .mobile-menu .mobile-nav a:focus {
  color: #A7B7C4;
  background: #fff1;
  outline: none;
}

@media (max-width: 600px) {
  .mobile-menu .mobile-nav {
    padding-left: 14vw;
    gap: 18px;
    margin-top: 16px;
  }
  .mobile-menu-close {
    margin: 13px 10vw 0 0;
  }
}

/* === HERO SECTION === */
.hero {
  background: #e6edf1;
  padding: 54px 0 40px 0;
  margin-bottom: 38px;
  border-radius: 0 0 34px 34px;
  box-shadow: 0 6px 30px rgba(52,76,110,0.04);
}
.hero .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.hero .content-wrapper {
  gap: 16px;
}
.hero h1 {
  font-size: 2.5rem;
  color: #255968;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .hero {
    padding: 28px 0 18px 0;
    border-radius: 0 0 20px 20px;
  }
  .hero h1 {
    font-size: 1.45rem;
  }
}

/* === CALL TO ACTION === */
.cta {
  background: #d7e6ee;
  padding: 44px 0;
  margin-bottom: 0;
  border-radius: 24px;
  box-shadow: 0 2px 18px rgba(167,183,196,0.08);
}
.cta .content-wrapper {
  gap: 10px;
  align-items: flex-start;
}
.cta .cta-btn {
  margin-top: 12px;
}
@media (max-width: 768px) {
  .cta { padding: 28px 0; border-radius: 12px; }
}

/* === LISTS === */
ul {
  color: #24434f;
  font-size: 1rem;
}
ul li {
  margin-bottom: 10px;
  padding-left: 0;
}

/* === FOOTER === */
footer {
  background: #F5F7FA;
  border-top: 1px solid #eaeaea;
  padding-top: 32px;
  padding-bottom: 28px;
  font-size: 0.98rem;
  margin-top: 60px;
}
footer .container {
  width: 100%;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: #255968;
  transition: color 0.1s;
  border-radius: 2px;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
footer nav a:hover, footer nav a:focus {
  color: #183f46;
  background: #A7B7C420;
}
footer .address-block {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.99rem;
  color: #39697b;
  margin-bottom: 8px;
}
footer .address-block img {
  display: inline-block;
  height: 21px;
  margin-right: 7px;
  vertical-align: middle;
}
footer .copyright {
  width: 100%;
  font-size: 0.93rem;
  color: #7D979E;
  margin-top: 8px;
  letter-spacing: 0.05em;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}

/* === ADDRESS BLOCK (CONTACT/FOOTER) === */
.address-block {
  background: #f8fafb;
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 12px;
  color: #255968;
  font-size: 1.04rem;
  box-shadow: 0 1px 7px rgba(85,107,125,0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.address-block img {
  height: 20px;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}

/* === FEATURED/GENERIC CARDS ETC === */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  padding: 18px 22px;
  box-shadow: 0 1px 9px rgba(85,107,125,0.04);
}

/* === TYPOGRAPHY SCALE & CLASSES === */
.text-section, .content-wrapper {
  font-size: 1.15rem;
}
@media (max-width: 600px) {
  h1 { font-size: 1.1rem; }
  h2 { font-size: 1rem; }
  .content-wrapper, .text-section, .section { font-size: 1rem; }
}

/* === SPACING & UTILITY CLASSES === */
.mt-16 { margin-top: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }
.text-left { text-align: left; }

/* === MICRO-INTERACTIONS === */
.section, .card, .testimonial-card, .address-block,
.cta, .feature-item {
  transition: box-shadow 0.18s, background 0.16s, transform 0.12s;
}
.section:focus-within, .card:focus-within, .testimonial-card:focus-within {
  box-shadow: 0 4px 26px rgba(37,89,104,0.14);
  transform: translateY(-2px) scale(1.01);
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  color: #255968;
  padding: 26px 18px 26px 18px;
  box-shadow: 0 -1px 20px rgba(52,76,110,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 1200;
  font-size: 1.06rem;
  transition: transform 0.3s, opacity 0.3s;
}
.cookie-banner.closed {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-btn {
  margin: 0 6px;
  min-width: 100px;
}
.cookie-banner .cookie-btn:not(:last-child) {
  margin-right: 14px;
}

/* Cookie settings modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33,55,77,0.45);
  z-index: 1205;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.closed {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  padding: 42px 28px 32px 28px;
  border-radius: 14px;
  box-shadow: 0 8px 48px rgba(37,89,104,0.18);
  min-width: 320px;
  max-width: 96vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  margin-bottom: 9px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.cookie-modal .cookie-category label {
  font-size: 1.08rem;
  color: #255968;
  font-weight: 500;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: #255968;
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-btn {
  margin-top: 7px;
}
.cookie-modal .cookie-btn:not(:last-child) {
  margin-right: 10px;
}
.cookie-modal .cookie-close-btn {
  position: absolute;
  top: 12px; right: 18px;
  background: none;
  border: none;
  font-size: 1.45rem;
  color: #255968;
  cursor: pointer;
}
.cookie-modal .cookie-close-btn:hover {
  background: #e6edf1;
  border-radius: 4px;
}
@media (max-width: 600px) {
  .cookie-modal { padding: 23px 10vw 22px 10vw; min-width: 0; }
}

/* === RESPONSIVE BREAKPOINTS === */
@media (max-width: 1200px) {
  .container { max-width: 97vw; }
}
@media (max-width: 600px) {
  .container { padding: 0 10px; }
  .card, .section, .address-block { padding: 12px 6vw; }
}

/* === MISC === */
::selection { background: #A7B7C4; color: #fff; }

/* Visually hide elements for accessibility */
.visually-hidden {
  position: absolute;
  clip: rect(0,0,0,0);
  width: 1px; height: 1px;
  margin: -1px; border: 0; padding: 0;
  overflow: hidden;
}

/* === ANIMATIONS === */
@keyframes fadein {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: none; }
}
.section, .card, .testimonial-card, .address-block, .cta, .cookie-banner, .cookie-modal {
  animation: fadein 0.7s cubic-bezier(0.44,0.13,0.48,0.87) both;
}

/* Ensure no overlap and minimum spacing for cards/sections */
.section + .section, .card + .card, .card + .testimonial-card, .testimonial-card + .testimonial-card,
.content-wrapper + .content-wrapper {
  margin-top: 20px;
}

/* === PRINT STYLES === */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body, .container, .content-wrapper, .section { background: #fff !important; color: #222 !important; }
}

/* === END OF CSS === */
