:root {
  --navy: #191f2a;
  --orange: #FF6C11;
  --orange-deep: #EC6C23;
  --light-gray: #e6e6e6;
  --white: #ffffff;
  --font-display: "Saya Davidoff", "Arial Narrow", Arial, sans-serif;
  --font-body: "Saya Davidoff", Arial, sans-serif;
  --nav-height: 6.0625rem;
  --radius-pill: 3.9375rem;
}

html {
  /* font-size: 16px; */
   font-size: clamp(12px,min(0.8333vw, 1.675vh) ,16px); 
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-size: 1rem;
  margin: 0;
  color: var(--navy);
  background: var(--navy);
  font-family: var(--font-body);
}

.site-wrapper { width: 100%; }
img { max-width: 100%; }

[data-trig] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity .6s ease, transform .6s ease;
}

[data-trig].trig { opacity: 1; transform: translateY(0); }

.site-wrapper > header { min-height: var(--nav-height); }

.navbar {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  min-height: var(--nav-height);
  padding:  0;
  background: var(--navy);
}

.navbar .container-fluid { max-width: 71.25rem; }
.navbar-brand { padding: 0; margin-right: 2rem; }
.navbar-brand img { display: block; width: 10.875rem; height: auto; }
.navbar-nav { gap: .88rem; }

.navbar .nav-link {
color: var(--orange);
font-family: var(--font-display);
font-size: 1.125rem;
font-style: normal;
font-weight: 700;
line-height: normal;
text-transform: uppercase;
padding: 0.5rem;
text-align: center;
}

@media (max-width: 991.98px) { 
.navbar .nav-link {
  padding: 1.5rem;
}

 }

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active { color: var(--white); }

.retailer-logo {
  display: block;
  width: 11.75rem;
}

.retailer-logo img { display: block; width: 100%; height: auto; min-width: 12rem; }

main {
  overflow: hidden;
}

.hero-section { position: relative; z-index: 2; background: var(--navy); }

.hero-stage {
  position: relative;
  width: 100%;
  max-width:  100rem;
  height: 53.625rem;
  overflow: visible;
  background: var(--navy);
}

.hero-picture {
  position: absolute;
  inset: 0;
  display: block;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  top: 3rem;
  right: 9%;
  width: 53%;
}

.hero-copy h1 {
  margin: 0 0 1.75rem 0;
  color: var(--orange-deep);
  font-family: var(--font-display);
  font-size: 4.0625rem;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;

}

.hero-copy h1 span { color: var(--navy); }


 .hero-prize01 {
  width: 35.375rem;
  max-width: 100%;
  height: auto;
}

.hero-prize02 {
  width: 32.75rem;
  max-width: 100%;
  height: auto;
}

.value-label {
  display: inline-block;
  margin: 1.15rem 0 .25rem;
  padding: .1875rem 1.25rem;
  color: var(--white);
  background: var(--orange-deep);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  transform: skew(-12deg);
}

.hero-value,
.prize-value {
  margin: 0;
  color: var(--orange-deep);
  font-family: var(--font-display);
  font-size: 6.875rem;
  font-weight: 900;
  line-height: .95;
  letter-spacing: .05rem;
  text-transform: uppercase;
}

.hero-value small,
.prize-value small { margin-left: .25rem; font-size: .45em; }
.hero-bonus {
  position: relative;
  display: block;
  width: 26rem;
  aspect-ratio: 524 / 161;
  margin: .5rem auto 0;
  overflow: hidden;
}

.hero-bonus img {
  position: absolute;
  top: -637.82%;
  left: -45.76%;
  width: 188.36%;
  height: 865.38%;
  max-width: none;
}

.hero-products {
  position: absolute;
  z-index: 3;
  bottom: -8.75rem;
  left: 5.5rem;
  width: 28.875rem;
  height: auto;
}

.hero-products img {
  display: block;
  width: 100%;
  height: auto;
}

.contest-ribbon {
  position: absolute;
  z-index: 4;
  right: 13.5rem;
  bottom: 0;
  width: 5.313rem;
  height: auto;
}

.contest-ribbon img { display: block; width: 100%; height: auto; }



.section-heading {
  position: relative;
  z-index: 2;
  display: inline-block;
  min-width: 22.9375rem;
  margin: 0;
  padding: .4rem 2.75rem .55rem;
  color: var(--white);
  background: url("../img/nagrody-h2-bg.svg") center / 100% 100% no-repeat;
  font-family: var(--font-display);
  font-size: 3.4375rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}



.prizes-section {
  position: relative;
  padding-top: 3.12rem;
  overflow: hidden;
  background: linear-gradient(rgba(236, 108, 35, .82), rgba(236, 108, 35, .82)), url("../img/section-photo.jpg") center top / cover no-repeat;
}

.prize-stage {
  display: flex;
  align-items: center;
  padding-top: 5.64rem;
  padding-bottom: 15.25rem;
}

.prize-stage > .container { max-width: none; padding-inline: 0; }
.prize-stage > .container > .row { margin-inline: 0; }

.prize-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 5rem 3.5rem;
  color: var(--white);
  background: none;
  max-width: 64rem;
  margin: 0 auto;
}

