:root {
	--primary-color: #00a097;
	--responsive: calc(1vw + 1vh);
}

html {
    height: 100%;
    overflow-x: hidden;

    &:has(#popup-overlay.active), &:has(#mobile-menu.opened) {
        overflow: hidden;
    }
}

html, body {
    scrollbar-gutter: stable;
    position: relative;
}

body {
    padding-right: 0 !important;
}

.wrapper {
    max-width: 1920px;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
}

[hidden] {
    display: none !important;
}

* {
    outline: none;
    text-decoration: none;
    border: none;
}

svg.currentColor {
    fill: currentColor;
}

.btn {
    font-family: "Futura PT";
    font-weight: 400;
    -webkit-appearance: none !important;
	-webkit-tap-highlight-color: transparent;
    text-align: center;
	display: flex;
    gap: 10px;
	align-items: center;
	justify-content: center;
	transition: all .3s;
	cursor: pointer;
    background-color: transparent;
    border-radius: 0;
    line-height: 1;
}

.btn svg {
    fill: currentColor;
}

.btn--white {
    background-color: #FFFFFFB2;
    color: #000000;
    border: 1px solid #000;
}

.btn--green {
    background: linear-gradient(271.37deg, #479E96 -15.09%, #0C5B3B 117.23%);
    border: 3px solid #fff;
    color: #fff;
}

.btn--small {
    padding: 17px 22px;
}

.btn--large {
    padding: 20px 32px;
    font-size: clamp( 20px, calc( var(--responsive) * 1), 24px );
}

.logo-link svg.desctop {
    display: none;
}

#page-header {
   padding-top: 18px;
   padding-bottom: 18px;
   background-color: rgba(255, 255, 255, .5);
   backdrop-filter: blur(5px);
   -webkit-backdrop-filter: blur(5px);
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   width: 100%;
   z-index: 99;
   line-height: 1;
   transition: all .3s;
}

.header-scrolled #page-header {
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .2);
}

.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.header-menu {
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: clamp( 16px, calc( var(--responsive) * .8), 20px );   
}

.header-menu .sub-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 0;
}

.header-menu a {
    font-family: "Futura PT";
    text-transform: uppercase;
    font-size: clamp( 16px, calc( var(--responsive) * .7), 18px );
    display: block;
    letter-spacing: -3%;
    transition: all .3s;
}

.header-right__contacts {
    display: flex;
    align-items: center;
    gap: 7px;
}

.header-right__contacts .tel {
    font-family: 'Roboto';
    font-weight: 300;
    transition: all .3s;
    font-size: 19px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: clamp( 15px, calc( var(--responsive) * 1.5), 30px );
}

.socials {
    display: flex;
    align-items: center;
    gap: 7px;
}

.header-socials a {
    color: #000;
}

.header-socials a svg {
    width: 32px;
    height: 32px;
    display: block;
}

.header__callback-btn {
    text-transform: uppercase;
    padding: 15px 10px;
    font-size: clamp( 14px, calc( var(--responsive) * .7), 18px );
    border: 1px solid #000;
}

/*  */

.fs_titles-wrap {
    height: 100vh;
    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #2A2A2A;
}

.fs_titles {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.fs_titles::before {
    display: block;
    content: "";
    position: absolute;
    z-index: -1;
}

.fs_titles-wrap h1 {
    font-family: "Futura PT";
    text-transform: uppercase;
    font-size: clamp( 32px, calc( var(--responsive) * 3.5), 80px );
    margin: 0;
    font-weight: 500;
    line-height: 1;
}

.fs_titles-wrap h2 {
    font-family: "Montserrat";
    font-size: clamp( 10px, calc( var(--responsive) * 1), 20px );
    font-weight: 400;
    line-height: 1;
}

.fs-btn-grid {
    display: flex;
    gap: 15px;
}

/*  */

#page-footer {
    padding: clamp( 40px, calc( var(--responsive) * 3.5), 80px ) 0;
    color: #222;
    background-color: #F6F6F6;
    line-height: 1.1;
    position: relative;
    z-index: 10;
}

