/* ===== Начална страница редизайн (hm2) v4 ===== */
.hm2{font-family:'Open Sans',sans-serif;color:#333;width:100%;float:none;display:block;overflow-x:hidden;}
.hm2 h2{font:300 34px 'Montserrat',sans-serif;color:#222;text-transform:uppercase;text-align:center;margin:0 0 12px;}
.hm2-line{width:60px;height:3px;background:#BD3F32;margin:0 auto 18px;}
.hm2 .hm2-sub{text-align:center!important;color:#777;max-width:640px;margin-left:auto!important;margin-right:auto!important;margin-bottom:40px!important;margin-top:0!important;font-size:15px;}
.hm2-sec{padding:70px 0;}
.hm2-gray{background:#fafafa;border-top:1px solid #ebebeb;border-bottom:1px solid #ebebeb;}
.hm2 .hm2-h3{font:600 18px 'Montserrat',sans-serif;color:#222;text-align:center;margin:70px 0 24px!important;text-transform:uppercase;letter-spacing:1px;position:relative;padding-bottom:16px;}
.hm2 .hm2-h3:after{content:'';position:absolute;left:50%;transform:translateX(-50%);bottom:0;width:40px;height:2px;background:#BD3F32;}
.hm2 .hm2-note{text-align:center!important;color:#888;font-size:13px;max-width:640px;margin-left:auto!important;margin-right:auto!important;margin-bottom:20px!important;}
/* бутони */
.hm2-btn{display:inline-block;font:600 14px/1 'Montserrat',sans-serif;text-transform:uppercase;letter-spacing:1px;padding:16px 30px;border-radius:4px;text-decoration:none;transition:all .25s;margin:6px 8px;}
.hm2-btn-solid{background:#BD3F32;color:#fff;}
.hm2-btn-solid:hover{background:#a33227;color:#fff;text-decoration:none;}
.hm2-btn-ghost{border:2px solid #fff;color:#fff;padding:14px 28px;}
.hm2-btn-ghost:hover{background:#fff;color:#222;text-decoration:none;}
.hm2-btn-ondark{border-color:#555;color:#eee;}
.hm2-btn-ondark:hover{background:#fff;border-color:#fff;color:#222;}
/* HERO */
.hm2-hero{position:relative;min-height:560px;display:flex;flex-direction:column;justify-content:center;overflow:hidden;}
.hm2-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center top;opacity:0;transition:opacity 1.6s ease;}
.hm2-hero-bg.on{opacity:1;}
.hm2-hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,20,14,.5),rgba(10,20,14,.72));}
.hm2-hero-in{position:relative;z-index:3;text-align:center;padding:90px 15px 60px;}
.hm2-badge{display:inline-block;background:#258229;color:#fff;font:600 12px/1 'Montserrat',sans-serif;letter-spacing:2px;text-transform:uppercase;padding:9px 18px;border-radius:30px;margin-bottom:22px;}
.hm2-hero h1{color:#fff;font:700 50px/1.15 'Montserrat',sans-serif;margin:0 0 16px;text-shadow:0 4px 16px rgba(0,0,0,.4);}
.hm2 .hm2-hero-in p{color:rgba(255,255,255,.92);font-size:18px;max-width:640px;margin-left:auto!important;margin-right:auto!important;margin-bottom:28px!important;text-align:center!important;}
/* CMS секции: about-us + training-base */
.hm2 .priorities{float:none;width:100%;margin:0;padding:70px 0;}
.hm2 #about-us{background:#fff;}
.hm2 #about-us h2{text-align:left;position:relative;padding-bottom:18px;margin-bottom:22px;}
.hm2 #about-us h2:after{content:'';position:absolute;left:0;bottom:0;width:60px;height:3px;background:#BD3F32;}
.hm2 #about-us ul{list-style:none;padding:0;margin:0;}
.hm2 #about-us li{position:relative;padding:0 0 12px 32px;line-height:1.65;color:#555;font-size:14.5px;}
.hm2 #about-us li:before{content:'\f00c';font-family:FontAwesome;position:absolute;left:0;top:1px;color:#258229;font-size:14px;}
.hm2 #about-us .row{display:flex;flex-wrap:wrap;align-items:stretch;}
.hm2 #about-us .row:before,.hm2 #about-us .row:after{display:none;}
.hm2 #about-us .row .col-md-6:last-child{display:flex;}
.hm2 #about-us img{width:100%;height:100%;min-height:340px;object-fit:cover;border-radius:10px;box-shadow:0 14px 34px rgba(0,0,0,.16);padding-top:0!important;}
.hm2 #training-base{background:#fafafa;border-top:1px solid #ebebeb;border-bottom:1px solid #ebebeb;}
.hm2 #training-base h2{position:relative;padding-bottom:18px;}
.hm2 #training-base h2:after{content:'';position:absolute;left:50%;transform:translateX(-50%);bottom:0;width:60px;height:3px;background:#BD3F32;}
.hm2 #training-base p{text-align:center!important;color:#777;font-size:15px!important;max-width:640px;margin-left:auto!important;margin-right:auto!important;margin-bottom:35px!important;}
.hm2 .slid-box{background:#fff;border:1px solid #eee;border-radius:8px;overflow:hidden;box-shadow:0 6px 18px rgba(0,0,0,.07);margin-bottom:25px;transition:transform .25s,box-shadow .25s;}
.hm2 .slid-box:hover{transform:translateY(-5px);box-shadow:0 14px 30px rgba(0,0,0,.13);}
.hm2 .slid-box .frame{height:210px;overflow:hidden;}
.hm2 .slid-box .frame img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s;}
.hm2 .slid-box:hover .frame img{transform:scale(1.06);}
.hm2 .slid-box .text-box{padding:2px 18px 18px;text-align:center;background:#fff!important;}
.hm2 .slid-box .text-box .title{font:600 15px 'Montserrat',sans-serif;color:#222;}
.hm2 .slid-box:hover .text-box{background:#fff!important;}
.hm2 .slid-box:hover .text-box .title,.hm2 .slid-box:hover .text-box strong,.hm2 .slid-box:hover .text-box a{color:#222!important;}
/* Карти треньори/състезатели */
.hm2-grid{display:grid;gap:18px;}
.hm2-grid-4{grid-template-columns:repeat(4,1fr);}
.hm2-grid-5{grid-template-columns:repeat(5,1fr);}
.hm2-card{display:block;background:#fff;border:1px solid #eee;border-radius:8px;overflow:hidden;box-shadow:0 5px 16px rgba(0,0,0,.07);text-decoration:none;transition:transform .25s,box-shadow .25s;}
.hm2-card:hover{transform:translateY(-5px);box-shadow:0 14px 30px rgba(0,0,0,.14);text-decoration:none;}
.hm2-card img{width:100%;aspect-ratio:9/11;object-fit:cover;object-position:top;display:block;}
.hm2-card-noimg{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:9/11;background:#eef1f3;color:#c3cad1;font-size:44px;}
.hm2-card-body{display:block;padding:12px 14px;text-align:center;}
.hm2-card-body strong{display:block;font:600 14px 'Montserrat',sans-serif;color:#222;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.hm2-card-body em{display:block;font-style:normal;font-size:11.5px;color:#999;text-transform:uppercase;letter-spacing:.5px;margin-top:3px;}
.hm2 .hm2-nivo{display:flex;align-items:center;gap:14px;margin:46px 0 20px!important;font:600 12px 'Montserrat',sans-serif;text-transform:uppercase;letter-spacing:2px;color:#8a8a8a;padding:0;background:none;}
.hm2 .hm2-nivo:before{content:'';flex:0 0 auto;width:10px;height:10px;border-radius:50%;background:#ccc;}
.hm2 .hm2-nivo:after{content:'';flex:1 1 auto;height:1px;background:linear-gradient(90deg,#e2e2e2,rgba(226,226,226,0));}
.hm2 .hm2-nivo-orange:before{background:#e8843c;box-shadow:0 0 0 4px rgba(232,132,60,.16);}
.hm2 .hm2-nivo-green:before{background:#258229;box-shadow:0 0 0 4px rgba(37,130,41,.16);}
.hm2 .hm2-nivo-yellow:before{background:#d4a017;box-shadow:0 0 0 4px rgba(212,160,23,.16);}
.hm2 .hm2-nivo-orange{color:#c96a26;}
.hm2 .hm2-nivo-green{color:#1f6c23;}
.hm2 .hm2-nivo-yellow{color:#a97d0f;}
/* PDF карти */
.hm2-pdf-row{display:flex;gap:22px;justify-content:center;flex-wrap:wrap;margin-bottom:40px;}
.hm2-pdf-card{flex:1 1 320px;max-width:440px;display:block;background:#fff;border:1px solid #eee;border-radius:10px;overflow:hidden;box-shadow:0 6px 18px rgba(0,0,0,.08);text-decoration:none;transition:transform .25s,box-shadow .25s;}
.hm2-pdf-card:hover{transform:translateY(-5px);box-shadow:0 16px 34px rgba(0,0,0,.15);text-decoration:none;}
.hm2-pdf-pic{display:block;height:190px;background-size:cover;background-position:center;}
.hm2-pdf-body{display:block;padding:18px 20px;}
.hm2-pdf-body strong{display:block;font:600 17px 'Montserrat',sans-serif;color:#222;margin-bottom:5px;}
.hm2-pdf-body em{font-style:normal;color:#BD3F32;font:600 12px 'Montserrat',sans-serif;text-transform:uppercase;letter-spacing:1px;}
/* Групи */
.hm2-groups{display:flex;gap:18px;justify-content:center;flex-wrap:wrap;margin-bottom:26px;}
.hm2-group{flex:1 1 200px;max-width:260px;background:#fff;border-radius:10px;border-top:5px solid #ccc;box-shadow:0 6px 18px rgba(0,0,0,.07);padding:22px 20px;text-align:center;}
.hm2-group strong{display:block;font:600 17px 'Montserrat',sans-serif;color:#222;margin-bottom:10px;}
.hm2-group span{display:block;font-size:13.5px;color:#666;padding:4px 0;border-top:1px solid #f2f2f2;}
.hm2-group em{display:inline-block;font-style:normal;margin-top:12px;font:600 12px 'Montserrat',sans-serif;color:#fff;background:#888;border-radius:20px;padding:6px 16px;}
.hm2-g-red{border-top-color:#c94a3d;}   .hm2-g-red em{background:#c94a3d;}
.hm2-g-orange{border-top-color:#e8843c;}.hm2-g-orange em{background:#e8843c;}
.hm2-g-green{border-top-color:#258229;} .hm2-g-green em{background:#258229;}
.hm2-g-yellow{border-top-color:#d4a017;}.hm2-g-yellow em{background:#d4a017;}
/* Таблици */
.hm2-tablewrap{overflow-x:auto;}
.hm2-table{width:100%;max-width:860px;margin:0 auto 8px;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #eee;border-radius:10px;overflow:hidden;box-shadow:0 6px 18px rgba(0,0,0,.06);}
.hm2-table th{background:#222;color:#fff;font:600 13px 'Montserrat',sans-serif;text-transform:uppercase;letter-spacing:.5px;padding:13px 16px;text-align:left;}
.hm2-table td{padding:12px 16px;border-top:1px solid #f0f0f0;font-size:14px;}
.hm2-table a{color:#BD3F32;font-weight:600;text-decoration:none;}
.hm2-table a:hover{text-decoration:underline;}
.hm2-schedule td, .hm2-schedule th{text-align:center;}
.hm2-schedule td:first-child{font-weight:600;color:#555;}
td.c-red{background:#f6dbd8;color:#8a2430;font-weight:700;}
td.c-orange{background:#fbe7d2;color:#9a5b13;font-weight:700;}
td.c-green{background:#dcefdc;color:#1d5c20;font-weight:700;}
td.c-yellow{background:#faf0cd;color:#7c6410;font-weight:700;}
.hm2 .hm2-legend{text-align:center!important;font-size:13px;color:#777;margin:22px auto 0!important;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 26px;}
.hm2 .hm2-legend em{display:inline-flex;align-items:center;gap:8px;font-style:normal;white-space:nowrap;}
.hm2 .hm2-legend span{display:inline-block;width:26px;height:26px;line-height:26px;text-align:center;border-radius:6px;font-weight:700;flex:0 0 auto;}
.hm2-legend .c-red{background:#f6dbd8;color:#8a2430;}
.hm2-legend .c-orange{background:#fbe7d2;color:#9a5b13;}
.hm2-legend .c-green{background:#dcefdc;color:#1d5c20;}
.hm2-legend .c-yellow{background:#faf0cd;color:#7c6410;}
/* Кондиционни */
.hm2-cond{display:flex;gap:20px;justify-content:center;flex-wrap:wrap;margin-top:28px;}
.hm2-cond-card{flex:1 1 220px;max-width:300px;background:#fff;border:1px solid #eee;border-left:4px solid #258229;border-radius:8px;padding:20px 22px;text-decoration:none;box-shadow:0 5px 16px rgba(0,0,0,.06);transition:transform .25s;}
.hm2-cond-card:hover{transform:translateY(-4px);text-decoration:none;}
.hm2-cond-card strong{display:block;font:600 15px 'Montserrat',sans-serif;color:#222;margin-bottom:5px;}
.hm2-cond-card span{color:#777;font-size:13.5px;}
/* Галерия / видео */
.hm2 .lightwidget-widget{border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.08);}
.hm2 #ytThumbs{text-align:center;}
/* Партньори */
.hm2-partners{padding:60px 0;}
.hm2-partner-row{display:flex;align-items:center;justify-content:center;gap:50px;flex-wrap:wrap;margin-top:30px;}
.hm2-partner-row img{max-height:60px;width:auto;filter:grayscale(100%);opacity:.6;transition:all .3s;}
.hm2-partner-row img:hover{filter:none;opacity:1;}
/* CTA */
.hm2-cta{background:#222;padding:70px 0;text-align:center;}
.hm2-cta h2{color:#fff;}
.hm2 .hm2-cta p{color:#bbb;max-width:560px;margin-left:auto!important;margin-right:auto!important;margin-bottom:28px!important;text-align:center!important;}
/* MODAL */
.hm2-modal{position:fixed;inset:0;background:rgba(10,15,12,.78);z-index:9998;display:none;align-items:flex-start;justify-content:center;padding:40px 16px;overflow-y:auto;}
.hm2-modal.hm2-mopen{display:flex;}
.hm2-modal-card{background:#fff;border-radius:12px;max-width:820px;width:100%;box-shadow:0 30px 70px rgba(0,0,0,.35);margin:auto 0;position:relative;padding:34px;}
.hm2-modal-close{position:absolute;top:12px;right:16px;background:none;border:none;color:#999;font-size:30px;line-height:1;cursor:pointer;}
.hm2-modal-close:hover{color:#222;}
.hm2-modal-body img{border-radius:10px;max-width:100%;}
.hm2-modal-body h2{text-align:left;font:600 24px 'Montserrat',sans-serif;text-transform:none;margin:0 0 14px;}
.hm2-modal-body p{color:#555;line-height:1.8;font-size:14.5px;}
.hm2-loading{text-align:center;color:#999;padding:40px 0;}
/* Мобилни */
@media(max-width:991px){
.hm2-grid-4{grid-template-columns:repeat(3,1fr);}
.hm2-grid-5{grid-template-columns:repeat(3,1fr);}
}
@media(max-width:767px){
.hm2 h2{font-size:26px;}
.hm2 .hm2-h3{margin:50px 0 20px!important;}
.hm2 .hm2-legend{gap:10px 16px;}
.hm2-sec{padding:50px 0;}
.hm2-hero{min-height:480px;}
.hm2-hero h1{font-size:30px;}
.hm2-hero-in{padding:70px 15px 40px;}
.hm2-grid-4,.hm2-grid-5{grid-template-columns:repeat(2,1fr);gap:12px;}
.hm2-card-body strong{font-size:12.5px;}
.hm2 #about-us img{margin-top:25px;height:auto;min-height:0;}
.hm2 .slid-box .frame{height:170px;}
.hm2-modal-card{padding:22px;}
.hm2-partner-row{gap:28px;}
.hm2-partner-row img{max-height:44px;}
}