@font-face {
  font-family: "F37 Kookie";
  src: url("assets/font/F37Kookie-Bold.otf") format("opentype"),
    url("assets/font/F37Kookie-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Livvic";
  src: url("assets/font/Livvic-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Livvic";
  src: url("assets/font/Livvic-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --footer-bg: #f36d21;
  --footer-text: #fff;
  --footer-max-width: 1440px;
  --footer-side-padding: clamp(1.25rem, 4vw, 5rem);
  --footer-headline-size: clamp(2.5rem, 4vw, 46.776px);
  --footer-link-size: clamp(0.875rem, 1vw, 1rem);
  --footer-font-display: "F37 Kookie", "Trebuchet MS", "Segoe UI", sans-serif;
  --footer-font-accent: "Livvic", "Segoe UI", Arial, sans-serif;
  --footer-font-body: "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--footer-font-body);
  background: #fff;
  color: #111827;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-content {
  min-height: 18vh;
}

.section-reveal__content {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}

.section-reveal.is-revealed .section-reveal__content {
  opacity: 1;
  transform: translateY(0);
}

.hero-section {
  position: relative;
  overflow: clip;
  color: #fff;
  background-color: var(--footer-bg);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: -4%;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(18, 34, 62, 0.72) 0%, rgba(18, 34, 62, 0.48) 20%, rgba(18, 34, 62, 0) 45%),
    url("assets/images/hero-bg.jpg") 50% 50% / cover no-repeat;
  transform: scale(1.04);
  transform-origin: center center;
  animation: heroZoomCover 8s ease-in-out infinite alternate;
}

.hero-section__inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  min-height: 52rem;
  margin: 0 auto;
  padding: 0 var(--footer-side-padding);
}

.hero-section__topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.hero-section__logo-link {
  display: inline-flex;
  padding-top: 1rem;
}

.hero-section__logo-link:focus-visible,
.hero-section__badge:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.hero-section__logo {
  width: clamp(6.5rem, 10vw, 9.25rem);
}

.hero-section__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.02em;
  width: clamp(8rem, 12vw, 12.3125rem);
  min-height: clamp(10rem, 18vw, 15.875rem);
  padding: 1.75rem 1rem 2.25rem;
  border-bottom-left-radius: 9.5rem;
  border-bottom-right-radius: 9.5rem;
  background: #d8000b;
  color: #fff;
  font-family: var(--footer-font-display);
  font-size: clamp(1.35rem, 2vw, 1.88rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  opacity: 0;
  transform: translateY(-120%);
  transform-origin: top center;
  animation: heroBadgeRollIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.7s;
  overflow: hidden;
}

.hero-section__badge-letter {
  display: inline-block;
  opacity: 0;
  transform: translateX(-10px) translateY(-14px) scale(0.82);
  animation: heroBadgeLetterIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hero-section__badge-letter:nth-child(1) {
  animation-delay: 1.45s;
}

.hero-section__badge-letter:nth-child(2) {
  animation-delay: 1.51s;
}

.hero-section__badge-letter:nth-child(3) {
  animation-delay: 1.57s;
}

.hero-section__badge-letter:nth-child(4) {
  animation-delay: 1.63s;
}

.hero-section__badge-letter:nth-child(5) {
  animation-delay: 1.69s;
}

.hero-section__badge-letter:nth-child(6) {
  animation-delay: 1.75s;
}

.hero-section__badge-letter:nth-child(7) {
  animation-delay: 1.81s;
}

.hero-section__content {
  display: block;
  align-items: start;
  min-height: calc(52rem - 8rem);
}

.hero-section__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: clamp(2rem, 6vw, 4.5rem);
  opacity: 0;
  transform: translateY(28px);
  animation: heroItemIn 0.9s ease forwards 0.25s;
}

.hero-section__heading {
  margin: 0;
  color: #fff;
  font-family: var(--footer-font-display);
  font-size: clamp(3rem, 6vw, 4.95rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1.16;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.28);
}

.hero-section__text {
  margin: 1rem 0 0;
  color: #fff;
  font-family: var(--footer-font-accent);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-style: normal;
  font-weight: 600;
  line-height: 1.15;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.34);
}

.hero-section__packs {
  position: relative;
  z-index: 3;
  margin-top: 2.25rem;
  width: clamp(19rem, 34vw, 29rem);
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  animation: heroItemIn 0.95s ease forwards 0.45s;
}

