/*--  ----------- --------- - ----------- ----------- --->
<---  -----------    HEADER - Section     ----------- --->
<---  ----------- --------- - ----------- ----------- --*/
.ui-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: auto;
  margin: 0 auto;
  transition: all 0.35s ease;
}

.ui-header.on-scroll {
  background-color: var(--background-color-secondary);
  box-shadow: 0 2px 4px hsla(0, 0%, 15%, 0.25);
}

.ui-navigation {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: baseline;
  column-gap: 1rem;
  width: 100%;
  height: 4rem;
  margin-inline: auto;
}

.ui-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 1.5rem;
  width: 12rem;

  padding: 0.75rem;
  background-color: var(--white-color);
  border-radius: 0.5rem;
  z-index: 20;

  transform-origin: top;
  transform: scaleY(0);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.3s ease,
    opacity 0.2s ease;
}

.ui-menu.is-active {
  transform: scaleY(1);
  opacity: 1;
  pointer-events: auto;
}

.ui-menu-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.ui-menu-link {
  display: block;
  padding: 0.75rem 0 0.75rem 0.25rem;
  border-radius: 0.6rem;

  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--black-color);

  transition: all 0.2s ease;
}

.ui-menu-link:hover {
  transform: translateX(0.15rem);
}

.ui-menu-button {
  font-family: "Roboto", ui-sans-serif, sans-serif;
  margin: 0.15rem -1.15rem 0 0;
  order: 1;
}

.ui-menu-button.ui-button {
  color: var(--white-color);
  background-color: unset;
  box-shadow: unset;
  transition: all 0.2s ease;
  font-weight: 500;
}

.ui-menu-button-text {
  display: block;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.ui-menu-button-text:hover {
  opacity: 1;
}

.ui-button-neutral:hover {
  animation: none;
}

.ui-menu-button-icon {
  display: none;
}

.ui-menu-button-mobile {
  display: none;
}

.ui-divider {
  content: "";
  width: 2px;
  height: 2.5rem;
  background-color: var(--brand-color);
  order: 2;
  margin: 0.25rem;
}

/*---- <logo> ----*/
.ui-logo {
  margin-right: auto;
  font-family: inherit;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--white-color);
  transform: translateY(0.1rem);

  z-index: 1;
  overflow: visible;
}

.ui-logo-icon {
  width: clamp(1.4rem, 2.5vw, 2rem);
  height: auto;
  transform: translateY(-0.1rem);
  fill: var(--brand-color);

  overflow: visible;
}
/*---- </logo> ----*/

/*---- <menu social icons> ----*/
.ui-menu-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;

  padding-top: 0.85rem;
  margin: 0.85rem 0.25rem 0 0.25rem;
  border-top: 2px solid var(--black-color-opacity);
}

.ui-menu-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.6rem;
}

.ui-menu-social-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: var(--black-color);
  transition: all 0.2s ease;
}

.ui-menu-social-icon:hover svg {
  fill: var(--brand-color-dark);
}

.ui-menu-social-icon-instagram svg {
  width: 1.35rem;
  height: 1.35rem;
}
/*---- </menu social icons> ----*/

/*---- <Hamburger menu> ----*/
.ui-hamburger {
  cursor: pointer;
  position: relative;
  display: block;
  width: 2rem;
  height: 1.2rem;
  z-index: 20;
  order: 3;
}

.ui-hamburger-line {
  position: absolute;
  display: block;
  left: 0;
  opacity: 1;
  width: 100%;
  height: 3px;
  background-color: var(--white-color);
  transition: all 0.25s ease;
}

.ui-hamburger-line:nth-child(1) {
  top: 0;
}

.ui-hamburger-line:nth-child(2) {
  top: 0.6rem;
  width: 70%;
}

.ui-hamburger-line:nth-child(3) {
  top: 1.2rem;
}

.ui-hamburger.is-active .ui-hamburger-line:nth-child(1) {
  top: 0.5rem;
  transform: rotate(135deg);
}

.ui-hamburger.is-active .ui-hamburger-line:nth-child(2) {
  left: 3rem;
  opacity: 0;
}

.ui-hamburger.is-active .ui-hamburger-line:nth-child(3) {
  top: 0.5rem;
  transform: rotate(-135deg);
}
/*---- </Hamburger menu> ----*/