.footer-grid__desctop {
    display: none;
}

.socials-grid, .footer-contacts__socials {
    display: flex;
    align-items: center;
    gap: 14px;
}

.socials-grid a, .footer-contacts__socials a {
    display: block;
    position: relative;
}

.socials-grid .note {
    position: absolute;
    right: -7px;
    top: -7px;
    font-size: 20px;
}

.social-note {
    font-size: 12px;
    margin-top: 10px;
}

.socials-grid a svg, .footer-contacts__socials svg {
    width: 100%;
    height: auto;
}

.footer-socials a, .footer-contacts__socials a {
    width: clamp( 35px, calc( var(--responsive) * 2), 54px );
}

.footer-socials a {
    color: #222;
    opacity: .7; 
}

.footer-prez .btn {
    text-transform: uppercase;
}

/*  */

#popup-overlay {
	position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
	box-sizing: border-box;
	padding: 10px;
	z-index: 9999;
}

#popup-overlay.active {
	display: flex !important;
}

.popup-form {
	background: #fff;
	border-radius: 12px;
	width: 100%;
	max-width: 400px;
	padding: 35px 25px;
	display: none;
	flex-direction: column;
	gap: 10px;
	position: relative;
	max-height: 100vh;
	overflow-y: auto;
}

.popup-form.active {
	display: flex;
}

.popup-form .popup-close {
	width: 16px;
    height: 16px;
    position: absolute;
    right: 20px;
    top: 20px;
    transition: all .8s;
}

.popup-form .popup-close:after, .popup-form .popup-close:before {
	content: "";
    display: block;
    width: 16px;
    height: 2px;
    background-color: #000;
    position: absolute;
    top: 8px;
}

.popup-form .popup-close:before {
	transform: rotate(-45deg);
}
.popup-form .popup-close:after {
	transform: rotate(45deg);
}

.popup-form .popup-close:hover {
	cursor: pointer;
    transform: rotate(360deg);
}

.popup-form .btn {
	margin-top: 15px;
	width: 100%;
}

.popup-form .form-title {
	margin-bottom: 15px;
	text-align: center;
}

.popup-form .form-text {
	font-size: 20px;
	text-align: center;

    a {
        text-decoration: underline;
    }
}

/*  */

.text-field {
	padding: 15px;
	border-radius: 4px;
	font-family: "Roboto Condensed";
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	width: 100%;
	width: 100%;
	color: #000;
	background-color: #fff;
	border: 1px solid #dadada;
	transition: all .3s;
}

.text-field:focus-visible {
	border-color: var(--primary-color);
}

.text-field::placeholder, .text-field.placeholder {
	color: #dadada;
}


.text-field.error {
	border-color:rgba(255,0,0,1) !important;
	color: rgba(255,0,0,1) !important;
	box-shadow: 0 0 8px 3px rgba(255, 0, 0, 0.164) !important;
}

textarea.text-field {
	resize: none;
	min-height: 120px;
	line-height: 130%;
}

.text-field:-webkit-autofill,
.text-field:-webkit-autofill:hover, 
.text-field:-webkit-autofill:focus {
	-webkit-text-fill-color: #000 !important;
	transition: background-color 5000s ease-in-out 0s;
}

/*  */
.cert-slider {
    margin-bottom: 20px;
}

.certificate-item, .front-cert-link__image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
}

.certificate-btn {
    width: 100%;
    margin-top: 25px;
    max-width: unset;
}

.front-cert-link {
    display: block;
    width: 100%;
}

/*  */

#cookie-wrapper {
	box-sizing: border-box;
	padding: 10px 0;
	min-height: 70px;
	position: fixed;
	display: flex;
	align-items: center;
	justify-content: center;
    bottom: 0;
    right: 0;
    color: #fff;
    z-index: 999;
    left: 0;
	background: rgba(51, 51, 51, 0.8) none repeat scroll 0% 0%;
	display: none;
}

.cookie-wrapper__container {
	display: flex;
    justify-content: center;
	align-items: center;
	letter-spacing: 1px;
	max-width: 1400px;
	box-sizing: border-box;
	width: 100%;
	padding: 0 15px;
}

