/* RESET & BASE ----------------------------------------------------------------------------------------------------- */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F8F9FA;
  color: #222;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style-position: inside;
}
a {
  color: #133A68;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #0B6E4F;
}

/* TYPOGRAPHY -------------------------------------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #133A68;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, li {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  color: #222;
  margin-bottom: 8px;
}
strong, b {
  color: #0B6E4F;
  font-weight: 700;
}

/* CONTAINERS & LAYOUT ----------------------------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 12px 0 rgba(19,58,104, 0.045);
}
main section:not(.hero):not(.cta), main .section {
  margin-bottom: 60px;
}

/* HEADER ------------------------------------------------------------------------------------------------------------ */
header {
  width: 100%;
  background: #fff;
  padding: 0 0;
  box-shadow: 0 2px 10px 0 rgba(19,58,104, .05);
  position: sticky;
  top: 0;
  z-index: 102;
  display: flex;
  align-items: center;
  min-height: 64px;
}
.logo {
  margin-left: 20px;
  display: flex;
  align-items: center;
  height: 58px;
}
.logo img {
  height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: flex-end;
  margin-right: 24px;
}
.main-nav a {
  padding: 7px 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #133A68;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:not(.cta):hover {
  background: #F6C74420;
  color: #0B6E4F;
}
.main-nav .cta.primary {
  background: #0B6E4F;
  color: #fff;
  font-weight: 700;
}
.main-nav .cta.primary:hover, .main-nav .cta.primary:focus {
  background: #133A68;
  color: #fff;
}

/* MOBILE MENU ------------------------------------------------------------------------------------------------------ */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #133A68;
  margin-right: 12px;
  cursor: pointer;
  transition: color 0.22s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #0B6E4F;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 300px;
  max-width: 85vw;
  background: #fff;
  box-shadow: -8px 0 24px 0 rgba(19,58,104, .13);
  z-index: 3001;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.56,.37,.4,1);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  display: flex;
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: #133A68;
  padding: 20px 24px 0 0;
  cursor: pointer;
  transition: color 0.17s;
}
.mobile-menu-close:focus {
  outline: 2px solid #F6C744;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 28px 22px 28px;
}
.mobile-nav a {
  padding: 12px 0;
  font-size: 1.17rem;
  color: #0B6E4F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-bottom: 1px solid #f0f1f3;
  transition: color 0.2s;
  width: 100%;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover {
  color: #F6C744;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 7px;
    margin-right: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav a { font-size: 0.96rem; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header {
    padding: 0 0 0 0;
  }
  .logo {
    margin-left: 6px;
  }
}

/* HERO ------------------------------------------------------------------------------------------------------------- */
.hero, .thankyou {
  background: #FAFBFC;
  border-radius: 0 0 34px 34px;
  box-shadow: 0 2px 12px 0 rgba(19,58,104, 0.04);
  padding: 70px 10px 38px 10px;
  margin-bottom: 42px;
}
.hero h1, .thankyou h1 {
  font-size: 2.4rem;
  color: #0B6E4F;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.13rem;
  margin-bottom: 23px;
}

/* BUTTONS & CTA ---------------------------------------------------------------------------------------------------- */
.cta, .btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  border-radius: 8px;
  transition: background .18s, color .18s, box-shadow .18s;
  outline: none;
  cursor: pointer;
  padding: 12px 32px;
  margin: 0 7px 0 0;
  border: none;
  box-shadow: 0 2px 7px 0 rgba(19,58,104,0.06);
  letter-spacing: .02em;
}
.cta.primary, .btn.primary {
  background: #0B6E4F;
  color: #fff;
  border: none;
}
.cta.primary:hover, .cta.primary:focus, .btn.primary:hover, .btn.primary:focus {
  background: #133A68;
  color: #fff;
}
.cta.secondary, .btn.secondary {
  background: #F8F9FA;
  color: #0B6E4F;
  border: 2px solid #0B6E4F;
}
.cta.secondary:hover, .btn.secondary:hover, .cta.secondary:focus, .btn.secondary:focus {
  background: #F6C74425;
  color: #0B6E4F;
  border-color: #F6C744;
}

/* SECTION LAYOUTS & FLEXBOX PATTERNS ------------------------------------------------------------------------------- */
/* Card container patterns */
.card-container, .card-grid, .feature-grid, .service-list, .industry-grid, .benefits-grid, .case-card-deck, .post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.card, .feature, .service-item, .industry, .benefit, .case-card, .post {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 18px 0 rgba(19,58,104,0.06);
  padding: 24px 22px 19px 22px;
  flex: 1 1 270px;
  min-width: 220px;
  max-width: 350px;
  transition: box-shadow 0.24s, transform 0.2s;
}
.card:hover, .feature:hover, .service-item:hover, .industry:hover, .benefit:hover, .case-card:hover, .post:hover {
  box-shadow: 0 6px 22px 0 rgba(19,58,104,0.11);
  transform: translateY(-2px) scale(1.017);
}

.content-grid, .step-list, .customer-logos, .industry-case-highlights, .result-highlights, .use-cases, .categories-list, .featured-post {
  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-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 30px 0;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 220px;
  max-width: 365px;
  background: #F5F7F8;
  color: #1C2832;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(19,58,104,0.04);
  padding: 24px 22px 20px 22px;
  transition: box-shadow 0.18s, background 0.19s;
  font-style: italic;
}
.testimonial-card:hover, .testimonial-card:focus {
  background: #FFFFFF;
  box-shadow: 0 6px 26px 0 rgba(19,58,104,0.13);
}
.testimonial-card p {
  color: #133A68;
  font-size: 1.06rem;
  margin-bottom: 0;
  font-family: 'Lato', Arial, sans-serif;
}
.testimonial-author {
  margin-top: 6px;
  color: #0B6E4F;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: normal;
}
.customer-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 18px 0 0 0;
}
.customer-logos img {
  height: 36px;
  width: auto;
  filter: grayscale(30%);
  opacity: 0.8;
  transition: opacity 0.18s, filter 0.18s;
}
.customer-logos img:hover {
  opacity: 1;
  filter: grayscale(0);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.step-list, .values-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 12px 0 20px 0;
}
.step-list li {
  font-size: 1.01rem;
  color: #133A68;
  background: #F6C74410;
  border-radius: 10px;
  padding: 11px 18px;
  margin-bottom: 1px;
}

