/* CSS RESET & BASELINE */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #222;
  background: #F4F6F8;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
  display: block;
}
ul, ol {
  margin: 0 0 1.2em 0;
  padding-left: 1.2em;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 24px;
}
th, td {
  padding: 12px 16px;
  border-bottom: 1px solid #e2e6ea;
  text-align: left;
}
th {
  background: #e9ecef;
  font-weight: 600;
}
/* SCANDINAVIAN CLEAN THEME (Brand Colors Included) */
:root {
  --primary: #246886;
  --secondary: #FDBD2F;
  --accent: #F4F6F8;
  --text: #222;
  --heading: #222;
  --white: #fff;
  --card-bg: #fff;
  --card-border: #edeff1;
  --shadow: 0 2px 16px rgba(36,104,134,.07);
  --radius: 14px;
  --focus: #24688633;
}

body {
  background: var(--accent);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--heading);
  font-weight: 700;
  margin-bottom: 0.5em;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 0.65em; }
h2 { font-size: 2rem; margin-bottom: 0.6em; }
h3 { font-size: 1.38rem; margin-bottom: 0.5em; }
h4 { font-size: 1.12rem; margin-bottom: 0.5em; }
p, li, td, th { font-size: 1rem; }
a {
  color: var(--primary);
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #17405a;
  text-decoration: underline;
}
/* LAYOUT SPACING PATTERNS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.section {
  padding: 40px 20px;
  background: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--card-bg);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  position: relative;
  padding: 28px 22px;
  min-width: 260px;
  flex: 1 1 320px;
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 22px;
  margin-bottom: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: #222;
  max-width: 580px;
  transition: box-shadow .2s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 28px rgba(36,104,134,.13);
  border-color: var(--primary);
}
.rating-summary {
  margin-top: 16px;
  font-size: 1.15em;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 240px;
  flex: 1 1 200px;
}
/* HERO SECTION */
.hero-section {
  background: linear-gradient(115deg, #eff2f5 85%, var(--secondary) 120%);
  border-radius: 0 0 60px 0 / 0 0 60px 0;
  box-shadow: 0 1px 24px 0 rgba(36,104,134,0.09);
  padding: 60px 0 50px 0;
  margin-bottom: 56px;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 30px;
}
.hero-section h1 {
  color: var(--primary);
  font-size: 2.8rem;
  margin-bottom: 10px;
}
.hero-section p {
  font-size: 1.25rem;
  color: #29424c;
  margin-bottom: 20px;
}
.hero-section .button.primary {
  margin-top: 8px;
}

/* FEATURES SECTION */
.features-section {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.features-section h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 28px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-bottom: 8px;
}
.feature-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 18px;
  flex: 1 1 220px;
  min-width: 180px;
  border: 1px solid #e1e1e7;
  transition: box-shadow .18s, border-color .18s;
}
.feature-grid img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-bottom: 10px;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 26px rgb(36 104 134 / 18%);
  border-color: var(--primary);
}
.feature-grid h3 {
  color: var(--primary);
  font-size: 1.18rem;
}

/* CTA SECTION */
.cta-section {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  margin-bottom: 48px;
}
.cta-section h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 24px;
  letter-spacing: -.5px;
}
.cta-section .button.primary {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
}
.cta-section .button.primary:hover {
  background: #ffce53;
  color: var(--primary);
}

/* FAQ ACCORDION */
.faq-accordion {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
}
.faq-accordion li {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 20px 16px 22px;
  transition: box-shadow .13s, border-color .13s;
}
.faq-accordion li strong {
  display: block;
  color: var(--primary);
  cursor: pointer;
  margin-bottom: 6px;
  font-style: normal;
  font-size: 1.04rem;
}
.faq-accordion li div {
  color: #29424c;
  font-size: 0.98rem;
  margin-top: 0.2em;
}
.faq-accordion li:hover, .faq-accordion li:focus-within {
  border-color: var(--primary);
  box-shadow: 0 4px 18px rgb(36 104 134 / 11%);
}

