@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/roboto-latin.woff2) format('woff2');
}

:root {
  --teal: #219898;
  --dark: #0B4A49;
  --grey: #858E90;
  --orange: #ff9800;
  --gradient: radial-gradient(circle at 27% -5%, #62B658 0%, #219898 25%, #2291AF 52%, #2961AA 78%, #503988 100%);
  --nav-h: 64px;
}

* { box-sizing: border-box; }
html { font-size: 14px; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.5;
  color: rgba(0, 0, 0, .87);
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; }

h1, h2, h3 { margin: 0; font-weight: 700; color: var(--dark); }
h1 { font-size: 3.3rem; line-height: 4rem; }
h2 { font-size: 2.5rem; line-height: 3rem; }
h3 { font-size: 1.5rem; line-height: 1.79rem; }
p { color: var(--grey); line-height: 2rem; margin: 0 0 16px; }
p.larger { font-size: 1.14rem; }

hr {
  width: 4rem;
  margin: 24px 0;
  background-color: var(--teal);
  height: 2px;
  border-radius: 1px;
  border-width: 0;
}

.container { width: 100%; max-width: 900px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .container { max-width: 1000px; } }
@media (min-width: 1264px) { .container { max-width: 1185px; } }
.clip { overflow: hidden; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  padding: .8rem;
  min-width: 12rem;
  text-decoration: none;
  font: inherit;
  font-size: 1.2rem;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn.orange { background: var(--orange); color: #fff; }
.btn.outline { background: #fff; border-color: var(--teal); color: var(--teal); }

.text-centered { text-align: left; }
.extra-p { padding-top: 9rem; }

/* page background: photo on desktop, gradient header on mobile */
.page {
  position: relative;
  background: url(/img/bg-korsit.webp) no-repeat top 0 left 45vw / auto 44rem;
}

/* ---------- navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background .5s ease-out;
}
.navbar.stuck {
  background: #fff;
  box-shadow: 0 4px 10px -7px rgba(0, 0, 0, .6);
}
.nav-inner { display: flex; align-items: stretch; height: 100%; padding: 0 12px; }
.logo { display: flex; align-items: center; margin-right: auto; }
.logo img { height: 2.5rem; }
.logo-white { display: none; }

.menu { display: flex; }
.menu a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}
.menu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: orange;
  opacity: 0;
  transition: opacity .2s ease;
}
.menu a:hover::before, .menu a:focus-visible::before { opacity: 1; }
.navbar.stuck .menu a { color: var(--teal); }

.hamburger {
  display: none;
  align-self: center;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 0;
  background: none;
  cursor: pointer;
  fill: #fff;
}
.navbar.stuck .hamburger, .navbar.open .hamburger { fill: var(--teal); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  width: 100%;
  background: #fff;
  padding: 8px 0;
  box-shadow: 0 8px 9px -6px rgba(0, 0, 0, .3);
}
.mobile-menu a {
  display: flex;
  align-items: center;
  height: 34px;
  padding: 0 16px;
  color: rgba(0, 0, 0, .87);
  text-decoration: none;
  font-size: 16px;
}
.navbar.open { background: #fff; }
.navbar.open .mobile-menu { display: block; }

/* ---------- banner ---------- */
.banner .container { padding-top: 2rem; }
.banner-col { width: calc(100% * 5 / 12); padding: 0 12px; }
.banner .description { margin: 24px 0; }
.banner-buttons .btn { width: 13rem; max-width: 45%; margin-top: .4rem; min-width: 6rem; }
.banner-buttons .btn.orange { margin-right: 16px; }

/* ---------- USP cards ---------- */
.usp-cards {
  display: flex;
  justify-content: space-between;
  overflow-x: auto;
  margin-top: 48px;
  padding: 48px 0;
}
.card {
  flex: 0 0 18.5rem;
  border-radius: 20px;
  padding: 1.6rem;
  margin: 0 .8rem;
  box-shadow: 0 8px 15px 0 rgba(59, 105, 142, .15);
  transition: box-shadow ease-in-out .2s;
}
.card:first-child { margin-left: 1rem; }
.card:hover { box-shadow: 0 12px 20px 0 rgba(59, 105, 142, .33); }
.card img { height: 4.4rem; width: auto; }
.card h3 { font-size: 1.3rem; margin: 8px 0 4px; }
.card p { line-height: 1.7rem; margin-bottom: 0; }

/* ---------- brands ---------- */
#brands h2 { margin-bottom: 8px; }
#brands > p { margin: 16px auto 24px; }
.shadow-box { position: relative; background: #fff; z-index: 1; }
@media (min-width: 960px) {
  .shadow-box::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 90%;
    height: 100%;
    left: 5%;
    top: 0;
    box-shadow: 0 10px 30px 0 rgba(59, 105, 142, .15);
  }
}
.brands { margin-top: 48px; padding: 24px; }
.main-brands, .small-brands { display: flex; justify-content: space-between; align-items: center; }
.small-brands { margin-top: 16px; }
.brands a img { filter: grayscale(100%); opacity: .2; transition: opacity .15s; }
.brands a:hover img, .brands a:focus-visible img { filter: none; opacity: 1; }
.brands a { display: block; }
.brands img.big { width: 4.5rem; height: 4.5rem; margin: .8rem; }
.brands img.small { width: 4.5rem; height: 1.8rem; margin: .5rem; }
.brands .your-product {
  flex: 0 0 4.8rem;
  height: 4.8rem;
  text-decoration: none;
  border: 2px dashed #FF9E16;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF9E16;
  font-size: 3rem;
  position: relative;
}
.your-product .text { display: none; font-size: .9rem; color: var(--grey); text-align: center; }
.brands .your-product-text {
  position: absolute;
  left: -9rem;
  top: -7rem;
  width: 9.5rem;
  height: 9.5rem;
  max-width: none;
  filter: none;
  opacity: 1;
}

/* ---------- bulk banner ---------- */
#B2B { height: 8rem; }
.inquiry-banner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  background: #E9EFF1;
  box-shadow:
    inset 3px 0 3px 0 #E9EFF1,
    inset -3px 0 3px 0 #E9EFF1,
    inset 0 6px 11px -4px rgba(36, 72, 101, .25),
    inset 0 -6px 11px -4px rgba(36, 72, 101, .25);
}
.inquiry-banner img { height: 5rem; }
.inquiry-banner p { margin: 8px auto; }
.inquiry-banner .btn { margin-top: 16px; }
@media (min-width: 1264px) { .inquiry-banner { margin-top: 48px; } }

/* ---------- two column sections ---------- */
.two-col { display: flex; align-items: center; }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-8 { flex: 0 0 66.666%; max-width: 66.666%; }
.image-cont { text-align: center; }
.image-cont img { width: 100%; height: auto; }
.webshops .btn { margin-top: 16px; }

.checks { list-style: none; padding: 0; margin: 24px 0; }
.checks li { display: flex; align-items: center; font-weight: bold; margin: 16px 0; }
.checks li::before {
  content: '';
  flex: 0 0 1.8rem;
  height: 1.8rem;
  margin-right: .4rem;
  border: 2px solid var(--teal);
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-8' fill='none' stroke='%23219898' stroke-width='2.4'/%3E%3C/svg%3E") center / 80% no-repeat;
}

/* ---------- payment methods ---------- */
#payment-methods > p { margin: 16px auto; }
.methods { margin-top: 16px; padding: 24px 0; }
.methods-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.methods-row img { height: 2.5rem; margin: 1rem .7rem; }
.btn-row { display: none; align-items: center; }
.btn-row .line { border-bottom: 1px solid var(--teal); flex: 1; }
.btn-row .btn { padding: .7rem 3rem; margin: 2rem 1rem; min-width: 0; font-size: 1.2rem; }

/* ---------- contact ---------- */
.contact { margin-bottom: 48px; }
.contact > p { margin: 16px auto 48px; }
.contact-cta { display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact-cta p { margin: 16px 0 0; }
.contact-cta a:not(.btn) { color: var(--teal); font-weight: 500; }
.contact-cta__icon { width: 1.3rem; height: 1.3rem; margin-right: .6rem; fill: currentColor; }

/* ---------- footer ---------- */
.footer-gradient {
  display: flex;
  padding: 48px 0 48px calc(100% * 2 / 12);
  background-image: var(--gradient);
  box-shadow: inset 14px 0 10px 0 rgba(0, 0, 0, .3);
  color: #fff;
}
.footer-col {
  flex: 0 0 25%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
  font-size: 1.1rem;
  line-height: 25px;
}
.footer-col.logo-cont { justify-content: space-around; font-size: 1rem; }
.footer-logo { width: 14rem; }
.sub-footer {
  max-width: calc(100% * 8 / 12);
  margin: 0 auto;
  padding: 10px 0;
  min-height: 60px;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}
.footer { background: #f5f5f5; }

/* ---------- desktop-only centring ---------- */
@media (min-width: 960px) {
  .text-centered { max-width: 60%; margin-left: auto; margin-right: auto; text-align: center; }
}

/* ---------- tablet / mobile ---------- */
@media (max-width: 959px) {
  :root { --nav-h: 56px; }
  h1 { color: #fff; font-size: 2.3rem; line-height: 2.7rem; text-shadow: 0 2px 2px rgba(0, 0, 0, .2); }
  h2 { font-size: 1.8rem; line-height: 2.3rem; }

  .page { background: none; }
  .page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 19rem;
    background:
      radial-gradient(circle at 27% -5%, rgba(98, 182, 88, .8) 0%, rgba(33, 152, 152, .8) 25%, rgba(34, 145, 175, .8) 52%, rgba(41, 97, 170, .8) 78%, rgba(80, 57, 136, .8) 100%),
      url(/img/bg-korsit-small.webp) top 0 left 35% / cover;
  }

  .menu { display: none; }
  .hamburger { display: block; }
  .logo-color { display: none; }
  .logo-white { display: block; }
  .navbar.stuck .logo-color, .navbar.open .logo-color { display: block; }
  .navbar.stuck .logo-white, .navbar.open .logo-white { display: none; }

  .container { padding: 0 16px; }
  .banner .container { padding-top: 0; position: relative; }
  .banner-col { width: 100%; padding: 0; }
  .banner h1 { display: flex; align-items: flex-end; min-height: calc(19rem - var(--nav-h) - 1.5rem); }
  .banner-buttons { display: flex; justify-content: center; }

  .usp-cards { margin: 0 -16px; padding: 48px 0; }

  .brands { overflow-x: auto; padding: 16px; }
  .brands .your-product .plus, .brands .your-product-text { display: none; }
  .your-product .text { display: block; }
  .brands a, .brands .your-product { flex-shrink: 0; }
  .banner .description { margin-top: 3rem; }

  .inquiry-banner img { height: 6rem; }
  .inquiry-banner h2, .inquiry-banner p { text-align: center; }

  .two-col { flex-wrap: wrap; }
  .col-4, .col-8 { flex-basis: 100%; max-width: 100%; }
  .products .image-cont { padding-top: 24px; }

  .methods { padding: 0; }
  .methods-row {
    justify-content: space-between;
    position: relative;
    max-height: 12rem;
    overflow: hidden;
    transition: max-height .5s ease-in;
  }
  .methods-row::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2rem;
    background: linear-gradient(transparent, #fff);
  }
  .methods-row.expanded { max-height: 60rem; }
  .methods-row.expanded::after { height: 0; }
  .btn-row { display: flex; }

  .footer-gradient { flex-direction: column; align-items: center; padding: 48px 0; }
  .footer-col { align-items: center; text-align: center; flex-basis: auto; }
  .tagline { display: none; }
  .sub-footer { max-width: 100%; padding: 10px 16px; }
}

@media (max-width: 600px) {
  .products .image-cont img { width: 120%; max-width: none; margin-left: -3rem; }
}

@media (max-width: 400px) {
  .banner-buttons { flex-direction: column; }
  .banner-buttons .btn { width: 100%; max-width: 100%; }
  .banner-buttons .btn.orange { margin-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