/*----  500px  ----*/
@media screen and (max-width: 31.25rem) {
  .ui-menu-button-icon {
    display: block;
    width: 1rem;
    height: 1rem;
    fill: var(--white-color);
  }

  .ui-menu-button-text {
    display: none;
  }

  .ui-menu-button-desktop {
    display: none;
  }

  .ui-menu-button-mobile {
    display: inline-flex;
  }
}

/*--  768px  --*/
@media screen and (min-width: 64rem) {
  .ui-menu {
    position: relative;
    top: initial;
    left: initial;
    width: auto;
    padding: 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;

    background: unset;
    box-shadow: unset;
    border-radius: 0;
    transition: unset;
    margin-left: auto;
  }

  .ui-menu-list {
    display: flex;
    flex-direction: row;
    padding-top: 0.15rem;
    gap: clamp(1.5rem, 2vw, 2rem);
    margin-inline: auto;
  }

  .ui-menu-link {
    opacity: 0.9;
    transition: opacity 0.2s ease;
    color: var(--white-color);
  }

  .ui-menu-link:hover {
    opacity: 1;
    transform: translateX(0);
  }

  .ui-menu-button.ui-button {
    color: var(--black-color);
    background-image: linear-gradient(
      to top,
      var(--white-color-dark) 0%,
      var(--white-color) 80%,
      var(--white-color-light) 100%
    );
    transform: translateX(-0.5rem);
  }

  .ui-menu-button-text {
    opacity: 1;
  }

  .ui-button-neutral:hover {
    animation: white-pulse 2s infinite;
    filter: brightness(0.95);
  }

  .ui-hamburger {
    display: none;
  }

  .ui-menu-social {
    display: none;
  }

  .ui-divider {
    display: none;
  }
}
/*--  ----------- --------- - ----------- ----------- --->
<---  -----------    FOOTER - Section     ----------- --->
<---  ----------- --------- - ----------- ----------- --*/
.ui-footer {
  width: 100%;
  background: var(--background-color-secondary);
  border-top: 1px solid hsl(49 99% 54% / 0.18);
}

.ui-footer .ui-container {
  width: 100%;
  max-width: 80rem;
}

.ui-footer-inner {
  display: flex;
  flex-direction: column;
}

.ui-footer-top {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: start;
  align-items: start;
  gap: 2.75rem;
  width: 100%;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.ui-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: start;
  text-align: left;
  width: 100%;
}

.ui-footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  margin: 0 0 1.5rem;
  transform: none;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
}

.ui-footer-logo .ui-logo-icon,
.ui-footer-logo-icon {
  width: clamp(2rem, 3vw, 2.6rem);
}

.ui-footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.85rem;
}

.ui-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid hsl(49 99% 54% / 0.18);
  background: hsl(0 0% 100% / 0.02);
  color: var(--white-color-dark);
  opacity: 0.8;
  transition:
    opacity 200ms ease,
    color 200ms ease,
    border-color 200ms ease,
    transform 200ms ease;
}

.ui-footer-social-link svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  flex-shrink: 0;
}

.ui-footer-social-link:hover {
  opacity: 1;
  color: var(--brand-color);
  border-color: hsl(49 99% 54% / 0.45);
  transform: translateY(-0.1rem);
}

.ui-footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.ui-footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--white-color);
  transition: color 300ms ease;
}

.ui-footer-contact-link:hover {
  color: var(--brand-color);
}

.ui-footer-contact-icon {
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 300ms ease;
}

.ui-footer-contact-link:hover .ui-footer-contact-icon {
  opacity: 1;
}

.ui-footer-nav {
  display: flex;
  justify-content: flex-start;
  justify-self: start;
  width: 100%;
  margin: 0;
}

.ui-footer-nav-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
}

.ui-footer-nav-heading {
  margin-bottom: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-color);
}

.ui-footer-nav-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 2rem;
}

.ui-footer-contact-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.ui-footer-contact-column-heading {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-color);
  margin: 0 0 0.1rem;
}

.ui-footer-nav-link {
  font-size: 1rem;
  font-weight: 400;
  color: var(--white-color);
  white-space: normal;
  transition: color 300ms ease;
}

.ui-footer-nav-link:hover {
  color: var(--brand-color);
}

.ui-footer-bottom {
  border-top: 1px solid hsl(0 0% 100% / 0.06);
}

.ui-footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.ui-footer-copy {
  font-size: 0.8rem;
  color: var(--white-color);
}

