:root {
    --bg-color: #efe6dc;
    --btn-primary: #f7b538;
    --btn-secondary: #8c7161;
    --text-dark: #201A23;
    --text-light: #ffffff;
}

* {
    scroll-behavior: smooth;
}
/* html{
    margin: 0 !important;
} */

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--bg-color);
    color: var(--text-dark);
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.glass-morf {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.italic{
    font-family: 'Old Standard TT';
    font-style: italic;
    font-weight: 900;
}
.bold-text{
    font-weight: 900;
}
.small-text{
    font-size: clamp(0.5rem, 0.643rem + 0.952vw, 0.9rem);
}
img{
    object-fit: cover;

}
p{
    font-size: 16px;
}
h1{
    font-size: clamp(1.5rem, 4vw + 1rem, 3.3rem);
    font-weight: 700;
    font-family: 'Old Standard TT';
    margin: 0 0 30px 0;
}
h2{
    font-size: clamp(1.2rem, 4vw + 1rem, 2.8rem);
    font-family: 'Old Standard TT';
    font-weight: 700;
    margin: 0;
}
h3{
    font-size: clamp(1.1rem, 4vw + 1rem, 2rem);
    font-family: 'Old Standard TT';
    font-weight: 700;
    margin: 0;
}
h4{
    font-size: clamp(1rem, 4vw + 1rem, 1.5rem);
    font-family: 'Old Standard TT';
    font-weight: 700;
    margin: 0;
}
a{
    text-decoration: none !important;
    color: var(--dark-color);
}
a:hover{
    text-decoration: none !important;
    color: var(--accent-color) !important;
}
/* ==== Навигация ==== */
.nav{
    border: 1px solid rgba(var(--dark-color) 0.2);
    -webkit-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    border-radius: 30px;
    padding: 10px 20px;
    display: flex;
    flex-direction: row;
}

.btn-vk img {
    transition: filter 0.3s;
}

.btn-vk:hover img {
    filter: drop-shadow(0 0 8px #f7b538);
}
.navbar-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.navbar-brand p {
    color: var(--text-dark) !important;
    font-size: 20px !important;
    margin-bottom: 0;
}
.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}
.navbar-nav .nav-link:hover {
    color: var(--btn-primary) !important;
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--btn-primary);
    transition: width 0.3s;
}
.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* ==== Кнопки ==== */
.btn-primary-custom {
    background-color: var(--btn-primary);
    color: var(--text-dark);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-primary-custom:hover {
    background-color: #e0a330;
    color: var(--text-dark);
    box-shadow: 0 8px 20px rgba(247, 181, 56, 0.35);
}

.btn-secondary-custom {
    background-color: var(--btn-secondary);
    color: var(--text-light);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-secondary-custom:hover {
    background-color: #735a4d;
    color: var(--text-light) !important;
    box-shadow: 0 8px 20px rgba(140, 113, 97, 0.35);
}

/* ==== HERO ==== */
.hero-section {
    position: relative;
    overflow: hidden;
    display: flex; 
    flex-direction: column;
    height: 100vh;
}
.hero-inner{
    height : 100%;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hero-btn{
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.hero-content{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    flex: 1;
}
.min-vh-75 {
    min-height: 75vh;
}
.hero-section h1 {
    color: var(--text-dark);
    line-height: 1.15;
}
.hero-section .lead {
    color: var(--btn-secondary);
    font-size: 1.2rem;
    max-width: 540px;
}
.hero-inner video {
        display: block;
    }

.hero-text{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.video-container{
width: 100%;
} 
.video-container video{
    width: auto;
    max-height: 600px; 
    object-fit: cover;
}

/* ==== Заголовки секций ==== */
.section-title {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 2.4rem;
    margin-bottom: 8px;
}
.text-muted-custom {
    color: var(--btn-secondary);
}

/* ==== БЛОГ ==== */
.blog-card {
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 20px rgba(32, 26, 35, 0.05);
}
.blog-card:hover {

    box-shadow: 0 15px 40px rgba(32, 26, 35, 0.12);
}
.blog-img {
    width: 100%;
    height: 220px;
    background-color: #8c7161;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;      
    object-position: center;  
    display: block;
}

img{
    object-fit: cover;
}

.link-custom {
    color: var(--btn-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}
.link-custom:hover {
    color: var(--btn-primary);
}

/* ==== НАПРАВЛЕНИЯ ==== */
.direction-card {
    position: relative;
    display: block;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 4px 20px rgba(32, 26, 35, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
}

.direction-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(32, 26, 35, 0.95) 0%,
        rgba(32, 26, 35, 0.7) 35%,
        rgba(32, 26, 35, 0.2) 65%,
        rgba(32, 26, 35, 0) 100%
    );
    transition: all 0.4s ease;
    z-index: 1;
}

.direction-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 0;
}
.direction-card:hover {
    box-shadow: 0 20px 50px rgba(32, 26, 35, 0.25);
}
.direction-card:hover::before {
    background: linear-gradient(
        to top,
        rgba(32, 26, 35, 0.98) 0%,
        rgba(32, 26, 35, 0.8) 40%,
        rgba(32, 26, 35, 0.3) 75%,
        rgba(32, 26, 35, 0.1) 100%
    );
}

.direction-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 28px;
    z-index: 2;
    color: #fff;
}

.direction-card-content h4 {
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.direction-card-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.4;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}
.direction-card:hover .direction-card-content p {
    max-height: 100px;
    opacity: 1;
    margin-bottom: 12px;
}

.direction-link {
    display: inline-block;
    color: var(--btn-primary);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.direction-card:hover .direction-link {
    color: #fff;
}

/* === Адаптив === */
@media (max-width: 991px) {
    .direction-card {
        height: 340px;
    }
}

@media (max-width: 767px) {
    .direction-card {
        height: 300px;
    }
    
    .direction-card-content h4 {
        font-size: 1.3rem;
    }
    
    /* На мобильном описание всегда видно (нет hover) */
    .direction-card-content p {
        max-height: 100px;
        opacity: 1;
        margin-bottom: 12px;
    }
}

/* ===== PRICING ===== */
.pricing-section {
    background-color: var(--bg-light);
}

.pricing-card {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(32, 26, 35, 0.08);
    transition: box-shadow 0.3s;
}

.pricing-card:hover {
    box-shadow: 0 20px 50px rgba(32, 26, 35, 0.14);
}

.pricing-card-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(32, 26, 35, 0.08);
}

.pricing-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.pricing-duration {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-light);
    border-radius: 14px;
    padding: 14px 16px;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.pricing-item.popular {
    border-color: rgba(var(--btn-primary-rgb), 0.3);
}

.pricing-item.best {
    border-color: var(--btn-primary);
    padding-top: 26px;
}

.pricing-popular-label {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--btn-primary);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 2px 12px;
    border-radius: 0 0 10px 10px;
    white-space: nowrap;
}

.pricing-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pricing-item-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}

.pricing-item-desc {
    font-size: 0.78rem;
    color: #999;
}

.pricing-item-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--btn-primary);
    white-space: nowrap;
    margin-left: 12px;
}

