/* === 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,
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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F6F3EF;
  color: #184C78;
  font-family: 'Nunito', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  font-weight: 400;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #184C78;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #5CC1A6;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* === BRAND FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Nunito:wght@400;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #184C78;
  margin-bottom: 16px;
  font-weight: bold;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

strong { font-weight: 700; }

/* === CONTAINER & SECTIONS === */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 600px) {
  .section {
    margin-bottom: 40px;
    padding: 32px 6px;
  }
}

/* === FLEXBOX: COMMON LAYOUTS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 24px rgba(24,76,120,0.06);
  padding: 28px 24px 24px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(24,76,120,0.10);
  transform: translateY(-2px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.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) {
  .content-grid,
  .card-container,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* === NAVIGATION === */
header {
  background: #fff;
  border-bottom: 1px solid #e6e9ee;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 0;
}
.main-nav li {
  margin: 0;
}
.main-nav a {
  font-weight: 500;
  font-family: 'Nunito', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #184C78;
  padding: 5px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover {
  background: #5CC1A6;
  color: #fff;
}
.cta-primary {
  display: inline-block;
  background: #184C78;
  color: #fff !important;
  border-radius: 26px;
  padding: 10px 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.09rem;
  letter-spacing: .035em;
  margin-left: 12px;
  box-shadow: 0 2px 6px rgba(24,76,120,0.08);
  border: none;
  transition: background 0.19s, transform 0.22s, box-shadow 0.19s;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #5CC1A6;
  color: #184C78 !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 16px rgba(24,76,120,0.16);
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  background: #184C78;
  color: #fff;
  font-size: 2rem;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  margin-left: auto;
  z-index: 1501;
  transition: background .14s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #5CC1A6;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,1);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 0 24px;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.4,1.7,.7,.8);
  box-shadow: 0 8px 24px rgba(24,76,120,0.13);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #184C78;
  font-size: 2.25rem;
  align-self: flex-end;
  margin-bottom: 18px;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 2100;
}
.mobile-menu-close:hover {
  color: #5CC1A6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  color: #184C78;
  padding: 12px;
  border-radius: 10px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #5CC1A6;
  color: #fff;
}
@media (max-width: 1020px) {
  .main-nav ul {
    gap: 10px;
  }
  .cta-primary {
    padding: 9px 20px;
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    display: none;
  }
  .cta-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: 10px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 8px;
  }
}
@media (max-width: 500px) {
  .mobile-menu {
    padding: 10px 8px 0 8px;
  }
}

