/* ==== CSS RESET & NORMALIZATION ==== */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F7FAFC;
  color: #274165;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ==== BRAND FONTS ==== */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@600;700&family=Open+Sans:wght@400;600;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #274165;
  margin-bottom: 0.5em;
}
h1 { font-size: 2.5rem; line-height: 1.15; }
h2 { font-size: 2rem; line-height: 1.18; }
h3 { font-size: 1.35rem; line-height: 1.22; }
h4, h5, h6 { font-size: 1.1rem; }

.subtitle {
  font-size: 1.25rem;
  color: #4C627E;
  margin-bottom: 16px;
  font-weight: 400;
  font-family: 'Open Sans', Arial, sans-serif;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F7FAFC;
  color: #274165;
}

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(39,65,101,0.06);
  padding: 40px 28px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(39,65,101,0.09);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 250px;
  min-width: 220px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 25px rgba(39,65,101,0.14);
}

.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 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 24px 24px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(39,65,101,0.07);
  margin-bottom: 25px;
  min-width: 250px;
  max-width: 670px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.testimonial-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 6px 22px rgba(39,65,101,0.14);
}
.testimonial-card blockquote {
  color: #26415d;
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 10px;
  line-height: 1.44;
}
.testimonial-card cite {
  color: #60A917;
  font-size: 0.97rem;
  font-style: normal;
  font-family: 'Roboto Slab', serif;
  opacity: 0.96;
  margin-left: 2px;
}

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

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(39,65,101,0.05);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.logo-link img {
  height: 44px;
  width: auto;
  margin-right: 24px;
  vertical-align: middle;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  padding: 12px 6px;
  font-size: 1rem;
  color: #274165;
  border-radius: 7px;
  transition: color 0.18s, background 0.16s;
  font-weight: 600;
}
nav a:hover,
nav a:focus {
  background: #D5E9F6;
  color: #39710F;
  outline: none;
}
nav a.cta {
  background: #274165;
  color: #fff;
  border-radius: 8px;
  padding: 10px 22px;
  margin-left: 12px;
  box-shadow: 0 2px 7px rgba(39,65,101,0.09);
  transition: background 0.18s, color 0.15s, box-shadow 0.14s;
}
nav a.cta:hover,
nav a.cta:focus {
  background: #39710F;
  color: #fff;
  box-shadow: 0 4px 12px rgba(57,113,15,0.13);
}

/* ==== MOBILE NAVIGATION ==== */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #39710F;
  display: none;
  margin-left: 20px;
  cursor: pointer;
  z-index: 100;
  line-height: 1;
  transition: color 0.22s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #60A917;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 94vw;
  max-width: 390px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 32px rgba(39,65,101,0.13);
  z-index: 1150;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.68,-0.08,.54,1.7);
  display: flex;
  flex-direction: column;
  padding: 32px 24px 24px;
  gap: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #274165;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 16px;
  transition: color 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #39710F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 14px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #274165;
  padding: 12px 0;
  border-radius: 7px;
  font-weight: 600;
  transition: background 0.14s, color 0.13s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: #60A91717;
  color: #39710F;
}
@media (max-width: 1024px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* ==== HERO SECTIONS ==== */
.hero {
  background: linear-gradient(96deg, #D5E9F6 72%, #fff 96%);
  border-radius: 0 0 38px 38px;
  min-height: 240px;
  margin-bottom: 60px;
  padding: 36px 0 44px 0;
  box-shadow: 0 3px 18px rgba(39,65,101,0.06);
  display: flex;
  align-items: center;
}
.hero .container {
  align-items: flex-start;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  font-size: 2.2rem;
  color: #274165;
}
@media (max-width: 780px) {
  .hero { padding: 30px 0 34px 0; }
  .hero h1 { font-size: 1.6rem; }
}


/* ==== FEATURES SECTION ==== */
.features {
  margin-bottom: 60px;
}
.features .content-wrapper h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin: 0;
}
.features ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 10px;
  padding: 15px 17px;
  font-size: 1.09rem;
  box-shadow: 0 1.5px 6px rgba(39,65,101,0.07);
  margin-bottom: 12px;
  min-width: 185px;
  flex: 1 1 200px;
}
.features ul li img {
  width: 30px; height: 30px;
}

/* ==== SERVICES SECTION ==== */
.services ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 26px;
}
.services ul li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(39,65,101,0.07);
  padding: 16px 18px 14px 18px;
  font-size: 1.07rem;
  font-weight: 500;
}
.services ul li strong {
  color: #274165;
  font-family: 'Roboto Slab', serif;
  font-size: 1.15rem;
}
.services ul li span {
  margin-left: 4px;
  color: #395677;
  font-weight: 400;
  font-size: 0.98rem;
  display: inline-block;
  margin-top: 2px;
}
.service-cta {
  margin-top: 16px;
  display: flex;
  gap: 16px;
}

