/* ===================================================
   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 {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  background: #F8FAFB;
  color: #1C2A36;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #113F67;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFB30F;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
input, button, textarea, select {
  font: inherit;
  color: inherit;
  border-radius: 7px;
  outline: none;
  box-shadow: none;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
address {
  font-style: normal;
  font-size: 1rem;
  color: #52616A;
}

/* ===================================================
   FONTS & TYPOGRAPHY
   =================================================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #113F67;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.125rem;
}
p {
  color: #333;
  font-size: 1rem;
  margin-bottom: 16px;
}
.legal, .small {
  font-size: 0.88rem;
  color: #5e6e7c;
  margin-top: 8px;
}
strong {
  font-weight: 700;
}

/* ===================================================
   COLORS 
   =================================================== */
:root {
  --primary: #113F67;
  --secondary: #FFB30F;
  --accent: #FFFFFF;
  --background: #F8FAFB;
  --card: #FFFFFF;
  --muted: #EBEBEB;
  --border: #DBE7EE;
  --text: #113F67;
  --text-alt: #52616A;
}

/* ===================================================
   LAYOUT: GENERAL CONTAINERS
   =================================================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
}

/* Section Spacing */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--background);
  border-radius: 16px;
}

/* ===================================================
   HEADER & NAVIGATION
   =================================================== */
header {
  background: var(--accent);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px 0 rgba(17,63,103,0.04);
  position: relative;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header a img {
  max-height: 42px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  padding: 6px 11px;
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: var(--secondary);
  color: #113F67;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--primary);
  color: var(--accent);
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  padding: 11px 26px;
  border: none;
  margin-left: 16px;
  margin-right: 8px;
  box-shadow: 0 2px 8px rgba(17,63,103,.06);
  transition: background .18s, color .18s, box-shadow .25s;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--secondary);
  color: #113F67;
  box-shadow: 0 4px 16px 0 rgba(17,63,103,.11);
}

/* Mobile Menu Button */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: #113F67;
  border: none;
  font-size: 2rem;
  line-height: 1;
  border-radius: 8px;
  padding: 6px 14px 6px 14px;
  margin-left: 8px;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #ffd46a;
}

/* Header Responsive (Navigation) */
@media (max-width: 991px){
  header nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ===================================================
   MOBILE MENU OVERLAY & ANIMATION
   =================================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17,63,103,0.97);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.59,1.13,.59,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0) !important;
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 24px 0 0 24px;
  font-size: 2.2rem;
  color: var(--secondary);
  background: none;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  transition: color 0.2s;
  z-index: 3;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #ffd46a;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 27px;
  margin: 48px 0 0 38px;
}
.mobile-nav a {
  color: var(--accent);
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.28rem;
  border-radius: 8px;
  padding: 10px 18px;
  transition: background 0.20s, color 0.15s;
  background: none;
  width: max-content;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #113F67;
}
@media (min-width: 992px) {
  .mobile-menu, .mobile-menu-close {
    display: none !important;
  }
}
@media (max-width: 480px) {
  .mobile-nav {
    margin-left: 18px;
  }
}

/* ===================================================
   MAIN SECTIONS AND FLEX LAYOUTS 
   =================================================== */
main {
  min-height: 350px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--background);
  border-radius: 18px;
  box-shadow: 0 1px 8px 0 rgba(17,63,103,0.045);
}
/* Card container styles (flex only) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card);
  border-radius: 15px;
  box-shadow: 0 1.5px 12px 0 rgba(17,63,103,.05);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 18px;
  min-width: 270px;
  flex: 1 1 320px;
  transition: transform 0.17s, box-shadow 0.19s;
}
.card:hover, .card:focus-within {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 6px 25px 0 rgba(17,63,103,0.16);
}
.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;
  margin-bottom: 30px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--card);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(17,63,103,0.07);
  margin-bottom: 20px;
  min-width: 240px;
  font-size: 1.08rem;
  color: #113F67;
}
.testimonial-card p {
  flex: 1 1 80%;
  color: #113F67;
  margin-bottom: 0;
  font-style: italic;
}
.testimonial-card span {
  color: #52616A;
  font-size: 0.98rem;
  margin-left: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  margin-top: 10px;
  margin-bottom: 24px;
  color: #293845;
}
.map-placeholder {
  margin-top: 16px;
  background: #EBEBEB;
  color: #394654;
  border-radius: 8px;
  padding: 15px 23px;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .content-wrapper {
    gap: 18px;
  }
  section,
  .section {
    padding: 28px 7px;
    border-radius: 13px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .btn-primary {
    width: 100%;
    padding: 13px;
    margin-left: 0; margin-right: 0;
  }
  .testimonial-card {
    font-size: 0.97rem;
    padding: 13px;
  }
}

/* ===================================================
   FORMS & INPUTS
   =================================================== */
input[type="email"], input[type="search"], input[type="text"], textarea {
  padding: 11px 15px;
  border: 1px solid var(--border);
  font-size: 1rem;
  border-radius: 8px;
  background: #FBFCFD;
  color: #293845;
  transition: border 0.2s;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
}
input[type="email"]:focus, input[type="search"]:focus, input[type="text"]:focus, textarea:focus {
  border: 1.5px solid var(--secondary);
  background: #FFF8EB;
}
form {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 10px;
  margin-bottom: 13px;
}
button[type="submit"] {
  margin-top: 2px;
}

/* ===================================================
   FOOTER
   =================================================== */
