/* ======= АНИМАЦИИ ======== */
@keyframes Ani {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fonAni {
    from{opacity: 0; transform: translate(-50%, -50%);display: block;}
    to{opacity: 1; transform: translate(-50%, -90%); display: none; visibility: hidden;}

}
/* @keyframes fon {
    0%{
        /* transform:translateY(0);*/
         /* z-index: 1;} */
    /* 100%{ */
        /* transform: translateY(100%);*/
         /* opacity: 0; z-index: -2;} */
    
   
/* } */
 @keyframes fon {
    from{display:block}
    to{display: none;}
 }


 :root {
    --primary-color: #6B508E;
    --text-color: #2b2b2b;
    --bg-light: #fdfcf9;
    --pink-color: #CF92E5;
    --bg-dark-red: #4a2870;
    --text-white: #ffffff;
    --text-gray: rgba(255, 255, 255, 0.7);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: 0.3s ease;
    /* --opa: #7D5CA6; */
    
}

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

html {
    scroll-behavior: smooth;
}

.body {
    font-size: 16px;
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



.contaiani {
    animation: Ani 1s ease-in forwards;
}

/* --- HEADER --- */
.header {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    background: #fff;
}

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

.logo  img{
    height: 5rem;
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: bold;
    color: var(--primary-color);
}

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

.nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.call {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- ЯЗЫКОВОЙ СЕЛЕКТОР (ЛОГИКА МЕНЮ) --- */
.idioma {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.langs-cnt {
    display: inline-flex;
    position: relative;
}

.langs-cnt-child {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.langs-cnt .icon {
    width: 25px !important;
    cursor: pointer;
}

/* Контейнер с флагами, которым управляет JS */
.flags-cnt {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: absolute;
    left: 0;
    top: 45px;
    overflow: hidden;
    height: 0px; /* Начальное состояние для JS */
    width: 40px;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: height 0.3s ease; /* Плавное открытие */
    z-index: 100;
}

.flag {
    border-radius: 4px;
    margin-top: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

.flag:hover {
    transform: scale(1.1);
}

/* --- HERO SECTION --- */
.hero {
    padding: 60px 0;
    text-align: left;
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 8vw, 4.5rem);
    /* font-size: 5rem; */
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight:normal;
}

.spann {
    font-style: italic;
    color: var(--primary-color);
}

.subtitle {
    max-width: 600px;
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 35px;
    color: #666;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.btn {
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #4a1146;
}

.stats-mini {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stats-mini span {
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 10px;
}

/* --- SLIDER --- */
.slid {
    padding: 40px 0;
}

.slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    gap: 10px;
}

.slider::-webkit-scrollbar { display: none; }

.slide, .aw {
    flex: 0 0 100%;
    min-height: 400px;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--bg-light);
    gap: 30px;
}

.slide p, .aw p {
    font-size: clamp(1.1rem, 3vw, 1.8rem);
    max-width: 800px;
    padding-right: 30px;
}

.slide img, .aw img {
    height: 350px;
    width: auto;
    border-radius: 20px;
    object-fit: cover;
}

.slide:nth-child(even) {
    color: var(--text-color);
}
.aw:nth-child(odd) {
    color: var(--text-color);
}
/* --- STATS GRID --- */
.stats {
    padding: 60px 0;
}

.grid-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.stat-item {
    padding: 40px;
    border: 1px solid #e0e0e0;
    background: #fff;
    text-align: center;
}
.card-btn{
    margin-top: 40px;
    text-align: center;
    display: inline-block ;
    padding-top: 10px;
    height: 54px;
    width: 238px;
    border: var(--primary-color) 2px solid;
    border-radius: 5px;
    background-color: var(--primary-color);
    color: var(--bg-light);
    font-size: 1rem;
    text-decoration: none;
}
.stat-val {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.img-placeholder {
    background-image: url("img/logo_new.jpg");
    background-position: center;
    background-size: cover;
    min-height: 200px;
}

/* --- PRICE LIST --- */
.price-list h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.PriceBtn {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;


}

.Pbtn {
    padding: 12px 25px;
    color: var(--primary-color);
    font-family: var(--font-heading);
    border-radius: 4px;
    cursor: pointer;
    font-size: 3rem;
   
}

.price-table {
    border-top: 1px solid #ddd;
    margin: 20px 150px;
}

.price-header, .price-row {
    display: grid;
    grid-template-columns: 3fr 1fr ;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    gap: 10px;
}

.price-header {
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* --- CTA CARD --- */
.section-card {
    display: flex;
    justify-content:center;
    padding: 80px 0;
}
.card-div{
    width: 60%;
    padding-right: 100px;
}
.card {
    display: flex;
    
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.card > div:first-child {
    padding-bottom: 40px;
    padding-left: 100px;
    flex: 0.5;
}

.card h1 { font-size: clamp(2rem, 4vw, 3rem); }

.card-img {
    width: 370px;
    border-radius: 8%;
    
    /* object-fit: cover; */
}

.card-btn {
    margin-top: 20px;
    margin-right: 10px;
}

/* --- FOOTER & CONTACTS --- */
.contacts-section {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 60px 0;
}
.section-slide{
    margin-top: 50px;
    margin-bottom: 200px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 40px;
}

.map-container {
    width: 100%;
    height: 400px;
    background: #ddd;
    border-radius: 8px;
    margin-bottom: 50px;
}

.footer-grid {
    padding-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.contact-info .phone, .contact-info .email {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 10px;
}

.work-hours {
    font-size: 1.5rem;
    font-weight: 600;
}

.legal-bar {
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.legal-bar a { color: inherit; text-decoration: none; }
 

ul{
    display: flex;
    width: 300px;
    justify-content: space-between;
}
ul li{
    font-size: 1.17rem;
    font-weight: bold;
    list-style: none;
}
.ifraMap{
    width: 100%;
    height: 100%;
}
.logoFon{
    z-index: 2;
    position: absolute;
    width: 90vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: fonAni 2s 2 alternate forwards ;
    transition-behavior: allow-discrete;
}
/* .logoFon{
    animation: Anifon 2s ease-in both ;
    animation-delay: 3s;
} */

.fon{
    background-color: rgb(255, 255, 255);
    height: 100vh;
    width: 100vw;
    position: absolute;
    z-index: 1;
    animation: fon 1s ease both;
    animation-delay: 3s;
   
}
.politikhtml{
    padding: 50px 40px;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    font-size: clamp(1.1rem, 3vw, 1.8rem);
    line-height:3rem;
   
    margin: 0px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #ffffff;
    line-height: 1.6;
}
 .politikhtml div{
    padding-left: 180px;
    
 }


/* Баннер-заголовок */
.politikhtml .header-banner {
    background-color: #0f172a;
    color: #ffffff;
    padding: 24px 28px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.politikhtml .header-banner h1 {
    margin: 0 0 6px 0;
    font-size: 24px;
    font-weight: 700;
    color: #f8fafc;
}

.politikhtml .header-banner .subtitle {
    margin: 0;
    font-size: 13px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Разделы и заголовки */
.politikhtml .lang-section h2 {
    font-size: 18px;
    color: #0f172a;
    margin-top: 24px;
    margin-bottom: 12px;
    padding-left: 10px;
    border-left: 4px solid #2563eb;
}

.politikhtml .lang-section h3 {
    font-size: 15px;
    color: #1e293b;
    margin-top: 14px;
    margin-bottom: 8px;
    font-weight: 600;
}

/* Текст и красная строка */
.politikhtml p {
    margin-top: 0;
    margin-bottom: 12px;
    color: #ffffff;
}

.politikhtml .indent-paragraph {
    text-indent: 18px;
    text-align: justify;
}

/* Списки */
.politikhtml ul {
    margin-top: 6px;
    margin-bottom: 16px;
    padding-left: 24px;
}

.politikhtml li {
    margin-bottom: 6px;
    color: #334155;
}

/* Информационные карточки */
.politikhtml .info-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 16px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}


.politikhtml .placeholder {
    color: #2563eb;
    font-family: monospace;
    background-color: #eff6ff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    
}
a{
    color: inherit;
    text-decoration: none   ;

}
.price-flex{
    display: flex;
    justify-content: center;
   
}
.price-flex p {
    padding-right: 50px;
    padding-top: 20px;
    border-bottom: 1px solid #eee;
}
.section-criceflex h1 {
    text-align: center;
}
.title{
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 10px;
}
.price-flex:first-child{
    padding-left: 10px;
}
.menu-price2{
display: none;
}
.mobile-price{
     display: none
}


















/* ===========mobile======================== */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .hero {
        text-align: center;
        padding: 40px 0;
    }

    .hero-actions {
        justify-content: center;
    }

    .slide, .aw{
        flex-direction: column-reverse;
        text-align: center;
        padding: 30px 20px;
      
    }
   .slide, .aw{
      background-color: white !important;
   }
   .slid, .section-slide{
    padding: 40px 10px;
   }
    .slide img, .aw img {
        width: 100vw;
        height: 100%;
    }

    .price-header, .price-row {
        
        font-size: 1.5rem;
        gap: 151px
    }
    .price-table{
        margin: 20px 80px;
    }
    .footer-grid {
        text-align: center;

    }

    .legal-bar {
        flex-direction: column;
        align-items: center;
    }
    .card > div:first-child{
        padding-left: 0px;

    }
    .card-div p{
        font-size: 1.4rem;
    }
    .card-div{
        padding-right: 0;
    }
    .aw p, .slide p{
        display: none;
    }
    .aw , .slide{
        padding: 0px;
    }
    .card{
        display: flex;
        flex-direction: column;
    }
    .card-div{
        order: 1;
        margin-top: 50px;
    }
    .politikhtml div {
        padding: 0;
    }
    .price-list{
    display: none;
    }

    .desktop-price{
        display:none
    }
    .mobile-price{
        display: block
    }


                                                                                                      

}

@media (max-width: 480px) {
    .btn, .Pbtn {
        width: 100%;
    }
    .stat-val {
        font-size: 2.2rem;
    }
    
}

/* ============desktop=========== */
@media (min-width: 768px){
    .section-criceflex{
        display: none;
    }
                                                             
}