.prize-card::after {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--navy);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 14.0069% 100%);
  content: "";
  pointer-events: none;
}

.prize-card > * {
  position: relative;
  z-index: 1;
}

.prize-card h3 {
  margin: 0 0 .75rem;
  font-family: var(--font-display);
  font-size: 4.6875rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.prize-card .value-label { margin-top: .5rem; }
.prize-ticket {
  position: relative;
  display: block;
  width: 23rem;
  aspect-ratio: 524 / 161;
  margin: .5rem auto 0;
  overflow: hidden;
}

.prize-ticket img {
  position: absolute;
  top: -637.82%;
  left: -45.76%;
  width: 188.36%;
  height: 865.38%;
  max-width: none;
}

.products-section {
  min-height: 46.375rem;
  padding: 2.75rem 0 2rem;
  background: var(--light-gray);
}

.section-heading-orange {
  color: var(--white);
  background: var(--orange-deep);
  clip-path: polygon(0 0, 100% 0, 96.2709% 100%, 0 100%);
  font-size: 3rem;
}

.products-slider {
  position: relative;
  width: min(calc(100% - 2rem), 72rem);
  margin: 2.5rem auto 0;
  padding-block: 1rem;
}

.products-slider .swiper-wrapper { align-items: flex-end; }

.product-slide {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 1;
}

.product-slide img { width: 15rem; height: auto; max-width: 100%; object-fit: contain; }

.product-slide.is-pulsing img { animation: product-pulse .45s ease-out; }

@keyframes product-pulse {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.08); }
}

.product-arrow {
  position: absolute;
  z-index: 5;
  top: 0;
  width: 3rem;
  height: 3rem;
  border: 0;
  background: transparent;
}

.product-arrow::after {
  display: block;
  width: 1.4rem;
  height: 1.4rem;
  border-top: .25rem solid var(--orange-deep);
  border-right: .25rem solid var(--orange-deep);
  content: "";
}

.product-arrow-prev { left: 2rem; }
.product-arrow-next { right: 2rem; }
.product-arrow-prev::after { transform: rotate(-135deg); }
.product-arrow-next::after { transform: rotate(45deg); }

.rules-section {
  padding: 7.25rem 0 4rem;
  background: var(--navy);
}

.rules-section .container-fluid {
  max-width: 70rem;
}

.rules-row { margin-top: 5.5rem; }
.rule-card img { width: 11.875rem; height: auto; }

@media (hover: hover) {
  .rule-card:hover img { animation: rule-icon-pulse .45s ease-out; }
}

@keyframes rule-icon-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.rules-row .rule-card[data-trig] {
  opacity: 0;
  transform: translateY(1.5rem) scale(.96);
  transition: none;
}

.rules-row > :nth-child(1) .rule-card[data-trig].trig { animation: rule-card-reveal .7s cubic-bezier(.22, 1, .36, 1) forwards; }
.rules-row > :nth-child(2) .rule-card[data-trig].trig { animation: rule-card-reveal .7s .18s cubic-bezier(.22, 1, .36, 1) forwards; }
.rules-row > :nth-child(3) .rule-card[data-trig].trig { animation: rule-card-reveal .7s .36s cubic-bezier(.22, 1, .36, 1) forwards; }