.cookie-wrapper__container p {
	margin: 0;
    font-size: 15px;
    letter-spacing: 1px;
}

.cookie-wrapper__container a {
	color: #fff;;
	font-weight: 600;
	border-bottom: 2px solid #fff;;
	transition: color 0.5s;
	text-decoration: none
}

.cookie-wrapper__container a:hover {
	color:rgb(199, 199, 199);
	border: none;
}

#cookie-accept {
	margin-left: 15px;
    border-radius: 10px;
    border: none;
    box-sizing: border-box;
    padding: 5px 15px;
	letter-spacing: 1px;
	color: #000;
	font-size: 19px;
	background-color: #fff;
	border: 1px solid #fff;
	cursor: pointer;
	transition: all 0.5s;
}

.privacy-check {
    margin-bottom: 0;
}

.privacy-check a {
    text-decoration: underline;
}

/*  */
.custom-checkbox {
	position: relative;
	display: grid;
	align-items: flex-start;
	grid-template-columns: 24px 1fr;
	gap: 16px;
    margin-bottom: 0;

	input[type='checkbox'] {
		position: absolute;
		opacity: 0;
		height: 0;
		width: 0;
	}

	.box {
		width: 24px;
		height: 24px;
		border-radius: 5px;
		background-color: #fff;
		border: 1px solid #23232359;
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		transition: all .3s;
        margin-top: 5px;
	}

	.box::after {
		display: block;
		content: "";
		background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAANCAYAAABPeYUaAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACLSURBVHgBpdGxDYUwDARQS7/5JSMwAlKmSBX6zJCskBkyAWyQUTKCV2CDYBcgoEE5TrrOfoX9IzyT9C/dCIkxZi2ltBACExIFmLlpIOQK5JwVGHv2X4FBOn8ByHvPtdYmgwsEaJxzVQd08An13GCMMfITQo54g6y1jH7hhI5Ab7xCKSUIOCFpog5gBzACpI2Y5bGHAAAAAElFTkSuQmCC);
		background-position: center;
		background-size: contain;
		background-repeat: no-repeat;
		width: 15px;
		height: 10px;
		opacity: 0;
		transition: opacity .3s;
	}
	&:has(input:checked) .box {
		background-color: var(--primary-color);
		border-color: var(--primary-color);
	}
	&:has(input:checked) .box::after {
		opacity: 1;
	}

	&:has(input.error) .box {
		border-color: rgba(255, 0, 0, 0.4) !important;
		box-shadow: 0 0 10px rgba(255, 0, 0, 0.6) !important;
	}


    a {
        text-decoration: underline;
        color: inherit;
    }
 
	&.custom-checkbox--medium {
		& {
			grid-template-columns: 20px 1fr;
			gap: 8px;
		}

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

		.box::after {
			width: 12px;
			height: 8px;
		}

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

	&.custom-checkbox--small {
		& {
			grid-template-columns: 16px 1fr;
			gap: 8px;
		}

		.box {
			width: 16px;
			height: 16px;
		}

		.box::after {
			width: 12px;
			height: 8px;
		}

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

	@media (hover: hover) and (pointer: fine) {
		&:hover {
			cursor: pointer;

			.box {
				border-color: var(--primary-color);
			}
		}
	}
} 

#breadcrumbs {
    font-weight: 500;
    font-size: 17px;
}

@media (hover: hover) and (pointer: fine) {
    a {
        transition: color .3s;
    }

    .stroke {
        transition: stroke .3s;
    }

    .btn--white:hover {
        background-color: #fff;
    }

    .btn--green:hover {
        background: #fff;
        color: #0C5B3B !important;
        border-color: #0C5B3B;
    }

    #page-header:hover {
        background-color: #fff;
    }

    .header__callback-btn:hover, #page-header a:hover {
        text-shadow: .2px 0px 0px #000, -.2px 0px 0px #000;
    }

    .header-socials a.wa:hover {
        color: #25d366;
    }

    .header-socials a.tg:hover .stroke {
        stroke: #08c;;
    }

    .socials-grid a:hover {
        color: var(--primary-color);
    }

    #page-footer a:hover {
        color: var(--primary-color);
    }
}