.hero-section__bottom {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 1;
  width: 100vw;
  min-width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-section__bottom--wide {
  display: none;
}

@keyframes heroZoomCover {
  0% {
    transform: scale(1.04);
  }

  100% {
    transform: scale(1.12);
  }
}

@keyframes heroItemIn {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroBadgeRollIn {
  0% {
    opacity: 1;
    transform: translateY(-120%);
  }

  72% {
    opacity: 1;
    transform: translateY(8%);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroBadgeLetterIn {
  0% {
    opacity: 0;
    transform: translateX(-10px) translateY(-14px) scale(0.82);
  }

  60% {
    opacity: 1;
    transform: translateX(0) translateY(4px) scale(1.08);
  }

  100% {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
  }
}

.moments-section {
  background: var(--footer-bg);
  color: #fff;
  padding: 6rem 0;
}

.moments-section__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--footer-side-padding);
}

.moments-section__heading {
  margin: 0 auto;
  color: #fff;
  font-family: var(--footer-font-display);
  font-size: 45px;
  font-style: normal;
  font-weight: 700;
  line-height: 109%;
  text-align: center;
}

.moments-section__rotating {
  display: block;
  min-height: 1.15em;
  margin-top: 0.08em;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 0.24s ease, transform 0.32s ease;
  will-change: opacity, transform;
}

.moments-section__rotating.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.moments-section__rotating.is-changing {
  opacity: 0;
  transform: translateY(-10px) scale(0.985);
}

.moments-section__video-card {
  position: relative;
  margin: clamp(2rem, 5vw, 3rem) auto 0;
  width: min(100%, 83.75rem);
}

.moments-section__video-thumb {
  width: 100%;
  border-radius: 20px;
  box-shadow: 7px 7px 0 0 rgba(0, 0, 0, 0.15);
}

.moments-section__play {
  position: absolute;
  inset: 50% auto auto 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(4.5rem, 8vw, 6.25rem);
  height: clamp(4.5rem, 8vw, 6.25rem);
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.moments-section__play:hover,
.moments-section__play:focus-visible {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.04);
}

.moments-section__play:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.moments-section__play-icon {
  width: 0;
  height: 0;
  margin-left: 0.35rem;
  border-top: 1rem solid transparent;
  border-bottom: 1rem solid transparent;
  border-left: 1.6rem solid #f36d21;
}

.products-slider {
  background: var(--footer-bg);
  color: #fff;
  padding: 5rem 0;
}

.products-slider__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--footer-side-padding);
}

.products-slider__heading {
  margin: 0;
  color: #fff;
  font-family: var(--footer-font-display);
  font-size: 45px;
  font-style: normal;
  font-weight: 700;
  line-height: 109%;
  text-align: center;
}

.products-slider__subheading {
  margin: 1.5rem 0 0;
  color: #fff;
  font-family: var(--footer-font-accent);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.products-slider__stage {
  position: relative;
  margin: 3rem auto 0;
  width: min(100%, 82rem);
}

.products-slider__viewport {
  position: relative;
  min-height: 48rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at center, rgba(255, 187, 133, 0.58) 0%, rgba(249, 115, 22, 0) 54%),
    url("assets/images/product-slider bg.png") center center / contain no-repeat,
    var(--footer-bg);
  overflow: hidden;
}

.product-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  padding: 2rem 2rem 2.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(40px) scale(0.985);
  transition: opacity 0.48s ease, transform 0.48s ease;
}

.product-card__background {
  position: absolute;
  top: 10vh;
  inset: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.94) translateY(18px);
  transition: opacity 0.42s ease, transform 0.55s ease;
  pointer-events: none;
  overflow: hidden;
}

.product-card__background img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-card__visual,
.product-card__copy {
  position: relative;
  z-index: 1;
}

.product-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.product-card.is-active .product-card__background {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.product-card.is-active .product-card__visual,
.product-card.is-active .product-card__copy {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.14s;
}

.product-card.is-exiting-next,
.product-card.is-exiting-prev {
  opacity: 0;
}

.product-card.is-exiting-next {
  transform: translateX(-46px) scale(0.985);
}

.product-card.is-exiting-prev {
  transform: translateX(46px) scale(0.985);
}

.product-card.is-entering-next {
  transform: translateX(46px) scale(0.985);
}

.product-card.is-entering-prev {
  transform: translateX(-46px) scale(0.985);
}

.product-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  min-height: 34rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.36s ease, transform 0.45s ease;
}