/* ==== CTA SECTIONS ==== */
section.cta, .cta-section {
  background: #274165;
  color: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 22px rgba(39,65,101,0.11);
  margin-bottom: 60px;
  padding: 36px 20px;
}
section.cta .cta, .cta-section .cta {
  background: #60A917;
  color: #fff;
  margin-top: 18px;
  border-radius: 8px;
}
section.cta h2, .cta-section h2, .cta-section h1 {
  color: #fff;
}
section.cta p, .cta-section p {
  color: #D5E9F6;
  margin-bottom: 18px !important;
}

/* ==== SEARCHBAR ==== */
.searchbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 8px 0;
}
.searchbar input[type=search] {
  border: 1.5px solid #D5E9F6;
  border-radius: 7px;
  box-shadow: 0 1px 6px rgba(39,65,101,0.07);
  font-size: 1.05rem;
  padding: 10px 45px 10px 15px;
  width: 100%;
  max-width: 400px;
  font-family: 'Open Sans', Arial, sans-serif;
  outline: none;
  color: #274165;
  background: #F7FAFC;
  transition: border 0.17s, box-shadow 0.13s;
}
.searchbar input[type=search]:focus {
  border-color: #60A917;
  box-shadow: 0 2px 14px rgba(39,65,101,0.14);
}

/* ==== FOOTER ==== */
footer {
  background: #fff;
  color: #274165;
  padding: 36px 0 12px 0;
  box-shadow: 0 -2px 14px rgba(39,65,101,0.04);
  font-size: 1rem;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.footer-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #274165;
  font-size: 0.99rem;
  transition: color 0.17s;
  border-radius: 6px;
  padding: 4px 7px;
}
.footer-nav a:hover {
  color: #60A917;
  background: #D5E9F6;
}
footer .contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.97rem;
  align-items: center;
}
footer .contact-details img {
  width: 19px;
  vertical-align: middle;
  margin-right: 5px;
}
footer .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
footer .brand img {
  width: 40px;
  height: auto;
  border-radius: 8px;
}
footer .brand span {
  color: #395677;
  font-size: 0.97rem;
}

/* ==== BUTTONS & CTA ==== */
.cta, a.cta, button.cta {
  display: inline-block;
  background: #60A917;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 600;
  padding: 13px 30px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(96,169,23,0.11);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.16s, color 0.14s, transform 0.12s;
  margin-right: 8px;
  margin-bottom: 6px;
  text-align: center;
}
.cta:hover, .cta:focus, a.cta:hover, a.cta:focus, button.cta:hover, button.cta:focus {
  background: #39710F;
  color: #fff;
  box-shadow: 0 8px 24px rgba(57,113,15,0.18);
  transform: translateY(-2px) scale(1.027);
  outline: none;
}

button, input[type=submit] {
  cursor: pointer;
  border-radius: 7px;
  border: none;
  background: #60A917;
  color: #fff;
  padding: 10px 19px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.17s;
}
button:hover, button:focus, input[type=submit]:hover, input[type=submit]:focus {
  background: #39710F;
  color: #fff;
}


/* ==== TABLES (Comparison etc) === */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #f9fcfd;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(39,65,101,0.07);
  font-size: 1rem;
  margin: 18px 0 0 0;
  overflow: hidden;
}
.comparison-table th, .comparison-table td {
  padding: 15px 14px;
  text-align: left;
  border-bottom: 1px solid #D5E9F6;
}
.comparison-table th {
  background: #D5E9F6;
  color: #274165;
  font-family: 'Roboto Slab', serif;
  font-size: 1.12rem;
}
.comparison-table tr:last-child td {
  border-bottom: none;
}
@media (max-width:600px) {
  .comparison-table, .comparison-table thead, .comparison-table tbody, .comparison-table th, .comparison-table td, .comparison-table tr {
    display: block;
  }
  .comparison-table th, .comparison-table td {
    padding: 10px 10px;
    border-bottom: 1px solid #D5E9F6;
  }
  .comparison-table tr { margin-bottom: 20px; }
}

.comparison-highlights ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  margin-left: -5px;
}
.comparison-highlights ul li {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  gap: 10px;
}
.comparison-highlights ul img {
  width: 25px;
}

/* ==== MAP EMBED (Contact) ==== */
.map-embed {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(39,65,101,0.07);
  padding: 22px 16px;
  margin-top: 18px;
  font-size: 1rem;
  color: #274165;
}

/* ==== LEGAL PAGES ===== */
.legal .text-section {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(39,65,101,0.06);
  padding: 38px 26px 32px;
  font-size: 1rem;
  color: #274165;
}
.legal h3 {
  font-size: 1.15rem;
  margin-top: 26px;
  margin-bottom: 12px;
  color: #274165;
}
.legal ul {
  list-style: disc;
  margin-left: 24px;
  margin-bottom: 20px;
}
.legal li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #395677;
}

