/* ==== 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;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body {
  background: #F3F6FB;
  color: #2d3642;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 1rem;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #355399;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:hover, a:focus {
  color: #E3B13C;
}
ul, ol {
  margin: 0 0 1.5em 1.2em;
}
li {
  margin-bottom: 0.5em;
}
button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* ==== BRAND TYPOGRAPHY ==== */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 0.75em;
  color: #355399;
  letter-spacing: -1px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  color: #355399;
  margin-bottom: 0.7em;
  letter-spacing: -0.5px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: #355399;
  margin-bottom: 0.5em;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #355399;
  margin-bottom: 0.3em;
}
p, li, span, label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #2d3642;
  line-height: 1.6;
}
strong, b {
  font-weight: 700;
}

/* ==== CONTAINER, SECTION & LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(61,81,122,0.04);
  transition: box-shadow 0.23s;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 992px) {
  .section {
    padding: 56px 32px;
    gap: 32px;
  }
}

/* ==== FLEXBOX UTILITIES (MANDATORY CLASS STYLES) ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 12px rgba(61,81,122,0.08);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.23s, transform 0.25s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(61,81,122,0.13);
  transform: translateY(-3px);
}
.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) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f6f8fb;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(53,83,153,0.06);
  margin-bottom: 20px;
  flex-direction: column;
  align-items: flex-start;
  border-left: 5px solid #E3B13C;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== CORE SCANDINAVIAN CLEAN STYLES ==== */
body {
  background: #F3F6FB;
  color: #2d3642;
  letter-spacing: 0.02em;
}

section {
  background: transparent;
  margin-bottom: 60px;
}
.hero {
  background: #F3F6FB;
  padding: 60px 0 40px 0;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  text-align: center;
  max-width: 700px;
}

.features ul,
.features ol {
  background: #fff;
  padding: 16px 25px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(61,81,122,0.03);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.features ul li, .features ol li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  color: #466599;
  font-family: 'Roboto', Arial, sans-serif;
  background: none;
  border-radius: 7px;
  padding: 6px 0;
}
.features ul li img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}
.services ul,
.services .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  background: none;
  list-style: none;
  margin-bottom: 22px;
  padding: 0;
}
.services ul li,
.services .service-list > div,
.services .service-list > li {
  flex: 1 1 230px;
  min-width: 240px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(53,83,153,0.07);
  padding: 23px 20px 16px 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.24s, transform 0.18s;
}
.services ul li:hover,
.services .service-list > div:hover {
  box-shadow: 0 6px 18px rgba(53,83,153,0.14);
  transform: translateY(-2px);
}
.price {
  margin-top: auto;
  font-size: 1rem;
  font-weight: 500;
  color: #E3B13C;
  letter-spacing: 0.02em;
  background: #FDF6E8;
  padding: 4px 12px 3px 11px;
  border-radius: 8px;
  margin-left: -4px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  color: #44607E;
}
.contact-details img {
  width: 22px; height: 22px; object-fit: contain;
}

.brand-info {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #687289;
  font-size: 0.97rem;
  margin-top: 12px;
}
.brand-info img {
  width: 30px;
  height: 30px;
}

/* ==== BUTTONS and CTA ==== */
.btn-primary, .btn-secondary {
  padding: 11px 32px 11px 32px;
  border-radius: 40px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(53,83,153,0.07);
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  margin: 14px 2px 0 0;
}
.btn-primary {
  background: #355399;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #E3B13C;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 16px rgba(227,177,60,0.09);
}
.btn-secondary {
  background: #E3B13C;
  color: #fff;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #355399;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 16px rgba(53,83,153,0.13);
}

/* ==== HEADER, NAVIGATION ==== */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(61,81,122,0.04);
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo img {
  height: 42px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  color: #355399;
  padding: 8px 10px;
  border-radius: 9px;
  transition: background 0.13s, color 0.13s;
}
.main-nav a:hover,.main-nav a:focus {
  background: #E3B13C;
  color: #fff;
}