/* === МОДАЛЬНОЕ ОКНО НАПРАВЛЕНИЙ === */
.direction-modal .modal-content {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(32, 26, 35, 0.3);
}

.direction-modal .modal-header-image {
    position: relative;
    height: 280px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.direction-modal .modal-header-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(32, 26, 35, 0.95) 0%,
        rgba(32, 26, 35, 0.5) 50%,
        rgba(32, 26, 35, 0.2) 100%
    );
}
.direction-modal .modal-header-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 35px;
    color: #fff;
    z-index: 2;
}
.direction-modal .modal-header-overlay h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.direction-modal .modal-tag {
    display: inline-block;
    background-color: var(--btn-primary);
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.direction-modal .btn-close-custom {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #201A23;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.direction-modal .btn-close-custom:hover {
    background-color: #f7b538;
    transform: rotate(90deg);
}

/* Тело модалки */
.direction-modal .modal-body {
    padding: 35px;
}
.direction-modal .modal-body i{
    margin-right: 8px;
}

.direction-modal .modal-body .lead {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 25px;
}
.modal-features li{
    list-style: none;
}
/* ==== РАСПИСАНИЕ ==== */
.schedule-table {
    background-color: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(32, 26, 35, 0.05);
}
.schedule-table table thead th {
    background-color: var(--text-dark);
    color: var(--text-light);
    font-weight: 600;
    border: none;
    padding: 15px;
    text-align: center;
}
.schedule-table table thead th:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}
.schedule-table table thead th:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}
.schedule-table table tbody td {
    text-align: center;
    padding: 16px 10px;
    color: var(--text-dark);
    border-color: rgba(140, 113, 97, 0.15);
}
.schedule-tag {
    background-color: var(--btn-primary);
    color: var(--text-dark);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

/* ==== ОТЗЫВЫ ==== */
.review-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 20px;
    height: 100%;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(32, 26, 35, 0.05);
}
.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(32, 26, 35, 0.12);
}
.review-card .stars {
    color: var(--btn-primary);
    font-size: 1.1rem;
}
.review-card p {
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid rgba(140, 113, 97, 0.2);
    padding-top: 16px;
}
.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--btn-primary);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
}
.review-author strong {
    color: var(--text-dark);
    display: block;
}

