@charset "UTF-8";
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  appearance: none;
  -webkit-appearance: none;
  --c-primary: #CC2529 !important;
  --c-secondary: #FFB737 !important;
  --c-brown: #55371B;
  --fg-on: #FFFBF4;
  --c-white: #ffffff;

  --bg-primary: #FFFBF4 !important;
  --bg-secondary: #FFEDD8 !important;


  --ff-regular: "Calibri", sans-serif !important;
  --ff-title: "Ramillas-700", serif !important;
  --ff-title-bold: "RamillasTrial", serif !important;
}
html._lock {
  overflow: hidden;
}
/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
}

/* Remove list styles on ul, ol elements with a class attribute */
li,
ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  color: #DF020C;
  text-decoration-skip-ink: auto;
}

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

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}

a[role],
div[role],
button:hover,
button:active,
button:focus {
  outline: none !important;
  outline-offset: 0;
}

/* Remove excess padding and border in Firefox 4+ */
button::-moz-focus-inner {
  border: 0 !important;
  padding: 0 !important;
}

button,
[type=button],
[type=reset],
[type=submit] {
  appearance: button;
  -webkit-appearance: button;
}

button:not(:disabled),
[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled) {
  cursor: pointer;
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

button {
  border: none;
  margin: 0;
  padding: 0;
  width: auto;
  overflow: visible;
  background: transparent;
  /* inherit font & color from ancestor */
  color: inherit;
  font: inherit;
  /* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */
  line-height: normal;
  /* Corrects font smoothing for webkit */
  -webkit-font-smoothing: inherit;
  -moz-osx-font-smoothing: inherit;
  /* Corrects inability to style clickable `input` types in iOS */
  appearance: none;
  -webkit-appearance: none;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
a, button, input, textarea {
  outline: none;
  background: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

input[type=radio],
input[type=checkbox] {
  box-sizing: border-box;
  padding: 0;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: var(--ff-regular);
  border: none;
}

input,
input:hover,
input:active,
input:focus {
  outline: none;

  /*IOS*/
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

textarea {
  overflow: auto;
  resize: vertical;
}

details > summary {
  list-style: none;
}

summary {
  display: block;
  list-style-type: none;
}

/* Bootstrap
  ------------------------------------- */
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}

[tabindex="-1"]:focus:not(:focus-visible) {
  outline: 0 !important;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

abbr[title],
abbr[data-original-title] {
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  cursor: help;
  border-bottom: 0;
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
}

@font-face {
  font-family: "Calibri";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/Calibri-Light.woff") format("woff");
  src: url("../fonts/Calibri-Light.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Calibri";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/Calibri.woff") format("woff");
  src: url("../fonts/Calibri.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Calibri";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/Calibri-Bold.woff") format("woff");
  src: url("../fonts/Calibri-Bold.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-display: swap;
  font-family: "RamillasTrial";
  font-weight: 900;
  font-style: normal;
  src: url("../fonts/TT_RamillasTrial_Black.woff") format("woff");
  src: url("../fonts/TT_RamillasTrial_Black.woff2") format("woff2");
}

@font-face {
  font-family: "Ramillas-700";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/TT_Ramillas_Bold.eot") format("eot");
  src: url("../fonts/TT_Ramillas_Bold.ttf") format("ttf");
  src: url("../fonts/TT_Ramillas_Bold.woff") format("woff");
  src: url("../fonts/TT_Ramillas_Bold.woff2") format("woff2");
  font-display: swap;
}
/* hint
100 - Thin (Hairline)
200 - Extra Light (Ultra Light)
300 - Light (Book)
400 - Normal (Regular)
500 - Medium
600 - Semi Bold (Demi Bold)
700 - Bold
800 - Extra Bold (Ultra Bold)
900 - Black (Heavy)
*/
#levels .card-inner__popup, .burger-wrap__text, .header-burger, body {
  font-family: var(--ff-regular);
  font-weight: 400;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  position: relative;
  width: 100vw;
  background: #FFFBF4;
  color: var(--c-brown);
  font-size: 20px;
  line-height: 24px;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--ff-regular);
}
main {
  margin-top: 134px;
}
section {
  padding-top: var(--pt, 40px);
  padding-bottom: var(--pb, 40px);
  background-color: var(--bg-section-color, #FFFBF4);
}

.container {
  position: relative;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
  max-width: 1320px;
}

.section-title {
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: 64px;
  line-height: 64px;
}

h1 {
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: 64px;
  line-height: 64px;
  text-align: center;
  margin-bottom: 40px;
}

h2 {
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: 48px;
  line-height: 64px;
}

b {
  font-weight: 900;
  font-family: var(--ff-title-bold);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

header.header {
  padding: 30px 0;
  border-bottom: 1px solid #9E8268;
  position: fixed;
  top: 0;
  z-index: 100;
  background-color: var(--bg-primary);
  width: 100%;
}

.header-container {
  display: flex;
  align-items: center;
}

.header-logo {
  margin-right: 66px;
  display: inline-block;
}
.header-logo img{
  max-width: 150px;
  width: 100%;
}
.header-nav {
  display: flex;
  column-gap: 40px;
  margin-top: 15px;
}
.header-nav-item-link {
  font-size: 16px;
  line-height: 24px;
}
.header-link {
  margin-left: auto;
}
.header-burger {
  display: none;
  font-size: 20px;
  line-height: 24px;
  color: #55371B;
  margin-left: auto;
}

.burger-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: auto;
  width: 100%;
}
@media (max-width: 992px) {
  .burger-wrap {
    position: fixed;
    top: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 0;
    padding: 100px 25px;
    width: 100%;
    height: 100vh;
    background-color: #FFEDD8;
    z-index: 11;
  }
}
.burger-wrap::before {
  content: "";
  display: none;
  position: absolute;
  top: 0;
  left: -100%;
  width: 60vw;
  height: 100vh;
  background: rgba(255, 237, 216, 0.15);
  backdrop-filter: blur(10px);
  z-index: -1;
}
.burger-wrap__text {
  display: none;
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: #55371B;
}
@media (max-width: 992px) {
  .burger-wrap__text {
    display: block;
  }
}
.burger-wrap__close {
  position: absolute;
  top: 30px;
  right: 25px;
  display: none;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 16px;
}
.burger-wrap__close::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 1.5px;
  background-color: #55371B;
  transform: rotate(45deg);
}
.burger-wrap__close::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 1.5px;
  background-color: #55371B;
  transform: rotate(-45deg);
}
@media (max-width: 992px) {
  .burger-wrap__close {
    display: flex;
  }
}

.active {
  display: flex;
}

.button-cta {
  --c-border: #DF020C;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: var(--c-white);
  background-color: #DF020C;
  font-family: var(--ff-regular);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  text-align: center;
  padding: 14px 37px;
  border-radius: 12px;
  border: 1px solid var(--c-border);
  white-space: nowrap;
  transition: all .2s ease-in-out;
}
.button-cta--wide {
  padding: 15px 90px;
}
.button-cta:hover {
  background-color: #da0507;
}
.button-cta[disabled] {
  opacity: 0.3;
  pointer-events: none;
}

.wine-card {
  display: block;
  padding: 18px;
  border-radius: 57px;
  width: 100%;
  max-width: 320px;
  font-size: 24px;
  line-height: 24px;
  color: var(--fg-on);
  text-align: center;
  background-color: var(--c-brown);
  box-shadow: 0px 0.6087964177131653px 2.2138051986694336px rgba(134, 43, 11, 0.02);
  font-family: var(--ff-regular);
  font-weight: 400;
  transition: background-color .2s ease-in-out;
}
.wine-card:hover {
  background-color: #4b3017;
}

.input__label {
  font-weight: 700;
  margin-left: 20px;
  margin-bottom: 5px;
}
.input__area input {
  padding: 15px 20px;
  height: 50px;
  font-size: 16px;
}
.form__button {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 29px;
}
.checkbox__caption {
  color: #8B8B8B;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
}
.checkbox {
  align-items: center;
}
.main {
  padding-top: 160px;
  padding-bottom: 105px;
  overflow: hidden;
}

.main-link {
  display: block;
}

#footer {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  padding: 70px;
  margin-top: auto;
}

#footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 120px;
}
@media (max-width: 1139px) {
  #footer .footer-top {
    flex-direction: column;
    justify-content: unset;
    align-items: unset;
  }
}
@media (max-width: 1139px) {
  #footer .footer-top {
    margin-bottom: 80px;
  }
}
@media (max-width: 1139px) {
  #footer .footer-top__title {
    margin-bottom: 20px;
  }
}
#footer .footer-top-inner {
  max-width: 765px;
}
#footer .footer-top-inner__text:first-child {
  margin-bottom: 20px;
}
@media (max-width: 959px) {
  #footer .footer-top-inner__text:first-child {
    max-width: 610px;
  }
}
@media (max-width: 545px) {
  #footer .footer-top-inner__text:first-child {
    margin-bottom: 10px;
  }
}
#footer .footer-top-inner__link {
  font-weight: 500;
  text-decoration: underline;
}
#footer .footer-top-inner .link-tel {
  font-weight: 600;
  text-decoration: none;
}
#footer .footer-center {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
@media (max-width: 767px) {
  #footer .footer-center {
    display: grid;
    grid-template-columns: repeat(2, 47%);
    gap: 20px;
    margin-bottom: 40px;
  }
}
#footer .footer-center__img {
  margin-right: 80px;
  max-width: 150px;
}
#footer .footer__cta {
  margin-right: auto;
}
#footer .footer-center .footer-social {
  display: flex;
  gap: 15px;
  margin-right: 53px;
}
#footer .footer-center .footer-social-item {
  width: 48px;
  height: 48px;
}
#footer .footer-center .footer-social-item__link {
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
}
#footer .footer-center .footer-social-item:nth-child(1) .footer-social-item__link {
  background-image: url("../img/main/icon-tg.svg");
}
#footer .footer-center .footer-social-item:nth-child(2) .footer-social-item__link {
  background-image: url("../img/main/icon-vk.svg");
}
#footer .footer-center .footer-social-item:nth-child(3) .footer-social-item__link {
  background-image: url("../img/main/icon-zen.svg");
}
#footer .footer-center .downloads {
  display: flex;
  gap: 15px;
}
#footer .footer-center .downloads-item {
  width: 165px;
  height: 50px;
}
#footer .footer-center .downloads-item__link {
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: contain;
}
#footer .footer-center .downloads-item:nth-child(1) .downloads-item__link {
  background-image: url("../img/main/button-app-store.svg");
}
#footer .footer-center .downloads-item:nth-child(2) .downloads-item__link {
  background-image: url("../img/main/button-google-play.svg");
}
#footer .footer-bottom__text {
  font-family: arial;
  font-size: 16px;
  line-height: 20px;
  color: #9E8268;
}
.text--colored {
  color: var(--c-primary);
}