/* ==== FOOTER ==== */
footer {
  background: #fff;
  border-top: 1px solid #e1e5ef;
  margin-top: 40px;
  padding: 32px 0 22px 0;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #8791A8;
  font-size: 1rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #E3B13C;
}

/* ==== TESTIMONIALS ==== */
.testimonials .testimonial-card {
  margin-bottom: 20px;
  background: #F8F9FB;
  border-left: 4px solid #355399;
  color: #2a3447;
  box-shadow: 0 2px 8px rgba(53,83,153,0.04);
  padding: 22px 24px;
  transition: box-shadow 0.17s, border-color 0.15s;
}
.testimonials .testimonial-card:hover {
  border-color: #E3B13C;
  box-shadow: 0 4px 18px rgba(53,83,153,0.07);
}
.testimonials .testimonial-card p {
  color: #233050;
  font-size: 1.07rem;
  font-style: italic;
}
.testimonials .testimonial-card .author {
  margin-top: 9px;
  font-size: 0.97rem;
  color: #355399;
  font-style: normal;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 500;
}

/* ==== BRAND SCANDINAVIAN ACCENTS ==== */
.section, .services ul li, .services .service-list > div, .card {
  border: 1px solid #eef0f3;
  background: #fff;
}

/* ========= RESPONSIVE DESIGN ========= */
@media (max-width: 1070px) {
  .container {
    max-width: 100%;
    padding: 0 14px;
  }
}
@media (max-width: 900px) {
  .services ul, .services .service-list {
    flex-direction: column;
    gap: 16px;
  }
  .footer-nav {
    justify-content: flex-start;
    gap: 11px;
  }
  .content-wrapper {
    padding: 0;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .hero {
    padding: 38px 0 24px;
  }
  .hero .content-wrapper { text-align: left; }
  header .container,
  .footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
  }
  .main-nav {
    display: none;
  }
  .btn-primary {
    margin-right: 0;
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
  .section {
    padding: 22px 8px;
    gap: 16px;
  }
}
@media (max-width: 510px) {
  html { font-size: 14px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.11rem; }
  .btn-primary, .btn-secondary {
    font-size: 0.96rem;
    padding: 9px 16px;
    margin-top: 10px;
  }
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: block;
  background: #355399;
  color: #fff;
  font-size: 2rem;
  padding: 3px 17px;
  border-radius: 15px;
  border: none;
  margin-left: auto;
  transition: background 0.18s;
  position: relative;
  z-index: 60;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E3B13C;
  color: #fff;
}
.main-nav + .btn-primary {
  margin-left: 22px;
}
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(53,83,153,0.93);
  transform: translateX(-105%);
  transition: transform 0.4s cubic-bezier(0.8,0,0.318,1);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 45px;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 15px;
  right: 22px;
  font-size: 2.1rem;
  color: #fff;
  background: transparent;
  border: none;
  z-index: 1202;
  outline: none;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E3B13C;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 36px;
  margin-top: 31px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 500;
  padding: 17px 0 15px 0;
  border-bottom: 1px solid rgba(250,250,255,0.10);
  transition: color 0.16s, background 0.13s;
  border-radius: 0;
  text-align: left;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E3B13C;
  background: rgba(227,177,60,0.07);
}
@media (min-width: 769px) {
  .mobile-menu { display: none; }
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 4000;
  background: rgba(255,255,255,0.98);
  color: #355399;
  box-shadow: 0 -4px 18px rgba(53,83,153,0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 32px;
  font-size: 1rem;
  border-radius: 16px 16px 0 0;
  animation: slideInCookieBanner 0.7s;
}
@keyframes slideInCookieBanner {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-text {
  max-width: 520px;
  color: #355399;
  font-size: 1.01rem;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  padding: 9px 22px;
  cursor: pointer;
  border: none;
  background: #355399;
  color: #fff;
  margin: 0;
  outline: none;
  transition: background 0.17s, color 0.17s, transform 0.15s;
}
.cookie-btn.cookie-accept {
  background: #355399;
  color: #fff;
}
.cookie-btn.cookie-accept:hover, .cookie-btn.cookie-accept:focus {
  background: #2a4067;
  color: #fff;
  transform: scale(1.04);
}
.cookie-btn.cookie-reject {
  background: #f5f6fa;
  color: #355399;
  border: 1.2px solid #355399;
}
.cookie-btn.cookie-reject:hover, .cookie-btn.cookie-reject:focus {
  background: #E3B13C;
  color: #fff;
  border: 1.2px solid #E3B13C;
}
.cookie-btn.cookie-settings {
  background: #E3B13C;
  color: #fff;
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: #355399;
  color: #fff;
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4100;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44,49,68,0.31);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.5s;
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 6px 32px rgba(61,81,122,0.14);
  max-width: 430px;
  width: 94vw;
  padding: 36px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  color: #355399;
  margin-bottom: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
}
.cookie-modal .cookie-categories {
  margin: 22px 0 8px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f7f8fc;
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(53,83,153,0.06);
}
.cookie-category-label {
  font-size: 1.01rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #355399;
}
.cookie-category-toggle input[type=checkbox] {
  accent-color: #E3B13C;
  width: 19px; height: 19px;
  cursor: pointer;
  margin-left: 8px;
}
.cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
}