@media(min-width: 601px) {
    .logo-link svg {
        height: auto;
        width: clamp( 100px, calc( var(--responsive) * 8), 258px );
    }

    .logo-link svg.mobile {
        display: none;
    }

    .logo-link svg.desctop {
        display: block;
    }

    .fs_titles::before {
        background: radial-gradient(50% 50% at 50% 50%, #FFFFFF 0%, #FFFFFF 100%);
        opacity: 0.8;
        filter: blur(150px);
        -webkit-filter: blur(150px);
        width: 140%;
        left: -10%;
        height: 160%;
        top: -50%;
    }

    .fs_titles-wrap h2 {
        margin-bottom: 50px;
    }

    .fs-btn-grid {
        align-items: center;
    }

    .front-cert-link {
        width: 350px;
        margin: 0 auto;
    }

}

@media(min-width: 769px) {
    .footer-grid__mobile {
        display: none;
    }

    .footer-grid__desctop {
        display: grid;
    }

	.footer-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: clamp( 30px, calc( var(--responsive) * 2), 80px );
    }

    .footer-prez-col {
        grid-column: 1/span 2;
    }

    .footer-menu, .footer-menu ul {
        display: flex;
        flex-direction: column;
        padding-left: 0;
    }

    .footer-menu a, .footer__label, .footer__value {
        font-family: "Montserrat";
        display: block;
        margin-bottom: 20px;
        font-size: clamp( 16px, calc( var(--responsive) * .8), 20px );
    }

    .footer-menu > li > a, .footer__label {
        font-size: clamp( 18px, calc( var(--responsive) * .8), 24px );
        font-weight: 600;
    }

    .footer-prez-col, .footer-prez {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-prez {
        gap: 8px;
        width: 100%;
    }

    .footer-prez .btn {
        width: max(50%, 250px);
    }

    .footer-prez {
        margin-bottom: auto;
    }

    .footer-socials {
        margin-bottom: 32px;
    }

    .footer-links {
        font-size: 14px;
        font-family: "Montserrat";
    }


    .swiper-wrapper.certificates-grid {
        display: grid;
        gap: 20px;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .certificate-btn {
        margin: 40px auto 0;
        width: 200px;
    }

    .mobile--hidden {
        display: none !important;
    }
}

@media(min-width: 992px) {
    #mobile-menu {
        display: none;
    }

    .header-menu {
        flex-direction: row;
    }

    .header-menu {
        gap: clamp( 20px, calc( var(--responsive) * 2), 65px );
    }

    #menu-hamburger {
        display: none;
    }

    .header-right__contacts {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-menu li.menu-item-has-children {
        position: relative;
    }

    .header-wrap .sub-menu::before {
        display: block;
        content: "";
        height: 12px;
        width: 100%;
    }

    .header-wrap .sub-menu {
        position: absolute;
        opacity: 0;
        z-index: -1;
        top: 100%;
        left: -16px;
        background-color: #fff;
        padding: 16px;
        transition: all .3s;
    }

    .header-menu li.menu-item-has-children:hover > a {
        text-shadow: .2px 0px 0px #000, -.2px 0px 0px #000;
    }

    .header-menu li.menu-item-has-children:hover > .sub-menu {
        opacity: 1;
        /* visibility: visible; */
        z-index: 9;
    }

    .footer-grid {
        grid-template-columns: 3.5fr 1.5fr 1fr;
    }

    .footer-prez-col {
        grid-column: 1;
    }
}

@media(min-width: 1201px) {
	.wrapper {
        padding-left: clamp( 20px, calc( var(--responsive) * 2), 135px );
        padding-right: clamp( 20px, calc( var(--responsive) * 2), 135px );
    }
}

@media(min-width: 1401px) {
    .wrapper {
        padding-left: clamp( 20px, calc( var(--responsive) * 4), 135px );
        padding-right: clamp( 20px, calc( var(--responsive) * 4), 135px );
    }
}



/* MAX */
@media(max-width: 1400px) {

}


@media(max-width: 1200px) {

}

@media(max-width: 998px) {
    .overflow-x, #page-wrapper {
        overflow-x: hidden;
    }

    .header-wrap nav {
        display: none;
    }

    #mobile-menu a {
        color: #181818;
    }

    #mobile-menu {
        position: fixed;
        top: 0;
        bottom: 0;
        right: 0;
        height: 100%;
        background-color: #fff;
        padding: 60px 20px 20px;
        z-index: 101;
        width: 190px; 
        display: flex;
        flex-direction: column;
        gap: 50px;
        box-shadow: 0 0 10px 2px rgba(0, 0, 0, .2);
        transform: translateX(100%);
        opacity: 0;
        transition: all .4s;
    }

    #mobile-menu.opened {
        transform: translateX(0);
        opacity: 1;
    }

    .header-menu .sub-menu {
        padding-left: 24px;
        padding-top: 16px;
    }

    .mobile-menu__bottom {
        margin-top: auto;
    }

    .mobile-menu__bottom .header-right__contacts, .mobile-menu__bottom {
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .header-right__contacts .tel {
        font-size: 16px;
        font-weight: 400;
    }

    #mobile-menu .header__callback-btn {
        font-size: 14px;
        padding: 11px 8px;
        width: 100%;
    }

    #mobile-menu .close-arrow {
        margin-left: auto;
    }

    .q-form__input-grid {
		row-gap: 28px;
	}

    .q-form__input-grid .privacy-check {
        margin-top: -18px;
    }

    .q-form__input-grid .btn-col {
        order: 5;
    }
}