/* BUTTONS */
.button, button, .button.primary, .button.secondary {
  appearance: none;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.72em 1.55em;
  border-radius: 40px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(36,104,134,0.08);
  transition: background .16s, color .16s, box-shadow .14s, border-color .14s;
  margin-top: 12px;
  margin-bottom: 12px;
  outline: none;
  text-align: center;
  display: inline-block;
  letter-spacing: .02em;
}
.button.primary {
  background: var(--primary);
  color: #fff;
}
.button.primary:hover, .button.primary:focus {
  background: #17405a;
  color: #fff;
  box-shadow: 0 4px 16px rgba(36,104,134,0.18);
}
.button.secondary {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
}
.button.secondary:hover, .button.secondary:focus {
  background: #ffe69c;
  color: var(--primary);
}
.button:active {
  background: #1b4d60;
}

/* NAVIGATION */
header {
  background: var(--card-bg);
  border-bottom: 1px solid #e6e8eb;
  box-shadow: 0 2px 12px rgba(36,104,134,0.06);
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 14px;
  position: relative;
  padding-top: 8px;
  padding-bottom: 8px;
}
header nav {
  display: flex;
  gap: 22px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: var(--text);
  padding: 6px 0;
  font-size: 1em;
  transition: color .16s;
}
header nav a:hover, header nav a:focus {
  color: var(--primary);
}
header img {
  height: 36px;
  width: auto;
  margin-right: 12px;
}
header .button.primary {
  margin-left: 24px;
}
@media (max-width: 990px) {
  header .container nav {
    display: none;
  }
  header .button.primary {
    display: none;
  }
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--primary);
  font-size: 2.1rem;
  padding: 4px 10px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin-left: auto;
  transition: background .15s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--primary);
  background: #e8ecef;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(244,246,248,0.97);
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .35s cubic-bezier(.7,.13,.23,1), opacity .21s, visibility .21s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 24px;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  background: none;
  color: var(--primary);
  font-size: 2.2rem;
  border: none;
  align-self: flex-end;
  margin-right: 24px;
  margin-bottom: 12px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding: 0 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  padding: 8px 0;
  border-radius: 6px;
  transition: background .14s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}
