.gap-1{gap:1%;}
.gap-2{gap:2%;}
.gap-3{gap:3%;}
.gap-4{gap:4%;}
.gap-5{gap:5%;}
/* 🔥 FADE TOP / BOTTOM */
.fade {
    opacity: 0;
    transition: 0.5s;
}
.fade~.fade{transition:1s;}
.fade~.fade.fade{transition:1.5s;}
.fade~.fade.fade~.fade{transition:2s;}
.in-view .fade {
    opacity: 1;
}

.fade-top {
    transform: translateY(-75px);
    opacity: 0;
    transition: 0.5s;
}

.fade-bottom {
    transform: translateY(75px);
    opacity: 0;
    transition: 0.5s;
}

/* 👉 когда в зоне видимости */
.in-view .fade-top,
.in-view .fade-bottom {
    transform: translateY(0);
    opacity: 1;
}

/* 👉 задержки как у тебя */
.fade-top ~ .fade-bottom {
    transition: 1.5s;
}

.fade-bottom ~ .fade-top {
    transition: 1.5s;
}
.fade-left {
    transform: translateX(-75px)translateY(62px);
    opacity: 0;
    transition: 0.5s;
}
.fade-right {
    transform: translateX(75px)translateY(62px);
    opacity: 0;
    transition: 0.5s;
}
.in-view .fade-left,
.in-view .fade-right {opacity: 1;transform: translateX(0px)translateY(0px);}
.fade-left ~ .fade-right {transition: 1.5s;}
.fade-right ~ .fade-left {transition: 1.5s;}
.slide-left ~ .slide-right::after {transition: 1.5s;}
.slide-right ~ .slide-left::after {transition: 1.5s;}
.slide-top ~ .slide-bottom::after {transition: 1.5s;}
.slide-bottom ~ .slide-top::after {transition: 1.5s;}

.slide-right {
    position: relative;
}
.slide-left {
    position: relative;
}
.slide-top {
    position: relative;
}
.slide-bottom {
    position: relative;
}
.slide-left::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #e9e5d9;
    transition: 0.4s;
    z-index: 3;
}
.slide-right::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #e9e5d9;
    transition: 0.4s;
    z-index: 3;
}
.slide-top::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #f2f2f2;
    transition: 0.4s;
    z-index: 3;
}
.slide-bottom::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #e9e5d9;
    transition: 0.4s;
    z-index: 3;
}
.in-view .slide-right::after,
.in-view .slide-left::after{width:0%;}
.in-view .slide-top::after,
.in-view .slide-bottom::after{height:0%;}
.in-view.slide-bottom::after {
    height: 0%;
}

.g {
    display: grid;
}
.g6 {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}
.g5 {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}
.g4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
.g3 {
    grid-template-columns: 1fr 1fr 1fr;
}
.g2 {
    grid-template-columns: 1fr 1fr;
}
.img {
    border-radius: 15px;
    overflow: hidden;
}
.f {
    display: flex;
}
.center {
    justify-content: center;
}
.space {
    justify-content: space-between;
}
.just-center {
    justify-content: center;
    flex-direction: column;
}
.text{padding-left:5%;}
input.wpcf7-form-control.wpcf7-submit {
    background: red;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 3;
    margin: 0;
}



:root {
  --cs-height: min(78vh, 760px);
  --cs-radius: 20px;
  --cs-speed: 700ms;
  --cs-ease: cubic-bezier(.22,.61,.36,1);
}


.custom-dropdown { position: relative; cursor: pointer; }
.custom-dropdown__selected:hover{background: var(--color1);color:#fff;}
.custom-dropdown__selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #f3f3f3;
    border: 1px solid #ffffff;
    border-radius: 10px;
    padding: 12px 14px;
    color: #000000;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    transition: 0.4s;
}
.selected {
    padding: 10px 25px;
    background: #254f8e;
    color: #fff;
    border-radius: 10px;
    margin: 3px 0px;
    position: relative;
    line-height: 1;
    padding-right: 35px;
}
.selected i {
    position: absolute;
    right: 5px;
    top: calc(50% - 7px);
}


.custom-select::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-right: 2px solid #444;
  border-bottom: 2px solid #444;
  pointer-events: none;
}

/* Кастомный checkbox */
.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
}

.custom-checkbox input {
  opacity: 0;
  position: absolute;
}

.custom-checkbox span::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid #777;
  border-radius: 4px;
  display: inline-block;
  transition: 0.2s;
}

.custom-checkbox input:checked + span::before {
  background-color: #f4b200;
  border-color: #f4b200;
  box-shadow: inset 0 0 0 3px #fff;
}
.custom-dropdown {
    position: relative;
    width: 100%;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.custom-dropdown__selected i { font-size: 12px; opacity: 0.8; }

.custom-dropdown__options {
    position: absolute;
    z-index: 5;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 0px solid #ffffff;
    border-radius: 10px;
    padding: 0px 0;
    max-height: 240px;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    display: none;
}
.custom-dropdown.active .custom-dropdown__options { display: block; }
.custom-dropdown__options li {
    list-style: none;
    padding: 10px 14px;
    color: #000000;
    transition: background 0.15s, color 0.15s;
    font-weight: 600;
}
.custom-dropdown__options li:hover {
    background: var(--color1);
    color: #fff;
}
.custom-dropdown__options li + li {
    border-top: 1px solid #cfcfcf;
}
@media (max-width: 767px) { .custom-dropdown__selected { padding: 10px 12px; } .custom-dropdown__options li { padding: 10px 12px; } }

.custom-dropdown .options {
    display: none;
    position: absolute;
    top: 92%;
    left: -8px;
    right: 0;
    background-color: #122035;
    border: 0px solid #ccc;
    border-radius: 15px;
    z-index: 10;
    max-height: 471px;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 10px 8px;
    cursor: pointer
}

input#id_file {
    font-size: 12px
}

.custom-dropdown.active .options {
    display: block
}

.custom-dropdown .options li {
    padding: 10px 14px;
    transition: .4s;
    border-radius: 12px
}

.custom-dropdown .selected i {
    font-size: 13px;
    color: #818181
}

.custom-dropdown .options li:hover {
    background-color: #1a2b45
}



/* ПЛЕЙСХОЛДЕР */
section.con-form input::placeholder,
section.con-form textarea::placeholder {
    color: #fff !important;
    opacity: 0.4;
}

/* ДЛЯ ВСЕХ БРАУЗЕРОВ */
section.con-form input::-webkit-input-placeholder,
section.con-form textarea::-webkit-input-placeholder {
    color: #fff;
}

section.con-form input:-ms-input-placeholder,
section.con-form textarea:-ms-input-placeholder {
    color: #fff;
}

/* АВТОЗАПОЛНЕНИЕ (Chrome ублюдок 🤡) */
section.con-form input:-webkit-autofill,
section.con-form textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-text-fill-color: #fff !important;
    transition: background-color 9999s ease-in-out 0s;
}

/* ФОКУС (убираем синюю обводку) */
section.con-form input:focus,
section.con-form textarea:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* ACTIVE / HOVER */
section.con-form input:active,
section.con-form textarea:active,
section.con-form input:hover,
section.con-form textarea:hover {
    outline: none !important;
    box-shadow: none !important;
}

/* ДЛЯ IOS */
section.con-form input,
section.con-form textarea {
    -webkit-tap-highlight-color: transparent;
}