.hero-screen {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.hero {
  background-color: var(--color-primary);
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  padding: clamp(70px, 10vh, 120px) 0 clamp(20px, 4vh, 80px);
  background-size: cover;
  background-position: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(20px, 4vh, 60px);
  max-width: 660px;
  margin-left: max(var(--container-padding), calc((100% - var(--container-max)) / 2 + var(--container-padding)));
}

.hero__logo {
  width: 430px;
  height: auto;
  object-fit: contain;
  margin-right: 30px;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: clamp(15px, 3vh, 50px);
}

.hero__headlines {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1vh, 10px);
}

.hero__title {
  font-family: var(--font-primary);
  font-size: clamp(22px, 3.5vh, 32px);
  font-weight: var(--weight-semibold);
  line-height: 1.35;
  color: var(--color-white);
  text-transform: uppercase;
}

.hero__subtitle {
  font-family: var(--font-primary);
  font-size: clamp(15px, 2.2vh, 20px);
  font-weight: var(--weight-semibold);
  line-height: 1.2;
  color: var(--color-white);
}

.hero__description {
  font-family: var(--font-primary);
  font-size: clamp(13px, 1.7vh, 15px);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-white);
}

.hero__cta {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-primary);
  padding: clamp(8px, 1.5vh, 12px) 40px;
  font-size: clamp(14px, 1.8vh, 17px);
}

.marquee {
  background-color: var(--color-primary);
  padding: clamp(12px, 2vh, 20px) 0;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-33.333%);
  }
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: var(--gap-3xl);
  padding: 0 max(30px, calc((100vw - 1280px) / 2 + 18px));
  white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
  will-change: transform;
}

.marquee__track:hover {
  animation-play-state: paused;
}

.marquee__text {
  font-family: var(--font-primary);
  font-size: clamp(16px, 2.2vh, 20px);
  font-weight: var(--weight-semibold);
  color: var(--color-white);
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  padding: 2px 0;
}

.marquee__text:hover {
  opacity: 0.7;
  transform: translateY(-1px);
}

.marquee__dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-circle);
  background-color: var(--color-filter-control);
  flex-shrink: 0;
}

.categories,
.product-section,
.delivery-info,
.home-cta {
  padding: 110px 0;
}

.product-section--light,
.delivery-info {
  background: var(--color-panel-soft);
}

.home-section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 44px;
}

.home-section-head--center {
  align-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.home-section-head__title {
  font-family: var(--font-primary);
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: var(--weight-semibold);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-primary);
}

.home-section-head__description {
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: var(--weight-regular);
  line-height: 1.6;
  color: #365648;
}

.categories {
  padding: 90px 0;
}

.categories .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-3xl);
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
}

.categories__see-all {
  align-self: center;
}

.category-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: 20px !important;
  overflow: hidden !important;
}

.category-card__image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 20px 20px 20px 20px !important;
}

.category-card__name {
  width: 100%;
  padding: 10px 8px;
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-black);
  text-align: center;
  background: var(--color-white);
  border-radius: 0 0 20px 20px !important;
}

.product-section__see-all {
  display: inline-flex;
  align-self: center;
  margin-top: 38px;
}

.product-section .container,
.delivery-info .container,
.home-cta .container {
  display: flex;
  flex-direction: column;
}

.delivery-info .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.delivery-info__content {
  display: flex;
  flex-direction: column;
  gap: var(--gap-3xl);
}

.delivery-info__title {
  font-family: var(--font-primary);
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  line-height: 1.2;
  color: var(--color-primary);
  text-transform: uppercase;
}

.delivery-info__steps {
  display: flex;
  justify-content: space-between;
  gap: var(--gap-2xl);
}

.delivery-info__step {
  display: flex;
  flex-direction: column;
  gap: var(--gap-2xl);
  flex: 1 1 0;
  min-width: 0;
}

.delivery-info__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.delivery-info__text {
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.225;
  color: var(--color-primary);
}

.delivery-info__cta {
  align-self: center;
}

.home-cta {
  background:
    linear-gradient(90deg, rgba(15, 28, 21, 0.9) 0%, rgba(15, 28, 21, 0.78) 48%, rgba(15, 28, 21, 0.62) 100%),
    url("../img/decor-page-bottom.png") center / cover no-repeat;
}

.home-cta__content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.home-cta__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
}

.home-cta__title {
  font-family: var(--font-primary);
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: var(--weight-semibold);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-white);
  text-transform: uppercase;
}

.home-cta__description {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: var(--weight-regular);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 56ch;
}