/* BLOG CARDS ------------------------------------------------------------------------------------------------------- */
.post-grid {
  margin-bottom: 28px;
}
.post {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px 0 rgba(19,58,104,0.07);
  padding: 18px 17px 15px 17px;
  transition: box-shadow 0.20s, transform 0.13s;
  min-width: 200px;
  flex: 1 1 270px;
  max-width: 360px;
}
.post:hover {
  box-shadow: 0 9px 24px 0 rgba(19,58,104,0.13);
  transform: translateY(-3px) scale(1.02);
}
.categories-list {
  flex-direction: column;
  margin-top: 10px;
  gap: 6px;
  font-size: 1.09rem;
}
.categories-list ul {
  margin: 6px 0 0 0;
}
.categories-list li {
  padding: 2px 0;
  color: #0B6E4F;
}
.featured-post {
  flex-direction: column;
  background: #F6C74410;
  border-radius: 14px;
  padding: 22px 16px 14px 16px;
  margin-bottom: 14px;
  max-width: 650px;
}

/* TABLES (For .comparison-table) ---------------------------------------------------------------------- */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-radius: 16px;
  border: 1px solid #F6C74455;
  background: #FAFBFC;
  margin-bottom: 32px;
  margin-top: 8px;
}
.comparison-table th, .comparison-table td {
  padding: 11px 16px;
  text-align: left;
  font-family: 'Lato', Arial, sans-serif;
  color: #133A68;
}
.comparison-table th {
  background: #F6C74422;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
}
.comparison-table tr:nth-child(even) {
  background: #F5F7F9;
}
.comparison-table tr:nth-child(odd) {
  background: transparent;
}
.comparison-table td {
  font-size: 0.99rem;
}

