* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: "Commissioner", sans-serif;
  font-size: 16px;
  color: #1c1c1c;
  position: relative;
  font-weight: 400;
  margin: 0 auto;
  padding: 0;
  overflow-x: hidden;
  max-width: 1920px;
  background: #1d1c22;
}

.fancybox-slide--html .fancybox-close-small {
  color: #ffffff !important;
  opacity: 1;
}

.fancybox-slide--html .fancybox-close-small:hover {
  color: #c38e6f !important;
}

.fancybox-button svg {
  transform: scale(2);
}

.compensate-for-scrollbar {
  margin-right: auto !important;
  overflow: auto !important;
}

.fancybox-content {
  overflow: hidden;
}

input[type="file"] {
  display: none;
}

sup {
  display: inline-block;
  vertical-align: top;
  top: -3px;
  position: relative;
  font-size: 80%;
}

img {
  border-style: none;
  vertical-align: middle;
  max-width: 100%;
}

select::-ms-expand {
  display: none;
}

select::-ms-expand {
  display: none;
}

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

.fancybox-type-image .fancybox-close {
  right: 9px;
}

.fancybox-close {
  background: url(../img/bg_close.png) 50% 50% no-repeat !important;
  color: black;
  width: 22px !important;
  height: 22px !important;
  top: -25px !important;
  right: -25px !important;
}

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

.has-danger input,
.has-danger select,
.has-danger textarea {
  border-width: 2px;
  box-shadow:
    inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 6px #eba5a3;
}

#form_popup,
#form_popup2 {
  display: none;
}

.popup_container {
  width: 500px;
  max-width: 100%;
  padding: 30px;
  overflow: hidden;
  position: relative;
  background: white;
}

.popup_container h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: black;
  padding: 0;
}

.popup_container .form_comment {
  text-align: center;
  font-size: 20px;
  color: #414141;
  padding-bottom: 15px;
}

.popup_container .form_comment a {
  display: block;
  color: #414141;
  text-decoration: none;
}

.popup_container .close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  -moz-transform: rotate(45deg); /* Aey Firefox */
  -ms-transform: rotate(45deg); /* Aey IE */
  -webkit-transform: rotate(45deg); /* Aey Safari, Chrome, iOS */
  -o-transform: rotate(45deg); /* Aey Opera */
  transform: rotate(45deg);
  cursor: pointer;
}

.popup_container .close:before {
  content: "";
  position: absolute;
  left: 0px;
  top: 16px;
  width: 34px;
  height: 1px;
  display: block;
  background-color: #a8a8a8;
}

.popup_container .close:after {
  content: "";
  position: absolute;
  left: 16px;
  top: 0px;
  width: 1px;
  height: 34px;
  display: block;
  background-color: #a8a8a8;
}

.not_agree button {
  background-color: #cccccc !important;
  cursor: auto !important;
  color: white !important;
}

.agree_field {
  font-size: 10px;
  line-height: 100%;
  position: relative;
  display: inline-block;
  padding-left: 20px;
  top: 0px;
}

.agree_field input {
  position: absolute;
  top: -1px;
  left: 0px;
  margin: -0px;
}

.agree_field span {
  padding-left: 25px;
  display: inline-block;
}

form {
}

form .form-group {
  margin-bottom: 10px;
  position: relative;
}

form .form-group input[type="tel"],
form .form-group input[type="text"],
form .form-group input[type="number"],
form .form-group select {
  height: 45px;
  width: 100%;
  color: #000000;
  font-size: 16px;
  box-sizing: border-box;
  font-weight: 400;
  font-family: "OpenSans", sans-serif;
  padding: 0px 20px;
  outline: none;
  background: transparent;
  border-radius: 0px;
  border: 1px solid #1c1c1c;
}

form .form-group select {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: url(../img/ico_select.png) 95% 50% no-repeat #ffffff;
  font-family: "OpenSans", sans-serif;
  outline: none;
}

form .form-group button {
  width: 100%;
  cursor: pointer;
  font-family: "OpenSans", sans-serif;
  outline: none;
}

form .form-group button:hover {
}

.form_title {
  color: black;
  font-size: 36px; /* text-transform: uppercase; */
  padding: 0px;
  margin: 0px;
  text-align: center;
  padding-bottom: 47px;
}

.form_title span {
  display: block;
  color: #ff0000;
  white-space: nowrap;
}

/*========================================================================
  FORM POPUP â€” regatta style
========================================================================*/

.popup_container {
  width: 460px;
  padding: 48px 40px 40px;
  border-radius: 24px;
  background: #1d1c22;
  font-family: "Commissioner", sans-serif;
}

.popup_container .form_title,
.popup_container h2 {
  font-family: "Commissioner", sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  text-align: center;
  padding: 0;
  margin: 0 0 28px;
}

.popup_container .form-group {
  margin-bottom: 16px;
}

.popup_container .form-group input[type="tel"],
.popup_container .form-group input[type="text"],
.popup_container .form-group input[type="number"] {
  height: 56px;
  padding: 0 24px;
  background: #1d1c22;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  font-family: "Commissioner", sans-serif;
  transition: border-color 0.3s ease;
}

.popup_container .form-group input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.popup_container .form-group input:focus {
  border-color: rgba(255, 255, 255, 0.6);
}

.popup_container .form-group select {
  height: 56px;
  padding: 0 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") calc(100% - 24px) 50% no-repeat #1d1c22;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  font-family: "Commissioner", sans-serif;
  transition: border-color 0.3s ease;
}

.popup_container .form-group select:focus {
  border-color: rgba(255, 255, 255, 0.6);
}

.popup_container .btn {
  width: 100%;
  height: 56px;
}

