.hero-home {
  position: relative;
  background-color: #ffffff;
  padding: clamp(20px, 8vw, 60px) 0 clamp(40px, 6vw, 65px);
  z-index: 10;
}

.hero-home__bg {
  position: absolute;
  inset: 0;
  background-size: 71%;
  background-position: 13% 10%;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
}

.hero-home__container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 25px;
}

.hero-home__title {
  font-size: clamp(36px, 5vw, 53px);
  font-weight: 900;
  line-height: 0.3;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 30px;
}

.hero-home__geo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  /* При line-height: 0.3 у заголовка расстояние между строками задаёт самый
     высокий элемент второй строки — флаг (70px). Резервируем его высоту, чтобы
     отступ не проседал, когда флаг в настройках не задан. */
  min-height: 70px;
}

.hero-pin {
  width: 44px;
  height: 44px;
  color: var(--text);
}

.hero-flag {
  height: 70px;
  width: auto;
  margin-left: 8px;
  border-radius: 4px;
  position: relative;
  top: 28px;
}

.hero-search {
  display: flex;
  gap: 16px;
  align-items: stretch;
  position: relative;
  z-index: 10;
  max-width: 620px;
}

.hero-datepicker {
  flex-grow: 1;
  background: var(--white);
  border-radius: 15px;
  border: 1px solid rgba(42, 42, 42, 0.1);
}

.hero-datepicker .rv-input {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  padding: 18px 45px 18px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  outline: none;
}

.hero-datepicker .rv-suffix {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text2);
  pointer-events: none;
}

.hero-search-btn {
  flex-shrink: 0;
  padding: 0 32px;
  font-size: 18px;
  border-radius: 15px;
}

.hero-discount {
  margin-top: 20px;
}

.hero-discount__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text2);
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 5px;
  transition: opacity 0.2s;
}

.hero-discount__link:hover {
  opacity: 0.7;
}

.hero-discount__icon {
  width: 22px;
  height: 22px;
  color: var(--text);
}

.hero-home__van {
  width: 130%;
  margin-left: -15%;
  transform: translateY(20px);
  display: block;
  pointer-events: none;
}

.watermark-title {
  position: relative;
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.watermark-svg {
  position: absolute;
  top: -46%;
  height: 200px;
  opacity: 1;
  pointer-events: none;
  z-index: 5;
}

.watermark-icon {
  width: 70px;
  height: auto;
  margin-bottom: 5px;
  position: relative;
  z-index: 2;
  opacity: 1;
}

.watermark-title .section-title {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

.section-catalog-home {
  padding: clamp(40px, 6vw, 80px) 0;
  background-color: var(--card-bg);
  position: relative;
  z-index: 5;
}

@media (max-width: 1300px) {
    .hero-home__container {
        grid-template-columns: 1.4fr 1fr;
    }
    .hero-home__title {
        /*line-height: 1;*/
        margin: 0 0 30px;
    }
}
@media (max-width: 1215px) {
    .hero-home__container {
        grid-template-columns: 1.5fr 1fr;
    }
    .hero-home__title {
        /*line-height: 1;*/
        margin: 0 0 30px;
    }
}
@media (max-width: 1200px) {
    .hero-home__container {
        grid-template-columns: 1.4fr 1fr;
    }
    .hero-home__title {
        line-height: 1;
        margin: 0 0 30px;
    }
}
@media (max-width: 1024px) {
	.hero-home__container {
        grid-template-columns: 1.4fr 1fr;
    }
    .hero-home__title {
        line-height: 1;
        margin: 0 0 30px;
    }
}

@media (max-width: 980px) {
  .hero-home__container {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .hero-home__left {
    display: contents;
  }

  .hero-home__title {
    order: 1;
    font-size: clamp(25px, 5vw, 53px);
    /*line-height: 0;*/
    position: relative;
    top: 26px;
  }

  .hero-home__right {
    order: 2;
    margin: 0 0 0 30px;
    width: 100%;
  }

  .hero-search {
    order: 3;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-discount {
    order: 4;
    margin-bottom: 20px;
  }

  .hero-home__bg {
    background-size: 175%;
  }

  .hero-home__geo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: -2px;
  }

  .hero-datepicker,
  .hero-search-btn {
    width: 100%;
  }

  .hero-search-btn {
    padding: 18px 32px;
  }

  .hero-home__van {
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  .hero-datepicker .calendar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100vw - 32px);
    max-width: 400px;
  }

  .watermark-svg {
    top: -13%;
    height: 129px;
  }
}

.section-catalog-home .carousel-wrapper {
  overflow: hidden;
  position: relative;
}
.section-catalog-home .carousel-track {
  display: flex;
  will-change: transform;
}
.section-catalog-home .carousel-slide {
  flex-shrink: 0;
  width: 100%;
}
.section-catalog-home .carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

@media (min-width: 981px) {
  .section-catalog-home .carousel-wrapper {
    width: calc(100% - 100px) !important;
    margin: 0 auto !important;
  }
  .section-catalog-home .carousel-nav {
    display: block !important;
  }
}

@media (max-width: 980px) {
  .section-catalog-home .carousel-nav {
    display: none !important;
  }
  .section-catalog-home .carousel-wrapper {
    width: 100% !important;
    margin: 0 !important;
  }
}

.disc-modal-dialog{
    width: min(1100px, calc(100vw - 64px));
    max-width: 920px;
    max-height: min(820px, calc(100vh - 64px));
    padding: 31px;
    overflow-y: auto;
    position: relative;
    border-radius: 26px;
    background: #fff;
}

.disc-modal-dialog::-webkit-scrollbar{ width: 10px; }
.disc-modal-dialog::-webkit-scrollbar-track{ background: transparent; }
.disc-modal-dialog::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.12);
  border-radius: 999px;
}
.disc-modal-dialog::-webkit-scrollbar-thumb:hover{ background: rgba(0,0,0,.18); }