/* ==== GENERAL SPACING AND FLEX LAYOUTS ==== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section {
    padding: 27px 3vw;
    margin-bottom: 34px;
  }
  .container {
    padding: 0 10px;
  }
  .content-wrapper, .features ul {
    gap: 14px !important;
  }
  .footer-nav {
    gap: 18px;
  }
  .testimonial-card {
    padding: 18px 10px 16px;
    max-width: 100%;
  }
}

.card-container, .content-grid, .features ul, .comparison-highlights ul, .footer-nav,
.contact-details, .brand, .testimonials .content-wrapper
{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.text-image-section {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 14px; }
  .features ul { flex-direction: column; gap: 8px; }
  .card-container, .content-grid, .comparison-highlights ul {
    flex-direction: column;
  }
}

/* ==== MICRO-ANIMATIONS & TRANSITIONS ==== */
a, button, .cta, .testimonial-card {
  transition: color 0.18s, background 0.14s, box-shadow 0.13s, transform 0.14s;
}

/* ==== ACCESSIBILITY ==== */
a:focus-visible, button:focus-visible, .cta:focus-visible {
  outline: 2.5px solid #60A917;
  outline-offset: 2px;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: #fff;
  color: #274165;
  box-shadow: 0 -2px 24px rgba(39,65,101,0.14);
  padding: 22px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: cookieSlideIn 0.35s cubic-bezier(.74,-0.05,.82,1.4);
}
.cookie-banner-text {
  max-width: 700px;
  text-align: center;
  font-size: 1.06rem;
  color: #26415d;
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 10px;
  justify-content: center;
}
.cookie-banner .cta, .cookie-banner button {
  padding: 9px 20px;
  font-size: 1rem;
  border-radius: 7px;
  min-width: 120px;
  box-shadow: none;
  margin: 0;
}
.cookie-accept-btn {
  background: #60A917;
  color: #fff;
}
.cookie-accept-btn:hover, .cookie-accept-btn:focus {
  background: #39710F;
}
.cookie-reject-btn {
  background: #E7EAE9;
  color: #274165;
  border: 1.3px solid;
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus {
  background: #D5E9F6;
  color: #39710F;
}
.cookie-settings-btn {
  background: #D5E9F6;
  color: #274165;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #BEE1F0;
  color: #39710F;
}
@keyframes cookieSlideIn {
  0% { transform: translateY(60px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ==== COOKIE SETTINGS MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(39,65,101,0.36);
  z-index: 2020;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.3s cubic-bezier(.76,-0.08,.82,1.2);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 15px;
  padding: 32px 24px;
  max-width: 410px;
  width: 97vw;
  box-shadow: 0 8px 36px rgba(39,65,101,0.18);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalAppear 0.28s cubic-bezier(.72,-0.13,.6,1.2);
}
@keyframes modalAppear {
  from { transform: scale(0.93); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #274165;
  cursor: pointer;
}
.cookie-modal h3 {
  color: #274165;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}
.cookie-category label {
  font-size: 1rem;
  color: #29508a;
  font-weight: 500;
}
.cookie-category input[type=checkbox] {
  accent-color: #60A917;
  width: 19px;
  height: 19px;
}
.cookie-category input[disabled] {
  accent-color: #BEE1F0;
}
.cookie-modal-btns {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal .cta {
  margin-right: 0;
  min-width: 105px;
}

/* ==== RESPONSIVE STYLES (Mobile first) ==== */
@media (max-width: 600px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.13rem; }
  .container { padding: 0 4px; }
  .section, section { padding: 19px 0; }
  .card, .testimonial-card, .text-section { padding: 10px 7px; }
  .card {
    min-width: 175px;
    font-size: 0.95rem;
  }
  .hero { padding: 15px 0 12px 0; border-radius: 0; }
  nav a { font-size: 0.99rem; }
}

/* ==== UTILITIES ==== */
.text-center { text-align: center !important; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 2px !important; } .mt-4 { margin-top: 4px !important; } .mt-8 { margin-top: 8px !important; }
.mb-2 { margin-bottom: 2px !important; } .mb-8 { margin-bottom: 8px !important; } .mb-16 { margin-bottom: 16px !important; }
.mb-32 { margin-bottom: 32px !important; }

/* ==== SCANDINAVIAN ELEMENTS ==== */
/* Pure colors, simple borders, functional micro-shadows */
.card, .testimonial-card, .features ul li, .services ul li, .text-section, .map-embed, .comparison-table {
  border: 1.5px solid #ECF2F8;
}

section.cta.js-fadein.fade-active {
  width: 100%;
}

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