/*!
Theme Name: alphamegapolis
Theme URI: http://underscores.me/
Author: xside
Author URI: http://xside
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: alphamegapolis
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/


/* ОБЩИЕ СТИЛИ */


*{
    box-sizing: border-box;
    position: relative;
}

html{
    scroll-behavior: smooth;
}

body{
    background-color: #F5F6FA;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    margin: 0;
}

.container{
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 15px;
}

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

h1, h2, h3{
    font-family: 'Playfair Display', serif;
    margin: 0;
    font-weight: 400;
}

h1{
    font-size: 50px;
}

h2{
    font-size: 36px;
}

img{
    display: block;
    width: 100%;
}

a{
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover{
    opacity: 0.8;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.btn{
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    background-color: #D4AF37;
    padding: 16px 60px;
    border-radius: 2px;
    border: 1px solid #0A1F44;
    text-align: center;
    display: inline-block;
}

.btn.mobile-only{
    display: none;
}

.btn.no-border{
    border: 1px solid #D4AF37;
}

.btn:hover{
    background-color: #102A5C;
    text-decoration: none;
    border: 1px solid #D4AF37;
    color: #fff;
    opacity: 1;
}



/* ФОРМЫ */

button{
    outline: none;
}

input, textarea{
	font-family: 'Montserrat', sans-serif;
}

input:not([type="submit"]):not([type="checkbox"]){
	padding: 18px 20px;
	width: 100%;
	border: 2px solid #0A1F44;
}

input[type="submit"]{
    cursor: pointer;
}

textarea{
	padding: 18px 20px;
	width: 100%;
	border: 2px solid #0A1F44;
}

input[type="checkbox"]{
	margin: 0;
	width: 36px;
    height: 36px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid #000;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

input[type="checkbox"]:checked {
    background: #fff;
    border-color: #000;
}

input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
}



.wpcf7-acceptance label{
	display: flex;
	align-items: center;
	gap: 13px;
	cursor: pointer;
}

.wpcf7-acceptance label:hover input[type="checkbox"] {
	border-color: #D4AF37;
}

.wpcf7-acceptance label:hover input[type="checkbox"]:checked {
	border-color: #D4AF37;
}

.wpcf7-acceptance label span{
	font-size: 16px;
}

form > p{
	display: flex;
	flex-direction: column;
	gap: 20px;
}

form > p > br{
	display: none;
}

.btn-group p{
	display: flex;
	flex-direction: row;
	gap: 20px;
}

.wpcf7{
    width: 100%;
}

.wpcf7-list-item{
	margin: 0;
}

.wpcf7-file {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    overflow: hidden;
}

.wpcf7-not-valid-tip{
    position: absolute;
    top: 100%;
    font-size: 12px;
    color: #ff0000;
}

/* Стили для кастомной кнопки загрузки файла */
.custom-file-button {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    background-color: #D4AF37;
    padding: 16px 40px;
    border-radius: 2px;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    min-width: 200px;
}

.custom-file-button:hover {
    background-color: #102A5C;
    text-decoration: none;
    color: #fff;
    opacity: 1;
}

.custom-file-button:focus {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}

/* Скрытие стандартной кнопки */
input[type="file"] {
    display: none;
}

.wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output{
	font-size: 12px;
	background-color: #fff;
	color: #000;
	border: none;
	margin: 0;
	padding: 10px;
	position: absolute;
	width: 100%;
}




/* ШАПКА */

.header{
	border: 3px solid #D4AF37;
	z-index: 1;
	background-color: #F5F6FA;
	transition: all 0.3s ease;
}

/* Стили для фиксированной шапки */
.header.sticky {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background-color: rgba(245, 246, 250, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 2px solid #D4AF37;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}





/* Анимация появления/исчезновения шапки */
@keyframes slideDown {
	from {
		transform: translateY(-100%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.header.sticky {
	animation: slideDown 0.3s ease-out;
}

.header .wrapper{
    justify-content: space-between;
}

.header-nav__list{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-nav__link{
    text-decoration: none;
    color: #000;
}

.header-nav__item + .header-nav__item::before{
    content: '|';
    display: inline-block;
	margin-right: 4px;
}

.header-nav__list a[aria-current="page"]{
    text-decoration: underline;
    text-underline-offset: 3px;
}

.header-logo{
    width: 251px;
}

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

.header-contacts .btn{
    margin-left: 70px;
}



/* ГЛАВНАЯ */

.section-hero{
    padding: 264px 0 188px 0;
    background-image: url('assets/img/hero-img.jpg');
	background-size: cover;
	background-position: bottom;
}

.section-hero::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
	background-image: url('assets/img/blur.png');
	position: absolute;
	top: -100px;
	left: 0;
	width: 100%;
	height: 100%;
}

.section-hero .wrapper{
    justify-content: center;
    color: #fff;
}

.section-hero__content{
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: center;
}

.section-hero__form{
	margin-top: 150px;
	width: 100%;
	max-width: 590px;
}









.section-hero__form .btn-group .btn{
	width: calc(50% - 10px);
    min-width: calc(50% - 10px);
}

.section-hero__form .btn-group br{
	display: none;
}

.wpcf7-spinner{
	display: none;
}




.section-hero-subtitle{
    padding: 63px 0;
    margin-top: 63px;
    background-color: #0A1F44;
    border: 3px solid #D4AF37;
}

.section-hero-subtitle__content{
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 400;
    text-align: center;
}

.section-services{
    margin: 80px 0;
}

.section-services .wrapper{
    justify-content: center;
    gap: 40px;
}

.section-services__title{
    font-size: 50px;
    text-align: center;
}

.section-services__subtitle{
    font-size: 36px;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.section-services__list{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    row-gap: 40px;
}

.section-services__item{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: calc(33.333% - 20px);
    background-color: #F9E9C8;
    border: 2px solid #0A1F44;
    padding: 20px 20px;
    text-align: center;
}

.section-services__item img{
    height: 126px;
    width: auto;
}

.section-services__item hr{
    width: 100%;
    height: 1px;
    background-color: #0A1F44;
    border: none;
}

.section-services__item .title{
    font-size: 24px;
    font-family: 'Playfair Display', serif;
}

.section-services__item .btn{
    margin-top: 10px;
    width: 100%;
}

.section-services__item .description{
    min-height: 66px;
}

.section-services__item .description .unfold .btn{
    display: block;
    margin-top: 10px;
}

/* Стили для разворачивания текста */
.section-services__item .description .fold {
    display: none;
    margin-top: 15px;
}

.section-services__item .description.expanded .fold {
    display: block;
}

.section-services__item .fold{
    text-align: left;
    font-size: 14px;
    
}

.section-services__item .fold ul{
    padding-left: 25px;
}

.section-services__title + .wrapper{
    margin-top: 60px;
}


.section-breadcrumbs{
    padding: 40px 0;
    height: 330px;
    background-size: cover;
    background-position: center bottom;
}

.section-breadcrumbs .breadcrumbs{
    
    font-size: 16px;
}

.section-breadcrumbs .breadcrumbs a{
    color: #fff;
}

.section-breadcrumbs .breadcrumbs .item + .item::before{
    content: '/';
    display: inline-block;
	margin: 0 14px 0 12px;
}

.section-why-us{
    margin: 80px 0;
}

.section-why-us .wrapper{
    gap: 20px;
    row-gap: 40px;
    align-items: stretch;
}

.section-why-us .heading{
    margin-bottom: 40px;
    text-align: center;
    font-size: 50px;
}

.section-why-us .item{
    width: calc(33.333% - 20px);
    background-color: #F9E9C8;
    padding: 30px;
    border: 2px solid #0A1F44;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.section-why-us .item img{
    height: 112px;
}

.section-form{
    margin: 80px 0;
}

.section-form .heading{
    font-size: 50px;
    text-align: center;
    margin-bottom: 20px;
}

.section-form .subheading{
    font-size: 24px;
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Playfair Display', serif;
}

.section-form form{
    max-width: 800px;
    width: 800px;
    justify-self: center;
}

.section-vacancy{
    margin: 80px 0;
}

.section-vacancy .heading{
    font-size: 50px;
    text-align: center;
    margin-bottom: 40px;
}

.section-vacancy .item{
    width: 100%;
    margin: 40px 0;
} 

.section-vacancy .item .title{
    font-size: 36px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 40px;
}

.section-vacancy .item h3{
    font-size: 24px;
    margin-bottom: 10px;
    margin-top: 20px;
}

.section-vacancy .item .btn{
    display: block;
    justify-self: center;
    margin-top: 40px;
}

.section-form.vacancy-form form{
    width: 100%;
    max-width: 590px;
}

.section-contacts{
    margin: 80px 0;
}
.section-contacts .heading{
    font-size: 50px;
    text-align: center;
    margin-bottom: 20px;
}

.section-contacts .subheading{
    font-size: 24px;
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Playfair Display', serif;
}

.section-contacts .contacts-box{
    display: flex;
    gap: 40px;
    justify-content: center;
    margin: 40px 0;
}

.section-contacts .contacts-box .col{
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-contacts .contacts-box .item{
    font-family: 'Playfair Display', serif;
    font-size: 24px;
}

.section-contacts .contacts-box .socials{
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}   

.section-contacts .contacts-box .socials a{
    width: 40px;
    height: 40px;
}

.section-contacts .map-box{
    margin-top: 40px;
    width: 100%;
}

.section-contacts .map-box iframe{
    width: 100%;
    border: none;
    border-radius: 4px;
}

.section-info{
    margin: 40px 0;
}

.section-info .heading{
    font-size: 50px;
    text-align: center;
    margin-bottom: 20px;
}

.section-404{
    margin: 40px 0;
}

.section-404 .wrapper{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.section-404 .wrapper img{
    max-width: 500px;
}

.section-404 h1{
    font-size: 80px;
}

.section-404 a{ 
    font-size: 24px;
    margin-top: 20px;
    font-family: 'Playfair Display', serif;
    text-decoration: underline;
}


/* ПОДВАЛ */

.section-bottom{
    border: 3px solid #D4AF37;
}

.section-bottom .wrapper{
    justify-content: space-between;
}

.section-bottom .logo{
    width: 222px;
}

.section-bottom .menu__list{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 5px;
}

.section-bottom .menu__item + .menu__item::before{
    content: '|';
    display: inline-block;
	margin-right: 4px;
}

.section-bottom .menu__link{
    color: #000;
}

.section-bottom .menu__list a[aria-current="page"]{
    text-decoration: underline;
    text-underline-offset: 3px;
}

.section-bottom .contacts{
    display: flex;
    gap: 45px;
    align-items: center;
}

.section-bottom .contacts a{
    color: #000;
    
}

.footer{
    background-color: #0A1F44;
    padding: 40px 0;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}

.footer .col{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer .col .info{
    max-width: 290px;
}

/* МОБИЛЬНЫЕ ЭЛЕМЕНТЫ */

.mobile-controls {
    display: none;
    align-items: center;
    gap: 5px;
}

.mobile-phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    
}

.mobile-phone-btn:hover {
    background-color: #102A5C;
    color: #fff;
    text-decoration: none;
    opacity: 1;
}

.burger-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.burger-icon,
.close-icon {
    position: absolute;
    transition: opacity 0.3s ease;
    height: 20px;
}

.burger-icon {
    opacity: 1;
}

.close-icon {
    opacity: 0;
}

.burger-menu.active .burger-icon {
    opacity: 0;
}

.burger-menu.active .close-icon {
    opacity: 1;
}

/* МОБИЛЬНОЕ МЕНЮ */

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    padding: 50px 30px 30px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active .mobile-menu__content {
    transform: translateY(0);
}

.mobile-menu__list {
    list-style: none;
    margin: 0 0 25px 0;
    padding: 0;
}

.mobile-menu__item {
    margin-bottom: 10px;
}

.mobile-menu__link {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    padding: 10px 0;
    transition: all 0.3s ease;
    text-align: center;
}

.mobile-menu__link:hover {
    color: #D4AF37;
    text-decoration: none;
    border-bottom-color: #D4AF37;
}

.mobile-menu__contacts {
    margin-bottom: 30px;
}

.mobile-menu__contacts .title{
    margin-bottom: 20px;
    font-size: 20px;
    font-family: 'Playfair Display', serif;
    text-align: center;
}

.mobile-menu__contacts .subtitle{
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
}

.mobile-menu__contact-item {
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
}

.mobile-menu__contact-item strong {
    display: block;
    color: #0A1F44;
    margin-bottom: 5px;
    font-weight: 600;
}

.mobile-menu__socials{
    display: flex;
    gap: 6px;
    justify-content: center;
}

.mobile-menu__socials img{
    width: 30px;
    height: 30px;
}

.mobile-menu__phone,
.mobile-menu__email {
    color: #000;
    text-decoration: none;
    font-weight: 400;
}

.mobile-menu__phone:hover,
.mobile-menu__email:hover {
    color: #D4AF37;
    text-decoration: none;
}

.mobile-menu__address,
.mobile-menu__unp {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

.mobile-menu__btn {
    width: 100%;
    text-align: center;
    padding: 16px 20px;
    font-size: 16px;
}

/* БЛОКИРОВКА СКРОЛЛА ПРИ ОТКРЫТОМ МЕНЮ */
body.menu-open {
    overflow: hidden;
}








@media (max-width: 768px) {
    
    /* ОБЩИЕ СТИЛИ */
    
    h1{
        font-size: 32px;
    }

    h2{
        font-size: 24px;
    }

    .container{
        padding: 0 10px;
    }

    .btn{
        font-size: 16px;
    }

    .btn.mobile-only{
        display: block;
    }

    /* ШАПКА */

    .header{
        padding: 40px 0;
		border: none;
    }
    
    /* Стили для фиксированной шапки на мобильных */
    .header.sticky {
        padding: 15px 0;
    }
    
    .header.sticky .header-logo {
        width: 60px;
    }
    
    .header-nav {
        display: none;
    }
    
    .header-contacts {
        display: none;
    }
    
    .mobile-controls {
        display: flex;
    }
    
    .header-logo {
        width: 80px;
    }

    /* ГЛАВНАЯ */
    
    .section-hero {
        padding: 20px 0 60px 0;
    }

	.section-hero::before{
		content: none;
	}
    
    .section-hero__content {
        gap: 20px;
		align-items: center;
    }

	.section-hero__content h2{
		max-width: 180px;
	}
    
    .section-hero-subtitle {
        padding: 40px 0;
        margin-top: 40px;
    }
    
    .section-hero-subtitle__content {
        font-size: 20px;
    }

    .section-hero-subtitle{
        padding: 5px 0;
    }

	.section-hero__form{
		width: 100%;
		margin-top: 100px;
	}

	input:not([type="submit"]):not([type="checkbox"]){
		padding: 14px 15px;
	}

	input[type="checkbox"]{
		width: 30px;
		height: 30px;
		border: 2px solid #000;
		background: transparent;
	}
	
	input[type="checkbox"]:checked::after {
		font-size: 16px;
	}

	.wpcf7-acceptance label span{
		font-size: 14px;
	}

    form > p{
        gap: 10px;
    }

    form .btn-group{
        margin-top: -5px;
    }

	.section-hero__form .btn-group p{
		flex-direction: column;
		gap: 8px;
	}

	.section-hero__form .btn-group .btn{
		width: 100%;
	}
    
    .section-services {
        margin: 40px 0;
    }

    .section-services .wrapper{
        gap: 20px;
    }

    .section-services__title{
        font-size: 32px;
    }
    
    .section-services__subtitle{
        font-size: 24px;
    }

    .section-services .btn{
        width: 100%;
    }

    .section-services__list {
        gap: 15px;
        margin-top: 20px;
    }
    
    .section-services__item {
        width: calc(50% - 8px);
        padding: 20px;
    }
    
    .section-services__item img {
        height: 87px;
    }

    .section-services__item .title{
        font-size: 20px;
        font-family: 'Playfair Display', serif;
    }

    .section-services__item hr{
        display: none;
    }

    .section-services__item .description{
        display: none;
    }

    .section-services__item .btn{
        display: none;
    }

    .section-breadcrumbs{
        padding: 10px 0;
        height: 88px;
    }

    .page-services .section-services__title + .wrapper{
        margin-top: 20px;
    }

    .page-services .section-services__list{
        row-gap: 30px;
    }

    .page-services .section-services__item{
        width: 100%;
        background-color: transparent;
        border: none;
        padding: 0;
        padding-top: 15px;
        border-top: 1px solid #0A1F44;
    }

    .page-services .section-services__item:first-child{
        padding-top: 0;
        border-top: none;
    }

    .page-services .section-services__item .description{
        display: block;
        font-size: 0;
    }

    .page-services .section-services__item .description .unfold{
        display: none;
    }

    .page-services .section-services__item .description .fold{
        display: block;
        font-size: 14px;
        margin-top: 0;
    }

    .page-services .section-services__item .description .fold ul{
        padding-left: 20px;
    }

    .page-services .section-services__item hr{
        display: block;
    }

    .section-why-us{
        margin: 40px 0;
    }

    .section-why-us .heading{
        font-size: 32px;
        margin-bottom: 20px;
    }

    .section-why-us .wrapper{
        row-gap: 20px;
    }

    .section-why-us .item{
        width: calc(50% - 10px);
        padding: 10px;
        font-size: 12px;
    }

    .section-form .heading{
        font-size: 32px;
    }

    .section-form .subheading{
        font-size: 20px;
        margin-bottom: 20px;
    }

    .section-form{
        margin: 40px 0;
    }

    .section-form form{
        max-width: 100%;
        width: 100%;
    }

    .section-vacancy{
        margin: 40px 0;
    }

    .section-vacancy .heading{
        font-size: 32px;
        margin-bottom: 20px;
    }

    .section-vacancy .item{
        margin: 20px 0;
    }

    .section-vacancy .item .title{
        font-size: 24px;
        margin-bottom: 20px;
    }

    .section-vacancy .item h3{
        font-size: 20px;
    }

    .section-vacancy .item .btn{
        padding: 16px 30px;
        width: 100%;
    }

    .custom-file-button{
        font-size: 12px;
        padding: 12px 20px;
        min-width: 160px;
    }

    .section-contacts{
        margin: 40px 0;
    }

    .section-contacts .heading{
        font-size: 32px;
        margin-bottom: 20px;
    }

    .section-contacts .subheading{
        font-size: 20px;
        margin-bottom: 20px;
    }

    .section-contacts .contacts-box{
        flex-direction: column;
    }

    .section-contacts .contacts-box .col{
        width: 100%;
    }

    .section-contacts .contacts-box{
        margin: 20px 0;
        gap: 20px;
    }
    
    .section-contacts .contacts-box .item{
        font-size: 20px;
    }

    .section-contacts .map-box iframe{
        height: 180px;
    }

    .section-404{
        margin: 40px 0;
    }

    .section-404 .wrapper{
        gap: 10px;
    }

    .section-404 .wrapper img{
        max-width: 250px;
    }

    .section-404 h1{
        font-size: 32px;
    }

    .section-404 a{
        font-size: 16px;
        margin-top: 0;
    }

    .section-info{
        margin: 20px 0;
    }

    .section-info .heading{
        font-size: 32px;
        text-align: left;
    }
    
    
    
    /* ПОДВАЛ */

    .section-bottom{
        border: none;
    }

    .section-bottom .container{
        padding: 0;
    }
    
    .section-bottom .logo{
        width: 100%;
        border: 3px solid #D4AF37;
        display: flex;
        justify-content: center;
        padding: 14px 0;
    }

    .section-bottom .logo img{
        width: 185px;
    }

    .section-bottom .menu{
        background-color: #0A1F44;
        width: 100%;
        padding: 20px 10px 0 10px;
    }

    .section-bottom .menu__list .menu__item{
        font-size: 16px;
        color: #fff;
    }

    .section-bottom .menu__list .menu__item a{
        color: #fff;
    }

    .section-bottom .contacts{
        background-color: #0A1F44;
        width: 100%;
        padding: 0 10px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-top: 20px;
        font-size: 16px;
    }

    .section-bottom .contacts a{
        color: #fff;
    }

    .footer{
        padding: 5px 0 20px 0;
        font-size: 16px;
    }

    .footer .col{
        width: 100%;
    }

    .footer .col:first-child{
        order: 1;
    }

    .footer .col:last-child{
        order: 2;
        margin: 10px 0;
    }

    .footer .col:nth-child(2){
        order: 3;
    }

    .footer .btn{
        width: 100%;
        margin-bottom: 15px;
    }

    
}

/* СТИЛИ ПОПАПА */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    display: flex;
    opacity: 1;
}

.popup-content {
    background: #fff;
    padding: 80px;
    max-width: 1330px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.popup-close:hover {
    opacity: 0.7;
}

.popup-close img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.popup-close:hover img {
    transform: scale(1.1);
}

.popup-form {
    margin-top: 20px;
}

.popup-form form{
    max-width: 790px;
    width: 100%;
    justify-self: center;
}

.popup-title{   
    font-size: 50px;
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 20px;
}

.popup-subtitle{
    font-size: 24px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    margin-bottom: 20px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .popup-content {
        padding: 10px;
        margin: 20px;
        max-width: none;
        width: calc(100% - 40px);
    }

    .popup-title{
        font-size: 24px;
    }

    .popup-subtitle{
        font-size: 16px;
    }
    
    .popup-close {
        top: 14px;
        right: 10px;
        width: 30px;
        height: 30px;
    }
    
    .popup-close img {
        width: 16px;
        height: 16px;
    }
}

/* СТИЛИ ОБЛАСТИ ПРИНЯТИЯ КУКИ */

.cookie-banner {
    position: fixed;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: #fff;
    color: #000;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    max-width: 1090px;
    margin: 0 auto;
    border-radius: 12px;
    border: 2px solid #3A63D0;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 40px; 
    max-width: 1230px;
    margin: 0 auto;
    gap: 20px;
}

.cookie-banner__text {
    flex: 1;
}

.cookie-banner__text p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.cookie-banner__link {
    color: #D4AF37;
    text-decoration: underline;
    transition: color 0.3s ease;
    display: block;
}



.cookie-banner__actions {
    flex-shrink: 0;
}

.cookie-banner__close {
    border-radius: 12px;
    border: none;
    cursor: pointer;
}

.cookie-banner__close:hover{
    border: none;
}



/* Адаптивность для области куки */
@media (max-width: 768px) {
    .cookie-banner {
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    .cookie-banner__content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 15px;
    }
    
    .cookie-banner__text p {
        font-size: 14px;
    }
    
    .cookie-banner__actions {
        order: -1;
    }
}



