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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #fafafa;
    color: #262626;
    line-height: 1.5;
}

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

/* Хедер как в соцсети */
.profile-header {
    display: flex;
    align-items: center;
    padding: 30px 0;
    gap: 50px;
    border-bottom: 1px solid #dbdbdb;
    margin-bottom: 30px;
}

.profile-avatar {
    flex: 0 0 auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    flex: 1;
}

.profile-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-name-row h1 {
    font-size: 28px;
    font-weight: 300;
    margin: 0;
}

.profile-actions {
    display: flex;
    gap: 10px;
}

.profile-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stat-badge {
    background-color: #f5f5f5;
    border: 1px solid #dbdbdb;
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #262626;
}

.stat-badge i {
    color: #0095f6;
    font-size: 16px;
}

.stat-badge strong {
    font-weight: 600;
    margin-right: 3px;
}

.address-btn {
    background-color: #fff;
    border: 1px solid #0095f6;
    color: #0095f6;
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 5px;
}

.address-btn:hover {
    background-color: #0095f6;
    color: white;
}

.address-btn i {
    font-size: 16px;
}

.profile-bio {
    max-width: 500px;
    margin-top: 15px;
}

.profile-bio p {
    margin-bottom: 5px;
}

.profile-bio a {
    color: #00376b;
    text-decoration: none;
    font-weight: 600;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 7px 16px;
    background-color: #0095f6;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn:hover {
    background-color: #1877f2;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #dbdbdb;
    color: #262626;
}

.btn-outline:hover {
    background-color: #f5f5f5;
}

.btn-large {
    padding: 12px 24px;
    font-size: 16px;
}

.btn-success {
    background-color: #2ecc71;
}
.btn-success:hover {
    background-color: #27ae60;
}

.btn-danger {
    background-color: #e74c3c;
}

.btn-danger:hover {
    background-color: #c0392b;
}

/* Секция услуг */
.services-section {
    margin: 40px 0;
}

.section-title {
    font-weight: 300;
    font-size: 24px;
    margin-bottom: 20px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.service-item {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.service-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.service-info p {
    color: #8e8e8e;
    font-size: 14px;
    margin-bottom: 5px;
}

.service-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.service-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-meta i {
    color: #0095f6;
    width: 16px;
}

.service-price {
    font-size: 20px;
    font-weight: 600;
    color: #0095f6;
}

/* Сетка для фотографий */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-bottom: 40px;
}

.post-card {
    aspect-ratio: 1 / 1;
    background-color: #f0f0f0;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border-radius: 4px;
}

.post-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #fafafa;
    transition: transform 0.3s;
}

.post-card:hover img {
    transform: scale(1.02);
}

/* Отзывы */
.reviews-section {
    margin: 50px 0;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.review-post {
    background-color: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    margin-bottom: 25px;
    padding: 20px;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #0095f6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-right: 12px;
}

.review-author-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.review-rating {
    color: #ffc107;
    font-size: 14px;
    margin-left: auto;
}

.review-content {
    font-size: 15px;
    line-height: 1.6;
}

/* Контакты */
.contacts-card {
    background-color: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    padding: 30px;
    margin: 50px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-item {
    flex: 1 1 200px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #0095f6;
}

.contact-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-text p, .contact-text a {
    color: #262626;
    text-decoration: none;
    font-size: 14px;
}

/* Социальные ссылки */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background-color: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 30px;
    color: #262626;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.social-link:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

.social-link i {
    font-size: 20px;
    color: #0095f6;
}

/* Футер */
footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #dbdbdb;
    margin-top: 40px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-links a {
    color: #8e8e8e;
    text-decoration: none;
    font-size: 12px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 12px;
    color: #8e8e8e;
}

/* Плавающая кнопка */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #2ecc71;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
    z-index: 1000;
    transition: transform 0.2s;
    font-size: 24px;
}

.floating-btn:hover {
    transform: scale(1.1);
}

/* Модальные окна */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.show {
    display: flex;
}

.modal-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 30px;
    overflow-y: auto;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #262626;
    font-size: 28px;
    cursor: pointer;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 10;
}

.modal-close:hover {
    opacity: 0.8;
}

/* Модальное окно для отзыва */
.review-modal .modal-content {
    max-width: 500px;
    width: 100%;
}

