/* ===============================
   CSS RESET AND BASE STYLES
=============================== */
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;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F8FA;
  color: #234058;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
a { color: #28447A; text-decoration: none; transition: color 0.2s; }
a:hover { color: #F5B042; }
ul, ol { padding-left: 24px; }

/* =====================================
   BRAND TYPOGRAPHY FOR SCANDINAVIAN CLEAN
====================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;500&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #234058;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; color: #28447A; }
h4, h5, h6 { font-size: 1rem; }

p, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #234058;
}

strong, b { font-weight: 500; }

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 12px 0 rgba(40,68,122,0.06);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* =============================
   HEADER & NAVIGATION
============================= */
header {
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(40,68,122,0.05);
  position: relative;
  z-index: 20;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #28447A;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a.btn-primary {
  padding: 10px 22px;
  background: #28447A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 22px;
  margin-left: 18px;
  box-shadow: 0 2px 6px 0 rgba(40,68,122,0.09);
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.18s, box-shadow 0.25s;
}
.main-nav a.btn-primary:hover, .main-nav a.btn-primary:focus {
  background: #F5B042;
  color: #234058;
  box-shadow: 0 4px 16px 0 rgba(245,176,66,0.12);
}
.main-nav a:hover:not(.btn-primary), .main-nav a:focus:not(.btn-primary) {
  background: #D8E2F1;
  color: #234058;
}

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

/* =============================
   MOBILE MENU
============================= */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  padding: 8px;
  cursor: pointer;
  color: #28447A;
  display: none;
  z-index: 120;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #D8E2F1;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: #fff;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 250;
  box-shadow: 0 6px 28px rgba(40,68,122,0.12);
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.35,.75,.36,1.06);
  padding-top: 22px;
  padding-left: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  position: absolute;
  top: 22px;
  right: 28px;
  color: #234058;
  cursor: pointer;
  z-index: 25;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #D8E2F1;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
  margin-top: 60px;
  padding-left: 32px;
  width: 100vw;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #234058;
  padding: 12px 8px 12px 0;
  border-radius: 12px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #28447A;
  background: #D8E2F1;
}

@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ================================
   HERO SECTIONS
================================ */
.hero {
  background: #D8E2F1;
  border-radius: 24px;
  margin: 0 auto 56px auto;
  padding: 48px 0 56px 0;
  box-shadow: 0 6px 44px 0 rgba(40,68,122,0.06);
}
.hero .container,
.hero .content-wrapper {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hero h1 {
  color: #28447A;
  font-size: 2.1rem;
}
.hero p {
  font-size: 1.18rem;
  color: #234058;
  margin-bottom: 18px;
}
.hero .btn-primary {
  margin-top: 16px;
}

/* ================================
   BUTTONS
================================ */
.btn-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  background: #28447A;
  color: #fff;
  border: none;
  padding: 13px 32px;
  border-radius: 22px;
  box-shadow: 0 2px 8px rgba(40,68,122,0.09);
  cursor: pointer;
  transition: background 0.19s, color 0.2s, box-shadow 0.19s, transform 0.14s;
  outline: none;
  text-align: center;
  margin-top: 16px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #F5B042;
  color: #28447A;
  box-shadow: 0 6px 16px 0 rgba(245,176,66,0.15);
  transform: translateY(-1px) scale(1.04);
}

.btn-secondary {
  display: inline-block;
  background: #F5B042;
  color: #234058;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 22px;
  border: none;
  border-radius: 18px;
  cursor: pointer;
  transition: background 0.18s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #28447A;
  color: #fff;
}

.btn-link {
  background: none;
  border: none;
  color: #28447A;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 0;
  font-size: 1rem;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.18s;
}
.btn-link:hover, .btn-link:focus {
  color: #F5B042;
}

/* ================================
   FEATURES & CARDS
================================ */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 32px 0 0 0;
}
.feature-grid > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(40,68,122,0.07);
  padding: 26px 22px;
  flex: 1 1 240px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 13px;
  transition: box-shadow 0.18s, transform 0.14s;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 8px 28px rgba(40,68,122,0.13);
  transform: translateY(-3px) scale(1.022);
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 1px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(40,68,122,0.07);
  padding: 28px 18px;
  gap: 16px;
  min-width: 240px;
  transition: box-shadow 0.19s, transform 0.13s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px 0 rgba(40,68,122,0.13);
  transform: scale(1.018);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ================================
   TESTIMONIALS