.disc-close{
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: rgba(0,0,0,.55);
  transition: color .15s ease, transform .15s ease;
  z-index: 20;
}
.disc-close:hover{ color: rgba(0,0,0,.85); transform: scale(1.03); }
.disc-close svg{ width: 30px; height: 30px; }

.disc-content{
  font-family: "Montserrat", sans-serif;
  color: #2a2a2a;
}

.disc-title{
  margin: 0 0 34px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -0.02em;
  font-size: 54px;
  color: #1f1f1f;
}
.disc-orange{
  color: #fd6220;
  font-size: 1.05em;
}

.disc-grid{
  display: grid;
  grid-template-columns: 0.35fr 0.65fr;
  column-gap: 64px;
  row-gap: 36px;
  align-items: start;
  position: relative;

  grid-template-areas:
    "row1 row1"
    "ph1  t2"
    "row3 row3"
    "ph3  t4";
}

.disc-row-1{ grid-area: row1; }
.ph1{ grid-area: ph1; }
.t2{ grid-area: t2; }
.ph3{ grid-area: ph3; }
.t4{ grid-area: t4; }

.disc-row--3{
  grid-area: row3;
  display: grid;
  grid-template-columns: 0.65fr 0.35fr;
  column-gap: 64px;
  align-items: start;
}

.disc-row-1{
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
}

.disc-badge{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 18px;
    border-radius: 999px;
    background: #f6c86f;
    color: #1f1f1f;
    font-weight: 900;
    font-size: 25px;
    text-transform: uppercase;
    letter-spacing: .02em;
    white-space: nowrap;
}

.disc-step-title{
  margin: 0;
  font-weight: 900;
  font-size: 25px;
  line-height: 1.05;
  text-transform: uppercase;
  color: #1f1f1f;
  letter-spacing: -0.01em;
}
.disc-row-1 .disc-step-title{ font-size: 25px; }

.disc-socials{
  margin-left: auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  /* Иконок может быть до пяти: не сжимаемся за счёт заголовка шага,
     но и не вылезаем за контейнер — лишние переносим на вторую строку */
  flex-wrap: wrap;
  flex-shrink: 0;
  max-width: 100%;
  gap: 14px;
}

.d-soc{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #1f1f1f;
  text-decoration: none;
  min-width: 72px;
  transition: opacity .15s ease;
}
.d-soc:hover{ opacity: .72; }

.d-soc img{
  width: 44px;
  height: 44px;
  display: block;
}
.d-soc span{
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.d-soc--fb{ margin-top: 18px; }
.d-soc--tt{ margin-top: 0; }
.d-soc--ig{ margin-top: 0; }
.d-soc--yt{ margin-top: 0; }
.d-soc--max{ margin-top: 0; }

.disc-text{
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  row-gap: 8px;
  align-items: start;
}

.disc-text .disc-badge{ grid-column: 1; grid-row: 1; }
.disc-text .disc-step-title{ grid-column: 2; grid-row: 1; margin: 0; }

.disc-text p{
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    font-size: 23px;
    line-height: 1.35;
    color: rgba(31, 31, 31, .78);
    font-weight: 300;
}

.disc-ph{
  display: flex;
  align-items: center;
  justify-content: center;
}
.disc-ph img{
  display: block;
  height: auto;
  max-width: 100%;
  filter: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.disc-arr{
  position: absolute;
  pointer-events: none;
  z-index: 5;
  opacity: .95;
}
.disc-ph.ph2 {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.disc-ph.ph2 img {
    display: block;
    height: auto;
    max-width: 130%;
    filter: none !important;
    box-shadow: none !important;
    transform: none !important;
    position: absolute;
    z-index: -1;

}
.arr1{
    width: 79px;
    left: 38%;
    top: 34%;
    transform: translateX(-50%) rotate(-6deg);
}
.arr2{
    width: 64px;
    left: 62%;
    top: 47%;
  transform: translateX(-50%) rotate(10deg);
}
.arr3{
    width: 90px;
    left: 36%;
    bottom: -1%;
    transform: translateX(-50%) rotate(-2deg);
}

.disc-footer{
  margin-top: 34px;
  font-size: 16px;
  line-height: 1.35;
  color: rgba(31,31,31,.82);
}
.disc-footer b{ color: #1f1f1f; }

@media (max-width: 980px){
  .disc-modal-dialog{
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    padding: 28px 18px 22px;
    border-radius: 22px;
  }

  .disc-title{
    font-size: 30px;
    margin-bottom: 22px;
  }

  .disc-grid{
    grid-template-columns: 1fr;
    row-gap: 22px;
    column-gap: 0;
    grid-template-areas:
      "row1"
      "t2"
      "ph1"
      "row3"
      "t4"
      "ph3";
  }

  .disc-row--3{
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 18px;
  }

  .disc-arr{ display:none; }

  .disc-row-1{
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .disc-socials{
    margin-left: 0;
    justify-content: flex-start;
    gap: 18px;
  }

  .d-soc--fb, .d-soc--tt, .d-soc--ig, .d-soc--yt, .d-soc--max{ margin-top: 0; }

  .disc-step-title{ font-size: 18px; }
  .disc-text p{ font-size: 15px; }
  .disc-footer{ font-size: 15px; }

  .disc-ph.ph2 img {
    position: static;
    max-width: 100%;
    z-index: auto;
  }
}