.popup_container .agree_field {
  margin-top: 16px;
  padding-left: 26px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.5);
}

.popup_container .agree_field input {
  top: 1px;
  width: 16px;
  height: 16px;
  accent-color: #c38e6f;
}

.popup_container .agree_field a {
  color: #c38e6f;
  text-decoration: none;
}

.popup_container .close:before,
.popup_container .close:after {
  background-color: rgba(255, 255, 255, 0.6);
}

.popup_container .close:hover:before,
.popup_container .close:hover:after {
  background-color: #c38e6f;
}

.btn {
  box-sizing: border-box;
  background: #1c1c1c;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  height: 48px;
  padding: 0 15px;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  outline: none;
  border: 1px solid transparent;
  border-radius: 16px;
  transition: all 0.3s ease;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.btn svg,
.btn img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.btn.white {
  background: #ffffff;
  color: #1d1c22;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn.glass {
  border: 1px solid #1c1c1c;
  background: transparent;
  color: #1c1c1c;
}

.btn.white:hover {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

header .btn.white:hover {
  color: #1d1c22;
  border-color: rgba(29, 28, 34, 0.25);
}

/* arrow buttons â€” straight arrow + slide-through-on-hover animation */
.btn--arrow {
  justify-content: flex-start;
  gap: 0;
  padding: 0 54px 0 30px;
  text-align: left;
}

.btn--arrow .btn__label {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.btn--arrow .btn__arrow {
  position: absolute;
  top: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition:
    transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.3s ease;
}

.btn--arrow .btn__arrow img {
  display: block;
  width: 24px;
  height: 24px;
}

.btn--arrow .btn__arrow--r {
  right: 24px;
  transform: translateY(-50%);
  opacity: 1;
}

.btn--arrow .btn__arrow--l {
  left: 20px;
  transform: translate(-32px, -50%);
  opacity: 0;
}

.btn--arrow:hover .btn__arrow--r {
  transform: translate(32px, -50%);
  opacity: 0;
}

.btn--arrow:hover .btn__arrow--l {
  transform: translate(0, -50%);
  opacity: 1;
}

.btn--arrow:hover .btn__label {
  transform: translateX(26px);
}

/**********************
        HEADER
**********************/

header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 15;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0 0 20px 20px;
}

header.scroll {
  position: fixed;
  max-width: 1920px;
  margin: 0 auto;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.logo_wrap {
  display: flex;
  align-items: center;
  gap: 0 40px;
  flex-shrink: 0;
}

.logo_wrap img {
  display: block;
  height: 56px;
  width: auto;
}

.logo_wrap img.logo_wrap__main {
  height: 36px;
}

header nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

header nav .anchor {
  position: relative;
  color: #1d1c22;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}

header nav .anchor::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: #c38e6f;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

header nav .anchor:hover::after {
  transform: scaleX(1);
}

header .m_btn {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.header__phone {
  display: none;
}

/**********************
        BANNER
**********************/

.banner {
  margin-top: 104px;
}

.banner picture img {
  max-width: none;
  height: 670px;
  transform: translateX(-50%);
  left: 50%;
  display: block;
  position: relative;
}

.title_container {
  position: absolute;
  z-index: 1;
  top: 25px;
  width: 100%;
  text-align: center;
}

.title_container .title1 {
}

.title_container .title2 {
}

.title_container .title3 {
}

.title_container .btn {
}

/**********************
         CARS
**********************/

.car_item {
}

/**********************
       COMPLECTS
**********************/

#instock {
}

.instock_title {
}

.tb_complects_showmore {
  display: block;
  margin-top: 40px;
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
}

/**********************
        TRADEIN
**********************/

/**********************
       CREDIT
**********************/

/**********************
      CONTACTS
**********************/

/**********************
        FOOTER
**********************/

footer {
}

.foot_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.yurinfo {
  font-size: 14px;
  color: #ffffff;
}

.foot_links {
  display: flex;
  flex-direction: column;
  gap: 15px 0;
}

.foot_links > a {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

footer .disclamer {
  color: #ffffff;
  font-size: 14px;
  text-align: left;
  display: none;
  padding-top: 20px;
}

/*========================================================================
  REGATTA LANDING
========================================================================*/

/*---------------- HERO / BANNER ----------------*/

.hero {
  position: relative;
  width: 100%;
  background: #1d1c22;
  overflow: hidden;
}

.hero__bg {
  display: block;
  width: 100%;
  height: auto;
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: min(11vw, 220px) 0 min(5.5vw, 20px);
}

.hero__content .container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: min(1.66vw, 32px);
  background: #1d1c22;
  border-radius: 20px;
  padding: 15px 75px;
}

.hero__badge-date {
  color: #ffffff;
  font-weight: 700;
  font-size: min(1.66vw, 32px);
  white-space: nowrap;
}

.hero__badge-dot {
  width: min(1.04vw, 20px);
  height: min(1.04vw, 20px);
  border-radius: 10px;
  background: #c38e6f;
  flex-shrink: 0;
}

.hero__badge-place {
  color: #ffffff;
  font-weight: 700;
  font-size: min(1.3vw, 25px);
  white-space: nowrap;
}

.hero__title-small {
  display: inline-block;
  font-size: 0.8em;
  font-weight: 700;
}

.hero__title {
  max-width: 820px;
  margin: min(1.25vw, 24px) 0 0;
  color: #ffffff;
  font-weight: 700;
  font-size: min(3.75vw, 60px);
  line-height: 1.25;
  text-transform: uppercase;
  text-shadow: -4px 3px 20px rgba(0, 0, 0, 0.85);
}

.hero__cta {
  display: inline-flex;
  align-self: flex-start;
  margin-top: min(2.5vw, 48px);
  width: 340px;
  height: 56px;
}

.hero__subtitle {
  max-width: 1020px;
  margin: 0;
  color: #ffffff;
  font-weight: 700;
  font-size: min(2.4vw, 46px);
  line-height: 1.1;
}

.hero__panel {
  position: relative;
  max-width: 730px;
  margin-top: min(1.9vw, 20px);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  padding: min(1.9vw, 36px) min(2.3vw, 44px) min(3.6vw, 60px);
  width: fit-content;
}

.hero__panel-text {
  margin: 0;
  color: #1d1c22;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.35;
}

.hero__cta {
  position: absolute;
  left: min(2.3vw, 44px);
  bottom: 0;
  transform: translateY(50%);
  display: inline-flex;
  align-self: flex-start;
  width: 340px;
  height: 56px;
  z-index: 2;
}

/*---------------- ORGANIZER / FEATURES ----------------*/

.orginfo {
  position: relative;
  background: #1d1c22;
  margin-top: 110px;
  overflow: hidden;
}

.organizer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 770px;
}

.organizer__title {
  color: #ffffff;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
}

.organizer__cards {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  max-width: 770px;
}

.org-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 145px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  text-align: center;
}

.org-card__logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.org-card__logo--wide {
  width: 100%;
  max-width: 203px;
  height: 80px;
  border-radius: 0;
  object-fit: contain;
}

.org-card__name {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  text-shadow: 0px 11px 24px rgba(0, 0, 0, 0.45);
}

.org-card__role {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  font-weight: 400;
}

.features {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 20px;
  margin-top: 410px;
}

.feature {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 145px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  position: relative;
}

.feature__icon {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature__icon img {
  width: 100%;
  vertical-align: unset;
  position: absolute;
}

.feature__icon img.feature__icon-img {
  transition: all .3s linear;
  z-index: 1;
}

.feature__icon img.feature__icon-img_hover {
  z-index: 1;
  opacity: 0;
}


.feature__label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
  text-shadow: 0px 11px 24px rgba(0, 0, 0, 0.45);
  position: relative;
}

.feature__value {
  color: #ffffff;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
  position: relative;
}

.feature_bg {
  background: none;
  border: none;
}
.feature__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
.feature__bg img {
    object-fit: fill;
    width: 100%;
    height: 100%;
}
.feature__bg_hover {
  transition: all .3s linear;
  opacity: 0;
}
.feature__bg_hover img {}

.feature_bg:hover .feature__bg {
  opacity: 0;
}
.feature_bg:hover .feature__bg_hover {
  opacity: 1;
}

.feature_bg:hover .feature__icon img.feature__icon-img_hover {
  opacity: 1;
}

/*---------------- SCROLL WORDS (decorative) ----------------*/

.scroll-words {
  position: absolute;
  z-index: 1;
  top: 100px;
  left: 15px;
  right: 15px;
  height: 480px;
  pointer-events: none;
}

.scroll-word {
  position: absolute;
  color: #fff;
  font-size: 120px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 11px 24px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  -webkit-text-stroke-width: 4px;
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.1);
}

.scroll-word--drive {
  top: 0;
  right: 0;
}

.scroll-word--comp {
  top: 37%;
  right: 0;
}

.scroll-word--adren {
  top: 74%;
  left: 0;
}

/*========================================================================
  FORMATS
========================================================================*/

.formats {
  position: relative;
  background: #1d1c22;
  overflow: hidden;
  margin-top: 140px;
}

.formats__bg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: max(-725px, -37vw);
}

