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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Manrope',sans-serif;
    background:#ffffff;
    color:#1e293b;
    line-height:1.6;
}

/* --------------------- */
/* Контейнер */
/* --------------------- */

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ===================== */
/* HEADER */
/* ===================== */

header{

    position:sticky;

    top:0;

    z-index:1000;

    background:white;

    box-shadow:
    0 5px 20px rgba(0,0,0,.05);
}

.nav{

    display:flex;

    justify-content:space-between;

    align-items:center;

    min-height:80px;
}

.logo{

    display:flex;

    align-items:center;

    gap:12px;

    text-decoration:none;
}

.logo img{

    width:55px;

    height:55px;

    border-radius:50%;

    object-fit:cover;
}

.logo span{

    font-size:22px;

    font-weight:700;

    color:#7c3aed;
}

nav{

    display:flex;

    gap:25px;
}

nav a{

    text-decoration:none;

    color:#334155;

    font-weight:600;

    transition:.3s;
}

nav a:hover{

    color:#7c3aed;
}

/* --------------------- */
/* Hero */
/* --------------------- */

.hero{
    background:
    linear-gradient(
    135deg,
    #4c1d95,
    #6d28d9,
    #8b5cf6
    );

    color:white;
    padding:90px 0;
}

.hero-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.badge{
    display:inline-block;
    padding:10px 18px;
    border-radius:999px;
    background:rgba(255,255,255,.15);
    margin-bottom:25px;
}

.hero h1{
    font-size:58px;
    line-height:1.1;
    margin-bottom:25px;
}

.hero p{
    font-size:20px;
    opacity:.9;
    margin-bottom:35px;
}

.hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.hero-image img{
    width:100%;
    border-radius:30px;
    box-shadow:0 25px 60px rgba(0,0,0,.25);
}

@media(max-width:768px){

.hero{
    min-height:auto;
    padding:120px 20px 60px;
}

.hero h1{
    font-size:38px;
}

}

/* --------------------- */
/* Кнопки */
/* --------------------- */

.btn{
    display:inline-block;
    padding:15px 30px;
    background:white;
    color:#6d28d9;
    text-decoration:none;
    border-radius:14px;
    font-weight:700;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-3px);
}

.btn-outline{
    background:transparent;
    border:2px solid white;
    color:white;
}

/* --------------------- */
/* Stats */
/* --------------------- */

.stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    padding:20px 0;
}

.stat-card{
    text-align:center;
    padding:30px;
    background:#f8fafc;
    border-radius:20px;
}

.stat-card h3{
    font-size:42px;
    color:#7c3aed;
}

.stat-card p{
    color:#64748b;
}

@media(max-width:768px){

.stats{

    grid-template-columns:repeat(2,1fr);
}

}

/* --------------------- */
/* Секции */
/* --------------------- */

.section{
    padding:100px 0;
}

.section h2{
    text-align:center;
    font-size:42px;
    margin-bottom:60px;
}

.gray{
    background:#f8fafc;
}

/* --------------------- */
/* Features */
/* --------------------- */