footer {
  background: #F4F6F8;
  border-top: 1px solid var(--border);
  padding: 0;
  margin-top: 65px;
}
footer .container {
  padding: 28px 20px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer a img {
  max-height: 38px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #113F67;
  font-size: 0.98rem;
  margin-bottom: 6px;
  padding-left: 2px;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.2s, color 0.19s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--secondary);
  color: #113F67;
}
footer address {
  font-size: 0.96rem;
  color: #52616A;
  margin-bottom: 6px;
  line-height: 1.5;
  margin-top: 8px;
}

@media (max-width: 768px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  footer .container {
    padding: 18px 7px;
  }
}

/* ===================================================
   COOKIES CONSENT BANNER AND MODAL
   =================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  background: var(--card);
  box-shadow: 0 -2px 18px rgba(17,63,103,0.09);
  border-top: 1px solid var(--border);
  padding: 20px 35px;
  z-index: 3000;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.42s cubic-bezier(.59,1.13,.59,1), opacity 0.5s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-msg {
  color: #293845;
  font-size: 1rem;
  flex: 1 1 70%;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
}
.cookie-banner .btn-cookie {
  padding: 9px 20px;
  border-radius: 7px;
  border: none;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  background: var(--secondary);
  color: var(--primary);
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  box-shadow: 0 1px 4px rgba(17,63,103,.07);
}
.cookie-banner .btn-cookie:focus, .cookie-banner .btn-cookie:hover {
  background: var(--primary);
  color: var(--secondary);
}
.cookie-banner .btn-reject {
  background: #EBEBEB;
  color: #113F67;
}
.cookie-banner .btn-reject:focus, .cookie-banner .btn-reject:hover {
  background: #d3dbe3;
  color: #FFB30F;
}
.cookie-banner .btn-settings {
  background: var(--primary);
  color: var(--accent);
}
.cookie-banner .btn-settings:focus, .cookie-banner .btn-settings:hover {
  background: var(--secondary);
  color: #113F67;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 16px 10px 13px 10px;
    font-size: 0.99rem;
  }
  .cookie-banner .cookie-actions {
    gap: 8px;
  }
}

/* Cookie Modal for Preferences */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17,63,103,0.57);
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #FFFFFF;
  border-radius: 14px;
  max-width: 390px;
  width: 94vw;
  padding: 35px 30px 25px 30px;
  box-shadow: 0 7px 34px 0 rgba(17,63,103,0.23);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  animation: modalAppear .37s cubic-bezier(.59,1.13,.59,1);
}
@keyframes modalAppear {
  0% { transform: scale(0.8) translateY(70px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.33rem;
  margin-bottom: 14px;
  color: #113F67;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 17px;
  font-size: 1.03rem;
  gap: 10px;
}
.cookie-modal label {
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #113F67;
  width: 18px; height: 18px;
  margin-right: 8px;
}
.cookie-modal .cookie-desc {
  font-size: 0.98rem;
  color: #545a63;
  margin-bottom: 18px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 9px;
}
.cookie-modal .btn-cookie {
  min-width: 110px;
  padding: 8px 0;
}
.cookie-modal .cookie-modal-close {
  position: absolute; top: 15px; right: 15px;
  background: none; border: none;
  font-size: 2.1rem;
  color: #113F67;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal .cookie-modal-close:focus, .cookie-modal .cookie-modal-close:hover {
  color: #FFB30F;
}

/* ===================================================
   MISC: UTILITY CLASSES, ANIMATIONS
   =================================================== */
.shadow-sm {
  box-shadow: 0 1px 3px rgba(17,63,103,0.10);
}
.rounded-md {
  border-radius: 12px;
}
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

::-webkit-scrollbar {
  width: 10px;
  background: #F4F6F8;
}
::-webkit-scrollbar-thumb {
  background: #d0dde9;
  border-radius: 7px;
}

/* ===== Scandinavian Clean Visual Touches ===== */
section, .card {
  background: linear-gradient(120deg,#fff 92%,#F8FAFB 100%);
  border: 1px solid var(--border);
}
.card {
  /* to evoke functionality/material minimalism */
  border-radius: 15px;
  box-shadow: 0 1.5px 11px 0 rgba(17,63,103,0.09);
}
.testimonial-card {
  background: #F7FAFC;
  border: 1px solid #EBEBEB;
  color: #113F67;
  font-family: 'Open Sans', Arial, sans-serif;
}

.card, .testimonial-card, .text-section {
  /* Provide breathing room */
  margin-bottom: 20px !important;
}

/* FAQs and Info blocks */
.text-section p, .text-section ul, .text-section ol {
  margin-bottom: 10px;
}

/* Decorative subtle divider for headers */
h2 {
  position: relative;
  padding-bottom: 8px;
}
h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #FFB30F;
  border-radius: 2px;
  margin-top: 8px;
}

/* ===================================================
   FOCUS STATE FOR ACCESSIBILITY
   =================================================== */
a:focus, button:focus, input:focus, .btn-primary:focus {
  outline: 2px solid #FFB30F;
  outline-offset: 2px;
}

/* ===================================================
   SPACING BETWEEN COMPONENTS (MANDATED)
   =================================================== */
/* All content cards/sections must have minimum 20px margin between them */
.card + .card,
.testimonial-card + .testimonial-card,
section + section,
.content-wrapper > * + * {
  margin-top: 20px !important;
}

/* Prevent overlap on mobile */
@media (max-width: 480px) {
  .card, .testimonial-card, section, .section {
    min-width: 0;
    width: 100%;
  }
  .container {
    padding-left: 4px;
    padding-right: 4px;
  }
}

/* ===================================================
   PRINT MINIMAL STYLES (OPTIONAL) 
   =================================================== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff !important; }
  section, .section { box-shadow: none !important; border: none !important; }
}

/* END OF CSS */
