/*====== Глобальные стили ======*/


html {
  scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    font-family: "Circe";
    background: #FFF;
}

.psy_consult {
  background: #FFF;
}

h1, h2, h3, h4, p {
    margin: 0;
}

.container {
    max-width: 1240px !important;
    margin: 0 auto;
    padding: 20px;
}

header .container {
  padding: 0;
}

.btn-outline-lightgray {
  color: #bbc0c7 !important;
  border: 1px #bbc0c7 solid !important;
}

.main-section .container {
    padding: 10px 20px 0;
}



@media (min-width: 1600px) {
  .navigation__search {
    margin-right: 30px !important;
  }  
}


.header > .navigation,
.nav-white {
  background-color: #fff !important;
}

.nav-white .navigation__logo img:first-child {
  display: none !important;
}

.nav-white .navigation__logo img:last-child {
  display: block !important;
}


.main {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(109deg, #E7FFF3 0%, #DFF5F7 52%, #E6F1FF 100%);
    padding: 20px 20px 0;
    display: flex;
    flex-direction: column;
}

.main-content {
    position: relative;
    z-index: 1;
    color: var(--Black-Main, #343A40);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.main-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    padding: 8px 15px;
    border-radius: 10px;
    background: #BFF3DD;
    color: var(--Black-Main, #343A40);
    font-size: 16px;
    font-weight: 700;
    line-height: 110%;
    margin-bottom: 14px;
    rotate: -3deg;
}

.main-badge__icon {
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
}

.main-title {
    max-width: 520px;
    color: #111;
    font-size: 24px;
    font-weight: 700;
    line-height: 110%;
    margin-bottom: 10px;
    text-align: left;
}

.main-text {
    max-width: 535px;
    color: var(--Black-Main, #343A40);
    font-size: 16px;
    font-weight: 400;
    line-height: 126%;
}

.main-text span {
    color: #F22462;
    font-weight: 700;
}

.main-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 16px;
}

.main-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    background: var(--Black-Main, #343A40);
    color: #FFF;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    border: 1px solid var(--Black-Main, #343A40);
    padding: 10px;
    width: 100%;
    min-height: 55px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.main-btn:hover {
    background: #000;
    border-color: #000;
    color: #FFF;
    text-decoration: none;
}

.main-btn--outline {
    background: rgba(255, 255, 255, 0.18);
    color: var(--Black-Main, #343A40);
}

.main-btn--outline:hover {
    background: rgba(255, 255, 255, 0.5);
    color: var(--Black-Main, #343A40);
}

.main-img {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    margin-top: 12px;
}

.main-girl {
    display: block;
    width: auto;
    height: 264px;
    max-width: 100%;
    object-fit: contain;
}


.under-main {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    margin-top: 20px;
}
.under-main__item {
    border-radius: 5px;
    background: var(--Black-BG, #F5F5F5);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 18px;
    width: 100%;
    max-width: 405px;
}

.under-main__item img {
    object-fit: contain;
    width: 40px;
} 

.under-main__item picture {
    display: flex;
    flex: 0 0 auto;
}



@media (min-width: 768px) {
    .main-section .container {
        padding: 20px;
    }
    .main {
        flex-direction: row;
        align-items: stretch;
        justify-content: space-between;
        margin-top: 0px;
        min-height: 390px;
        padding: 42px 45px 0;
        gap: 28px;
    }
    .main-title {
        font-size: 36px;
    }
    .main-text {
        font-size: 20px;
        line-height: 130%;
    }
    .main-actions {
        flex-direction: row;
        gap: 15px;
        width: auto;
        margin-top: 45px;
        margin-bottom: 30px;
    }
    .main-btn {
        width: 250px;
        font-size: 16px;
    }
    .main-btn--outline {
        width: 220px;
    }
    .main-img {
        display: none;
    }
    .main-girl {
        height: 390px;
    }


    .under-main {
        flex-direction: row;
        gap: 12px;
        flex-wrap: nowrap;
        align-items: stretch;
    }
    .under-main__item {
        flex: 1 1 0;
        max-width: none;
    }

}

@media (min-width: 992px) {
    .main {
        min-height: 520px;
    }
    .main-content {
        max-width: 590px;
    }
    .main-title {
        font-size: 52px;
    }
    .main-text {
        font-size: 22px;
    }
    .main-actions {
        margin-top: 58px;
    }
    .main-img {
        display: flex;
        align-self: flex-end;
        justify-content: flex-end;
        align-items: flex-end;
        flex-basis: 442px;
        margin-top: 0;
        height: calc(100% + 42px);
    }
    .main-girl {
        height: 100%;
    }
    .under-main__item {
        padding: 20px 18px;
        gap: 20px;
    }
    .under-main__item img {
        width: 50px;
        height: 50px;
    }
    .under-main__item p {
        color: #000;
        font-size: 18px;
        font-weight: 400;
        line-height: 120%;
    }
}

.hero-slider {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.hero-slider__viewport {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 527px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    height: 527px;
    overflow: hidden;
    border-radius: 8px;
    padding: 72px 45px 56px;
    color: #111111;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 0.45s ease, visibility 0s 0.45s;
}

.hero-slide.is-active {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition: transform 0.45s ease, visibility 0s;
}

.hero-slide.is-from-right {
    visibility: visible;
    transform: translateX(100%);
    transition: none;
}

.hero-slide.is-from-left {
    visibility: visible;
    transform: translateX(-100%);
    transition: none;
}

.hero-slide.is-leaving-left {
    visibility: visible;
    transform: translateX(-100%);
}

.hero-slide.is-leaving-right {
    visibility: visible;
    transform: translateX(100%);
}

.hero-slide.is-resetting {
    transition: none;
}

.hero-slider__viewport .hero-slide:nth-child(3n + 1) {
    background: linear-gradient(180deg, rgba(62, 157, 165, 0.50) 0%, rgba(62, 157, 165, 0.00) 100%), #AFE5E9;
}

.hero-slider__viewport .hero-slide:nth-child(3n + 2) {
    background: linear-gradient(180deg, rgba(62, 157, 165, 0.60) 0%, rgba(62, 157, 165, 0.00) 100%), #C4EED5;
}

.hero-slider__viewport .hero-slide:nth-child(3n) {
    background: linear-gradient(180deg, rgba(62, 157, 165, 0.60) 0%, rgba(62, 157, 165, 0.00) 100%), #C7E9FF;
}

.hero-slide__lines {
    position: absolute;
    top: 30px;
    left: 38px;
    right: 38px;
    display: grid;
    grid-template-columns: repeat(var(--hero-slide-count, 3), minmax(0, 1fr));
    gap: 8px;
    opacity: 0.75;
    z-index: 3;
}

.hero-slider--single .hero-slide__lines {
    display: none;
}

.hero-slide__lines span {
    position: relative;
    display: block;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
}

.hero-slide__lines span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.9);
    transform: scaleX(0);
    transform-origin: left center;
}

.hero-slide__lines span.is-filled::before {
    transform: scaleX(1);
}

.hero-slide__lines span.is-current::before {
    animation: hero-progress-fill 5.4s ease-out forwards;
}

.hero-slider.is-autoplay-paused .hero-slide__lines span.is-current::before {
    animation-play-state: paused;
}

@keyframes hero-progress-fill {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.hero-slide__content {
    position: relative;
    z-index: 2;
    width: 53%;
    max-width: 535px;
    height: 100%;
}

.hero-slide__tag {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 26px;
    margin-bottom: 16px;
    padding: 4px 10px;
    border: 1px solid #111111;
    border-radius: 999px;
    color: #111111;
    font-size: 13px;
    line-height: 1.1;
    white-space: nowrap;
}

.hero-slide__title {
    max-width: 558px;
    margin: 0 0 10px;
    color: #111111;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.12;
    text-align: left;
    letter-spacing: 0;
}

.hero-slide__text {
    max-width: 558px;
    color: #111111;
    font-size: 22px;
    font-weight: 400;
    line-height: 130%;
}

.hero-slide__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 225px;
    min-height: 45px;
    margin-top: 72px;
    border: 0;
    border-radius: 4px;
    background: #F03361;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

@media (min-width: 1200px) {
    .hero-slide__button {
        position: absolute;
        left: 0;
        bottom: 50px;
        margin-top: 0;
    }
}

.hero-slide__button:hover {
    background: #D92752;
    color: #FFFFFF;
    text-decoration: none;
}

.hero-slide__button:focus {
    color: #FFFFFF;
    text-decoration: none;
}

.hero-slide__media {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 590px;
    height: 527px;
}

.hero-slide__media img {
    position: relative;
    z-index: 2;
    display: block;
    width: auto;
    height: 476px;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
}

.hero-slide__media--sexology {
    right: 0;
    bottom: 0;
    width: 590px;
    height: 527px;
    align-items: center;
}

.hero-slide__media--sexology img {
    width: auto;
    height: 476px;
    max-height: none;
}

@media (min-width: 1200px) {
    .hero-slide__media {
        right: -50px;
    }
}

.hero-slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 8px 28px rgba(38, 38, 38, 0.14);
    cursor: pointer;
    transform: translateY(-50%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-slider__arrow:focus,
.hero-slider__arrow:active {
    border: 0;
    outline: none;
}

.hero-slider__arrow:hover {
    box-shadow: 0 10px 32px rgba(38, 38, 38, 0.18);
    transform: translateY(-50%) scale(1.04);
}

.hero-slider__arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-top: 2px solid #8E9AA6;
    border-right: 2px solid #8E9AA6;
}

.hero-slider__arrow--prev {
    left: -25px;
}

.hero-slider__arrow--prev::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.hero-slider__arrow--next {
    right: -25px;
}

.hero-slider__arrow--next::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

@media (min-width: 768px) {
    .hero-slide--green .hero-slide__button,
    .hero-slide--blue .hero-slide__button {
        margin-top: 62px;
    }
}

@media (max-width: 1199px) {
    /* .hero-slider {
        max-width: calc(100% - 104px);
    } */

    .hero-slider__viewport,
    .hero-slide {
        height: 430px;
    }

    .hero-slide {
        padding: 64px 38px 44px;
    }

    .hero-slide__title {
        font-size: 34px;
    }

    .hero-slide__text {
        font-size: 16px;
    }

    .hero-slide__media {
        right: 12px;
        width: 300px;
        height: 360px;
    }

    .hero-slide__media img,
    .hero-slide__media--sexology img {
        width: auto;
        height: 300px;
        max-height: none;
        margin-right: -30px;
    }

    .hero-slide__media--sexology {
        right: 12px;
        bottom: 46px;
        width: 330px;
        height: 300px;
    }
}

@media (max-width: 767px) {
    .main-section .container {
        padding: 14px 18px 0;
    }

    .hero-slider {
        max-width: 470px;
        margin: 0 auto;
    }

    .hero-slider__viewport,
    .hero-slide {
        border-radius: 8px;
    }

    .hero-slider__viewport,
    .hero-slide {
        height: 660px;
    }

    .hero-slide,
    .hero-slide--green,
    .hero-slide--blue {
        display: block;
        padding: 54px 24px 0;
    }

    .hero-slide__lines {
        top: 24px;
        left: 24px;
        right: 24px;
        gap: 4px;
    }

    .hero-slide__lines span,
    .hero-slide__lines span::before {
        height: 4px;
    }

    .hero-slide__content {
        width: 100%;
        max-width: none;
    }

    .hero-slide__tag {
        min-height: 26px;
        margin-bottom: 22px;
        padding: 4px 12px;
        font-size: 13px;
        white-space: normal;
    }

    .hero-slide__title {
        max-width: 365px;
        margin-bottom: 16px;
        font-size: 28px;
        line-height: 1.18;
    }

    .hero-slide__text {
        max-width: 360px;
        font-size: 17px;
        line-height: 1.32;
    }

    .hero-slide__button,
    .hero-slide--green .hero-slide__button,
    .hero-slide--blue .hero-slide__button {
        width: 100%;
        min-height: 50px;
        margin-top: 40px;
        border-radius: 6px;
        font-size: 16px;
    }

    .hero-slide__media {
        position: absolute;
        left: 24px;
        right: 24px;
        bottom: 0px;
        width: auto;
        height: 280px;
        margin-top: 0;
    }


    .hero-slide__media img {
        width: auto;
        height: 290px;
        max-height: none;
        margin-right: 0;
    }

    .hero-slide__media--sexology {
        height: 290px;
    }

    .hero-slide__media--sexology img {
        width: auto;
        height: 290px;
        max-height: none;
        margin-right: 0;
    }

    .hero-slide--blue .hero-slide__media img {
        height: 290px;
        max-height: none;
    }

    .hero-slider__arrow {
        display: none;
    }

    .under-main {
        gap: 6px;
        margin-top: 22px;
    }

    .under-main__item {
        max-width: none;
        min-height: 54px;
        gap: 14px;
        padding: 10px 14px;
        border-radius: 6px;
    }

    .under-main__item img {
        width: 26px;
        height: 26px;
    }

    .under-main__item p {
        font-size: 11px;
        line-height: 1.25;
        margin-bottom: 0px;
    }
}

@media (min-width: 768px) {
    .under-main {
        max-width: 100%;
        margin: 28px auto 0;
        gap: 10px;
    }

    .under-main__item {
        min-height: 98px;
        border-radius: 7px;
        padding: 22px 18px;
    }

    .under-main__item img {
        width: 42px;
        height: 42px;
    }

    .under-main__item p {
        font-size: 14px;
        line-height: 1.2;
        margin-bottom: 0px;
    }
}






/* ====== PROCESS ====== */
.process {
  margin-bottom: 40px;
}

.process__title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 50px;
}

.process__steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  gap: 40px;
}


.process__steps::before {
  content: "";
  position: absolute;
  top: 18px; 
  left: calc(30% / 20); 
  right: calc(85% / 4); 
  height: 2px;
  background: #DFDFE1;
  z-index: 0;
}

.process__step {
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 1;
}

.process__circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F5F5F5;
  color: #000;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  position: relative;
}

.process__text {
  font-size: 18px;
  color: #000;
  line-height: 1.5;
  max-width: 260px;
  text-align: left;
}

@media (max-width: 960px) {
  .process {
    padding-top: 0px;
  }
  .process__title {
    font-size: 26px;
    margin-bottom: 40px;
  }
  .process__steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    position: relative;
    min-height: 100%;
  }


  .process__steps::before { 
    content: ""; 
    position: absolute; 
    top: 18px; 
    bottom: 18px; 
    left: 18px; 
    width: 2px; 
    height: calc(100% - 150px); 
    background: #F5F5F5; 
    z-index: 1; 
  }

  .process__step {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    position: relative;
    z-index: 2;
  }

  .process__circle {
    flex-shrink: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 3;
    background: #F5F5F5;
  }

  .process__text {
    max-width: none;
    font-size: 20px;
  }
}

@media (min-width: 560px) and (max-width: 959px) {
  .process__steps::before {
    height: calc(100% - 93px); 
  }
}

@media (min-width: 340px) and (max-width: 373px) {
  .process__steps::before {
    height: calc(100% - 242px); 
  }
}







/* ====== subscribe ====== */

.subscribe_line {

	margin-bottom: 40px;
}

.newsletter.confirmation-active {
    flex-wrap: unset;
    gap: 50px;
    padding-left: 50px;
}

@media (max-width: 1200px) {
	.newsletter.confirmation-active {
		padding: 40px 20px 40px 20px;
	}
	.newsletter.confirmation-active h3 {
		font-size: 22px;
	}
}


.confirmation-message__title {
  font-size: 26px;
}

.newsletter {
	border-radius: 5px;
    background: var(--color, radial-gradient(74.6% 96.75% at 14.92% 25.16%, #8CDCE2 0%, rgba(255, 255, 255, 0.33) 100%), linear-gradient(105deg, #B6EBEF 1.92%, #FFF 100%));
	display: flex;
    flex-direction: row-reverse;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: center;
  padding: 50px 30px;
}
.newsletter .mailbox {
	margin-top: -38px;
	width: 471px;
	height: 498px;
}
.newsletter .newsletter_header {
	font-size: 32px;
	margin-bottom: 20px;
	font-weight: 700;
	line-height: 100%;
}	
.newsletter .newsletter_subheader {
	font-size: 24px;
}
.newsletter .right {
	max-width: 496px;
	width: 100%;
}
@media (max-width:1199px) {
	.newsletter .left {	
		display: none;
	}
	.newsletter .right {
		padding: 38px 15px 48px;
	}
	.subscribe_line {
		margin-top: 50px;
		margin-bottom: 50px;
	}	
}	

.newsletter form {
	width: 100%;
	max-width: 480px;
	margin-top: 25px;
}
.newsletter form input[type=submit] {
	width: 100%;
	padding: 17px;
	color: white;
	background: #EB395D;
	font-size: 18px;
	border-radius: 5px;
	margin-bottom: 10px;
	border: 0px;
    cursor: pointer;
}
.newsletter form input[type=submit]:hover {
	background: #DE103F;
}
.newsletter form input[type=email] {
	width: 100%;
	border-radius: 5px;
	border: 1px solid #989898;
	padding: 18px 20px;
	font-size: 16px;
	margin-bottom: 10px;	
}
.newsletter form select {
	width: 100%;
	border-radius: 5px;
	border: 1px solid #989898;	
	padding: 18px 20px;
	font-size: 16px;	
	margin-bottom: 10px;	

	appearance: none;
	background: #fff url(/img/newsletter_select_arrow.svg) no-repeat right;
	background-position-x: calc(100% - 15px);

	color: #989898;
}

.newsletter_policy_line {
	display: flex;
  flex-direction: column;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
	color: #989898;
}
.newsletter_policy_line > div {
	line-height: 100%;
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: flex-start;
}
.newsletter_policy_line a {
	color: #989898;
	font-weight: bold;
	text-decoration: underline;
}
.newsletter_policy_line label {
	line-height: 100%;
	margin-bottom: 0px;
}
@media (max-width:1199px) {
	.newsletter_policy_line {
		font-size: 12px;
	}
}

.newsletter form input[type=email]::placeholder {
	color: #989898;	
}
.newsletter form input[type=email]:focus::placeholder {
    font-size: 10px;
    transform: translateY(-16px);
}
.newsletter form.field-required:before {
	content: '';
}

.newsletter select option:not(:first-child) {
	color: black;
}
.newsletter select:has(>option[value=""]:not(:checked)) {
	color: black;
}
.newsletter select:has(>option[value=""]:checked) {
	color:#989898;
}
label[for=newsletter_policy] {
	cursor: pointer;
  line-height: 130%;
}

@media (max-width: 860px) {
  .newsletter {
    padding: 0;
  }
  .subscribe_line {
		margin-top: 0px;
		margin-bottom: 40px;
	}	
    .subscribe_line .newsletter_header {
        font-size: 24px;
    }
    .subscribe_line .newsletter_subheader {
        font-size: 18px;
    }
    .confirmation-message__title {
      font-size: 18px;
    }
}






/*========= Documents ==========*/

.documents-section {
    margin-top: 10px;
}

.documents-title {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.documents-desc {
  font-size: 18px;
  display: block;
  text-align: left;
  margin-bottom: 30px;
}

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  
    max-width: 350px;
    margin: 0 auto;  
}

.document-item {
    background: #F5F5F5;
    border-radius: 5px;
    padding: 25px;
    position: relative;
    width: 350px;
    height: 240px;
    overflow: hidden;
}
.document-item__header {
    font-size: 22px;
    font-weight: 700;
    line-height: 110%;
    margin-bottom: 12px;
}
.document-item__text {
    font-size: 16px;
    line-height: 110%;
}


.document-item img {
    position: absolute;
}
.document-item .img-AMO {
    width: 335px;
    bottom: -87px;
    left: 110px;
}
.document-item .img-udos {
    width: 373px;
    left: 100px;
    bottom: -115px;
}
.document-item .img-dip {
  width: 310px;
  border-radius: 20px;
  bottom: -87px;
  left: 125px;
  rotate: -20deg;
  box-shadow: -3px -2px 30px 0px rgba(34, 60, 80, 0.2);
}


@media (min-width: 833px) {
    .documents-title {
        margin-bottom: 30px;
        font-size: 32px;
    }
    .documents-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 25px;
        justify-content: flex-start;
        
        max-width: calc(2 * 384px + 25px);
        margin: 0 auto;
    }
    .document-item {
        width: 384px;
        height: 273px;
    }
}

@media (min-width: 992px) {
    .documents-list {
      flex-wrap: nowrap;
      max-width: calc(3 * 384px + 2 * 25px);
      
    }
  }




/* ===== CREDIT SECTION ===== */

.creidt-section {
  padding: 40px 0;
}

.credit {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 300px;
  padding: 91px 30px 90px;
  overflow: hidden;
  border-radius: 8px;
  background: #AFE5E9;
}

.credit-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.credit-header {
  margin: 0 0 12px;
  color: #111111;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
}

.credit-text {
  max-width: 520px;
  margin: 0;
  color: #111111;
  font-size: 16px;
  line-height: 1.35;
}

.credit-img {
  position: absolute;
  right: 70px;
  top: -30px;
  z-index: 1;
  display: block;
  width: 390px;
  max-width: 47%;
  height: auto;
}

@media (max-width: 991px) {
  .credit {
    min-height: 300px;
    padding: 52px 24px 150px;
    align-items: flex-start;
  }

  .credit-content {
    max-width: 100%;
  }

  .credit-img {
    right: -75px;
    top: auto;
    bottom: -35px;
    width: 340px;
    max-width: 58%;
  }
}

@media (max-width: 575px) {
  .creidt-section {
    padding: 30px 0;
  }

  .credit {
    padding: 32px 20px 190px;
  }

  .credit-header {
    font-size: 22px;
  }

  .credit-text {
    font-size: 14px;
  }

  .credit-img {
    rotate: -60deg;
    right: 40%;
    bottom: -100px;
    width: 200px;
    max-width: none;
    transform: translateX(50%);
  }
}



/* ====== БЛОК "НЕ НАШЛИ ТО, ЧТО ХОТЕЛИ?" ====== */

#program-request {
  scroll-margin-top: 120px;
}



.program-request {
    padding: 20px 0 40px;
    background-color: #ffffff;
  }
  
  .program-request__inner {
    max-width: 420px;
    margin: 0 auto;
    padding: 28px 20px;
    border-radius: 18px;
    background-color: #26282b;
    color: #ffffff;
    text-align: center;
  }
  
  .program-request__title {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
  }
  
  .program-request__subtitle {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.78);
    text-align: left;
  }
  
  /* ====== ФОРМА — БАЗА (МОБИЛКА) ====== */
  
  .program-request__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .program-request__field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .program-request__label {
    position: absolute;
    left: 16px;
    top: 16px;
    transform: none;
    font-size: 14px;
    line-height: 1;
    color: #9ca3af;
    pointer-events: none;
    background: transparent;
    transition: 0.15s ease;
  }
  
  .program-request__input {
    width: 100%;
    height: 50px;
    padding: 18px 16px 10px;
    border-radius: 6px;
    border: 1px solid transparent;
    background-color: #f5f5f5;
    font-size: 14px;
    line-height: 1.4;
    outline: none;
    transition:
      border-color 0.15s ease,
      background-color 0.15s ease,
      box-shadow 0.15s ease;
  }
  
  .program-request__input::placeholder {
    color: transparent;
  }

  .program-request__input.invalid {
    border-color: #E53935;
    background: #FFEDED;
  }
  
  .program-request__input.valid {
    border-color: #4CAF50;
    background: #ffffff;
  }
  

  .program-request__input:focus {
    border-color: #ffffff;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16);
  }
  
  .program-request__field--active .program-request__label,
  .program-request__field:focus-within .program-request__label {
    top: 6px;
    font-size: 11px;
    color: #9ca3af;
  }
  
  .program-request__submit {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4px;
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 6px;
    padding: 14px 16px;
    background-color: #FF771C;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition:
      background-color 0.15s ease,
      box-shadow 0.15s ease,
      transform 0.05s ease;
  }
  
  .program-request__submit:hover {
    background-color: #e86412;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  }
  
  .program-request__submit:active {
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  }
  
  .program-request__agreement {
    margin-top: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
    color: rgba(255, 255, 255, 0.86);
  }

  .program-request__agreement span a {
    color: #ffffff;
    text-decoration: underline;
  }
  
  .program-request__checkbox {
    margin-top: 2px;
    flex-shrink: 0;
  }
  
  .program-request__link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
  }


  button:not(:disabled), [type="button"]:not(:disabled) {
    text-align: left;
  }
  

  
.input-error,
.input-hint {
  color: #E53935;
  font-size: 11px;
  line-height: 1.3;
  text-align: left;
}

.input-hint {
  margin-top: 4px;
  display: none;
}

.input-hint.show {
  display: block;
}
  
  .popup__form input.invalid {
    border-color: #E53935;
    background: #FFEDED;
  }
  
  .popup__form input.valid {
    border-color: #4CAF50;
  }
  
  .form-error-global {
    font-size: 13px;
    padding: 8px 0;
    color: #E53935;
    display: none;
  }
  

  .country-toggle {
    margin-top: 6px;
    font-size: 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0;
    display: none;
  }
  
  
  @media (min-width: 768px) {
    .program-request {
      padding: 0 0 64px;
    }
  
    .program-request__inner {
      max-width: 520px;
      padding: 40px 34px;
      border-radius: 22px;
    }
  
    .program-request__title {
      font-size: 26px;
      margin-bottom: 14px;
    }
  
    .program-request__subtitle {
      font-size: 15px;
      margin-bottom: 28px;
    }
  
    .program-request__input {
      padding: 18px 18px 10px;
    }
  
    .program-request__submit {
      font-size: 15px;
    }
  }
  
  /* ====== DESKTOP (>= 992px) ====== */
  
  @media (min-width: 992px) {
    .program-request {
      padding: 0 0 40px;
    }
  
    .program-request__inner {
      max-width: 1180px;
      padding: 50px 52px 42px;
      text-align: center;
    }
    .program-request__title {
      font-size: 32px;
    }
  
    .program-request__form {
      max-width: none;
      margin: 0 auto;
      flex-direction: row;
      flex-wrap: wrap;
      align-items: stretch;
      gap: 12px;
    }
  
    .program-request__field {
      flex: 1 1 0;
      min-width: 0;
    }
  
    .program-request__submit {
      flex: 0 0 230px;
      margin-top: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      white-space: nowrap;
    }
  
    .program-request__agreement {
      flex-basis: 100%;
      margin-top: -5px;
      justify-content: flex-start;
    }
  }




  .footer__info a:hover {
    color: #FFF;

  }


 /*========= Бегущая строка с городами =========*/
.cities-marquee {
  width: 100%;
  padding: 20px 0;
  padding-bottom: 50px;
  background: #ffffff;
  overflow: hidden;
  position: relative;
}

.cities-marquee::before,
.cities-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10%;
  pointer-events: none;
  z-index: 2;
}

.cities-marquee::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
}