.product-card__visual img {
  width: auto;
  max-width: min(100%, 54rem);
  height: 34rem;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.18));
}

.product-card__copy {
  width: min(100%, 37rem);
  padding-top: 1.6rem;
  border-top: 2px solid rgba(255, 255, 255, 0.9);
  text-align: center;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.36s ease, transform 0.45s ease;
}

.product-card__copy h4 {
  margin: 0;
  color: #fff;
  font-family: var(--footer-font-accent);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.product-card__copy p {
  max-width: 34rem;
  margin: 0.9rem auto 0;
  color: #fff;
  font-family: var(--footer-font-accent);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.45;
}

.products-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24.5px;
  height: 49px;
  border: 0;
  padding: 0;
  background: transparent;
  opacity: 0;
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.products-slider__stage:hover .products-slider__arrow,
.products-slider__stage:focus-within .products-slider__arrow {
  opacity: 1;
}

.products-slider__arrow:hover,
.products-slider__arrow:focus-visible {
  transform: translateY(-50%) scale(1.03);
}

.products-slider__arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.products-slider__arrow--prev {
  left: -1rem;
}

.products-slider__arrow--prev svg {
  transform: rotate(180deg);
}

.products-slider__arrow--next {
  right: -1rem;
}

.site-footer {
  position: relative;
  overflow: clip;
  background-color: var(--footer-bg);
  background-image: url("assets/images/vlna.svg");
  background-repeat: no-repeat;
  background-position: center bottom 80%;
  background-size: 102% auto;
  color: var(--footer-text);
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  max-width: var(--footer-max-width);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) var(--footer-side-padding) clamp(2rem, 4vw, 2.5rem);
}

.site-footer__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 22rem);
  grid-template-rows: auto auto;
  align-items: end;
  column-gap: clamp(2rem, 6vw, 6rem);
  min-height: clamp(30rem, 52vw, 43rem);
}

.site-footer__left {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: stretch;
}

.site-footer__products {
  width: min(43rem, 100%);
  margin-left: clamp(-0.75rem, -1vw, -0.25rem);
}

.site-footer__content {
  margin-top: clamp(1rem, 2vw, 1.75rem);
}

.site-footer__headline {
  margin: 0;
  color: #fff;
  font-family: var(--footer-font-display);
  font-size: var(--footer-headline-size);
  font-style: normal;
  font-weight: 600;
  line-height: 109%;
  text-wrap: balance;
}

.site-footer__aside {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: clamp(1rem, 2vw, 1.75rem);
  row-gap: 1.5rem;
  align-items: start;
  justify-content: end;
  align-content: start;
  min-height: auto;
  padding-bottom: 0;
}

.site-footer__legal,
.site-footer__visit {
  color: #fff;
  font-family: var(--footer-font-accent);
  font-style: normal;
  transition: opacity 0.2s ease;
}

.site-footer__legal {
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  letter-spacing: 1.17px;
}

.site-footer__legal--desktop {
  align-self: start;
  justify-self: start;
  margin-top: 100px;
}

.site-footer__legal--mobile {
  display: none;
}

.site-footer__visit {
  grid-column: 1;
  grid-row: 2;
  justify-self: center;
  align-self: start;
  margin-top: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.413px;
  text-align: center;
}

.site-footer__brand-link {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  flex: 0 0 auto;
}

.site-footer__logo {
  width: 195.799px;
    height: 178px;
}

.site-footer__socials {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  align-self: center;
  justify-content: center;
  margin-top: 0;
}

.site-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-footer__socials a:hover,
.site-footer__socials a:focus-visible,
.site-footer__legal:hover,
.site-footer__legal:focus-visible,
.site-footer__visit:hover,
.site-footer__visit:focus-visible {
  opacity: 0.8;
}

  .site-footer__socials a:hover,
  .site-footer__socials a:focus-visible {
    transform: translateY(-1px);
  }

