/* ===============================================================
   RESET & BASELINE 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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F6FA;
  color: #223B4B;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #223B4B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #71A1C3;
  outline: none;
}
ul, ol {
  list-style-position: inside;
  margin-left: 0;
  padding-left: 0;
}


/* ===============================================================
   TYPOGRAPHY - SCANDINAVIAN CLEAN HIERARCHY
   =============================================================== */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: 0.01em;
  color: #223B4B;
  margin-bottom: 24px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: 0.01em;
  color: #223B4B;
  margin-bottom: 20px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  color: #223B4B;
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: #223B4B;
  margin-bottom: 10px;
}
p, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #223B4B;
  margin-bottom: 12px;
  line-height: 1.7;
}
strong {
  font-weight: 600;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.2rem;
  color: #223B4B;
  opacity: 0.7;
  margin-bottom: 16px;
}
blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #223B4B;
  background: #EBF0F4;
  border-left: 4px solid #71A1C3;
  padding: 18px 26px;
  margin-bottom: 8px;
  border-radius: 8px 12px 12px 8px;
  font-style: italic;
}


/* ===============================================================
   BRAND COLORS -- CSS CUSTOM PROPERTIES FOR EASE
   =============================================================== */
:root {
  --primary: #223B4B;
  --secondary: #71A1C3;
  --accent: #F5F6FA;
  --neutral: #FFFFFF;
  --muted: #E8EEF2;
  --text: #223B4B;
  --text-light: #FFFFFF;
  --border: #DBE3EA;
  --shadow: 0 2px 12px rgba(34,59,75,0.10), 0 1px 3px rgba(0,0,0,0.03);
}


/* ===============================================================
   LAYOUT: CONTAINER, FLEXBOX SYSTEM, SECTIONS
   =============================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 0;
}
@media (max-width: 991px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .section, section {
    padding: 32px 10px;
    margin-bottom: 44px;
  }
}
@media (max-width: 540px) {
  .section, section {
    padding: 20px 4px;
    margin-bottom: 24px;
  }
  .container {
    padding-left: 4px;
    padding-right: 4px;
  }
}


/* ===============================================================
   HEADER + NAVIGATION (DESKTOP + MOBILE)
   =============================================================== */
header {
  background: var(--neutral);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}
header img {
  height: 36px;
  width: auto;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  opacity: 0.93;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.18s, color 0.18s;
  margin-bottom: 0;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a.active {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}
.cta-btn {
  background: var(--secondary);
  color: var(--text-light);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 28px;
  padding: 11px 32px;
  margin-left: 18px;
  box-shadow: var(--shadow);
  border: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.18s, transform 0.14s, box-shadow 0.18s;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #223B4B;
  color: #FFFFFF;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 16px rgba(34,59,75,0.14);
}

/* ==========================
   MOBILE MENU
   ========================== */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: transparent;
  color: var(--primary);
  border: none;
  cursor: pointer;
  padding: 0 12px;
  line-height: 1;
  transition: color 0.18s;
  position: relative;
  z-index: 105;
}
.mobile-menu {
  display: none;
}
@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-btn {
    margin-left: 0;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background: rgba(34, 59, 75, 0.94);
  color: #fff;
  z-index: 2002;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.6, 0.1, 0.3, 1);
  flex-direction: column;
  display: flex;
  align-items: flex-end;
  padding-top: 26px;
  padding-right: 24px;
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0%);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2.1rem;
  cursor: pointer;
  margin-bottom: 32px;
  margin-right: 0;
  opacity: 0.92;
  transition: color 0.2s, opacity 0.18s;
  align-self: flex-end;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
  opacity: 1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.11);
  width: 100%;
  display: block;
  text-align: right;
  transition: background 0.17s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:active {
  color: var(--secondary);
  background: rgba(113,161,195,0.08);
}


/* ===============================================================
   HERO BANNER
   =============================================================== */
