:root {
  --background-color: #EFF1F4;  
  --white: #fff;
  --black: #000;
  --red: #DA2720;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: var(--background-color);
  font-family: 'Fira Sans', Arial, sans-serif;
  color: var(--black);
  font-weight: 400;
  font-size: 18px;
  word-break: normal;
}
.custom-h1, .custom-h2 {
  font-size: 40px;
  font-weight: 700;
}
.custom-h3 {
  font-size: 24px;
  font-weight: 600;
}
.custom-section {
  margin-top: 40px;
}
.custom-container {
  max-width: 1200px;
  margin: 0 auto;
}
p + p {
  margin-top: 12px;
}
.card-step__btn-mobile {
  display: none;
}

/* COMPONENT: CARDS */
.card-row {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}
.card-item {
  padding: 30px 40px;
  background-color: var(--white);
  border-radius: 12px;
}
.card-item__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.card-item__icon {
  background-color: var(--pink);
  border: 1px solid var(--red);
  border-radius: 12px;
  padding: 5px;
  width: 36px;
  height: 36px;
}

/* COMPONENT: CARD STEPS */
.card-step__row {
  display: flex;
  gap: 29px;
  justify-content: space-between;
  margin-top: 40px;
}
.card-step__item {
  background-color: var(--white);
  border-radius: 30px;
  padding: 30px 48px;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}
.card-step__step {
  border: 1px solid var(--red);
  background-color: var(--pink);
  border-radius: 12px;
  color: var(--red);
  font-weight: 500;
  font-size: 20px;
  padding: 6px 20px;
}
.card-step__image-desktop {
  border: 1px solid var(--red);
  border-radius: 26px;
  padding: 37px;
}
.card-step__image-desktop.wo-padding {
  padding: 0 !important;
  border: none;
}
.card-step__item p {
  text-align: center;
}


/* MEDIA QUERIS */


@media (max-width: 1024px) {
  .custom-container {
    padding: 40px 20px;
  }
  .card-item {
    padding: 20px;
    gap: 15px;
  }
  .card-step__item {
    padding: 30px;
  }
}

@media (min-width: 320px) and (max-width: 768px) {
  .custom-сontainer {
    padding: 20px 15px;
  }
  .custom-h1 {
    font-size: 32px !important;
  }
  .hero-content .custom-paragraph {
    font-size: 16px;
  }
  .custom-h2 {
    font-size: 24px;
  }
  .custom-h3 {
    font-size: 18px;
  }
  .custom-btn {
    width: 100%;
    justify-content: center;
  }

  /* COMPONENT: FIRST SCREEN */
  .first-screen__media{
    height: clamp(320px, 92vw, 425px);
  }
  .first-screen__media img{
    object-position: 82% 20%;           
  }
  .first-screen__overlay{
    position: static;
    padding: 0;                    
    margin-top: 12px;                   
  }
  .first-screen .hero-content{
    width: 100%;
    padding: 20px;
    border-radius: 16px;
  }
  .card-row {
    display: flex;
    flex-direction: column;
    align-items: stretch; 
    margin-top: 20px;
    gap: 15px;
  }
  .card-item {
    padding: 20px;
    width: 100%;               
    max-width: none;           
    align-self: stretch;       
    box-sizing: border-box;    
  }
  p {
    font-size: 16px;
  }

  /* COMPONENT: CARD STEP */
  .card-step__row {
    flex-direction: column;
  }
  .card-step__item {
    max-width: none;
    width: 100%;
    padding: 20px;
  }
  .card-step__btn-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  .card-step__step {
    display: flex;
    justify-content: center;
    width: max-content;
  }
  .custom-card-btn {
    display: flex;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
  .custom-btn--kid {
    background-color: #FF4D77;
  }
  .custom-btn--tigrow {
    background-color: #FB8833;
  }

  /* COMPONENT: SUBSCRIBTION */
  .subscribtion-block {
    padding: 15px;
  }
  .subscribtion-block__right {
    display: none;
  }
}

@media (max-width: 320px) {
  .custom-breadcrumb {
    font-size: 16px;
  }
  .first-screen {
    background-position: 81% 20%;
  }
  .custom-btn, .custom-card-btn {
    font-size: 14px;
  }
}