.cities-marquee::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
}

.cities-marquee__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cities-marquee__row {
  overflow: hidden;
  white-space: nowrap;
  padding: 0 5%;
}

.cities-marquee__track {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 18px;
}

.city {
  font-size: 20px;
  color: #9ea4b1;
  white-space: nowrap;
  position: relative;
}

.city::after {
  content: "•";
  margin-left: 10px;
  opacity: 0.4;
}

.city:last-child::after {
  content: "";
  margin: 0;
}


@media (min-width: 992px) {
  .cities-marquee {
    padding-bottom: 90px;
  }
}

/* Анимации: направление зависит от модификатора ряда */
.cities-marquee__row--left .cities-marquee__track {
  animation: cities-marquee-left 70s linear infinite;
}

.cities-marquee__row--right .cities-marquee__track {
  animation: cities-marquee-right 70s linear infinite;
}

.cities-marquee__row:nth-child(2) .cities-marquee__track {
  animation-duration: 70s;
}
.cities-marquee__row:nth-child(3) .cities-marquee__track {
  animation-duration: 48s;
}

/* ключевые кадры: двигаем ВСЁ содержимое трека на половину его ширины */
@keyframes cities-marquee-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes cities-marquee-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@media (max-width: 767px) {
  .city {
    font-size: 16px;
  }
  .cities-marquee__row {
    padding: 0 3%;
  }
  .cities-marquee__track {
    gap: 12px;
  }
}