.hero {
  background: var(--accent);
  padding-top: 56px;
  padding-bottom: 56px;
  /* background image or subtle shapes could be added as desired */
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  min-height: 260px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 16px;
  max-width: 550px;
}
.hero h1 {
  font-size: 2.4rem;
  line-height: 1.14;
}
.hero .subheadline {
  margin-bottom: 24px;
  font-size: 1.18rem;
}

@media (max-width: 600px) {
  .hero {
    padding-top: 26px;
    padding-bottom: 30px;
  }
  .hero .content-wrapper h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  .hero .container {
    min-height: 120px;
  }
}


/* ===============================================================
   FEATURES, CARDS, CONTENT FLEXBOXES
   =============================================================== */
.features, .districts-features {
  background: var(--neutral);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.feature-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
  margin-bottom: 0;
  justify-content: space-between;
}
.feature-grid li {
  background: var(--accent);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(34,59,75,0.08);
  padding: 28px 20px 22px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid li img {
  width: 34px;
  height: 34px;
  margin-bottom: 0;
}
.feature-grid li:hover, .feature-grid li:focus {
  box-shadow: 0 4px 20px rgba(34,59,75,0.10);
  transform: translateY(-3px) scale(1.025);
  z-index: 1;
}

.service-list, .team-profiles, .step-list, .step-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--neutral);
  border: 1px solid var(--border);
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(34,59,75,0.07);
  padding: 30px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(34,59,75,0.11);
  transform: translateY(-2px) scale(1.01);
  z-index: 2;
}