/* FOOTER ------------------------------------------------------------------------------------------------------------ */
footer {
  width: 100%;
  background: #FAFBFC;
  border-top: 1px solid #E2E5EA;
  padding: 30px 0 22px 0;
  margin-top: 60px;
  box-shadow: 0 -1px 6px 0 rgba(19,58,104,0.04);
}
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.footer-logo img {
  height: 37px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.footer-nav a {
  color: #0B6E4F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  transition: color 0.15s;
}
.footer-nav a:hover {
  color: #F6C744;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #33414f;
  font-size: 0.97rem;
  margin-bottom: 0;
}
.footer-contact img {
  vertical-align: middle;
  height: 15px;
  margin-right: 7px;
  opacity: 0.7;
}

/* COOKIE CONSENT --------------------------------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #fffbe7;
  color: #133A68;
  border-top: 1.5px solid #F6C744;
  box-shadow: 0 -3px 25px 0 rgba(19,58,104,0.07);
  z-index: 4000;
  padding: 20px 8vw 18px 8vw;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(.52,.14,.55,1);
}
.cookie-banner.hide {
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner__text {
  flex: 1;
  font-size: 1.01rem;
  color: #133A68;
  padding-right: 16px;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner__button {
  border: none;
  outline: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.cookie-banner__button.accept {
  background: #0B6E4F;
  color: #fff;
}
.cookie-banner__button.accept:hover {
  background: #133A68;
}
.cookie-banner__button.reject {
  background: #fff;
  color: #133A68;
  border: 2px solid #F6C744;
}
.cookie-banner__button.reject:hover {
  background: #F6C74425;
  color: #0B6E4F;
}
.cookie-banner__button.settings {
  background: #FAFBFC;
  color: #0B6E4F;
}
.cookie-banner__button.settings:hover {
  background: #F6C74420;
}

/* COOKIE PREFERENCES MODAL --------------------------------------------------- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 4010;
  background: rgba(19, 58, 104, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
  pointer-events: auto;
}
.cookie-modal__window {
  background: #fff;
  max-width: 430px;
  border-radius: 19px;
  box-shadow: 0 8px 44px 0 rgba(19,58,104,0.14);
  padding: 32px 28px 25px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.27rem;
  color: #0B6E4F;
  font-weight: 700;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 9px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  color: #133A68;
  background: #F5F7F9;
  border-radius: 10px;
  padding: 10px 15px;
}
.cookie-modal__category input[type='checkbox'] {
  width: 18px;
  height: 18px;
  accent-color: #0B6E4F;
}
.cookie-modal__category input[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}
.cookie-modal__actions {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  justify-content: flex-end;
}
.cookie-modal__close {
  position: absolute;
  top: 18px;
  right: 25px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #133A68;
  cursor: pointer;
  padding: 0;
}

/* CTAs ------------------------------------------------------------------------------------------------------------- */
.cta {
  margin-bottom: 8px;
}
.cta p {
  margin-top: 15px;
  color: #555;
}

/* CONTACT INFO & MAP --------------------------------------------------------- */
.contact-info, .map {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.contact-info img, .footer-contact img, .map img {
  margin-right: 7px;
  height: 15px;
  vertical-align: middle;
  opacity: 0.8;
}
.contact-info p b {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #133A68;
  font-size: 1rem;
}
.map p em {
  color: #0B6E4F;
  font-size: 0.98rem;
}

/* ABOUT/LEGAL SECTIONS ------------------------------------------------------- */
.brand-pillars ul, .values-list, .why-us ul, .result-highlights ul, .industry-case-highlights ul, .use-cases ul, .legal ul {
  margin: 10px 0 14px 0;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.brand-pillars ul li, .values-list li, .why-us ul li, .result-highlights ul li, .industry-case-highlights ul li, .use-cases ul li, .legal ul li {
  color: #133A68;
  font-size: 1rem;
}

.legal h1, .legal h2 {color: #133A68;}

/* GENERAL LISTS ------------------------------------------------------------- */
ul {
  list-style: disc;
}
ol {
  list-style: decimal;
}

/* RESPONSIVE --------------------------------------------------------------------------------------------------------- */
@media (max-width: 1150px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 950px) {
  .feature-grid, .service-list, .industry-grid, .benefits-grid, .case-card-deck, .post-grid {
    flex: 1 1 100%;
    gap: 18px;
  }
}
@media (max-width: 800px) {
  .container {
    max-width: 100vw;
    padding: 0 12px;
  }
  .card, .feature, .service-item, .industry, .benefit, .case-card, .post, .testimonial-card {
    max-width: 100%;
    min-width: 0;
  }
  .testimonial-card { width: 100%; }
  .content-wrapper { gap: 20px; }
}
@media (max-width: 768px) {
  .section, .hero, .thankyou {
    padding: 28px 5vw;
    margin-bottom: 42px;
    border-radius: 13px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .card-container, .card-grid, .feature-grid, .service-list, .industry-grid, .benefits-grid, .case-card-deck, .post-grid {
    flex-direction: column;
    gap: 19px;
  }
  .card, .feature, .service-item, .industry, .benefit, .case-card, .post {
    min-width: 0;
    width: 100%;
  }
  .testimonial-slider {
    gap: 16px;
    flex-direction: column;
  }
  .customer-logos { gap: 13px; }
  .content-grid, .step-list, .customer-logos, .industry-case-highlights, .result-highlights, .use-cases, .categories-list, .featured-post {
    flex-direction: column;
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 19px;
  }
  .footer-nav {
    gap: 10px;
  }
  .cookie-banner {
    padding: 17px 4vw 16px 4vw;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.99rem;
  }
}
@media (max-width: 500px) {
  .section, .hero, .thankyou {
    padding: 14px 2vw;
    margin-bottom: 28px;
  }
  h1 { font-size: 1.26rem; }
  h2 { font-size: 1.10rem; }
  .cta, .btn, .cookie-banner__button {
    padding: 9px 12px;
    font-size: 0.97rem;
  }
  .cookie-modal__window {
    padding: 18px 7px 15px 14px;
    max-width: 96vw;
  }
  .mobile-menu { width: 95vw; }
}

/* SCANDINAVIAN CLEAN VISUAL TOUCHES ------------------------------------------ */
.section, .card, .feature, .service-item, .industry, .benefit, .case-card, .post, .featured-post, .testimonial-card, .cookie-modal__window {
  border-radius: 14px !important;
  background: #fff;
}
.section, .card, .feature, .service-item, .industry, .benefit, .case-card, .post, .testimonial-card, .cookie-modal__window {
  box-shadow: 0 2px 18px 0 rgba(19,58,104,0.06);
}

/* MICRO-INTERACTIONS -------------------------------------------------------- */
.cta, .btn, .main-nav a, .mobile-nav a, .card, .feature, .service-item, .industry, .benefit, .case-card, .post, .testimonial-card {
  transition: box-shadow 0.19s, background 0.13s, color 0.13s, transform 0.18s;
}

/* HIDE ELEMENTS ------------------------------------------------------------- */
.hide, [data-hide=true] {
  display: none !important;
}