================================ */
.testimonials {
  background: #F8FBFE;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(40,68,122,0.07);
  margin-bottom: 26px;
  min-width: 260px;
  color: #234058;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.45;
}
.testimonial-card p {
  color: #234058;
  font-size: 1.11rem;
  margin-bottom: 6px;
}
.testimonial-meta {
  font-size: 0.96rem;
  color: #28447A;
  font-style: italic;
}

@media (max-width: 550px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 10px;
  }
}

/* ================================
   CTA SECTIONS
================================ */
.cta {
  background: #D8E2F1;
  border-radius: 16px;
  box-shadow: 0 4px 22px 0 rgba(40,68,122,0.08);
  padding: 44px 20px 44px;
  margin: 46px 0 0 0;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.cta h2 {
  color: #28447A;
}

/* ================================
   LIST STYLES
================================ */
ul, ol {
  font-size: 1rem;
  color: #234058;
  margin-bottom: 14px;
}
ul li, ol li {
  margin-bottom: 8px;
  padding-left: 0;
}
ul li:last-child, ol li:last-child { margin-bottom: 0; }

/* ================================
   FOOTER
================================ */
footer {
  background: #234058;
  color: #fff;
  padding: 40px 0 24px 0;
  margin-top: 80px;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -2px 18px 0 rgba(40,68,122,0.08);
}
footer .container {
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #F5B042;
  font-size: .98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: .88;
  transition: color 0.16s, opacity 0.16s;
  padding: 4px 8px;
  border-radius: 6px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  background: rgba(245,176,66,0.14);
  opacity: 1;
}
.contact-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.97rem;
  color: #fff;
  opacity: .84;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
}
.footer-social img {
  height: 28px; width: 28px; display: block; opacity: 0.92; transition: opacity 0.2s; cursor: pointer;
}
.footer-social img:hover, .footer-social img:focus { opacity: 1; }

.footer-note {
  font-size: 0.87rem;
  opacity: .66;
  margin-top: 14px;
}