/* ----------------------------------------------------------------------------------------------------------------- */
.hero__banner {
  height: 300px;
  overflow: hidden;
  display: flex;
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 20px;
  z-index: 1;
}
.hero__banner img{
  position: absolute;
  width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: bottom;
  pointer-events: none;
}
.hero__banner-text {
  margin-left: 24px;
  z-index: 1;
}
.hero__banner-title {
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: 44px;
  line-height: 44px;
  margin-bottom: 8px;
}
.hero__banner-text p{
  font-family: var(--ff-regular);
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
}
.hero__cards {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.hero__card {
  position: relative;
}
.hero__card-image {
  height: 290px;
  border-radius: 20px;
  overflow: hidden;
}
.hero__card-image img {
  width: 100%;
}
.hero__card-text {
  margin-top: 15px;
}
.hero__card-title {
  font-weight: 700;
  font-size: 20px;
  line-height: 20px;
  color: #000000;
  text-align: center;
}
.hero__card-description {
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #8B8B8B;
  margin-top: 5px;
}
#franchise,
#fin-model {
  position: relative;
  z-index: 0;
}
#franchise::after,
#fin-model::after {
  content: '';
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
#franchise::after {
  background-image: url(../img/main/abstract-bg-1.png);
  background-position: right;
  right: 0;
  bottom: 90px;
}
#fin-model::after {
  background-image: url(../img/main/abstract-bg-2.png);
  background-position: left;
  left: 0;
  bottom: 0;
}