/* ==== CUSTOM SCROLLBAR FOR MODERN CLEAN LOOK ==== */
::-webkit-scrollbar {
  width: 10px;
  background: #edf1f8;
}
::-webkit-scrollbar-thumb {
  background: #e0e4ec;
  border-radius: 9px;
}

/* ==== MICRO-ANIMATIONS ==== */
.card, .testimonial-card, .services ul li, .services .service-list > div {
  will-change: box-shadow, transform;
}
.card:hover, .services ul li:hover, .services .service-list > div:hover {
  box-shadow: 0 8px 32px rgba(53,83,153,0.11);
  transform: translateY(-2.5px) scale(1.013);
}
.btn-primary, .btn-secondary {
  will-change: background, color, transform, box-shadow;
}

/* ==== FORM ELEMENTS ==== */
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  background: #f9fafc;
  border-radius: 9px;
  border: 1.1px solid #ccd4e2;
  padding: 10px 13px;
  transition: border 0.18s, box-shadow 0.16s;
  outline: none;
  margin-bottom: 16px;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: #355399;
  box-shadow: 0 2px 9px rgba(53,83,153,0.09);
}
label {
  font-size: 1rem;
  margin-bottom: 4px;
  color: #355399;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ==== MISC. STRUCTURAL & HELPER CLASSES ==== */
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.mb-16 { margin-bottom: 16px!important; }
.mb-32 { margin-bottom: 32px!important; }
.gap-8 { gap: 8px!important; }
.gap-16 { gap: 16px!important; }
.gap-24 { gap: 24px!important; }
.gap-32 { gap: 32px!important; }
.text-center { text-align: center!important; }

/* ==== VISUALLY-HIDDEN for accessibility ==== */
.visually-hidden {
  position: absolute!important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); border: 0; white-space: nowrap;
}

/* ==== SCANDINAVIAN CLEAN LISTS ==== */
ul, ol {
  padding-left: 22px;
  margin-bottom: 1.2em;
}
ul li, ol li {
  margin-bottom: 0.4em;
}

/* ==== NATURAL MATERIAL & MINIMAL DECORATIVE ACCENTS ==== */
.section, .card, .testimonial-card {
  /* suggestion for faux-natural accent with soft shadow */
  background-clip: padding-box;
  border-radius: 14px;
}

/* ==== GENERAL Z-INDEX LAYER MANAGEMENT ==== */
header { z-index: 250; }
.mobile-menu { z-index: 1200; }
.mobile-menu-close { z-index: 1205; }
.cookie-banner { z-index: 4000; }
.cookie-modal-overlay { z-index: 4100; }

/* ==== PRINT OPTIMIZATION ==== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none!important; }
  .container, .content-wrapper, .section { box-shadow: none!important; }
}