.home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.home-cta__actions .btn--outline {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

@media (max-width: 1280px) {
  .categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .hero {
    padding: clamp(70px, 10vh, 120px) 0 clamp(20px, 4vh, 80px);
  }

  .categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-cta__content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .hero-screen {
    min-height: auto;
  }

  .hero {
    position: relative;
    background-position: 74% 100%;
    min-height: 0;
    align-items: flex-start;
    padding: 96px 0 24px;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(10, 20, 14, 0.18) 0%, rgba(10, 20, 14, 0.3) 26%, rgba(10, 20, 14, 0.54) 100%),
      linear-gradient(90deg, rgba(10, 20, 14, 0.72) 0%, rgba(10, 20, 14, 0.44) 48%, rgba(10, 20, 14, 0.14) 100%);
  }

  .hero__content {
    position: relative;
    z-index: 1;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    max-width: 100%;
    gap: 20px;
  }

  .hero__logo {
    display: block;
    width: min(54vw, 190px);
    margin-right: 0;
  }

  .hero__title {
    font-size: clamp(18px, 5.6vw, 28px);
    line-height: 1.12;
    max-width: 11.5ch;
    letter-spacing: -0.03em;
  }

  .hero__subtitle {
    font-size: 13px;
    line-height: 1.45;
    max-width: 26ch;
    color: rgba(255, 255, 255, 0.92);
  }

  .hero__description {
    display: block;
    font-size: 13px;
    line-height: 1.58;
    max-width: 30ch;
    color: rgba(255, 255, 255, 0.88);
  }

  .hero__text {
    gap: 14px;
    max-width: 340px;
  }

  .hero__headlines {
    gap: 12px;
  }

  .hero__cta {
    width: auto;
    min-width: 180px;
    justify-content: center;
    padding: 11px 20px;
    font-size: 13px;
    align-self: flex-start;
    box-shadow: 0 12px 28px rgba(11, 23, 17, 0.16);
  }

  .categories {
    padding: 48px 0;
  }

  .categories .container {
    gap: 28px;
  }

  .categories__grid {
    gap: 10px;
  }

  .category-card__name {
    font-size: 12px;
    line-height: 1.35;
    padding: 10px 8px 12px;
  }

  .hero__description,
  .home-section-head__description,
  .delivery-info__text,
  .home-cta__description {
    font-size: 15px;
    line-height: 1.6;
  }

  .product-section,
  .delivery-info,
  .home-cta {
    padding: 56px 0;
  }

  .home-section-head {
    gap: 12px;
    margin-bottom: 24px;
    max-width: 100%;
  }

  .home-section-head__title {
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.06;
  }

  .product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 260px));
    justify-content: center;
    width: 100%;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }

  .home-section-head__description {
    max-width: 34ch;
    margin: 0 auto;
  }

  .categories__see-all,
  .product-section__see-all {
    align-self: stretch;
    justify-content: center;
  }

  .delivery-info__steps {
    flex-direction: column;
    gap: 14px;
  }

  .delivery-info__step {
    flex: 1 1 auto;
    width: 100%;
    gap: 16px;
    padding: 20px 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(33, 61, 49, 0.08);
    border-radius: 22px;
    box-shadow: 0 16px 38px rgba(33, 61, 49, 0.06);
  }

  .delivery-info .container {
    gap: 40px;
  }

  .delivery-info__content {
    gap: 24px;
  }

  .delivery-info__title {
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.08;
    text-align: center;
  }

  .delivery-info__cta {
    width: 100%;
    justify-content: center;
  }

  .home-cta__actions {
    width: 100%;
    gap: 10px;
  }

  .home-cta__content {
    gap: 28px;
  }

  .home-cta__text {
    gap: 14px;
  }

  .home-cta__title {
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.04;
  }

  .home-cta__description {
    max-width: 32ch;
  }

  .home-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    background-position: 77% 100%;
    min-height: 0;
    padding: 88px 0 18px;
  }

  .hero__content {
    padding: 0 16px;
    gap: 18px;
  }

  .hero__logo {
    width: min(52vw, 164px);
  }

  .hero__title {
    font-size: clamp(17px, 6vw, 24px);
    max-width: 11ch;
  }

  .hero__subtitle {
    font-size: 12px;
    max-width: 25ch;
  }

  .categories__grid {
    gap: 8px;
  }

  .category-card__name {
    font-size: 11px;
    padding: 9px 6px 11px;
  }

  .marquee {
    padding: 10px 0;
  }

  .marquee__track {
    gap: 18px;
    padding: 0 22px;
  }

  .marquee__text {
    font-size: 14px;
  }

  .marquee__dot {
    width: 4px;
    height: 4px;
  }

  .hero__description,
  .home-section-head__description,
  .delivery-info__text,
  .home-cta__description {
    font-size: 13px;
  }

  .hero__description {
    display: none;
  }

  .home-section-head__title,
  .delivery-info__title {
    font-size: 24px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
    gap: 12px;
  }

  .delivery-info__step {
    padding: 18px;
  }

  .product-section,
  .delivery-info,
  .home-cta {
    padding: 48px 0;
  }

  .home-cta__title {
    font-size: 24px;
  }

  .home-cta__actions .btn,
  .hero__cta,
  .delivery-info__cta {
    min-height: 48px;
  }

  .hero__cta {
    min-width: 0;
    width: auto;
    padding-left: 18px;
    padding-right: 18px;
  }
}