/* shops */
.shops__text {
  width: 70%;
  text-align: center;
  margin: 50px auto 0;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
  margin-top: 50px;
}
.benefit {
  display: flex;
  gap: 20px;
  align-items: center;
}
.benefit-title {
  font-family: var(--ff-title);
  font-weight: 900;
  font-size: 32px;
  line-height: 24px;
  margin-bottom: 20px;
}
.benefit ul li {
  position: relative;
  color: black;
  padding-left: 30px;
}
.benefit ul li::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  left: 12px;
  top: 10px;
  background-color: black;
}
.benefit-icon img {
  max-width: 55px;
  max-height: 100px;
  object-fit: contain;
  pointer-events: none;
}
#shops h2 {
  margin-top: 100px;
  margin-left: 100px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-top: 36px;
  counter-reset: item-counter;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 95px;
  counter-increment: item-counter;
  position: relative;
}
.step::after {
  content: counter(item-counter);
  position: absolute;
  top: 31px;
  font-weight: 700;
  font-size: 36px;
  line-height: 64px;
  background-color: #FFD396;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-title);
}
.step:not(:first-of-type)::before {
  content: '';
  position: absolute;
  width: 118%;
  top: 4px;
  right: 48%;
  height: 2px;
  background-color: var(--c-brown);
}
.step:last-of-type .step__dot::after {
  content: '';
  background: url(../img/main/step.svg);
  background-repeat: no-repeat;
  position: absolute;
  width: 30px;
  bottom: 20px;
  left: 50%;
  height: 110px;
  transform: translateX(-50%);
}
.step__dot {
  position: relative;
  width: 10px;
  height: 10px;
  background-color: #CA2124;
  border-radius: 50%;
  z-index: 1;
}
.step__text {
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
}