.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) {
  .feature-grid, .content-grid, .card-container, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

.section .text-section {
  margin-bottom: 0;
}

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

/* ===============================================================
   ACCORDION (FAQ etc.)
   =============================================================== */
.accordion {
  background: var(--accent);
  border-radius: 10px;
  box-shadow: 0 1px 10px rgba(34,59,75,0.07);
  padding: 20px 18px;
  margin-top: 24px;
  margin-bottom: 0;
}
.accordion ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.accordion li {
  font-size: 1rem;
  color: var(--primary);
  padding-left: 0;
}


/* ===============================================================
   TESTIMONIALS
   =============================================================== */
.testimonials {
  background: var(--accent);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 40px 20px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(34,59,75,0.075);
  border-left: 7px solid var(--secondary);
  flex-direction: column;
  transition: box-shadow 0.18s, border-color 0.15s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 5px 22px rgba(113,161,195,0.12);
  border-left: 7px solid var(--primary);
}
.testimonial-card blockquote {
  background: #EBF0F4;
  border-left: 4px solid var(--secondary);
  color: var(--primary);
  font-size: 1.09rem;
  margin-bottom: 11px;
  padding: 12px 18px;
  border-radius: 6px;
}
.testimonial-person {
  color: var(--primary);
  opacity: 0.77;
  font-size: 0.98rem;
  font-style: italic;
  align-self: flex-end;
}

/* ACCESSIBILITY: ensure strong contrast in testimonial area */
.testimonial-card, .testimonials {
  color: #223B4B;
  background: #F5F6FA;
}


/* ===============================================================
   CALL TO ACTION SECTION
   =============================================================== */
.call-to-action {
  background: var(--secondary);
  border-radius: 15px;
  color: #fff;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 4px 22px rgba(113,161,195,0.08);
}
.call-to-action .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.call-to-action h2, .call-to-action p {
  color: #fff;
}
.call-to-action .cta-btn {
  background: #fff;
  color: var(--primary);
  margin-top: 15px;
  font-weight: 700;
  border: none;
  transition: background 0.19s, color 0.19s;
}
.call-to-action .cta-btn:hover, .call-to-action .cta-btn:focus {
  background: var(--primary);
  color: #fff;
}

@media (max-width: 520px) {
  .call-to-action {
    padding: 22px 8px;
    margin-bottom: 32px;
  }
}


/* ===============================================================
   FOOTER & SOCIAL ICONS
   =============================================================== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 50px 0 16px 0;
  font-size: 1rem;
  box-shadow: 0 -1px 6px rgba(34,59,75,0.06);
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px 48px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 170px;
}
.footer-links a {
  color: #fff;
  opacity: 0.8;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
  font-size: 1rem;
  margin-bottom: 0;
  transition: opacity 0.18s;
}
.footer-links a:hover, .footer-links a:focus {
  opacity: 1;
  color: var(--secondary);
}
.contact-information p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  opacity: 0.90;
  font-size: 0.99rem;
  margin-bottom: 8px;
}
.contact-information img {
  width: 18px;
  height: 18px;
}
.social-links {
  display: flex;
  gap: 18px;
}
.social-links a img {
  width: 28px;
  height: 28px;
  opacity: 0.93;
  transition: opacity 0.16s, transform 0.15s;
}
.social-links a:hover img {
  opacity: 1;
  transform: scale(1.09);
}

@media (max-width: 810px) {
  footer .container {
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
  }
}


/* ===============================================================
   PAGE SPECIFIC STYLES
   =============================================================== */
.confirmation {
  text-align: center;
}
.confirmation .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.confirmation h1 {
  color: var(--secondary);
  font-size: 2.1rem;
}
.confirmation .cta-btn {
  margin-top: 24px;
}

.map img {
  max-width: 340px;
  margin-top: 12px;
  margin-bottom: 12px;
}


/* ===============================================================
   COOKIE CONSENT BANNER + MODAL
   =============================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 16px rgba(34,59,75,0.10);
  color: var(--primary);
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 38px 18px 18px;
  gap: 22px;
  transition: transform 0.33s cubic-bezier(0.74, 0.1, 0.34, 1);
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner__text {
  font-size: 1rem;
  max-width: 640px;
  color: var(--primary);
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 20px;
  min-width: 124px;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.15s;
  box-shadow: 0 1px 3px rgba(34,59,75,0.05);
  margin-bottom: 0;
  outline: none;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.reject {
  background: #e7e9ef;
  color: var(--primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #223B4B;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: var(--secondary);
  border: 1px solid var(--secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--secondary);
  color: #fff;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 15px 8px;
  }
  .cookie-banner__actions {
    flex-direction: row;
    gap: 10px;
    justify-content: flex-end;
  }
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,59,75,0.55);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.22s;
}
.cookie-modal.hide {
  pointer-events: none;
  opacity: 0;
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 18px;
  max-width: 440px;
  min-width: 310px;
  box-shadow: 0 10px 52px rgba(34,59,75,0.16);
  padding: 34px 36px 24px 32px;
  position: relative;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 1.24rem;
  font-weight: 700;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 15px; right: 17px;
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.14s;
}
.cookie-modal .modal-close:hover {
  opacity: 1;
  color: var(--secondary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 17px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
}
.cookie-category input[type="checkbox"] {
  width: 24px;
  height: 24px;
  accent-color: var(--secondary);
}
.cookie-category .category-name {
  font-weight: 600;
  color: var(--primary);
}
.cookie-category .always-on {
  color: var(--secondary);
  font-weight: 500;
  font-size: 0.97rem;
  margin-left: 8px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 10px;
}

/* ===============================================================
   BUTTONS, INTERACTIONS AND TRANSITIONS
   =============================================================== */
button, .cta-btn, .cookie-btn {
  appearance: none;
  border: none;
  outline: none;
  cursor: pointer;
}
button:focus, .cta-btn:focus, .cookie-btn:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  padding: 9px 14px;
  border-radius: 4px;
  border: 1px solid var(--border);
  min-width: 48px;
  transition: border 0.16s, box-shadow 0.16s;
  background: #fff;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 2px var(--secondary);
}

/* ===============================================================
   RESPONSIVE: GLOBAL BREAKPOINTS
   =============================================================== */
@media (max-width: 991px) {
  .feature-grid, .content-grid, .card-container, .section .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.13rem; }
  .container, .content-wrapper {
    padding-left: 2px;
    padding-right: 2px;
  }
}

/* ===============================================================
   PRINT STYLES: REMOVE BANNERS, NAVS
   =============================================================== */
@media print {
  header, footer, .cookie-banner, .mobile-menu {
    display: none !important;
  }
  body {
    background: #fff !important;
  }
  .section, section {
    padding: 0;
    margin-bottom: 14px;
  }
}