/* === HERO SECTION === */
.hero {
  background: #f9faf9;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 6px 18px rgba(24,76,120,0.03);
  margin-bottom: 44px;
  padding: 48px 0 38px 0!important;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 14px;
}
.hero h1 {
  color: #184C78;
  font-size: 2.7rem;
}
@media (max-width: 700px) {
  .hero {
    padding: 32px 0 30px 0!important;
    border-radius: 0 0 18px 18px;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

/* === SECTION SPACING AND ALIGNMENT === */
.features-list, .service-list, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 0;
  padding: 0;
  align-items: flex-stretch;
}
.features-list li, .service-list li {
  flex: 1 1 260px;
  min-width: 220px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(24,76,120,0.05);
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  transition: box-shadow 0.16s, transform 0.16s;
}
.features-list li:hover,
.service-list li:hover {
  box-shadow: 0 8px 28px rgba(24,76,120,0.11);
  transform: translateY(-2px) scale(1.02);
}
.features-list img, .service-list img {
  width: 48px;
  height: 48px;
  margin-bottom: 7px;
  object-fit: contain;
}
.features-list h3, .service-list h3 {
  margin-bottom: 6px;
  font-size: 1.18rem;
}
.features-list p, .service-list p {
  color: #2d5272;
  font-size: 1rem;
}
@media (max-width: 900px) {
  .features-list, .service-list {
    gap: 20px;
  }
}
@media (max-width: 700px) {
  .features-list, .service-list {
    flex-direction: column;
    gap: 20px;
  }
  .features-list li, .service-list li {
    min-width: 0;
    width: 100%;
  }
}

/* === SERVICE PRICES & ITEMS === */
.service-list p strong, .service-price strong {
  color: #184C78;
  letter-spacing: .01em;
  font-size: 1.1rem;
}
.service-price {
  font-weight: 600;
  color: #5CC1A6;
  margin-top: 10px;
  font-size: 1.04rem;
}

/* === TESTIMONIALS === */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 10px 0 0 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: #F6F3EF;
  border-left: 6px solid #184C78;
  border-radius: 18px;
  padding: 24px 28px;
  max-width: 370px;
  min-width: 220px;
  box-shadow: 0 3px 18px rgba(24,76,120,0.04);
  color: #184C78;
  transition: box-shadow 0.17s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 36px rgba(24,76,120,0.12);
  transform: translateY(-2px) scale(1.02);
}
.testimonial-card blockquote {
  font-family: 'Nunito', Arial, Helvetica, sans-serif;
  font-size: 1.09rem;
  color: #1A2437;
  background: none;
  border: none;
  margin: 0 0 8px 0;
  line-height: 1.5;
}
.testimonial-card p {
  font-size: 0.97rem;
  color: #184C78;
  font-weight: 700;
  margin: 0;
}
@media (max-width: 800px) {
  .testimonial-list {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
}

/* === CTA SECTION === */
.cta-section {
  background: #5CC1A6;
  color: #fff;
  padding: 48px 0;
  border-radius: 24px;
  margin-bottom: 0;
  box-shadow: 0 8px 36px rgba(24,76,120,0.05);
}
.cta-section h2, .cta-section p {
  color: #fff;
}
.cta-section .cta-primary {
  background: #fff;
  color: #184C78 !important;
  margin-top: 18px;
}
.cta-section .cta-primary:hover {
  background: #184C78;
  color: #fff !important;
}
@media (max-width: 600px) {
  .cta-section {
    padding: 32px 0;
    border-radius: 11px;
  }
}

/* === TEXT SECTIONS === */
.text-section {
  margin: 16px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section h2 {
  color: #184C78;
  font-size: 1.35rem;
  margin-bottom: 10px;
  margin-top: 12px;
}
.text-section h3 {
  color: #184C78;
  font-size: 1.13rem;
}
.text-section p {
  color: #294153;
}

/* === MAP EMBED PLACEHOLDER === */
.map-embed {
  background: #fff;
  border-radius: 16px;
  padding: 18px 14px;
  box-shadow: 0 2px 10px rgba(24,76,120,0.03);
  margin-top: 22px;
  font-size: 1rem;
  color: #184C78;
  font-family: 'Nunito', Arial, Helvetica, sans-serif;
}

/* === FOOTER === */
footer {
  background: #f9faf9;
  border-top: 1px solid #e6e9ee;
  margin-top: 56px;
  padding: 40px 0 24px 0;
  font-family: 'Nunito', Arial, Helvetica, sans-serif;
  box-shadow: 0 -2px 18px rgba(24,76,120,0.06);
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 230px;
}
.footer-brand img {
  width: 62px;
  height: auto;
  margin-bottom: 4px;
}
.footer-brand p {
  color: #497AA5;
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #184C78;
  font-size: 1rem;
  transition: color 0.18s;
}
.footer-nav a:hover {
  color: #5CC1A6;
  text-decoration: underline;
}
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #384F68;
  font-size: 0.98rem;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

@media (max-width: 900px) {
  footer .content-wrapper {
    gap: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* === BUTTONS & LINKS === */
button, .cta-primary, .footer-nav a, .mobile-nav a {
  outline: none !important;
  transition: background 0.18s, color 0.18s, box-shadow 0.17s, transform 0.13s;
}
button:focus, .cta-primary:focus, .footer-nav a:focus, .mobile-nav a:focus {
  box-shadow: 0 0 0 2px #5CC1A6;
  outline: none !important;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 4000;
  background: #fff;
  color: #184C78;
  box-shadow: 0 -5px 24px rgba(24,76,120,0.05);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 24px 40px 22px 18px;
  font-size: 1rem;
}
.cookie-banner .cookie-message {
  flex: 1 1 180px;
  min-width: 150px;
  color: #184C78;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-banner button, .cookie-banner .cta-primary {
  border-radius: 24px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 8px 22px;
  cursor: pointer;
  margin: 0;
  transition: background 0.17s, color 0.17s;
  font-weight: 600;
}
.cookie-banner .accept {
  background: #184C78;
  color: #fff;
}
.cookie-banner .accept:hover {
  background: #5CC1A6;
  color: #fff;
}
.cookie-banner .reject {
  background: #fff;
  border: 1.5px solid #5CC1A6;
  color: #5CC1A6;
}
.cookie-banner .reject:hover {
  background: #5CC1A6;
  color: #fff;
}
.cookie-banner .settings {
  background: #fff;
  color: #184C78;
  border: none;
  text-decoration: underline;
}
.cookie-banner .settings:hover {
  color: #5CC1A6;
  text-decoration: underline;
}
@media (max-width: 800px) {
  .cookie-banner {
    padding: 20px 8px 20px 6px;
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner .cookie-actions {
    gap: 8px;
  }
}

/* === COOKIE CONSENT MODAL === */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(24,76,120,0.13);
  z-index: 4100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein 0.2s;
}
@keyframes fadein {
  0% { opacity: 0; } 100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 32px rgba(24,76,120,0.15);
  padding: 36px 30px 30px 30px;
  width: 98vw;
  max-width: 400px;
  z-index: 4200;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.22s cubic-bezier(.4,1.7,.7,.8);
  animation: modalSlideIn 0.24s cubic-bezier(.4,1.7,.7,.8);
}
@keyframes modalSlideIn {
  0% { transform: translateY(60px) scale(.93); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 11px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 16px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #184C78;
}
.cookie-modal .toggle-switch {
  width: 32px;
  height: 18px;
  background: #e6e9ee;
  border-radius: 10px;
  position: relative;
  transition: background 0.16s;
  cursor: pointer;
}
.cookie-modal .toggle-switch.active {
  background: #5CC1A6;
}
.cookie-modal .toggle-knob {
  content: '';
  display: inline-block;
  position: absolute;
  left: 2.3px;
  top: 2.2px;
  width: 13px;
  height: 13px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(24,76,120,0.11);
  transition: left 0.16s;
}
.cookie-modal .toggle-switch.active .toggle-knob {
  left: 17px;
}
.cookie-modal .category-label {
  font-size: 1rem;
  font-weight: 500;
}
.cookie-modal .category-label.essential {
  color: #184C78;
}
.cookie-modal .category-description {
  color: #497AA5;
  font-size: .94rem;
  margin-left: 4px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 9px;
  margin-top: 12px;
}
.cookie-modal button {
  padding: 8px 16px;
  border-radius: 20px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.cookie-modal .accept {
  background: #184C78;
  color: #fff;
}
.cookie-modal .reject {
  background: #fff;
  border: 1.5px solid #5CC1A6;
  color: #5CC1A6;
}
.cookie-modal .close {
  background: #fff;
  color: #184C78;
  text-decoration: underline;
}
.cookie-modal .accept:hover {
  background: #5CC1A6;
  color: #fff;
}
.cookie-modal .reject:hover {
  background: #5CC1A6;
  color: #fff;
  border: 1.5px solid #184C78;
}
.cookie-modal .close:hover {
  color: #5CC1A6;
  text-decoration: underline;
}

/* === UTILS: GAPS, MARGINS, SPACING === */
.mb-32 { margin-bottom: 32px; }
.mb-24 { margin-bottom: 24px; }
.mb-16 { margin-bottom: 16px; }
.mt-28 { margin-top: 28px; }
.mt-16 { margin-top: 16px; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
gap-24 { gap: 24px; }

/* === RESPONSIVE TYPOGRAPHY ADJUSTMENTS === */
@media (max-width: 400px) {
  body {
    font-size: 15px;
  }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.13rem; }
}

/* === SCANDINAVIAN VISUAL DETAILS === */
section, .card, .features-list li, .service-list li, .testimonial-card, .cta-section, .map-embed, .cookie-modal {
  box-shadow: 0 2px 22px rgba(24,76,120,0.027);
}

.card, .features-list li, .service-list li, .testimonial-card, .cta-section, .cookie-modal, .map-embed {
  border-radius: 16px;
}

/* Subtle hover background for cards */
.features-list li:active,
.service-list li:active,
.card:active {
  background: #f6f3ef!important;
}

/* === ACCESSIBILITY === */
*:focus-visible {
  outline: 2px solid #5CC1A6;
  outline-offset: 1.5px;
}

/* === MISC: FORMS (if any) === */
input, textarea, select {
  border: 1.5px solid #e6e9ee;
  border-radius: 10px;
  font-size: 1rem;
  padding: 9px 14px;
  margin-bottom: 16px;
  font-family: inherit;
  background: #fff;
  color: #184C78;
  width: 100%;
  transition: border-color 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #5CC1A6;
}

/* === PRINT OPTIMIZATION === */
@media print {
  header, footer, .cta-section, .cookie-banner, .mobile-menu {display:none;}
  body, section, main, .container, .content-wrapper {background: #fff!important; color: #000!important; box-shadow: none!important;}
}