/* ==== ПРЕПОДАВАТЕЛИ ==== */
.teacher-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
    display: block;
}

.teacher-card {
    cursor: pointer;
}

.teachers-scroll {
    width: 100%;
}

.teachers-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.teacher-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(32, 26, 35, 0.05);
}
.teacher-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(32, 26, 35, 0.12);
}
.teacher-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-color: var(--btn-secondary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 4rem;
    border: 4px solid var(--btn-primary);
}
.teacher-card h5 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 6px;
}
.teacher-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Горизонтальный скролл на мобильных */
@media (max-width: 767px) {
    .teachers-scroll {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        margin: 0 -12px;
        padding: 10px 12px 20px;
        scrollbar-width: thin;
        scrollbar-color: var(--btn-secondary) transparent;
    }

    .teachers-scroll::-webkit-scrollbar {
        height: 6px;
    }
    .teachers-scroll::-webkit-scrollbar-track {
        background: transparent;
    }
    .teachers-scroll::-webkit-scrollbar-thumb {
        background: var(--btn-secondary);
        border-radius: 10px;
    }

    .teachers-track {
        display: flex;
        flex-wrap: nowrap;
        gap: 16px;
        width: max-content;
    }

    .teachers-track .teacher-card {
        flex: 0 0 75%;
        max-width: 280px;
        min-width: 240px;
        scroll-snap-align: start;
    }
}

/* Планшет — 2 колонки */
@media (min-width: 768px) and (max-width: 991px) {
    .teachers-track {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === Фото в карточке (минимальное изменение) === */
.teacher-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
    display: block;
}

.teacher-card {
    cursor: pointer;
}

/* === МОДАЛЬНОЕ ОКНО === */
.teacher-modal .modal-content {
    padding: 30px;
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(32, 26, 35, 0.25);
    position: relative;
    display: flex;
}
.teacher-modal-body{
    width: 100%;
}
/* Кнопка закрыть */
.teacher-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #201A23;
    font-size: 1rem;
    cursor: pointer;-weight: 600;
    padding: 4px 14px;
    border-radius: 50px;
}
.teacher-bio{
    margin: 20px 0;
}
.teacher-stats .list-group-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    gap: 4px;
}

.teacher-stats .list-group-item strong {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
}

.teacher-stats .list-group-item span {
    font-size: 0.78rem;
    color: #888;
}
.teacher-directions{
    margin: 20px 0;
}
.list-group-item{
    border: none;
}
/* Адаптив */
@media (max-width: 767px) {
    .teacher-modal-body {
        max-height: none;
        padding: 25px 20px;
    }

    .teacher-modal-name {
        font-size: 1.5rem;
    }

    .stat-item strong {
        font-size: 1.3rem;
    }
}

/* ==== ФОРМА ЗАПИСИ ==== */

/* ==== ФОРМА ЗАПИСИ ==== */
.signup-form {
    background-color: var(--text-dark);
    border-radius: 30px;
    padding: 60px 50px;
    color: var(--text-light);
}

.signup-form .section-title {
    color: var(--text-light);
    margin-bottom: 12px;
}

/* ==== КАРТОЧКИ ВНУТРИ ФОРМЫ ==== */
.signup-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s;
}

.signup-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

.signup-card--accent {
    background: rgba(247, 181, 56, 0.07);
    border-color: rgba(247, 181, 56, 0.25);
}

.signup-card--accent:hover {
    border-color: rgba(247, 181, 56, 0.5);
}

.signup-card-icon {
    width: 52px;
    height: 52px;
    background: rgba(247, 181, 56, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--btn-primary);
    margin-bottom: 18px;
}