.features{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.feature{
    background:white;
    padding:35px;
    border-radius:24px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    transition:.3s;
}

.feature:hover{
    transform:translateY(-6px);
}

.feature h3{
    margin-bottom:15px;
}

/* --------------------- */
/* Programs */
/* --------------------- */

.programs{
    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:25px;

    margin-top:40px;
}

.program-card{
background:white;
padding:35px;
border-radius:30px;

box-shadow:
0 20px 50px rgba(124,58,237,.12);

transition:.4s;
position:relative;
overflow:hidden;
}

.program-card{
    padding:25px;
    border-radius:25px;
}

.program-card::before{
content:'';
position:absolute;
top:0;
left:0;
width:100%;
height:6px;

background:linear-gradient(
90deg,
#7c3aed,
#ec4899
);
}

.program-card:hover{
transform:
translateY(-10px)
scale(1.02);
}

.program-card h3{
    color:#7c3aed;
    font-size:30px;
    margin-bottom:20px;
}

.program-btn{
    display:block;

    width:100%;

    margin-top:25px;

    padding:16px;

    text-align:center;

    text-decoration:none;

    font-size:17px;
    font-weight:700;

    color:white;

    background:linear-gradient(
        135deg,
        #7c3aed,
        #9333ea
    );

    border-radius:16px;

    box-shadow:
    0 10px 25px rgba(124,58,237,.35);

    transition:.3s;
}

.program-btn:hover{
    transform:translateY(-3px);

    box-shadow:
    0 15px 35px rgba(124,58,237,.45);

    background:linear-gradient(
        135deg,
        #6d28d9,
        #7e22ce
    );
}

@media(max-width:768px){

.programs{
    grid-template-columns:1fr;
}

}

/* --------------------- */
/* Teacher */
/* --------------------- */

.teacher{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.teacher img{
    width:100%;
    border-radius:25px;
}

.teacher-content p{
    margin-bottom:20px;
}


/* --------------------- */
/* Gallery */
/* --------------------- */

.gallery{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.gallery img{
    width:100%;
    border-radius:18px;
    transition:.3s;
}

.gallery img{
height:300px;
object-fit:cover;
cursor:pointer;
}

.gallery img:hover{
    transform:scale(1.05);
}

@media(max-width:768px){

.gallery{
    display:flex;
    overflow-x:auto;
    gap:15px;
    scrollbar-width:none;
}

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

.gallery img{
    flex:0 0 auto;
    width:220px;
}

}

@media(max-width:768px){

.gallery img{

    width:260px;
    height:380px;

}

}


/* --------------------- */
/* CTA */
/* --------------------- */

.cta{
    background:
    linear-gradient(
    135deg,
    #5b21b6,
    #7c3aed
    );

    color:white;
    text-align:center;
    padding:100px 0;
}

.cta h2{
    font-size:42px;
    margin-bottom:20px;
}

.cta p{
    margin-bottom:40px;
}

.cta-card{

    max-width:700px;

    margin:0 auto 20px;

    background:white;

    color:#111827;

    border-radius:40px;

    padding:60px;

    box-shadow:
    0 25px 60px rgba(124,58,237,.15);
}

@media(max-width:768px){

.cta-card{

    padding:30px 20px;
}

.cta-card h2{

    font-size:38px;

    line-height:1.2;
}

.cta-buttons{
    flex-direction:column;
}

.cta-btn{
    width:100%;
}
}

.cta-contacts{
    margin-top:30px;
    color:#64748b;
    font-size:16px;
    line-height:1.8;
}

form{
    max-width:650px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:15px;
}

input{
    padding:18px;
    border:none;
    border-radius:14px;
    font-size:16px;
}

button{
    padding:18px;
    border:none;
    border-radius:14px;
    background:white;
    color:#6d28d9;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

button:hover{
    transform:translateY(-3px);
}

/* --------------------- */
/* Footer */
/* --------------------- */

footer{
    background:#111827;
    color:white;
    text-align:center;
    padding:50px 0;
}

footer h3{
    margin-bottom:15px;
}

footer p{
    opacity:.8;
    margin-bottom:10px;
}

@media(max-width:768px){

.footer{

    width:100%;

    padding:40px 25px;
}

.footer-content{

    text-align:center;

    display:flex;

    flex-direction:column;
}

}

/* --------------------- */
/* Mobile */
/* --------------------- */

@media(max-width:768px){

.container{
    width:95%;
}

.hero-grid,
.teacher{
    grid-template-columns:1fr;
    gap:30px;
}

.hero{
    padding:40px 0;
}

.hero h1{
    font-size:36px;
}

.hero p{
    font-size:18px;
}

.section{
    padding:60px 0;
}

.section h2{
    font-size:30px;
    margin-bottom:30px;
}

/* курсы */

.programs{
    grid-template-columns:1fr;
}

.program-card{
    padding:20px;
}

.program-card h3{
    font-size:26px;
}

/* статистика */

.stats{
    grid-template-columns:1fr;
}

.stat{
    padding:20px;
}

.stat strong{
    font-size:34px;
}

/* цены */

.course-pricing{
    grid-template-columns:1fr;
}

.price-column{
    border-right:none;
    border-bottom:1px solid #e5e7eb;
}

.price-column:last-child{
    border-bottom:none;
}

/* CTA */

.cta-card{
    padding:35px 20px;
}

.cta-card h2{
    font-size:34px;
}

.cta-card p{
    font-size:17px;
}

.cta-buttons{
    flex-direction:column;
}

.cta-btn{
    width:100%;
}

/* футер */

.footer-content{
    grid-template-columns:1fr;
    text-align:center;
}

}

.price-box{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:15px;
margin-top:20px;
}

.price-box div{
background:#f8fafc;
padding:15px;
border-radius:12px;
text-align:center;
}

.price-box strong{
display:block;
margin-bottom:8px;
color:#6d28d9;
}

.map-box{
    margin-top:30px;

    overflow:hidden;

    border-radius:30px;

    box-shadow:
    0 20px 50px rgba(0,0,0,.12);
}

.map-box iframe{
    display:block;
    width:100%;
    border:none;
}

.address{
    text-align:center;

    font-size:20px;

    color:#475569;

    margin-bottom:25px;
}

.course-pricing{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    margin-top:25px;
    margin-bottom:25px;

    border:1px solid #e5e7eb;
    border-radius:18px;

    overflow:hidden;
}

.price-column{
    text-align:center;
    padding:18px 12px;
    background:#fafafa;

    border-right:1px solid #e5e7eb;
}

.price-column:last-child{
    border-right:none;
}

.price-column span{
    display:block;
    font-size:13px;
    color:#64748b;
    min-height:40px;
}

.price-column strong{
    display:block;
    margin-top:10px;

    font-size:22px;
    color:#7c3aed;
    font-weight:800;
}

html{
    scroll-behavior:smooth;
}

/* ===================== */
/* Final CTA */
/* ===================== */

.cta-section{
    padding:100px 20px;
}

.cta-card{

    background:
    linear-gradient(
        135deg,
        #7c3aed,
        #9333ea
    );

    color:white;

    text-align:center;

    padding:70px 40px;

    border-radius:40px;

    box-shadow:
    0 25px 60px rgba(124,58,237,.35);
}

.cta-card h2{
    font-size:42px;
    margin-bottom:20px;
}

.cta-card p{
    max-width:700px;
    margin:0 auto 40px;
    font-size:20px;
    line-height:1.6;
}

.cta-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.cta-btn{

    padding:18px 35px;

    border-radius:18px;

    text-decoration:none;

    font-size:18px;

    font-weight:700;

    transition:.3s;
}

.telegram{
    background:#25D366;
    color:white;
}

.max{
    background:white;
    color:#7c3aed;
}

.cta-btn:hover{
    transform:translateY(-4px);
}

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

.stat{
    background:white;

    padding:30px;

    text-align:center;

    border-radius:25px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);
}

.stat strong{
    display:block;

    font-size:42px;

    color:#7c3aed;
}

.stat span{
    color:#64748b;
}

/* ===================== */
/* Diploma Modal */
/* ===================== */

.modal{

    display:none;

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.9);

    z-index:9999;

    justify-content:center;
    align-items:center;
}

.modal img{

    max-width:90%;
    max-height:90%;

    border-radius:15px;

    animation:zoom .25s ease;
}

@keyframes zoom{

from{
    transform:scale(.8);
    opacity:0;
}

to{
    transform:scale(1);
    opacity:1;
}

}

.close-modal{

    position:absolute;

    top:20px;
    right:30px;

    color:white;

    font-size:40px;

    cursor:pointer;

    
}

/* ===================== */
/* Footer */
/* ===================== */

.footer{

    margin-top:80px;

    background:#111827;

    color:white;

    padding:60px 20px 30px;
}

.footer-content{

    display:grid;

    grid-template-columns:
    2fr
    1fr
    1fr;

    gap:40px;
}

.footer h3,
.footer h4{

    margin-bottom:20px;
}

.footer p{

    color:#cbd5e1;

    line-height:1.8;
}

.footer a{

    display:block;

    color:#cbd5e1;

    text-decoration:none;

    margin-bottom:10px;
}

.footer a:hover{

    color:white;
}

.footer-bottom{

    border-top:
    1px solid rgba(255,255,255,.15);

    margin-top:40px;

    padding-top:20px;

    text-align:center;

    color:#94a3b8;
}

@media(max-width:768px){

.footer-content{

    grid-template-columns:1fr;

    text-align:center;
}

}

.contact-float{

    position:fixed;

    right:20px;

    bottom:20px;

    width:65px;

    height:65px;

    border-radius:50%;

    background:#7c3aed;

    color:white;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:30px;

    text-decoration:none;

    z-index:999;
}

/* ===================== */
/* BURGER MENU */
/* ===================== */

.nav{
    position:relative;
}

.burger{
    display:none;
    background:none;
    border:none;
    font-size:32px;
    color:#7c3aed;
    cursor:pointer;
}

@media(max-width:768px){

    .burger{
        display:block;
    }

    nav{

        display:none;

        position:absolute;

        top:100%;

        left:0;

        width:100%;

        background:white;

        padding:20px;

        flex-direction:column;

        gap:15px;

        border-radius:0 0 20px 20px;

        box-shadow:
        0 10px 30px rgba(0,0,0,.12);
    }

    nav.active{
        display:flex;
    }

    nav a{
        text-align:center;
        font-size:16px;
    }

    .logo{
        flex:1;
    }

}

@media(max-width:768px){

.features{
    display:grid;
    grid-template-columns:1fr;
    gap:15px;
}

.feature{
    padding:25px;
}

}

.stats{
    padding:70px 0;
}

@media(max-width:768px){

    .stats{
        grid-template-columns:1fr;
        gap:15px;
    }

    .stat{
        padding:20px;
    }

    .stat strong{
        font-size:32px;
    }

}