.main section h2{font-size:clamp(32px,4vw,38px);font-weight:700;letter-spacing:1px;}

@media(max-width:1290px) {
.main section{padding-right:15px;padding-left:15px;}
}

.main .hero{display:flex;justify-content:center;align-items:center;padding:100px 0 100px 0;position:relative;color:#fff;text-align:center;}
.main .hero::after{content:'';position:absolute;inset:0;background:rgba(23,23,23,.61);}
.main .hero .hero-content{position:relative;z-index:1;width:780px;margin:0 auto;}
.main .hero h2{font-size:clamp(38px,4vw,46px);font-weight:700;letter-spacing:2px;margin-bottom:12px;}
.main .hero p{line-height:1.4;font-size:19px;word-break:keep-all;}
.main .hero>img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;}
.main .stats{margin-top:80px;}
.main .stats .stats-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(80px, 1fr));gap:30px;}
.main .stats .stat-item{background:rgba(34,34,34,0.69);border-radius:8px;padding:34px 0;box-shadow:0 4px 4px rgba(0,0,0,0.25);transition:transform .3s;}
.main .stats .stat-item:hover{transform:translateY(-6px); }
.main .stats .stat-item .number-box{display:flex;justify-content:center;align-items:center;}
.main .stats .stat-item .number-box .number{font-size:clamp(24px,3vw,38px);font-weight:700;color:#e6b980;margin-bottom:8px;}
.main .stats .stat-item .number-box .meta{margin-left:6px;font-size:clamp(15px,2vw,18px);color:#d3d3d3;}
.main .stats .stat-item p{font-size:clamp(14px,2vw,19px);color:#d3d3d3;letter-spacing:.5px;}
.main .hero a{display:inline-block;margin-top:88px;background:#fff;color:#111;border:none;padding:clamp(14px,2vw,16px) clamp(44px,5vw,52px);font-size:clamp(18px,3vw,22px);border-radius:8px;cursor:pointer;transition:all .3s;}

@media(max-width:900px) {
.main .hero{padding:120px 0 80px 0;}
.main .hero .hero-content{width:auto;padding:0 15px;}
.main .stats .stats-grid{gap:10px;}
.main .stats .stat-item{padding:30px 0;}
.main .stats .stat-item .number-box .meta{margin-left:3px;}
}

.main .about{margin-top:clamp(110px,11vw,180px);}
.main .about .block-content{display:flex;gap:116px;align-items:center;padding:42px 100px 0 206px;border-bottom:1px solid #B3B3B3;}
.main .about .block-content img{max-width:288px;object-fit:cover;}
.main .about .block-content div{flex:1;text-align:left;word-break:keep-all;}
.main .about .block-content h3{font-size:24px;font-weight:600;margin-bottom:20px;}
.main .about .block-content p{color:#555;font-size:19px;line-height:1.3;}

@media(max-width:900px) {
.main .about .block-content{flex-direction:column;gap:80px;padding:30px 0 30px 0;}
.main .about .block-content img{width:100%;}
}

.main .courses{margin-top:96px;}
.main .course-grid{display:grid;grid-template-columns:repeat(4, 1fr);gap:20px;margin-top:60px;}
.main .courses .row>a{position:relative;display:block;padding-bottom:100%;border-radius:12px;overflow:hidden;}
.main .courses .row ul{position:absolute;z-index:1;top:10%;left:10%;line-height:1.3;}
.main .courses .row ul>li:nth-child(1){font-size:clamp(22px, 2vw, 26px);font-weight:600;}
.main .courses .row ul>li:nth-child(2){margin-top:10px;font-size:16px;}
.main .courses .row ul>li:nth-child(3){margin-top:10px;font-size:13px;}
.main .courses .row ul>li:nth-child(3)>span{display:inline-block;padding:3px 6px;}
.main .courses .back-img{position:absolute;z-index:0;top:0;left:0;width:100%;height:100%;object-fit:cover;}
/*
.main .course-grid{padding:56px 60px 0 60px;}
.main .courses .slide-arrow{display:inline-block;width:40px;height:40px;position:absolute;z-index:1;top:calc(50% + 14px);transform:translateY(-50%);}
.main .courses .slide-arrow:before{content:'';display:inline-block;position:absolute;border:solid #1C1E1D;border-width:0 2px 2px 0;padding:7px;cursor:pointer;}
.main .courses .slide-arrow.prev-arrow{left:0;}
.main .courses .slide-arrow.next-arrow{right:0;}
.main .courses .slide-arrow.prev-arrow:before{top:13px;left:15px;transform:rotate(135deg);-webkit-transform:rotate(135deg);}
.main .courses .slide-arrow.next-arrow:before{top:13px;right:15px;transform:rotate(-45deg);-webkit-transform:rotate(-45deg);}
*/

@media(max-width:880px) {
.main .course-grid{grid-template-columns:repeat(3, 1fr);gap:18px;}
}

@media(max-width:680px) {
.main .course-grid{grid-template-columns:repeat(2, 1fr);gap:12px;}
}

@media(max-width:360px) {
.main .course-grid{grid-template-columns:1fr;gap:20px;}
}

.main .reviews{margin-top:clamp(120px,20vw,206px);padding:clamp(80px,15vw,122px) 15px clamp(80px,15vw,122px) 15px;background:#fffcf8;}
.main .review-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));gap:30px;margin-top:46px;}
.main .review{display:block;background:#fff;border-radius:16px;padding:32px;box-shadow:0 6px 20px rgba(0,0,0,0.05);border:1px solid #f3e0da;}
.main .review p{height:66px;font-size:16px;line-height:22px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;text-overflow:ellipsis;}
.main .review span{display:block;margin-top:18px;font-weight:600;color:#e6b980;font-size:14px;}

.main .reviews.black{background:#111;}
.main .reviews.black h2{color:#fff;}
.main .reviews.black .review{background:#272727;box-shadow:0 6px 20px rgba(0, 0, 0, 0.3);border:none;color:#fff;}

.main .partners{padding:70px 0;}
.main .partners li{float:left;text-align:center;line-height:82px;}
.main .partners .slick-slide img{display:inline;}