.signup-card-title {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.signup-card-desc {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* ==== КНОПКИ СВЯЗИ ==== */
.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: auto;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 16px 20px;
    text-decoration: none;
    transition: all 0.3s;
    color: var(--text-light);
}

.contact-btn:hover {
    color: var(--text-light);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
}

.contact-btn--phone:hover {
    border-color: #4caf50;
    background: rgba(76, 175, 80, 0.12);
}

.contact-btn--phone .contact-btn__icon {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.contact-btn--telegram:hover {
    border-color: #29b6f6;
    background: rgba(41, 182, 246, 0.12);
}

.contact-btn--telegram .contact-btn__icon {
    background: rgba(41, 182, 246, 0.2);
    color: #29b6f6;
}

.contact-btn__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s;
}

.contact-btn__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-btn__label {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
}

.contact-btn__sub {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ==== ШАГИ DIKIDI ==== */
.dikidi-steps {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 24px;
}

.dikidi-steps__title {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.dikidi-steps__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dikidi-steps__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.5;
}

.step-num {
    width: 22px;
    height: 22px;
    background: var(--btn-primary);
    color: var(--text-dark);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.dikidi-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==== Адаптив ==== */
@media (max-width: 991px) {
    .signup-form {
        padding: 40px 30px;
    }
    .signup-card {
        padding: 28px 24px;
    }
}

@media (max-width: 576px) {
    .signup-form {
        padding: 30px 20px;
        border-radius: 20px;
    }
    .signup-card {
        padding: 24px 20px;
    }
    .signup-card-title {
        font-size: 1.1rem;
    }
}
/* .signup-form {
    background-color: var(--text-dark);
    border-radius: 30px;
    padding: 60px 50px;
    color: var(--text-light);
}
.signup-form .section-title {
    color: var(--text-light);
    margin-bottom: 12px;
    text-align: center;
}
.signup-form .form-control,
.signup-form .form-select {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    border-radius: 50px;
    padding: 14px 22px;
    transition: all 0.3s;
}
.signup-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}
.signup-form .form-control:focus,
.signup-form .form-select:focus {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--btn-primary);
    color: var(--text-light);
    box-shadow: 0 0 0 3px rgba(247, 181, 56, 0.2);
}
.signup-form .form-select option {
    background-color: var(--text-dark);
    color: var(--text-light);
    font-size: 16px;
} */

/* ==== ФУТЕР ==== */
.footer .col-lg-4,
.footer .col-md-6 {
    display: flex;
    flex-direction: column;
    align-items: center;    /* по центру горизонтально */
    text-align: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center; /* ← иконка + текст по центру */
}
.footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    margin-top: 80px;
}
.footer .navbar-brand {
    color: var(--text-light) !important;
}
.footer h5 {
    font-weight: 700;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a:hover {
    color: var(--btn-primary);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}


/* ===== POSTS ===== */

.post-full{
    margin: 30px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.post-content{
    width: 50%;
}
.post-full__meta{
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.single-post__thumbnail {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    height: 300px;
    width: 500px;
}
.single-post__img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== 404 ===== */
        .page-404 {
            width: 100%;
            padding: 60px 16px;
        }

        .error-wrap {
            text-align: center;
            max-width: 580px;
            margin: 0 auto;
        }

        /* Цифры */
        .error-number {
            font-size: clamp(6rem, 18vw, 13rem);
            font-weight: 900;
            line-height: 1;
            color: var(--text-dark);
            letter-spacing: -0.04em;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.04em;
            margin-bottom: 20px;
            user-select: none;
        }

        /* Бейдж */
        .error-badge {
            display: inline-block;
            background-color: var(--btn-secondary);
            color: var(--text-light);
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            padding: 5px 18px;
            border-radius: 50px;
            margin-bottom: 24px;
        }

        /* Заголовок */
        .error-title {
            font-size: clamp(1.3rem, 3.5vw, 1.9rem);
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 14px;
        }

        /* Описание */
        .error-desc {
            font-size: 0.95rem;
            color: rgba(32, 26, 35, 0.55);
            line-height: 1.7;
            margin-bottom: 36px;
        }

        /* Кнопки */
        .error-btns {
            display: flex;
            gap: 12px;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 48px;
        }

        /* Быстрые ссылки */
        .error-links-title {
            font-size: 0.78rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: rgba(32, 26, 35, 0.38);
            margin-bottom: 14px;
        }

        .error-link-cards {
            display: flex;
            gap: 10px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .error-link-card {
            background: rgba(255, 255, 255, 0.6);
            border: 1px solid rgba(32, 26, 35, 0.1);
            border-radius: 14px;
            padding: 11px 18px;
            text-decoration: none;
            color: var(--text-dark);
            font-size: 0.85rem;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 7px;
            transition: all 0.25s;
        }

        .error-link-card:hover {
            background: var(--btn-primary);
            border-color: var(--btn-primary);
            color: var(--text-dark);
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(247, 181, 56, 0.25);
        }

.tablepress {
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(32, 26, 35, 0.05);
  overflow: hidden;
}

.tablepress thead th {
  background-color: var(--text-dark) !important;
  color: var(--text-light) !important;
  font-weight: 600;
  border:  none !important;
  padding: 15px !important;
}

.tablepress tbody td {
  text-align: center;
  padding: 16px 10px;
  color: var(--text-dark);
  border:1px rgba(140, 113, 97, 0.15) solid !important;
}

col[data-dt-column="0"] {
    border-right: 1px solid rgba(140, 113, 97, 0.2);
}
li , ul{
    list-style:none;
}

.schedule-table{
    margin-top: 15px !important;
}
/* Высота слайдера */
#carouselExample .carousel-item img {
    height: 600px;
    object-fit: cover;
    object-position: center;
}
.carousel, .carousel-inner, .carousel-item {
    border-radius: 20px !important;
}
    /* Splash Screen Styles */
    .splash-loader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--bg-color); /* Цвет фона загрузочного экрана (белый) */
        z-index: 9999; /* Поверх всего контента */
        display: flex;
        justify-content: center;
        align-items: center;
        transition: opacity 0.5s ease-out, visibility 0.5s;
    }

    /* Класс для скрытия загрузчика */
    .splash-loader.hidden {
        opacity: 0;
        visibility: hidden;
    }

    .loader-content {
        display: flex;
        flex-direction: column;
        align-items:center;
        justify-content :center;
        text-align: center;
        padding: 0 30px;
    }

    /* Простой спиннер */
    .loader-spinner {
        width: 40px;
        height: 40px;
        border: 4px solid #f3f3f3;
        border-top: 4px solid #0d6efd; /* Цвет Bootstrap primary (синий) */
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin: 0 auto;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

.video-text{
    padding: 20px 0;
}
.paragraph{
    padding: 15px 0;
}
.buttons{
    display: flex;
    flex-direction: row;
    justify-content:center;
    column-gap : 10px;
}
/* Кнопка */
.contact-btn {
  border-radius: 10px;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
}

/* Контейнер внутри поповера */
.contact-popup {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
  padding: 4px 0;
}

/* Каждый пункт */
.popup-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s;
  color: #333 !important;
}

.popup-item:hover {
  opacity: 0.85;
}

/* Звонок */
.call-item {
  background: #e8f5e9;
  color: #2e7d32 !important;
}

/* Telegram */
.tg-item {
  background: #e3f2fd;
  color: #8415c0 !important;
}

/* WhatsApp */
.wa-item {
  background: #f1f8e9;
  color: #33691e !important;
}

.popup-icon {
  font-size: 20px;
}

/* Стиль самого поповера Bootstrap */
.popover {
  border-radius: 14px !important;
  border: none !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15) !important;
  padding: 6px !important;
}

.popover-body {
  padding: 8px !important;
}

/* На десктопе убираем горизонтальный скролл */
@media (min-width: 992px) {
  .tablepress {
    overflow-x: visible;
  }
}
/* ==== Адаптив ==== */
@media (max-width: 991px) {
    .navbar-collapse {
        margin-top: 15px;
        padding: 20px;
        border-radius: 20px;
    }
    .navbar-nav {
        margin-bottom: 15px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }
    .signup-form {
        padding: 40px 30px;
    }
    #carouselExample .carousel-item img {
        height: 400px;
    }
    
}

@media (max-width: 576px) {
    p{
        font-size: 14px;
    }
    .navbar-brand p {
        display: none;
    }
        .navbar-nav li {
        margin: 8px 0;
    }
    .nav{
    border: 1px solid rgba(var(--dark-color) 0.2);
    -webkit-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    border-radius: 30px;
    padding: 10px 20px;
    display: flex;
    flex-direction: row;
    margin-right: calc(var(--bs-gutter-x) * .5);
    margin-left: calc(var(--bs-gutter-x) * .5);
}
    .section-title {
        font-size: 1.8rem;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 10px 22px;
        font-size: 0.95rem;
    }
    
    .post-full{
        margin: 15px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    }
    .post-content{
        width: 100%
    }
    .post-full__meta{
        display: flex;
        flex-direction: column;
        margin-bottom: 20px;
    }
    .single-post__thumbnail {
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 30px;
        height: 150px;
        width: 100%;
    }
    #carouselExample .carousel-item img {
        height: 250px;
    }
    .buttons{
        display: flex;
        flex-direction: column;
        row-gap :5px
    }
}

/* ==== Скроллбар ==== */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--btn-secondary);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--btn-primary);
}