/* =============================
   CSS RESET & BASE STYLES
 =============================*/
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,main,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 {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F8F9FB;
  color: #22324C;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #59B1C7;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #22324C;
  outline: none;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
strong, b {
  font-weight: 700;
}

/* Typography Scale */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 16px;
  color: #22324C;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  line-height: 1.25;
  font-weight: 600;
  margin-bottom: 16px;
  color: #22324C;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 500;
  margin-bottom: 12px;
  color: #22324C;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
p {
  margin-bottom: 16px;
}

/* =============================
   LAYOUT & CONTAINERS
 =============================*/
.container {
  width: 100%;
  max-width: 1160px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(34, 50, 76, 0.05);
}

/* =============================
   HEADER & NAVIGATION
 =============================*/
header {
  background: #fff;
  box-shadow: 0 1px 6px rgba(34, 50, 76, 0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 24px;
}
header img {
  height: 36px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #22324C;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #59B1C7;
  transition: width 0.2s;
  margin-top: 2px;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}
.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #59B1C7;
  color: #fff;
  padding: 12px 32px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(89, 177, 199, 0.07);
  transition: background 0.25s, box-shadow 0.25s, transform 0.1s;
  outline: none;
  margin-left: 12px;
  text-align: center;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #22324C;
  color: #fff;
  box-shadow: 0 4px 16px rgba(34, 50, 76, 0.10);
  transform: translateY(-1px) scale(1.03);
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #22324C;
  display: none;
  cursor: pointer;
  padding: 8px 16px;
  margin-left: 12px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F8F9FB;
}

/* =============================
   MOBILE MENU
 =============================*/
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(100%);
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1200;
  box-shadow: -2px 0 16px rgba(34,50,76, 0.15);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  padding: 32px 30px 24px 30px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #22324C;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  transition: background 0.15s;
  padding: 6px 12px;
  border-radius: 6px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #F8F9FB;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-left: 0;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: #22324C;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding-left: 0;
  padding: 9px 0;
  transition: color 0.18s, background 0.15s;
  border-radius: 6px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #F8F9FB;
  color: #59B1C7;
}

/* Hide nav on mobile, show burger */
@media (max-width: 1024px) {
  .main-nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =============================
   MAIN LAYOUT & SECTIONS
 =============================*/
main {
  margin-top: 0;
  margin-bottom: 0;
}
section {
  margin-bottom: 60px;
}

/* =============================
   FLEXBOX PATTERNS
 =============================*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  padding: 28px 20px;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(34,50,76,0.07);
  flex: 1 1 320px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(34,50,76,0.09);
  transform: translateY(-4px) scale(1.012);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F8F9FB;
  color: #22324C;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(34,50,76,0.04);
  margin-bottom: 24px;
  flex-wrap: wrap;
  min-width: 0;
  transition: box-shadow 0.22s, transform 0.17s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 16px rgba(34,50,76,0.09);
  transform: translateY(-2px);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 8px;
  margin-bottom: 4px;
}
.feature-grid > div, .service-list > div {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 6px rgba(34,50,76,0.04);
  padding: 24px 18px 20px 18px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 340px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.23s, transform 0.14s;
}
.feature-grid > div:hover, .service-list > div:hover {
  box-shadow: 0 6px 20px rgba(89,177,199,0.13);
  transform: translateY(-2px) scale(1.02);
}

/* =============================
   TEXT SECTION SPECIALS
 =============================*/
.text-section {
  font-size: 1rem;
  color: #22324C;
  line-height: 1.7;
  margin-top: 0;
  margin-bottom: 18px;
}
.text-section h3 {
  margin-top: 24px;
}
.team-illustration {
  margin: 24px auto 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #F8F9FB;
  box-shadow: 0 1px 7px rgba(34,50,76,0.04);
}

/* =============================
   BUTTONS & MICRO-INTERACTIONS
 =============================*/
button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border: none;
  outline: none;
  cursor: pointer;
  background: #59B1C7;
  color: #fff;
  border-radius: 22px;
  padding: 10px 26px;
  font-size: 1rem;
  transition: background 0.2s, box-shadow 0.21s;
  box-shadow: 0 1px 6px rgba(89,177,199,0.06);
}
button:hover, button:focus, .button:hover, .button:focus {
  background: #22324C;
  color: #fff;
  box-shadow: 0 4px 16px rgba(34,50,76,0.09);
}

/* =============================
   FOOTER
 =============================*/
footer {
  background: #fff;
  color: #22324C;
  margin-top: 80px;
  padding: 0;
  box-shadow: 0 -1px 8px rgba(34, 50, 76, 0.04);
}
footer .container {
  padding: 36px 20px 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}