.ui-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.ui-footer-legal-link {
  font-size: 0.8rem;
  color: var(--white-color);
  white-space: normal;
  transition: color 300ms ease;
}

.ui-footer-legal-link:hover {
  color: var(--brand-color);
}

@media screen and (min-width: 48rem) {
  .ui-footer-top {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    justify-items: start;
    align-items: start;
    gap: 2.5rem 3rem;
  }

  .ui-footer-brand {
    width: auto;
    justify-self: start;
    grid-column: 1;
    grid-row: 1;
  }

  .ui-footer-nav {
    width: auto;
    justify-self: end;
    justify-content: flex-start;
    margin-left: 0;
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .ui-footer-contact-column {
    grid-column: 1;
    grid-row: 2;
  }

  .ui-footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media screen and (min-width: 72rem) {
  .ui-footer-top {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
    grid-template-rows: auto;
    gap: 3rem;
  }

  .ui-footer-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .ui-footer-contact-column {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
  }

  .ui-footer-nav {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
}

@media screen and (min-width: 64rem) {
  .ui-footer-logo {
    margin-left: 0;
    font-size: 2.05rem;
  }

  .ui-footer-logo .ui-logo-icon,
  .ui-footer-logo-icon {
    width: 2.85rem;
  }
}

/*--  ----------- --------- - ----------- ----------- --->
<---  -----------    BANNER -  Section    ----------- --->
<---  ----------- --------- - ----------- ----------- --*/
.ui-banner {
  position: relative;
  overflow: hidden;
  background: var(--background-color-gradient);
  border-bottom: 1px solid hsl(49 99% 54% / 0.18);

  padding-top: 6rem;
  padding-bottom: 2rem;
}

.ui-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ui-banner-title {
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.1;
  color: var(--white-color);
  margin: 0;
}

.ui-banner-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--white-color);
  opacity: 0.75;
}

.ui-banner-breadcrumb a {
  transition: all 300ms ease;
}

.ui-banner-breadcrumb a:hover {
  color: var(--brand-color);
  opacity: 1;
}

.ui-banner-background {
  position: absolute;
  top: 0rem;
  right: -10rem;
  width: clamp(24rem, 46vw, 52rem);
  opacity: 0.42;
  z-index: 1;
}

.ui-banner-background-svg {
  width: 100%;
  height: auto;
  display: block;
  transform: rotate(-120deg) scale(1.04);
  filter: drop-shadow(0 0 1.5rem hsl(48 100% 50% / 0.08));
  will-change: transform;
}

.ui-banner-background-svg .cls-98 path {
  stroke: var(--brand-color);
  stroke-width: 1.15;
  opacity: 0.12;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity;
  animation: ui-banner-line-float 6s ease-in-out infinite;
}

@keyframes ui-banner-line-float {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.12;
  }
  50% {
    transform: translate3d(-0.05rem, 0.06rem, 0) scale(0.999);
    opacity: 0.2;
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.12;
  }
}

/*--  ----------- --------- - ----------- ----------- --->
<---  -----------       CTA - Component   ----------- --->
<---  ----------- --------- - ----------- ----------- --*/

.ui-cta {
  position: relative;
  overflow: hidden;
  padding-block: 4rem;
  padding-inline: 1.5rem;
}

.ui-cta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  padding: 3rem 3rem 3rem 3.5rem;
  border-radius: 0.75rem;
  border-left: 4px solid var(--brand-color);
  border-top: 1px solid hsl(48 100% 50% / 0.04);
  border-right: 1px solid hsl(48 100% 50% / 0.04);
  border-bottom: 1px solid hsl(48 100% 50% / 0.04);
  background: var(--background-color-secondary);
  max-width: 90rem;
  margin-inline: auto;
  z-index: 1;
}

.ui-cta-content {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ui-cta-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--white-color);
  margin: 0;
}

.ui-cta-text {
  font-size: 1rem;
  color: var(--white-color-dark);
  opacity: 0.7;
  margin: 0;
}

/* 768px */
@media screen and (min-width: 48rem) {
  .ui-cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 3.5rem 4rem 3.5rem 4rem;
  }

  .ui-cta-btn {
    flex-shrink: 0;
  }
}

/* 1024px */
@media screen and (min-width: 64rem) {
  .ui-cta-inner {
    padding: 4rem 5rem 4rem 5rem;
  }
}

.ui-cta-background {
  position: absolute;
  bottom: -4rem;
  right: -10rem;
  width: clamp(24rem, 46vw, 52rem);
  opacity: 0.42;
  z-index: 0;
}