/*====== Отзывы =======*/


.review-title {
  text-align: center !important;
  font-size: 26px !important;
  font-weight: 700;
  margin-bottom: 20px;
  width: 100%;
}

@media(min-width: 768px) {
  .review-title {
    font-size: 32px;
    margin-bottom: 30px;
  }
}

@media (min-width: 992px) {
  .review-title {
    font-size: 32px !important;
  }
}





.header {
  background: #FFF !important;
} 

.navigation .navigation__link-item,  .navigation .navigation__link-item li:before{
  color: #525252 !important;
}

.navigation:not(.active) .navigation__link-item:hover {
  color: #525252 !important;
  border-bottom: 2px solid #000 !important;
}

.navigation .user-block__reg:hover {
  color: #fff !important;
  background-color: #3e9da5 !important;
  border-color: #3e9da5 !important;
  box-shadow: 0 4px 10px #3e9da5;
}

.navigation .user-block__login:hover {
  color: #fff !important;
  background-color: #8fd1d6 !important;
  border-color: #8fd1d6 !important;
  box-shadow: 0 4px 10px #8fd1d6;
}

.navigation__search {
  color: #bbc0c7 !important;
  border: 1px #bbc0c7 solid !important;
}
.fa-angle-down:before {
  color: #bbc0c7;
}





.section-review {
  margin-bottom: 50px;
  padding: 50px 0;
}

.section-review .review-title {
  max-width: 1110px;
  margin-left: auto;
  margin-right: auto;
}

.review-title {
  text-align: center;
}












/*======== Костыли, для исправлений конфликта стилей ==========*/

.license-container{
  display: none !important;
}

.payment-logos {
  display: none !important;
}


.program-request label:before {
  display: none;
}

.main-contact__social {
  display: flex;
  gap: 10px;
}
 .main-contact__social a {
  display: flex;
  justify-content: center;
  padding: 3px;
  color: #dedede;
  opacity: 0.9;
  border: 1px #dedede solid;
  border-radius: 50%;
  align-items: center;
  width: 30px;
}










.header__title, .breadcrumb {
  display: none !important;
}






.hero-slide {
    background-color: var(--hero-bg, #CFF6F4);
}

.hero-slide__button {
    background-color: var(--hero-button-bg, #343A40);
    color: #FFFFFF;
    text-decoration: none;
}

.hero-slide__button:hover {
    background-color: var(--hero-button-hover-bg, #222222);
    color: #FFFFFF;
    text-decoration: none;
}

.hero-slide__button:focus {
    color: #FFFFFF;
    text-decoration: none;
}
