/* Сброс и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Шапка сайта */
.ceny-header {
    background-color: #101828;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-box {
    width: 40px;
    height: 40px;
    background: #ffc107;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.logo-r {
    font-size: 24px;
    font-weight: bold;
    font-style: italic;
    color: #101828;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 18px;
    font-weight: bold;
    font-style: italic;
    color: #ffc107;
}

.logo-klin {
    color: white;
}

.logo-sub {
    font-size: 12px;
    color: white;
    margin-top: 2px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 20px;
}

.main-nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 14px;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: #ffc107;
}

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

.phone-link {
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.phone-link i {
    color: #ffc107;
}

.btn-primary {
    background-color: #ffc107;
    color: #101828;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Герой секция */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    height: 300px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Специальное предложение */
.promo-section {
    padding: 60px 0;
}

.promo-card {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.promo-icon {
    font-size: 3rem;
    color: #101828;
    margin-bottom: 20px;
}

.promo-content h2 {
    color: #101828;
    font-size: 2rem;
    margin-bottom: 15px;
}

.promo-content p {
    color: #101828;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.promo-badge {
    background-color: #101828;
    color: #ffc107;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
    font-size: 1rem;
}

.promo-badge i {
    margin-right: 5px;
}

/* Секция цен */
.prices-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #101828;
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ffc107, transparent);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

/* Вкладки цен */
.prices-tabs {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 30px;
}

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

.tab-btn {
    padding: 12px 24px;
    background: #f8f9fa;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
}

.tab-btn:hover {
    background: #e9ecef;
}

.tab-btn.active {
    background: #ffc107;
    color: #101828;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

/* Таблица цен */
.price-table {
    border-collapse: collapse;
    width: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.price-table-header {
    background: #101828;
    color: white;
    display: flex;
}

.price-cell {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
}

.price-table-header .price-cell {
    font-weight: bold;
    font-size: 1.1rem;
    padding: 20px 20px;
}

.price-row {
    display: flex;
    background: white;
    border-bottom: 1px solid #e9ecef;
}

.price-row:nth-child(even) {
    background-color: #f8f9fa;
}

.price-row:hover {
    background-color: #fff3cd;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

.price-cell.service {
    font-weight: 500;
    min-width: 300px;
    flex: 2;
}

.price-cell.service strong {
    color: #ffc107;
}

.price-cell.price {
    font-weight: bold;
    color: #ff9800;
    text-align: center;
    min-width: 150px;
    font-size: 1.1rem;
    flex: 1;
}

.price-cell.description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 3;
}

/* Скрытые вкладки */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Дополнительная информация */
.info-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    text-align: center;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.info-icon {
    font-size: 2.5rem;
    color: #ffc107;
    margin-bottom: 20px;
}

.info-card h3 {
    color: #101828;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.info-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Блок быстрой записи */
.booking-section {
    padding: 60px 0;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/services-bg.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
}

.booking-content {
    max-width: 800px;
    margin: 0 auto;
}

.booking-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ffc107;
}

.booking-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #101828;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.3);
    transform: translateY(-2px);
}

.form-group select {
    appearance: none;
    background-image: url("image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffc107' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #101828;
    font-size: 0.95rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin: 0 auto;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #101828;
}

.checkbox-label input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.btn-primary {
    grid-column: 1 / -1;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    border-radius: 5px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.4);
}

/* Поля капчи */
.captcha-fields {
    background: rgba(255, 193, 7, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

/* Скрытие элементов */
.hidden {
    display: none;
}

/* Футер */
footer {
    background-color: #0a0f1a;
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p {
    margin-bottom: 25px;
    line-height: 1.7;
    color: #ccc;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: #ffc107;
    color: #101828;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #ffc107;
}

.contact-details {
    line-height: 1.7;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-icon {
    color: #ffc107;
    font-size: 1.2rem;
    margin-right: 15px;
    width: 20px;
    margin-top: 3px;
}

.contact-details a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: #ffc107;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #ccc;
    font-size: 0.9rem;
}

/* Кнопка звонка */
.call-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #101828;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s;
}

.call-button:hover {
    transform: scale(1.1);
}

/* Адаптивный дизайн */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #101828;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    
    .main-nav.show {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin: 10px 0;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .hero-section {
        height: 250px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .promo-card {
        padding: 30px 20px;
    }
    
    .promo-content h2 {
        font-size: 1.5rem;
    }
    
    .promo-content p {
        font-size: 1rem;
    }
    
    .tab-buttons {
        justify-content: flex-start;
    }
    
    .tab-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .price-cell {
        padding: 12px 15px;
    }
    
    .price-table-header .price-cell {
        padding: 15px 15px;
        font-size: 1rem;
    }
    
    .price-cell.service {
        min-width: 200px;
    }
    
    .price-cell.price {
        min-width: 120px;
        font-size: 1rem;
    }
    
    .price-cell.description {
        font-size: 0.9rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-form {
        grid-template-columns: 1fr;
    }
    
    .booking-content h2 {
        font-size: 1.5rem;
    }
    
    .booking-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 200px;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .promo-card {
        padding: 25px 15px;
    }
    
    .promo-content h2 {
        font-size: 1.3rem;
    }
    
    .tab-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .price-cell {
        padding: 10px 12px;
    }
    
    .price-table-header .price-cell {
        padding: 12px 12px;
        font-size: 0.9rem;
    }
    
    .price-cell.service {
        min-width: 150px;
    }
    
    .price-cell.price {
        min-width: 100px;
        font-size: 0.9rem;
    }
    
    .price-cell.description {
        font-size: 0.8rem;
    }
    
    .booking-content h2 {
        font-size: 1.3rem;
    }
}