.ui-cta-background-svg {
  width: 100%;
  height: auto;
  display: block;
  transform: rotate(160deg) scale(1.04);
  filter: drop-shadow(0 0 1.5rem hsl(48 100% 50% / 0.08));
}

.ui-cta-background-svg .cls-98 path {
  stroke: var(--brand-color);
  stroke-width: 1.15;
  opacity: 0.12;
}

/* 1024px */
@media screen and (min-width: 64rem) {
  .ui-cta-background {
    bottom: -10rem;
  }
}

/*--  ----------- --------- - ----------- ----------- --->
<---  -----------   kundcase  - Section    ----------- --->
<---  ----------- --------- - ----------- ----------- --*/

#kundcase {
  background: var(--background-color-gradient);
}

.ui-case {
  padding-block: 5rem;
  overflow: hidden;
}

.ui-case-container {
  max-width: 90rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.ui-case-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.ui-case-text {
  color: var(--white-color-dark);
  margin: 1rem 0 0 0;
}

.ui-case-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.ui-case-card-group {
  display: flex;
}

@media screen and (min-width: 64rem) {
  .ui-case-card-group-middle .ui-case-card {
    min-height: calc(100% + 1.25rem);
  }
}

.ui-case-card {
  flex: 1;
  position: relative;

  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  border: 1px solid hsl(49 99% 54% / 0.18);
  background: linear-gradient(
    180deg,
    hsla(0, 0%, 100%, 0.04) 0%,
    hsla(0, 0%, 100%, 0.02) 100%
  );
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition:
    transform 350ms ease,
    border-color 350ms ease,
    box-shadow 350ms ease;
}

.ui-case-card:hover {
  transform: translateY(-0.3rem);
  border-color: hsl(49 99% 54% / 0.55);
  box-shadow: 0 0 2rem hsl(49 99% 54% / 0.06);
}

.ui-case-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: hsl(240, 7%, 8%);
}

.ui-case-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
  filter: brightness(0.95);
}

.ui-case-card:hover .ui-case-card-image img {
  transform: scale(1.04);
  filter: brightness(0.95);
}

.ui-case-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  padding-bottom: 4rem;
  flex: 1;
}

.ui-case-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ui-case-card-company {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white-color);
  margin: 0;
  line-height: 1.3;
}

.ui-case-card-role {
  font-size: 0.8rem;
  color: var(--white-color-dark);
  margin: 0;
  line-height: 1.3;
  opacity: 0.7;
}

.ui-case-card-stars {
  color: var(--brand-color);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.ui-case-card-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--white-color-dark);
  margin: 0;
  margin-bottom: 1rem;
  padding-left: 0.85rem;
  border-left: 2px solid hsl(49 99% 54% / 0.45);
  white-space: normal;
}

.ui-case-card-btn-wrap {
  position: absolute;
  bottom: 1.1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
}

.ui-case-card-btn-inner {
  opacity: 1;
}

@media screen and (max-width: 63.99rem) {
  .ui-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ui-case-card-group:last-child {
    display: none;
  }
}

@media screen and (max-width: 40rem) {
  .ui-case-grid {
    grid-template-columns: 1fr;
  }

  .ui-case-card-group:last-child {
    display: flex;
  }

  .ui-case-card-image {
    aspect-ratio: 16 / 7;
  }

  .ui-case {
    padding-block: 4rem 3rem;
  }
}

/*--  ----------- --------- - ----------- ----------- --->
<---  ----- Gemensam kod för kontaktformulären  ----- --->
<---  ----------- --------- - ----------- ----------- --*/

.ui-form-row {
  display: grid;
  gap: 1.25rem;
}

.ui-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ui-form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white-color-dark);
}

.ui-form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid hsl(0 0% 100% / 0.1);
  background: hsl(0 0% 100% / 0.04);
  color: var(--white-color);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  outline: none;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease;
  appearance: none;
  -webkit-appearance: none;
}

.ui-form-input::placeholder {
  color: hsl(0 0% 100% / 0.25);
}

.ui-form-input:focus {
  border-color: hsl(49 99% 54% / 0.55);
  box-shadow: 0 0 0 3px hsl(49 99% 54% / 0.07);
}

.ui-form-textarea {
  resize: vertical;
  min-height: 8rem;
}

.ui-form-submit {
  align-self: flex-start;
}