.formats__mobimg {
  display: none;
}

.br-mob {
  display: none;
}

.formats__layer {
  position: static;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.formats__layer.formats__layer--words {
  position: absolute;
}

.formats__layer > .container {
  height: 100%;
  padding-top: min(4.7vw, 90px);
}

.formats__title {
  margin: 0;
  color: #ffffff;
  font-size: min(3.33vw, 64px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.formats__text {
  max-width: 1035px;
  margin-top: 65px;
  color: #ffffff;
  font-size: min(1.3vw, 25px);
  font-weight: 700;
  line-height: 1.4;
}

.formats__card {
  max-width: 1033px;
  width: 70%;
  margin: min(2vw, 40px) 0 0;
  display: flex;
  flex-direction: column;
  gap: min(2vw, 40px);
  padding: min(2vw, 40px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  position: relative;
  z-index: 2;
}

.formats__list {
  display: flex;
  flex-direction: column;
}

.formats__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.formats__row:last-child {
  border-bottom: 0;
}

.formats__row-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.formats__dot {
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(195, 142, 111, 0.2);
  flex-shrink: 0;
}

.formats__dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c38e6f;
}

.formats__label {
  color: #ffffff;
  font-size: min(1.3vw, 25px);
  font-weight: 400;
  line-height: 1.4;
  text-shadow: 0px 11px 24px rgba(0, 0, 0, 0.45);
}

.formats__price {
  color: #ffffff;
  font-size: min(1.3vw, 25px);
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  text-shadow: 0px 11px 24px rgba(0, 0, 0, 0.45);
}

.formats__btn {
  width: 100%;
  height: auto;
  padding: 15px 30px;
  justify-content: space-between;
}


.formats__item{
    border-bottom:1px solid rgba(255,255,255,.1);
}

.formats__item:last-child{
    border-bottom:0;
}

.formats__row{
    border-bottom:0;
}

.formats__row-right{
    display:flex;
    align-items:center;
    gap:min(1.5vw,30px);
    flex-shrink:0;
}

.formats__toggle{
    position:relative;
    width:min(3.2vw,60px);
    height:min(3.2vw,60px);

    border:0;
    border-radius:50%;
    background:#c38e6f;

    cursor:pointer;
    flex-shrink:0;

    transition:.3s;
}

/* Ð¥Ð¾Ð²ÐµÑ€ Ð·Ð°ÐºÑ€Ñ‹Ñ‚Ð¾Ð³Ð¾ Ð¿ÑƒÐ½ÐºÑ‚Ð° */
.formats__toggle:hover{
    background:transparent;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.15);
}

.formats__toggle::before,
.formats__toggle::after{
    content:"";
    position:absolute;
    left:50%;
    top:50%;
    width:min(1vw,18px);
    height:2px;
    background:#fff;
    transform:translate(-50%,-50%);
    transition:.3s;
}

.formats__toggle::after{
    transform:translate(-50%,-50%) rotate(90deg);
}

/* ÐžÑ‚ÐºÑ€Ñ‹Ñ‚Ñ‹Ð¹ Ð¿ÑƒÐ½ÐºÑ‚ */
.formats__item.active .formats__toggle{
    background:transparent;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.15);
    /* box-shadow:none; */
}

.formats__item.active .formats__toggle::after{
    opacity:0;
}


.formats__item.active .formats__toggle:hover{
    background:transparent;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.15);
    /* box-shadow:none; */
}