.site-footer__socials a:focus-visible,
.site-footer__legal:focus-visible,
.site-footer__visit:focus-visible,
.site-footer__brand-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .hero-section::before {
    inset: -6%;
    background:
      linear-gradient(180deg, rgba(18, 34, 62, 0.72) 0%, rgba(18, 34, 62, 0.35) 26%, rgba(18, 34, 62, 0) 48%),
      url("assets/images/hero-bg.jpg") 64% center / cover no-repeat;
  }

  .hero-section__inner {
    min-height: 45rem;
  }

  .hero-section__topbar {
  }

  .hero-section__logo-link {
    padding-top: 0.75rem;
  }

  .hero-section__content {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-section__copy {
    padding-top: 1.5rem;
  }

  .hero-section__heading {
    font-size: clamp(2.1rem, 11vw, 3.4rem);
    line-height: 1.08;
  }

  .hero-section__text {
    font-size: 1.05rem;
  }

  .hero-section__packs {
    margin-top: 1.5rem;
    width: 100%;
  }

  .hero-section__bottom {
    width: 140vw;
    max-width: none;
  }

  .moments-section {
    padding-top: 0;
  }

  .moments-section__heading {
    font-size: clamp(1.9rem, 6.5vw, 45px);
  }

  .moments-section__rotating,
  .moments-section__video-card {
    min-height: 0;
  }

  .moments-section__play-icon {
    border-top-width: 0.75rem;
    border-bottom-width: 0.75rem;
    border-left-width: 1.2rem;
  }

  .products-slider {
    padding-bottom: 0;
  }

  .products-slider__heading {
    font-size: clamp(1.9rem, 6.5vw, 45px);
  }

  .products-slider__subheading {
    font-size: clamp(1.1rem, 4.8vw, 1.6rem);
  }

  .products-slider__stage {
    margin-top: 0;
  }

  .products-slider__viewport {
    min-height: 30rem;
    border-radius: 1.5rem;
    margin-top: 30px;
  }

  .product-card {
    grid-template-rows: auto auto;
    align-items: start;
    align-content: start;
    padding: 0 1rem 5rem;
  }

  .product-card__visual {
    margin-top: 50px;
    min-height: 0;
    align-items: flex-end;
  }

  .product-card__background {
    display: none;
  }

  .product-card__background img {
    width: min(100%, 30rem);
    max-height: 20rem;
  }

  .product-card__visual img {
    max-width: min(100%, 27rem);
    height: 18rem;
  }

  .product-card__copy {
    width: min(100%, 22rem);
    padding-top: 1.2rem;
    margin-top: 0.5rem;
  }

  .product-card__copy h4 {
    font-size: 1.2rem;
  }

  .product-card__copy p {
    font-size: 0.98rem;
  }

  .products-slider__arrow {
    top: 35%;
    bottom: auto;
    width: 13.5px;
    height: auto;
    opacity: 1;
    transform: translateY(-50%);
  }

  .products-slider__arrow:hover,
  .products-slider__arrow:focus-visible {
    transform: translateY(-50%) scale(1.03);
  }

  .products-slider__arrow--prev {
    left: 1rem;
  }

  .products-slider__arrow--next {
    right: 1rem;
  }

  .site-footer__layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: auto;
    row-gap: 2rem;
  }

  .site-footer__left {
    grid-column: 1;
    grid-row: 1;
    grid-template-rows: auto auto;
    gap: 1.5rem;
  }

  .site-footer__products {
    width: min(40rem, 100%);
    margin-left: 0;
    justify-self: center;
  }

  .site-footer__content {
    max-width: 38rem;
    justify-self: center;
  }

  .site-footer__aside {
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    justify-content: center;
    justify-items: center;
    row-gap: 1rem;
  }

  .site-footer__headline {
    text-align: center;
  }

  .site-footer__brand-link {
    order: 1;
    justify-self: center;
  }

  .site-footer__socials {
    grid-column: 1;
    grid-row: 3;
    align-self: auto;
    justify-content: center;
  }

  .site-footer__visit {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    line-height: 1.5;
    text-align: center;
  }

  .site-footer__legal--desktop {
    display: none;
  }

  .site-footer__legal--mobile {
    display: block;
    grid-column: 1;
    grid-row: 4;
    justify-self: center;
    margin-top: 50px;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .site-footer__inner {
    padding-top: 1.5rem;
  }

  .site-footer__headline {
    font-size: clamp(1.9rem, 6.5vw, 45px);
  }

  .site-footer__socials {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 0;
    justify-content: center;
  }

  .site-footer {
    /*background-position: center bottom 80%;*/
    background-size: 140% auto;
  }
}

@media (min-width: 1601px) {
  .hero-section__bottom--default {
    display: none;
  }

  .hero-section__bottom--wide {
    display: block;
  }
}