@media(max-width: 768px) {
    #page-footer {
        color: #181818;
        padding: 40px 0 80px;
    }

    body.home .map-section {
        display: none;
    }

    .footer-grid__mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .footer__label {
        font-family: "Montserrat";
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .socials-grid, .footer-contacts__socials {
        gap: 10px;
        justify-content: center;
    }

    .social-note {
        text-wrap: balance;
    }

    .footer__value {
        font-family: "Roboto Condensed";
        font-size: 24px;
    }

    .footer__value.email {
        font-size: 14px;
        font-family: "Montserrat";
    }

    .footer-prez {
        width: 100%;
    }

    .footer-prez .footer__value {
        font-size: 16px;
    }

    .swiper.cert-slider {
        overflow: visible;
    }

    .cert-slider .swiper-slide {
        max-width: 250px;
    }

    .cookie-wrapper__container {
		flex-direction: column;
	}
	.cookie-wrapper__container p {
		text-align: center;
	}

	#cookie-accept {
		margin-left: 0;
		margin-top: 15px;
	}
}

@media(max-width: 600px) {
    #page-header {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .header-wrap .header__callback-btn {
        display: none;
    }

    .header-right {
        justify-content: center;
        flex-grow: 1;
    }

    .header-wrap .header-right__contacts {
        gap: 16px;
        justify-content: center;
        flex-grow: 1;
    }

    .header-socials a svg {
        width: 25px;
        height: 25px;
    }
    

    .fs_titles::before {
        top: 0;
        width: 100%;
        height: 110px;
        background: radial-gradient(50% 50% at 50% 50%, #FFFFFF 0%, #FFFFFF 100%);
        opacity: 0.8;
        filter: blur(25px);
        -webkit-filter: blur(25px);
    }

    .fs_titles-wrap .fs-btn-grid {
        position: absolute;
        left: 15px;
        right: 15px;
        bottom: 30px;
        /* width: 100%; */
        z-index: 2;
        flex-direction: column;
    }

     .fs_titles-wrap .fs-btn-grid .btn {
        padding: 18px;
     }

    .fs_titles-wrap h1 {
        font-size: clamp( 32px, calc( var(--responsive) * 3), 40px );
    }

    .fs_titles-wrap h2 {
        font-size: clamp( 10px, calc( var(--responsive) * 1), 12px );
    }
    

}

@media(max-width: 360px) {
    #mobile-menu {
        gap: 10px;
    }
}