@import url("https://fonts.googleapis.com/css2?family=Agdasima&family=Rubik:wght@300..900&display=swap");

:root {
  box-sizing: border-box;
}

*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
  border: none;
}

::after,
::before {
  display: inline-block;
}

html,
body {
  line-height: 1;
  min-width: 320px;
  height: 100%;
}

a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

li {
  list-style-type: none;
}

img {
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

:root {
  --container-max-width: 600px;
  --inline-offset: 16px;

  --direction: rtl;
  --text-color: #262626;

  --color-main: #ffcd00;
  --color-main-dark: #262626;
  --color-white: #ffffff;

  --line-gradient: linear-gradient(360deg, #ffffff -12.73%, #ffcd00 71.45%);

  --svg-arrow: url("data:image/svg+xml;utf8,\
    <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f1cb22' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>")
    center / contain no-repeat;
}

[class*="_container"] {
  max-width: var(--container-max-width);
  padding-inline: var(--inline-offset);
  margin-inline: auto;
}

html {
  direction: rtl;
}

body {
  font-family: "Rubik", sans-serif;
  color: var(--text-color);
  font-weight: 500;
}

.gallery {
  direction: ltr;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 1fr);
  -moz-column-gap: 12px;
       column-gap: 12px;
  row-gap: 8px;
}

.gallery__item {
  position: relative;
  border-radius: 16px;

  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.gallery__item img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.gallery__item--main {
  grid-area: 1 / 1 / 3 / 8;
  background-color: #ffe88a;
}

.gallery__item--logo {
  grid-area: 1 / 8 / 2 / 13;
  background: #fff7d7;
  align-items: center;
}

.gallery__item--device {
  grid-area: 2 / 8 / 3 / 13;
  background: #fff;
  align-items: center;
}

.gallery__image--woman {
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: bottom center;
     object-position: bottom center;
  overflow: clip;
  overflow-clip-margin: content-box;
}

@media screen and (min-width: 360px) {
  .gallery {
    min-height: 270px;
    -moz-column-gap: 26px;
         column-gap: 26px;
    row-gap: 16px;
  }

  .gallery__item img {
    width: unset;
  }
}

@media screen and (min-width: 450px) {
  .gallery__image--woman {
    inset-inline-start: auto;
  }
}

/* section */

.header__container {
  background: var(--line-gradient);
}

.header__logo {
  padding-top: 25px;
  padding-bottom: 50px;
}

.header__title {
  display: flex;
  flex-direction: column;
  padding-inline: 16px;

  font-weight: 400;

  padding-top: 80px;
  padding-bottom: 50px;
}

.header__heading {
  font-size: clamp(46px, 14.4vw, 54px);
  line-height: 105%;
  letter-spacing: -1.67%;

  padding-bottom: clamp(20px, 5vw, 25px);
}

.header__subtitle {
  font-size: clamp(18px, 10vw, 28px);
  line-height: 128%;
  margin-bottom: clamp(35px, 8vw, 45px);
}

.header__button {
  background-color: var(--color-main);
  color: #000;
  padding: 14px 23px;

  font-size: clamp(20px, 6vw, 28px);
  line-height: 100%;
  font-weight: 700;
  border-radius: 5px;

  cursor: pointer;
  min-height: 58px;
  transition:
    opacity,
    transform 0.2s;
}

.header__button:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.promo__container {
  background-color: #fffae6;
  padding: 60px 20px;
  text-align: center;
}

.promo__title {
  font-size: clamp(27px, 6vw, 40px);
  line-height: 125%;
  margin-bottom: 12px;
}

.promo__logo img {
  height: auto;
  margin-bottom: 16px;
}

.promo__text {
  font-size: clamp(27px, 6vw, 40px);
  line-height: 125%;
  margin-bottom: 50px;
}

.promo__images {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 16px;
}

.promo__image {
  position: relative;
  border-radius: 16px;
  overflow: visible;

  -o-object-fit: contain;

     object-fit: contain;
  min-height: 190px;
}

.promo__image img {
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  -o-object-fit: cover;
     object-fit: cover;
}

.promo__image--phone {
  background-color: #ffeea9;
  flex: 0 1 45%;
  padding: 8px;
}

.promo__image--man {
  flex: 1 0 55%;
  background-color: #ffe88a;
}

.promo__image--man img {
  inset-inline: 0;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}

.steps__container {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.steps__title {
  font-size: clamp(22px, 9vw, 36px);
  line-height: 117%;
  margin-bottom: 30px;
}

.steps__subtitle {
  font-size: clamp(18px, 6.4vw, 28px);
  line-height: 117%;
  margin-bottom: 70px;
}

.list {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-items: stretch;
  gap: 50px;

  margin-bottom: 60px;
}

.list__item {
  min-height: 48px;

  position: relative;
  background: #fbe98c;
  border-radius: 20px;
  padding: 7px 14px;
  text-align: center;
  font-size: clamp(16px, 5vw, 22px);
  line-height: 157%;
}

.list__item--highlight {
  background-color: var(--color-main);
  color: #000;
}

.list__item:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -35px;
  left: 50%;
  width: 28px;
  height: 28px;
  transform: translateX(-50%);
  background: var(--svg-arrow);
}

.steps__gallery {
  max-height: 211px;

  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
}

.steps__image {
  position: relative;

  border-radius: 7px;
  overflow: hidden;
  background-color: #fff7d7;
}

.steps__image--woman {
  flex: 1 0 54%;
}

.steps__image--woman::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/retail/landing/assets/icons/coins.svg") no-repeat center;
  background-size: contain;
  z-index: 1;
}

.steps__image--vending {
  flex: 1 0 36%;
  background-color: var(--color-main);
}

.steps__image img {
  -o-object-fit: cover;
     object-fit: cover;
}

.steps__image--vending img {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
}

.benefits__container {
  background-color: #f7f7f7;
  padding: 60px 20px 80px;
  text-align: center;
}

.benefits__intro {
  font-size: clamp(16px, 6.7vw, 28px);
  line-height: 128%;
  font-weight: 500;
  margin-bottom: 40px;
}

.benefits__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 60px;
}