.step__text a {
  color: #DF020C;
  transition: all 0.3s ease;
}
.step__text a:hover {
  opacity: 0.7;
}

.fin-model {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: center;
}
.fin-model__text h1 {
  text-align: left;
}
.fin-model__image {
  height: 400px;
  border-radius: 26px;
  overflow: hidden;
}
.swiper {
  height: 100%;
  display: flex !important;
  align-items: center;
  padding-bottom: 30px !important;
}
.slider-bg {
  background: url(../img/main/slider-bg.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 455px;
  position: relative;
  display: flex;
  align-items: center;
}
.slider-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #000;
  opacity: .6;
}
.swiper-wrapper {
  height: auto !important;
  align-items: center;
}
.slide {
  color: white;
  text-align: center;
  opacity: .45;
}
.swiper-slide-active {
  opacity: 1;
}
.slide__title {
  font-size: 48px;
  line-height: 48px;
  margin-bottom: 20px;
  user-select: none;
}
.slide__description {
  font-weight: 700;
  font-size: 15px;
  line-height: 24px;
  width: 60%;
  margin: 0 auto;
  user-select: none;
}
.swiper-slide-active .slide__title {
  font-size: 75px;
  line-height: 60px;
  font-weight: 700;
}
.swiper-slide-active .slide__description {
  font-size: 25px;
}
.slider-pagination {
  position: absolute !important;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  bottom: 50px;
}
.swiper-button-next,
.swiper-button-prev {
  background-color: white;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(../img/main/chevron.svg);
  background-repeat: no-repeat;
  background-position: center;
  bottom: 0 !important;
  opacity: 0.7;
  transition: opacity 0.3s ease-in-out;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  opacity: 1;
}
.swiper-button-prev {
  transform: rotate(180deg);
  right: auto;
  left: 50%;
}
.swiper-button-next {
  left: auto;
  right: 50%;
}

#map-section h2 {
  margin-bottom: 40px;
}
#map {
  height: 600px;
}
form .form__fields {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(5, 1fr);
}
form .form__fields > *:not(:last-child) {
  flex: 1;
}
#franchise form {
  margin-top: 80px;
}
#conditions form {
  margin-top: 60px;
}
.modal .form__fields {
  grid-template-columns: 100%;
  gap: 12px;
}
.modal .modal__title, 
.modal .modal__message-title {
  font-weight: 700;
}
.modal .form__button {
  margin-top: 0;
  gap: 12px;
}
.modal .checkbox {
  padding: 8px 0;
}
.modal .input__label {
  margin-left: 0;
}
.checkbox__check::before {
  top: 0;
}
.input__error {
  color: #DF020C;
  font-size: 12px;
}
.input__area.has-error input {
  border: 1px solid #DF020C;
}
.input__field:focus {
  border-color: #bdbbbb;
}
.shop-balloon {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.shop-subway {
  position: relative;
  padding-left: 20px;
}
.shop-subway::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--subway-color, transparent);
}
.shop-title {
  display: flex;
  align-items: center;
  gap: 5px;
}
.checkbox__input:not(:checked) + .checkbox__check {
  border: 1px solid #DF020C;
}