@media (max-width: 990px) {
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: flex;
  }
}
@media (min-width: 991px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* FOOTER */
footer {
  background: #f8fafb;
  border-top: 1px solid #e6e8eb;
  padding: 38px 0 30px 0;
  font-size: 0.97rem;
  color: #29424c;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: color .14s;
}
.footer-nav a:focus, .footer-nav a:hover {
  color: var(--secondary);
}
.footer-contact {
  color: #29424c;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-contact a {
  color: var(--primary);
  text-decoration: underline;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.04em;
  color: #8c969d;
  margin-top: 8px;
}
.footer-brand img {
  width: 34px;
  height: auto;
  margin-right: 5px;
}

/* UTILITY: TEXT SECTION */
.text-section {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.text-section h2 {
  font-size: 1.18em;
  color: var(--primary);
  margin-bottom: 0.4em;
}
.text-section p img, .text-section img {
  vertical-align: middle;
  margin-right: 6px;
  width: 20px;
}

/* UTILITY */
.map-embed {
  margin-top: 10px;
  padding: 18px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border);
  color: #29424c;
}

/* RESPONSIVE DESIGN */
@media (max-width: 990px) {
  .container {
    padding: 0 14px;
  }
  .section {
    padding: 36px 6px;
    margin-bottom: 36px;
  }
  .feature-grid {
    gap: 19px;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .card-container, .content-grid, .feature-grid, .footer-nav {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  header .container {
    padding-top: 0;
    padding-bottom: 0;
    min-height: 58px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.63rem; }
  h2 { font-size: 1.28rem; }
  .hero-section { padding: 44px 0 28px 0; border-radius: 0 0 28px 0/0 0 28px 0; }
  .section { padding: 28px 3px; margin-bottom: 20px; }
}

/* TABLE STYLE */
table {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(36,104,134,0.06);
  font-size: 0.99rem;
}
th, td {
  border-bottom: 1px solid #e2e6ea;
}
thead tr {
  background: #eff2f5;
}
tr:last-child td { border-bottom: none; }

/* LIST STYLE */
ul, ol {
  padding-left: 1.45em;
  margin-bottom: 1.1em;
}
ul li, ol li {
  margin-bottom: 0.33em;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

/* MICRO-INTERACTIONS */
.button, button {
  transition: background 0.17s, box-shadow .13s, color .16s;
}
.button:focus {
  outline: 2px solid var(--primary);
  box-shadow: 0 2px 12px var(--focus);
}
.feature-grid > div:active {
  transform: translateY(2px) scale(.99);
}
.header nav a:active {
  color: var(--secondary);
}

/* ACCESSIBILITY / FOCUS STATES */
a:focus, button:focus, .button:focus {
  outline: 2px solid var(--primary); /* High contrast for accessibility */
  outline-offset: 2px;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 50001;
  background: var(--card-bg);
  box-shadow: 0 -2px 16px rgba(36,104,134,0.11);
  border-top: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px;
  font-size: 1rem;
  max-width: 100vw;
  transition: transform .29s cubic-bezier(.8, .18, .15, 1.3);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner-message {
  flex: 1 1 60%;
  color: #28353d;
  margin-right: 16px;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 0.5em 1.45em;
  border-radius: 30px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background .13s, color .13s, box-shadow .11s;
  margin-left: 0;
}
.cookie-btn.secondary {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 600;
}
.cookie-btn.secondary:hover {
  background: #fed44d;
}
.cookie-btn.settings {
  background: #edeff2;
  color: var(--primary);
  font-weight: 600;
}
.cookie-btn.settings:hover {
  background: #d4e1eb;
  color: var(--primary);
}
.cookie-btn:focus {
  outline: 2px solid var(--primary);
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 9px;
    font-size: 0.97rem;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  z-index: 50100;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(36,104,134,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity .22s;
}
.cookie-modal.hide {
  pointer-events: none;
  opacity: 0;
}
.cookie-modal-content {
  background: var(--card-bg);
  box-shadow: 0 8px 32px rgba(36,104,134,0.13);
  border-radius: var(--radius);
  min-width: 92vw;
  max-width: 480px;
  padding: 38px 32px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  color: var(--text);
}
.cookie-modal-heading {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.19rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-toggle-label {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
  font-weight: 500;
  color: #31424f;
  flex: 1;
}
.cookie-modal-toggle {
  appearance: none;
  width: 46px;
  height: 26px;
  background: #edf2f7;
  border-radius: 16px;
  position: relative;
  outline: none;
  margin-right: 0;
  transition: background .12s;
  cursor: pointer;
  vertical-align: middle;
}
.cookie-modal-toggle:checked {
  background: var(--primary);
}
.cookie-modal-toggle::before {
  content: '';
  display: block;
  position: absolute;
  left: 4px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform .21s cubic-bezier(.65,.08,.47,1.4);
}
.cookie-modal-toggle:checked::before {
  transform: translateX(20px);
}
.cookie-modal-category[aria-disabled="true"] .cookie-modal-toggle {
  opacity: 0.6;
  pointer-events: none;
}
.cookie-modal-close {
  background: none;
  border: none;
  position: absolute;
  top: 15px;
  right: 18px;
  font-size: 1.6rem;
  color: var(--primary);
  cursor: pointer;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 6px;
  flex-wrap: wrap;
}

/* ANIMATIONS/MICROINTERACTIONS */
.testimonial-card {
  transition: box-shadow .18s, transform .18s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 28px rgba(36,104,134,0.15);
  transform: translateY(-3px) scale(1.02);
}
.button.primary:active {
  background: #17405a;
  color: #fff;
}
.button, .cookie-btn {
  will-change: background, color, box-shadow;
}
.button, .cookie-btn, .feature-grid > div {
  transition: background .15s, color .14s, box-shadow .14s, border-color .14s, transform .11s;
}
.mobile-menu, .cookie-banner, .cookie-modal {
  will-change: transform, opacity;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar { width: 10px; background: #eceff1; }
::-webkit-scrollbar-thumb { background: #d4dde5; border-radius: 6px; }