.benefits__item {
  background-color: #ffe88a;
  border-radius: 7px;
  padding: 16px;

  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefits__icon {
  margin-bottom: 6px;
}

.benefits__icon img {
  width: 56px;
  height: 56px;
}

.benefits__icon--large img {
  width: 63px;
  height: 63px;
}

.benefits__title {
  font-size: clamp(18px, 8.5vw, 36px);
  line-height: 123%;
}

.benefits__text {
  font-size: clamp(15px, 5.6vw, 24px);
  line-height: 119%;
}

.benefits__footer {
  font-size: clamp(16px, 6.7vw, 28px);
  line-height: 128%;
}

.cta__container {
  background-color: #ffd733;
  text-align: center;
  padding: 55px 20px;
}

.cta__text {
  font-size: clamp(20px, 6vw, 28px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
}

.cta__button {
  display: inline-block;
  width: 100%;
  min-height: 74px;
  padding: 22px 29px;
  font-size: clamp(20px, 6vw, 28px);
  font-weight: 700;
  color: #000;
  background-color: #fff7d7;
  border-radius: 7px;
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.2s;
}

.cta__button:hover {
  background-color: #fff3b5;
  transform: translateY(-2px);
}

.qa__container {
  background-color: #ffffff;
  text-align: center;
  padding: 100px 20px 113px;
}

.qa__button {
  display: inline-block;
  width: 100%;
  padding: 10px 29px;
  font-size: clamp(18px, 6.1vw, 28px);
  font-weight: 600;
  color: #000;
  background-color: #fff;
  border: 1px solid #000000;
  border-radius: 7px;
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.2s;
}

.qa__button:hover {
  background-color: #fff7d7;
  transform: translateY(-2px);
}

.footer__container {
  background-color: var(--color-main-dark);
  min-height: 90px;

  display: flex;
  align-items: center;
  justify-content: center;
}