/* ================================
   CONTACT PAGE & ELEMENTS
================================ */
.contact-details, .opening-hours, .social-media-links, .address {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.social-media-links {
  flex-direction: row;
  gap: 18px;
  margin-top: 18px;
}
.opening-hours strong {
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}
.embedded-map {
  margin-top: 18px;
  font-size: .95rem;
  color: #234058;
  font-style: italic;
}
.confirmation-message {
  background: #F0F6FA;
  color: #234058;
  border-radius: 8px;
  padding: 26px 14px;
  margin-bottom: 20px;
  font-size: 1rem;
}

/* ===============================
   RESPONSIVE FLEXBOX LAYOUTS
=============================== */
@media (max-width: 992px) {
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 920px) {
  header .container { padding-left: 8px; padding-right: 8px; }
  .cta { padding: 32px 10px; }
  .hero { padding: 32px 0 34px 0; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .section, .cta, .hero { padding: 22px 6px; }
  .container { padding: 0 4px; }
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 540px) {
  .section, .cta, .hero { padding: 12px 2px; }
  .footer-note { font-size: 0.78rem; }
}

/* ===============================
   SCANDINAVIAN CLEAN MICRO-INTERACTIONS
=============================== */
.feature-grid > div, .card {
  transition: box-shadow 0.17s, transform 0.15s, background 0.17s;
}
.feature-grid > div:active, .card:active {
  background: #F0F6FA;
  transform: scale(.98);
}
.btn-primary, .btn-secondary {
  box-shadow: 0 2px 8px 0 rgba(40,68,122,0.12);
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(.97);
}

/* ===============================
   COOKIE CONSENT BANNER & MODAL
=============================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #234058;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 3vw;
  box-shadow: 0 -6px 24px 0 rgba(40,68,122,0.16);
  z-index: 800;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  animation: cookieBannerFadeIn 0.5s ease;
}
@keyframes cookieBannerFadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner-message {
  flex: 1 1 100px;
  color: #fff;
  padding-right: 8px;
  font-size: 0.99rem;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-banner .btn-primary,
.cookie-banner .btn-secondary,
.cookie-banner .btn-link {
  margin-top: 0;
  font-size: 0.98rem;
  padding: 9px 20px;
}
.cookie-banner .btn-primary {
  background: #F5B042;
  color: #234058;
  border-radius: 16px;
  font-weight: 700;
}
.cookie-banner .btn-primary:hover {
  background: #fff;
  color: #28447A;
  box-shadow: 0 2px 9px #F5B04222;
}
.cookie-banner .btn-secondary {
  background: #fff;
  color: #28447A;
  border-radius: 16px;
}
.cookie-banner .btn-secondary:hover {
  background: #F5B042;
  color: #234058;
}
.cookie-banner .btn-link {
  color: #F5B042;
  font-weight: 400;
}
.cookie-banner .btn-link:hover { color: #fff; }

@media (max-width: 730px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 2vw 16px 2vw;
    gap: 13px;
  }
  .cookie-banner-actions { gap: 11px; }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(40,68,122,0.22);
  backdrop-filter: blur(1.5px);
  z-index: 900;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: modalOverlayFade 0.38s ease;
}
@keyframes modalOverlayFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #234058;
  border-radius: 20px;
  box-shadow: 0 12px 44px 0 rgba(40,68,122,0.25);
  max-width: 420px;
  width: 90vw;
  padding: 38px 26px 28px 26px;
  position: relative;
  font-family: 'Roboto', Arial, sans-serif;
  display: flex; flex-direction: column; gap: 20px;
  animation: modalFadeIn 0.45s cubic-bezier(.35,.75,.36,1.06);
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.90); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: #28447A;
  margin-bottom: 8px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 1.25rem;
  background: none;
  border: none;
  color: #234058;
  cursor: pointer;
  border-radius: 8px;
  padding: 3px 8px;
  transition: background 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #D8E2F1;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category-title {
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #28447A;
}
.cookie-toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.cookie-toggle input[type="checkbox"] {
  width: 30px; height: 18px;
  background: #D8E2F1;
  border-radius: 9px;
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
  border: 1.6px solid #B9CBDF;
  position: relative;
}
.cookie-toggle input[type="checkbox"]:checked {
  background: #F5B042;
  border-color: #F5B042;
}
.cookie-toggle input[type="checkbox"]::before {
  content: '';
  position: absolute;
  left: 4px; top: 3px;
  width: 10px; height: 10px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
}
.cookie-toggle input[type="checkbox"]:checked::before {
  transform: translateX(10px);
}
/* Always enabled (grayed toggle) */
.cookie-toggle.always input[type="checkbox"] {
  background: #B9CBDF;
  border-color: #B9CBDF;
  cursor: default;
}
.cookie-toggle.always input[type="checkbox"]:before {
  background: #fff;
}
.cookie-toggle.always input[type="checkbox"]:checked {
  background: #B9CBDF;
  border-color: #B9CBDF;
}

.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 25px;
  justify-content: flex-end;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  margin-top: 0;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 16px;
  font-size: 0.98rem;
}
.cookie-modal .btn-primary {
  background: #F5B042;
  color: #234058;
}
.cookie-modal .btn-primary:hover, .cookie-modal .btn-primary:focus {
  background: #28447A; color: #fff;
}
.cookie-modal .btn-secondary {
  background: #28447A;
  color: #fff;
}
.cookie-modal .btn-secondary:hover { background: #F5B042; color: #234058; }
@media (max-width: 400px) {
  .cookie-modal {
    padding: 18px 3vw 14px 3vw;
    max-width: 99vw;
  }
  .cookie-modal-actions { gap: 7px; }
}

/* ===============================
   BLOCKQUOTE, HR, ETC.
=============================== */
blockquote {
  border-left: 4px solid #F5B042;
  padding: 8px 0 8px 16px;
  color: #234058;
  margin: 10px 0 10px 0;
  font-style: italic;
  background: #F9FAFB;
  border-radius: 7px;
}
blockquote span {
  display: block;
  margin-top: 8px;
  color: #28447A;
  font-size: 0.97rem;
}
hr {
  border: none;
  border-top: 1px solid #D8E2F1;
  margin: 28px 0 28px 0;
}

/* ================================
   PRINT STYLES
================================ */
@media print {
  * { color: #222 !important; background: #fff !important; box-shadow: none !important; }
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { font-size: 12pt; }
}