/* ---------- Ñ€Ð°ÑÐºÑ€Ñ‹Ñ‚Ð¸Ðµ ---------- */

.formats__content{
    max-height:0;
    overflow:hidden;
    transition: max-height .7s linear;
}

.formats__item.active .formats__content{
    max-height: 500px;
}

.formats__content ul{
    margin:0;
    padding:0 0 25px 36px;
}

.formats__content li{
    color:#fff;
    opacity:.8;
    font-size:min(1.1vw,21px);
    line-height:1.8;
}




.formats-words {
  bottom: 500px;
  height: auto;
  top: unset;
}

.formats-words .scroll-word {
  color: transparent;
  line-height: 1.35;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.25);
}

.scroll-word__mask {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.scroll-word__masktext {
  font-family: "Commissioner", sans-serif;
  font-weight: 700;
  font-size: min(6.25vw, 120px);
  line-height: 1;
  text-transform: uppercase;
  transform: translateY(0.08em);
  fill: #ffffff;
}

.scroll-word--f1 {
  top: 0;
  left: 0;
  mask: url(#glass-f1);
}

.scroll-word--f2 {
  top: 1em;
  right: 0;
  mask: url(#glass-f2);
}

.scroll-word--f3 {
  top: 2em;
  right: 0;
  mask: url(#glass-f3);
}

/*========================================================================
  PROGRAM
========================================================================*/

.programs {
  position: relative;
  background: #1d1c22;
  padding-top: 220px;
  overflow: hidden;
}

.programs__compass {
  position: absolute;
  top: 0;
  right: 0;
  max-width: 100%;
  height: auto;
  opacity: 0.1;
  pointer-events: none;
}

.programs__title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #ffffff;
  font-size: min(3.33vw, 64px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.programs__text {
  position: relative;
  z-index: 1;
  max-width: 772px;
  margin: 65px 0 0;
  color: #ffffff;
  font-size: min(1.3vw, 25px);
  font-weight: 700;
  line-height: 1.4;
}

.programs__body {
  display: flex;
  align-items: stretch;
  gap: 20px;
  margin-top: 70px;
}

.programs__image {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
}

.programs__image img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  display: block;
}

.programs__grid {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 182px;
  gap: 20px;
}

.pcard {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

.pcard__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pcard__head {
  display: flex;
  align-items: center;
  gap: 20px;
}

.pcard__dot {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(195, 142, 111, 0.2);
  flex-shrink: 0;
}

.pcard__dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c38e6f;
}

.pcard__title {
  color: #ffffff;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 0px 11px 24px rgba(0, 0, 0, 0.45);
}

.pcard__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  text-shadow: 0px 11px 24px rgba(0, 0, 0, 0.45);
}

/*========================================================================
  ROUTE
========================================================================*/

.route {
  position: relative;
  background: #1d1c22;
  margin-top: 220px;
}

.route__title {
  margin: 0;
  color: #ffffff;
  font-size: min(3.33vw, 64px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.route__text {
  max-width: 772px;
  margin: min(3.4vw, 65px) 0 0;
  color: #ffffff;
  font-size: min(1.3vw, 25px);
  font-weight: 700;
  line-height: 1.4;
}

.route__list {
  margin-top: min(3.6vw, 70px);
}

.route__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: min(3vw, 60px);
  padding: 30px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.route__img {
  position: absolute;
  top: 50%;
  left: 64%;
  z-index: 3;
  width: 280px;
  height: 244px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translate(-50%, -50%) rotate(7deg) scale(0.92);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  pointer-events: none;
}

.route__row:hover .route__img {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(7deg) scale(1);
}

.route__date {
  flex: 0 0 auto;
  width: min(14vw, 225px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.route__day-num {
  color: #c38e6f;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
}

.route__day-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.route__info {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.route__place {
  color: #ffffff;
  font-size: min(1.66vw, 32px);
  font-weight: 700;
  line-height: 1.4;
}

.route__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  text-shadow: 0px 11px 24px rgba(0, 0, 0, 0.45);
}

.route__badge {
  flex: 0 0 auto;
  width: 223px;
  margin-left: auto;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.route__badge--accent {
  border-color: rgba(195, 142, 111, 0.3);
  color: #c38e6f;
}

/*========================================================================
  CAPITANS / INFO
========================================================================*/
.captains {
    padding-top: min(8vw, 220px);
}

.captains__grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    grid-template-areas:
        "text  photo"
        "form  form";
    gap: 40px 60px;
    align-items: stretch;
}

.captains__text  {
    grid-area: text;
    color: #ffffff;
}

.captains__title {
    font-size: min(3.33vw, 64px);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 24px;
    margin: 0px 0 min(5vw, 55px);
}

.captains__desc {
    color: #ffffff;
    font-size: min(1.3vw, 25px);
    font-weight: 700;
    line-height: 1.5;
}

.captains__desc-accent {
    color: #c38e6f;
}

.captains__desc p + p {
    margin-top: 50px;
}

.captains__photo {
    grid-area: photo;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.captains__img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
}

.captains__img--mob {
    display: none;
}

.captains__actions {
    display: flex;
    gap: 16px;
    margin-top: 50px;
}

.captains__form-wrap {
    grid-area: form;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-top: 40px;
}

.captains__form-text {
    color: #ffffff;
    font-size: min(1.3vw, 25px);
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    align-self: flex-start;
    vertical-align: top;
}


/*========================================================================
  HISTORY / GALLERY
========================================================================*/

.gallery {
  position: relative;
  background: #1d1c22;
  padding-top: 220px;
  overflow: hidden;
}

.gallery__ship {
  position: absolute;
  top: 30px;
  right: 0;
  max-width: 100%;
  height: auto;
  pointer-events: none;
}

.gallery__title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #ffffff;
  font-size: min(3.33vw, 64px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.gallery__text {
  position: relative;
  z-index: 1;
  max-width: 976px;
  margin-top: 65px;
  color: #ffffff;
  font-size: min(1.3vw, 25px);
  font-weight: 700;
  line-height: 1.4;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, min(12.76vw, 245px));
  gap: 16px 20px;
  margin-top: 90px;
}

.gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery__item--tall,
.g1,
.g2,
.g7,
.g8 {
  grid-row: span 2;
}

.g1 {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.g2 {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.g3 {
  grid-column: 3;
  grid-row: 1;
}

.g4 {
  grid-column: 3;
  grid-row: 2;
}

.g5 {
  grid-column: 1;
  grid-row: 3;
}

.g6 {
  grid-column: 1;
  grid-row: 4;
}

.g7 {
  grid-column: 2;
  grid-row: 3 / span 2;
}

.g8 {
  grid-column: 3;
  grid-row: 3 / span 2;
}

.gallery__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1D1C2266;
  border: 1px solid #FFFFFF4D;
  backdrop-filter: blur(10px);
  border-radius: 10px;
}

.gallery__play img {
  display: block;
  width: auto;
  height: auto;
}

.gallery__more {
  display: none;
}

.gallery__item video {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* ÐºÐ°Ðº Ñƒ img */
    display: block;
}

/*========================================================================
  BOOKING
========================================================================*/

.booking {
  position: relative;
  background: #1d1c22;
  overflow: hidden;
  margin-top: 220px;
}

.booking-words {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  height: min(17.75vw, 264px);
  z-index: 1;
}

.scroll-word--b1 {
  top: 0;
  left: 0;
}

.scroll-word--b2 {
  top: 1.2em;
  right: 0;
}

.booking__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: min(2.5vw, 48px);
  margin-top: min(2vw, 40px);
}

.booking__text {
  flex: 0 1 770px;
  margin: 0;
  color: #ffffff;
  font-size: min(1.3vw, 25px);
  line-height: 1.4;
  font-weight: 700;
  text-shadow: 0px 11px 24px rgba(0, 0, 0, 0.45);
}

.booking__form {
  flex: 0 0 auto;
  width: min(40vw, 770px);
  margin-top: 7px;
}

.booking__form-row {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.booking__input {
  flex: 1 1 0;
  min-width: 0;
  height: 56px;
  box-sizing: border-box;
  padding: 0 30px;
  background: #1d1c22;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.3s ease;
}

.booking__input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.booking__input:focus {
  border-color: rgba(255, 255, 255, 0.6);
}

.booking__submit {
  flex: 0 0 auto;
  width: 243px;
  height: 56px;
}

.booking__agree {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-left: 0;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.6);
}

.booking__agree input {
  position: static;
  width: 19px;
  height: 19px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: #c38e6f;
  cursor: pointer;
}

.booking__agree span {
  padding-left: 0;
}

.booking__media {
  display: block;
  width: 100%;
  margin-top: min(3vw, 60px);
  border-radius: 22px;
  overflow: hidden;
}

.booking__img {
  display: block;
  width: 100%;
  height: auto;
}

/*========================================================================
  FOOTER
========================================================================*/

.footer {
  background: #1d1c22;
  padding: 30px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: min(3vw, 60px);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  color: #92979a;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: #ffffff;
}

.footer__cta {
  flex: 0 0 auto;
  width: 290px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__cta-title {
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.footer__btn {
  width: 100%;
  height: 56px;
}

/* ========================================================================
   MEDIA QUERIES
   ======================================================================== */

@media (min-width: 1200px) {
  .container {
    width: 1620px;
    padding: 0 30px;
  }
}

/*------------------------------------------------------------------------------------------------------------------------*/

@media (max-width: 1600px) {
  .formats__layer > .container {
    padding-top: 30px;
  }

  .formats-words .scroll-word,
  .booking .scroll-word {
    font-size: 100px;
  }
}

@media (max-width: 1400px) {
  .hero__panel-text {
    font-size: 24px;

  }
}

/*IPAD PRO BEGIN*/
@media (min-width: 768px) and (max-width: 1199px) {
  /*******************************************************************/

  /*******************************************************************/

  /*******************************************************************/

  /*******************************************************************/

  /*******************************************************************/

  /*******************************************************************/
}

/*IPAD PRO BEGIN*/

/*IPAD BEGIN*/
@media (min-width: 768px) and (max-width: 991px) {
  /*******************************************************************/

  /*******************************************************************/

  /*******************************************************************/

  /*******************************************************************/

  /*******************************************************************/

  /*******************************************************************/

  /*******************************************************************/
}

/*IPAD END*/

/*MOBILE BEGIN*/
@media (max-width: 767px) {
  .fancybox-type-image {
    width: 100% !important;
    margin: 0px !important;
    left: 0px !important;
  }

  .fancybox-close {
    right: 9px !important;
    top: 9px !important;
  }

  .fancybox-inner {
    width: 100% !important;
    margin: 0px !important;
    padding: 0px !important;
  }

  .fancybox-wrap {
    margin: 0px !important;
    width: 100% !important;
    left: 0px !important;
    top: 20px !important;
  }

  .fancybox-type-image .fancybox-close {
    top: -8px !important;
  }

  .popup_container {
    width: 100%;
  }

  /*******************************************************************/

  header .m_btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    width: 30px;
    height: 21px;
    z-index: 1;
    top: 15px;
    right: 15px;
  }

  header .m_btn span {
    position: relative;
    display: block;
    width: 30px;
    height: 3px;
    background: #1c1c1c;
    transition: all 0.3s linear;
  }

  header .m_btn span:nth-child(2) {
    opacity: 1;
  }

  header .m_btn.active span:nth-child(1) {
    transform-origin: top right;
    transform: rotate(-45deg);
    top: -1px;
  }

  header .m_btn.active span:nth-child(2) {
    opacity: 0;
  }

  header .m_btn.active span:nth-child(3) {
    transform-origin: bottom right;
    transform: rotate(45deg);
    bottom: 1px;
  }

  .menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 107px;
    background: #1c1c1c;
    width: 100%;
    height: auto;
    right: -100%;
    left: unset;
    transition: all 0.3s linear;
    z-index: 2;
    padding: 20px 0;
    row-gap: 10px;
  }

  .menu.active {
    right: 0;
  }

  .menu > div {
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
  }

  .menu a {
    padding: 0;
    color: #ffffff;
  }

  .menu a:before {
    display: none;
  }

  /*******************************************************************/

  /*******************************************************************/

  .banner {
  }

  .title_container {
  }

  .banner picture img {
    height: auto;
    width: 100%;
  }

  .title_container .title1 {
  }

  .title_container .title2 {
  }

  .title_container .title3 {
  }

  .title_container .btn {
    display: none;
  }

  /*******************************************************************/

  /*******************************************************************/

  /*******************************************************************/

  /*******************************************************************/

  /*******************************************************************/

  /*******************************************************************/
}

/*MOBILE END*/

/* Portrait phones and smaller */
@media (max-width: 390px) {
}

@media (max-width: 360px) {
}

@media (max-width: 320px) {
}

@media (min-width: 1200px) {
  .scroll-words {
    left: 30px;
    right: 30px;
  }
}

@media (min-width: 992px) {
  .scroll-word {
    transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
  }

  .scroll-word--right {
    transform: translateX(120vw);
  }

  .scroll-word--left {
    transform: translateX(-120vw);
  }

  .scroll-words.play .scroll-word {
    transform: translateX(0);
  }

  .scroll-words.play .scroll-word:nth-child(1) {
    transition-delay: 0s;
  }

  .scroll-words.play .scroll-word:nth-child(2) {
    transition-delay: 0.5s;
  }

  .scroll-words.play .scroll-word:nth-child(3) {
    transition-delay: 1s;
  }
}

/*---------------- REGATTA TABLET ----------------*/

@media (min-width: 768px) and (max-width: 1199px) {
  .features {
    flex-wrap: wrap;
    margin-top: 340px;
  }

  .feature {
    flex: 1 1 45%;
  }

  .feature__icon {
    width: 80px;
    height: 80px;
  }
}

/*---------------- REGATTA MOBILE ----------------*/

@media (max-width: 767px) {
  header {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0;
  }

  header .container {
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 22px;
  }

  header .m_btn {
    display: flex;
    position: relative;
    top: auto;
    right: auto;
    width: 24px;
    height: 18px;
    flex: 0 0 auto;
  }

  header .m_btn span {
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: #1d1c22;
  }

  .logo_wrap {
    flex: 1 1 auto;
    /* justify-content: center; */
    gap: 0 16px;
  }

  .logo_wrap img {
    height: 44px;
  }

  .logo_wrap img.logo_wrap__main {
    height: 19px;
  }

  .header__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
  }

  .header__phone img {
    display: block;
    width: 24px;
    height: 24px;
  }

  nav.menu {
    padding: 16px 15px 24px;
    row-gap: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 20px 20px;
  }

  nav.menu .anchor {
    padding: 12px 0;
    font-size: 17px;
    text-align: center;
    color: #fff;
  }

  nav.menu .anchor::after {
    display: none;
  }

  nav.menu a.btn {
    width: 100%;
    height: 52px;
    margin-top: 12px;
    padding: 0 54px 0 30px;
  }

  nav.menu a.btn .btn__label {
    margin: 0 auto;
  }

  .hero__content {
    position: static;
    padding: 0;
  }

  .hero__content .container {
    position: static;
    display: block;
    height: auto;
  }

  .hero__top {
    position: absolute;
    top: 120px;
    left: 15px;
    right: 15px;
    z-index: 2;
  }

  .hero__badge {
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
  }

  .hero__badge-date {
    font-size: 14px;
  }

  .hero__badge-place {
    font-size: 14px;
  }

  .hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
  }

  .hero__title {
    max-width: 100%;
    margin-top: 20px;
    font-size: min(8.5vw, 28px);
    line-height: 1.15;
    text-shadow: 0px 4px 12px rgba(0, 0, 0, 0.45);
  }

  .hero__title-small {
    font-size: 0.65em;
  }

  .hero__panel {
    position: relative;
    max-width: 100%;
    margin-top: 16px;
    padding: 16px 20px 34px;
    border-radius: 14px;
  }

  .hero__panel-text {
    font-size: 24px;
    line-height: 1.2;
  }

  .hero__cta {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    top: auto;
    transform: translateY(50%);
    width: auto;
    height: 48px;
    margin-top: 0;
    z-index: 2;
  }

  .hero__subtitle {
    padding: 28px 0 40px;
    font-size: 25px;
    line-height: 1.35;
  }

  .orginfo {
    margin-top: 0;
  }

  .organizer {
    display: flex;
    flex-direction: column-reverse;
    gap: 24px;
  }

  .organizer__head {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    max-width: none;
  }

  .organizer__title {
    font-size: 20px;
  }

  .organizer__head .btn {
    width: 100%;
    height: auto;
    justify-content: space-between;
    padding: 15px 16px;
    font-size: 16px;
  }

  .organizer__cards {
    flex-direction: column;
    gap: 20px;
    margin-top: 0;
    max-width: none;
  }

  .org-card {
    flex: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 80px;
    min-height: 0;
    padding: 10px 20px;
    text-align: right;
  }

  .org-card__logo {
    flex-shrink: 0;
  }

  .org-card__logo--wide {
    width: 116px;
    max-width: 116px;
    height: 44px;
  }

  .org-card__name {
    font-size: 16px;
  }

  .org-card__role {
    font-size: 14px;
  }

  .features {
    flex-direction: column;
    margin-top: 40px;
  }

  .feature {
    min-height: 110px;
  }

  .feature__icon {
    width: 72px;
    height: 72px;
  }

  .feature__label {
    font-size: 16px;
  }

  .feature__value {
    font-size: 20px;
  }

  .scroll-words {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    height: 184px;
    margin-top: 60px;
  }

  .scroll-word {
    font-size: 40px;
  }

  .scroll-word--drive {
    top: 0;
    left: 0;
    right: auto;
  }

  .scroll-word--comp {
    top: 52px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .scroll-word--adren {
    top: 104px;
    left: auto;
    right: 0;
  }
}

/*---------------- FORMATS / PROGRAM MOBILE ----------------*/

@media (max-width: 991px) {
  .programs__body {
    flex-direction: column;
  }

  .programs__image {
    position: static;
    order: -1;
  }

  .programs__image img {
    position: static;
    width: 100%;
    height: auto;
  }

  .programs__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .pcard__title {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .formats {
    margin-top: 50px;
  }

  .formats__bg,
  .formats__layer--words {
    display: none;
  }

  .formats__layer {
    position: static;
  }

  .formats__layer > .container {
    height: auto;
    margin-top: 0;
  }

  .formats__title {
    font-size: 40px;
    line-height: 1.1;
  }

  .formats__text {
    margin: 16px 0 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    opacity: 0.9;
  }

  .formats__mobimg {
    display: block;
    width: 100%;
    height: 200px;
    margin-top: 40px;
    object-fit: cover;
    border-radius: 16px;
  }

  .formats__card {
    margin-top: 40px;
    gap: 20px;
    padding: 16px;
    width: 100%;
  }

.formats__content ul {padding-left: 29px;display: flex;flex-direction: column;gap: 7px;}

.formats__content li {
    font-size: 14px;
    line-height: 1.2;
}

.formats__toggle {
    width: 20px;
    height: 20px;
}

.formats__toggle::before, .formats__toggle::after {
    width: 50%;
    height: 1px;
}

  .formats__row {
    height: 75px;
    padding: 0;
  }

  .formats__row-left {
    gap: 12px;
  }

  .br-mob {
    display: inline;
  }

  .formats__label,
  .formats__price {
    font-size: 14px;
  }

  .formats__btn {
    padding: 15px 30px;
  }

  /*---------------- Captains / info mobile ----------------*/
    .captains {
        padding-top: 60px;
    }

    .captains__grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "text"
            "photo"
            "form";
        gap: 24px;
        align-items: stretch;
    }

    .captains__photo {
        display: block;     
        justify-content: normal; 
        align-items: normal;     
    }

    .captains__img--desk {
        display: none;
    }
    .captains__img--mob {
        display: block;
        width: 100%;
        height: auto;          
        max-width: 100%;
        margin: 0;              
        border-radius: 12px;
    }

    .captains__actions {
        flex-direction: column;
    }

    .captains__form-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .captains__title {
        font-size: 40px;
        line-height: 1.1;
        margin: 0 0 20px;
    }

    .captains__desc,
    .captains__form-text {
        font-size: 16px;
        font-weight: 500;
        line-height: 1.5;
        opacity: 0.9;
    }

  /*---- PROGRAM ----*/

  .programs {
    margin-top: 80px;
    padding-top: 0;
  }

  .programs__compass {
    display: none;
  }

  .programs__title {
    font-size: 40px;
    line-height: 1.1;
  }

  .programs__text {
    margin: 16px 0 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    opacity: 0.9;
  }

  .programs__body {
    margin-top: 0;
    gap: 16px;
  }

  .programs__image {
    height: auto;
  }

  .programs__image img {
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    border: none;
  }

  .programs__grid {
    gap: 16px;
  }

  .pcard {
    padding: 20px;
    border-radius: 16px;
    border: none;
  }

  .pcard__body {
    gap: 8px;
  }

  .pcard__head {
    gap: 12px;
  }

  .pcard__dot {
    width: 8px;
    height: 8px;
    background: #c38e6f;
  }

  .pcard__dot::after {
    display: none;
  }

  .pcard__title {
    font-size: 20px;
  }

  .pcard__text {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
  }
}


/*---------------- ROUTE / GALLERY MOBILE ----------------*/

@media (max-width: 991px) {
  .route__row {
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .route__date {
    width: auto;
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
  }

  .route__badge {
    margin-left: 0;
    width: auto;
    min-width: 160px;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    grid-auto-rows: min(30vw, 200px);
  }

  .g1,
  .g2,
  .g3,
  .g4,
  .g5,
  .g6,
  .g7,
  .g8 {
    grid-column: auto;
    grid-row: auto;
  }

  .g1,
  .g2,
  .g7,
  .g8 {
    grid-row: span 2;
  }
}

@media (max-width: 767px) {
  /*---- ROUTE ----*/

  .route {
    margin-top: 0;
    margin-top: 80px;
  }

  .route__img {
    display: none;
  }

  .route__title {
    font-size: 40px;
    line-height: 1.1;
  }

  .route__text {
    max-width: none;
    margin: 16px 0 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    opacity: 0.9;
  }

  .route__list {
    margin-top: 32px;
  }

  .route__row {
    align-items: center;
    row-gap: 24px;
    padding: 32px 0;
  }

  .route__date {
    order: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .route__day-num {
    font-size: 20px;
  }

  .route__day-label {
    font-size: 14px;
  }

  .route__badge {
    order: 2;
    width: auto;
    min-width: 0;
    margin-left: auto;
    padding: 15px 30px;
    font-size: 14px;
  }

  .route__info {
    order: 3;
    flex-basis: 100%;
    gap: 8px;
  }

  .route__place {
    font-size: 32px;
  }

  /*---- GALLERY ----*/

.gallery {
  padding-top: 0;
  margin-top: 80px;
}

.gallery__ship {
  display: none;
}

.gallery__title {
  font-size: 40px;
  line-height: 1.1;
}

.gallery__text {
  max-width: none;
  margin-top: 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  opacity: 0.9;
}

.gallery__grid {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: none;
  grid-auto-rows: auto;
  gap: 12px;
  margin-top: 32px;
}

.g1,
.g2,
.g3,
.g4,
.g5,
.g6,
.g7,
.g8 {
  grid-column: auto;
  grid-row: auto;
}

.g1 { order: 2; } 
.g8 { order: 4; } 
.g2 { order: 5; }
.g3 { order: 6; }
.g4 { order: 7; }
.g5 { order: 8; }
.g6 { order: 9; }
.g7 { order: 10; }

.gallery__grid::before,
.gallery__grid::after {
  grid-column: 1 / -1;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  color: #ffffff;
}

.gallery__grid::before {
  content: "РЕГАТА 1.0";
  order: 1;
}

.gallery__grid::after {
  content: "РЕГАТА 2.0";
  order: 3;
  margin-top: 12px;
}

.gallery__item {
  height: 160px;
  border-radius: 16px;
}

.gallery__item--video {
  grid-column: 1 / -1;
  height: 240px;
}

.gallery__grid:not(.is-expanded) .g2,
.gallery__grid:not(.is-expanded) .g3,
.gallery__grid:not(.is-expanded) .g4,
.gallery__grid:not(.is-expanded) .g5,
.gallery__grid:not(.is-expanded) .g6,
.gallery__grid:not(.is-expanded) .g7 {
  display: none;
}

.gallery__play {
  width: 64px;
  height: 64px;
}

.gallery__more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 12px;
  padding: 15px 30px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.gallery__more-ico {
  display: flex;
  width: 24px;
  height: 24px;
}
}

@media (max-width: 991px) {
  .booking__head {
    flex-direction: column;
    gap: min(3vw, 40px);
  }

  .booking__text {
    flex: 0 0 auto;
    max-width: 770px;
  }

  .booking__form {
    width: 100%;
    max-width: 640px;
  }
}

@media (max-width: 767px) {
  .booking {
    margin-top: 20px;
    padding-top: 0;
  }

  .booking-words {
    height: 70px;
  }

  .booking .scroll-word {
    font-size: 28px;
    left: 0;
  }

  .booking__head {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    margin-top: 24px;
  }

  .booking__text {
    flex: 0 0 auto;
    max-width: none;
    font-size: 20px;
  }

  .booking__form {
    width: 100%;
    max-width: none;
  }

  .booking__form-row {
    flex-direction: column;
    gap: 16px;
  }

  .booking__input {
    flex: 0 0 auto;
    border-radius: 12px;
  }

  .booking__submit {
    width: 100%;
    justify-content: center;
    border-radius: 16px;
    padding: 15px 30px;
  }

  .booking__submit .btn__arrow {
    display: none;
  }

  .booking__agree {
    margin-top: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
  }

  .booking__agree input {
    width: 18px;
    height: 18px;
    border-radius: 4px;
  }

  .booking__media {
    margin-top: 0;
    border-radius: 20px;
  }

  .booking__img {
    height: 401px;
    object-fit: cover;
  }

  .footer {
    padding: 64px 0 40px;
  }

  .footer__inner {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 48px;
  }

  .footer__cta {
    width: auto;
  }

  .footer__cta-title {
    text-align: left;
  }

  .footer__btn {
    justify-content: space-between;
  }

  .footer__links {
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
  }

  .footer__links a {
    font-size: 14px;
  }
}