@keyframes rule-card-reveal {
  0% { opacity: 0; transform: translateY(1.5rem) scale(.96); }
  70% { opacity: 1; transform: translateY(0) scale(1.07); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.rule-card p {
  max-width: 21rem;
  margin: 2rem auto 0;
  font-family: var(--font-display);
  font-size: 1.3125rem;
  line-height: 1.15;
}

.rules-sample {
  margin: 4.5rem 0 0;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.2;
}

.rules-note {
  position: relative;
  width: fit-content;
  max-width: 60rem;
  margin-top: 1.5rem;
  margin-bottom: 4.5rem;
  padding: .88rem 2rem;
  color: var(--navy);
  background: #E6E6E6;
  font-family: var(--font-display);
  font-size: .875rem;
  line-height: 1.2;
  clip-path: polygon(0 0, 100% 0, 96.882% 100%, 0 100%);
}

.btn-brand {
  min-width: 14.375rem;
  border: 0;
  border-radius: var(--radius-pill);
  padding: .75rem 2rem;
  color: var(--white);
  background: var(--orange-deep);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-brand:hover,
.btn-brand:focus { color: var(--white); background: #d95208; transform: translateY(-.125rem); box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .2); }

.contact-section {
  min-height: 42.4375rem;
  padding: 6.75rem 0 5rem;
  background: var(--light-gray);
}

.contact-lead {
  margin: 6.5rem 0 3.5rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.25;
}

.contact-email { color: var(--navy); font-family: var(--font-display); font-size: 2.5rem; text-underline-offset: .2rem; }

.site-footer {
  padding: 4rem 0 3.5rem;
  color: var(--white);
  background: var(--navy);
}

.site-footer .container { max-width: 70rem; }
.footer-logo { width: 11rem; margin-bottom: 2.5rem; }
.organizer { font-family: var(--font-display); font-size: .875rem; line-height: 1.3; }
.footer-links { gap: 1rem 4rem; }
.footer-links a { color: var(--white); font-family: var(--font-display); font-size: .875rem; text-decoration: none; }
.footer-links a:hover, .footer-links a:focus { color: var(--orange); }



@media (max-width: 74.99875rem) {
  .hero-stage { width: calc(100% - 3rem); }
  .hero-copy { right: 4%; width: 57%; }
  .hero-copy h1 { font-size: 3.5rem; }
  .hero-value { font-size: 5.75rem; }
  .contest-ribbon { right: 7rem; }
  .prize-card h3 { font-size: 4rem; }
}

/* Bootstrap lg: 992px–1199.98px */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-photo {
    right: 0;
    left: auto;
    object-position: 20% top;
  }

  .hero-copy,
  .contest-ribbon { right: 0; }
}

@media (max-width: 61.99875rem) {
  :root { --nav-height: 5rem; }
  .navbar .container-fluid { padding-block: 1.25rem; }
  .navbar-brand img { width: 8.5rem; }
  .navbar-collapse { margin-top: .75rem; border-top: .0625rem solid rgba(255, 255, 255, .15); padding: .75rem 0 1rem; }
  .navbar-nav { gap: .15rem; }
  .retailer-logo { 
    width: 12rem;
    margin-top: .75rem;
    margin-left: auto;
    margin-right: auto;}
  .hero-stage { width: 100%; height: 44rem; }
  .hero-products { left: 0; width: 25rem; }
  .hero-copy { right: 2rem; width: 60%; }
  .hero-copy h1 { font-size: 3rem; }
  .hero-value { font-size: 5rem; }
  .hero-bonus { width: 20rem; }
  .contest-ribbon { right: 2rem; width: 2.6565rem; }
  .prizes-section, .prize-stage { min-height: 54rem; }
  .prize-card { padding-inline: 4rem; }
  .prize-card h3 { font-size: 3.5rem; }
  .prize-value { font-size: 5.5rem; }
  .rules-section { min-height: auto; }
  .section-heading-orange { min-width: min(40rem, 90vw); }
}

@media (max-width: 47.99875rem) {
  .hero-section,
  .hero-stage { background: #fde9e2; }
  .hero-stage { display: flex; height: auto; min-height: 0; flex-direction: column; align-items: center; padding: 2.5rem 0 0; }
  .hero-picture { position: relative; inset: auto; order: 2; width: 100%; margin-top: -4rem; align-self: flex-end; }
  .hero-photo { position: relative; inset: auto; display: block; width: 100%; height: auto; max-width: 100%; object-fit: contain; object-position: center bottom; opacity: 1; }
  .hero-copy { position: relative; z-index: 2; top: auto; right: auto; order: 1; width: 100%; padding-inline: 1rem; }
  .hero-copy h1 { font-size: clamp(2.35rem, 10vw, 3.25rem); }
  .hero-value { font-size: clamp(4.2rem, 18vw, 6rem); }
  .hero-bonus { width: min(19rem, 76vw); }
  .hero-products { bottom: -3rem; left: 0; width: min(21rem, 50vw); transform: none; }
  .contest-ribbon { right: .75rem; bottom: 0; }
  .section-heading { min-width: min(22rem, 90vw); font-size: 2.4rem; }
  .prizes-section, .prize-stage { min-height: 43rem; }
  .prize-stage { padding-top: 4rem; align-items: center; }
  .prize-card { margin-inline: -.75rem; padding: 3rem 1rem 3rem 2.75rem; }
  .prize-card::after {
    width: calc(100vw + .75rem);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 3.5rem 100%);
  }
  .prize-card h3 { font-size: clamp(2.5rem, 11vw, 3.5rem); }
  .prize-value { font-size: clamp(4.5rem, 18vw, 6rem); }
  .prize-card img { width: min(20rem, 75vw); }
  .products-section { min-height: auto; padding-bottom: 3rem; }
  .section-heading-orange { min-width: min(31rem, 94vw); font-size: 2.25rem; }
  .products-slider { margin-top: 2rem; }
  .product-arrow { top: 45%; }
  .product-arrow-prev { left: .75rem; }
  .product-arrow-next { right: .75rem; }
  .rules-section { padding: 5rem 0 4rem; }
  .rules-row { margin-top: 3.5rem; }
  .rule-card p { margin-top: 1rem; }
  .rules-sample { margin-top: 3.5rem; }
  .contact-section { min-height: 34rem; padding: 5rem 0 4rem; }
  .contact-lead { margin: 5rem 0 3rem; font-size: 2.25rem; }
  .contact-email { font-size: clamp(1.25rem, 5.8vw, 2rem); }
  .site-footer { min-height: auto; padding: 3.5rem 0; }
  .footer-logo { margin-bottom: 1.5rem; }
}

@media (min-width: 767.98px) and (max-width: 992px) {
  .hero-photo { object-position: 20% top; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .product-slide.is-pulsing img { animation: none; }
  .rules-row .rule-card[data-trig].trig { animation: none; }
  .rule-card:hover img { animation: none; }
  [data-trig] { opacity: 1; transform: none; }
}