.main-footer-nav, .footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 4px;
}
.main-footer-nav a,.footer-legal-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  color: #22324C;
  padding: 4px 0;
  font-weight: 500;
  transition: color 0.18s;
}
.main-footer-nav a:hover, .footer-legal-nav a:hover {
  color: #59B1C7;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 15px;
}
.footer-contact img {
  vertical-align: middle;
  height: 18px;
  margin-right: 8px;
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}
.footer-social a {
  display: flex;
  background: #F8F9FB;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  transition: background 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 5px rgba(34,50,76,0.03);
}
.footer-social a:hover, .footer-social a:focus {
  background: #59B1C7;
}
.footer-social img {
  height: 20px;
  width: 20px;
}
.copyright {
  margin: 0;
  font-size: 13px;
  color: #6A7B8F;
  text-align: center;
  padding-bottom: 15px;
}

/* =============================
   COOKIE CONSENT BANNER & MODAL
 =============================*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 1500;
  background: #fff;
  border-top: 2px solid #59B1C7;
  box-shadow: 0 -2px 18px rgba(34,50,76,0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 20px;
  font-size: 1rem;
  color: #22324C;
  animation: cookie-banner-in 0.4s ease;
}
@keyframes cookie-banner-in {
  from { transform: translateY(110px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-message {
  flex: 1 1 auto;
  min-width: 0;
  margin-right: 10px;
  font-size: 1rem;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.96rem;
  padding: 8px 18px;
  margin: 0 2px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  background: #F8F9FB;
  color: #22324C;
  font-weight: 500;
  transition: background 0.22s, color 0.18s, box-shadow 0.17s;
  box-shadow: 0 1px 3px rgba(34,50,76,0.06);
}
.cookie-btn.accept {
  background: #59B1C7;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #22324C;
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus,
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #E6EEF2;
}
.cookie-btn.settings {
  background: #F8F9FB;
  color: #22324C;
}
.cookie-btn.reject {
  background: #fff;
  border: 1px solid #59B1C7;
  color: #22324C;
}

/* Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(34,50,76,0.28);
  z-index: 1900;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in 0.32s;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  padding: 32px 28px 24px 28px;
  border-radius: 22px;
  box-shadow: 0 8px 60px rgba(34,50,76,0.11);
  max-width: 400px;
  width: 96vw;
  color: #22324C;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 1rem;
  gap: 8px;
}
.cookie-category label {
  flex: 1 1 auto;
}
.cookie-toggle {
  accent-color: #59B1C7;
  width: 20px;
  height: 20px;
}
.cookie-modal-buttons {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.35rem;
  color: #22324C;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.17s;
  padding: 3px 9px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F8F9FB;
}

/* =============================
   RESPONSIVE DESIGN
 =============================*/
@media (max-width: 1280px) {
  .container {
    max-width: 960px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 720px;
  }
  .feature-grid > div, .service-list > div {
    min-width: 160px;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  header .container, .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .feature-grid, .service-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .section {
    margin-bottom: 40px;
    padding: 24px 8px;
  }
  .content-wrapper {
    padding: 0 2px;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-social {
    margin-bottom: 10px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px;
    font-size: 1rem;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.07rem; }
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    padding: 18px 8px;
  }
}
@media (max-width: 480px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .section {
    padding: 14px 2px;
  }
  .feature-grid > div, .service-list > div {
    padding: 12px 6px 12px 8px;
  }
}

/* =============================
   VISUAL ELEMENTS SCANDINAVIAN STYLE
 =============================*/
/* Scandinavian Clean Design Aesthetic */
section, .feature-grid > div, .service-list > div, .card, .testimonial-card, .footer-contact, .cookie-modal {
  border-radius: 16px;
}
section, .card, .testimonial-card, .feature-grid > div, .service-list > div {
  border: 1px solid #E6EEF2;
}
.card, .feature-grid > div, .service-list > div {
  background: #fff;
  box-shadow: 0 1px 7px rgba(34,50,76,0.05);
}
.testimonial-card {
  background: #F8F9FB;
  border: 1px solid #D6DEE7;
}

/* =============================
   FORMS (generic styles)
 =============================*/
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #C1CCD6;
  padding: 10px 14px;
  background: #F8F9FB;
  width: 100%;
  margin-bottom: 16px;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #59B1C7;
  outline: none;
}
label {
  font-size: 0.99rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #22324C;
  margin-bottom: 6px;
  display: block;
}

/* =============================
   MICRO INTERACTIONS
 =============================*/
.feature-grid > div img, .service-list > div img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  filter: grayscale(18%) brightness(1.06);
}
.feature-grid > div h3, .service-list > div h3 {
  margin-bottom: 8px;
}

/* =============================
   SCROLLBAR (subtle Scandinavian style)
 =============================*/
body::-webkit-scrollbar {
  width: 10px;
  background: #F8F9FB;
}
body::-webkit-scrollbar-thumb {
  background: #E6EEF2;
  border-radius: 8px;
}

/* =============================
   HELPER / UTILITY CLASSES
 =============================*/
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.gap-8 { gap: 8px; }

/* =============================
   ACCESSIBILITY OUTLINE
 =============================*/
a:focus, button:focus, .cta-button:focus, .cookie-btn:focus {
  outline: 2px solid #59B1C7;
  outline-offset: 2px;
}

/* =============================
   NO GRID OR COLUMNS!
 =============================*/
/* All layout containers use only flexbox with flex-wrap when needed */