/* Модальное окно для карты */
.map-modal .modal-content {
    width: 800px;
    max-width: 95vw;
    height: 600px;
    max-height: 80vh;
    padding: 20px;
}

.map-container {
    width: 100%;
    height: calc(100% - 40px);
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Формы */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    font-size: 14px;
}

.form-control:focus {
    outline: none;
    border-color: #0095f6;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.checkbox-label span {
    font-size: 14px;
}

.checkbox-label a {
    color: #0095f6;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Рейтинг */
.rating-input {
    display: flex;
    align-items: center;
}

.stars {
    display: flex;
    gap: 5px;
}

.stars i {
    font-size: 24px;
    color: #ffc107;
    cursor: pointer;
}

.stars i.far {
    color: #dbdbdb;
}

.stars i.fas {
    color: #ffc107;
}

.review-rating i {
    color: #ffc107;
    font-size: 14px;
    margin-right: 2px;
}

/* Cookie-баннер */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    color: #262626;
    padding: 20px 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    border-top: 3px solid #0095f6;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-text {
    flex: 1;
    margin-right: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-text a {
    color: #0095f6;
    text-decoration: underline;
    cursor: pointer;
}

.cookie-text a:hover {
    color: #1877f2;
}

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

.cookie-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 14px;
}

.cookie-btn-accept {
    background-color: #2ecc71;
    color: white;
}

.cookie-btn-accept:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
}

.cookie-btn-decline {
    background-color: transparent;
    color: #262626;
    border: 2px solid #dbdbdb;
}

.cookie-btn-decline:hover {
    background-color: #f5f5f5;
    border-color: #b1b1b1;
}

/* Админ-ссылка */
.admin-link {
    opacity: 0.5;
    transition: opacity 0.2s;
}

.admin-link:hover {
    opacity: 1;
}

/* Адаптивность */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .profile-avatar {
        width: 150px;
        height: 150px;
    }
    .profile-name-row {
        flex-direction: column;
        align-items: center;
    }
    .profile-stats {
        justify-content: center;
    }
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-item {
        flex-direction: column;
        text-align: center;
    }
    .service-meta {
        justify-content: center;
    }
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .cookie-text {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .cookie-buttons {
        justify-content: center;
    }
}

/* Добавьте эти стили в конец файла style.css */

/* Сетка услуг (grid вместо списка) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.service-card {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #0095f6;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #262626;
}

.service-card p {
    color: #8e8e8e;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.service-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #efefef;
}

.service-card-price {
    font-size: 20px;
    font-weight: 700;
    color: #0095f6;
}

.service-card-duration {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #8e8e8e;
    font-size: 14px;
}

.service-card-duration i {
    color: #0095f6;
}

/* Модальное окно для детальной информации об услуге */
.service-detail-modal .modal-content {
    max-width: 500px;
    width: 90%;
    background: #fff;
    border-radius: 16px;
    padding: 30px;
}

.service-detail h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #262626;
    padding-right: 30px;
}

.service-detail-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
}

.service-detail-price {
    font-size: 28px;
    font-weight: 700;
    color: #0095f6;
}

.service-detail-duration {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: #262626;
    background: #fff;
    padding: 8px 15px;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.service-detail-duration i {
    color: #0095f6;
}

.service-detail-description {
    font-size: 16px;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border: 1px solid #efefef;
    border-radius: 12px;
}

.service-detail-actions h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #262626;
}

.booking-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.booking-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.booking-btn i {
    font-size: 18px;
}

.dikidi-btn {
    background: #2ecc71;
    color: white;
}

.dikidi-btn:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.vk-btn {
    background: #4a76a8;
    color: white;
}

.vk-btn:hover {
    background: #3a5f8a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 118, 168, 0.3);
}

.avito-btn {
    background: #c93f3f;
    color: white;
}

.avito-btn:hover {
    background: #a83232;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 63, 63, 0.3);
}

.call-btn {
    background: #0095f6;
    color: white;
}

.call-btn:hover {
    background: #0077cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 149, 246, 0.3);
}

/* Анимация для модального окна */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-detail-modal .modal-content {
    animation: modalFadeIn 0.3s ease;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-meta {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .booking-buttons {
        grid-template-columns: 1fr;
    }
    
    .service-detail-price {
        font-size: 24px;
    }
    
    .service-detail-duration {
        font-size: 16px;
    }
}

/* Убираем старые стили для списка услуг */
.services-list {
    display: none;
}