/* Стили для внутренних страниц сайта */

/* <!-- Стили для страниц разделов --> */
.page-section {
    padding: 120px 0 80px;
    background: var(--primary-color);
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.page-subtitle {
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    color: var(--dark-text);
    opacity: 0.8;
    margin-bottom: 60px;
}

.section-header {
    margin-bottom: 80px;
}

/* <!-- Сетка контента --> */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.content-text h2 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 40px 0 20px;
    color: var(--dark-text);
}

.content-text h2:first-child {
    margin-top: 0;
}

.content-text h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 30px 0 15px;
    color: var(--dark-text);
}

.content-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--dark-text);
}

/* <!-- Список образования --> */
.education-list {
    list-style: none;
    padding: 0;
}

.education-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-text);
}

.education-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--dark-text);
    font-weight: bold;
}

/* <!-- Изображения контента --> */
.content-image {
    position: sticky;
    top: 140px;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px dashed var(--dark-text);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-text);
    font-size: 16px;
    font-weight: 500;
}

/* Адаптация рамки под реальное фото на странице "О себе" */
.content-image .image-placeholder {
    height: auto;
    border: none;
    padding: 0;
    overflow: hidden;
}

.content-image .image-placeholder img {
    display: block;
    width: 100%;
    height: auto;
}

/* <!-- Секция портфолио --> */
.portfolio-section {
    background: rgba(255, 255, 255, 0.5);
}

.section-description {
    text-align: center;
    font-size: 16px;
    color: var(--dark-text);
    opacity: 0.8;
    margin-bottom: 50px;
}

/* <!-- Фильтры галереи --> */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--dark-text);
    color: var(--dark-text);
    padding: 12px 24px;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 25px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--dark-text);
    color: var(--primary-color);
}

/* <!-- Сетка галереи --> */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.gallery-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-image .image-placeholder {
    height: 100%;
    border: none;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.8);
}

.gallery-overlay {
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
}

.gallery-overlay h3 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--dark-text);
}

.gallery-overlay p {
    font-size: 14px;
    color: var(--dark-text);
    opacity: 0.8;
    margin: 0;
}

/* <!-- Сетка дипломов --> */
.diplomas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.diploma-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.diploma-item:hover {
    transform: translateY(-5px);
}

.diploma-image {
    margin-bottom: 20px;
    overflow: hidden;
}

.diploma-image .image-placeholder {
    height: 200px;
    margin: 0 auto;
    border-radius: 8px;
}

.diploma-image a,
.diploma-image img {
    display: block;
}

.diploma-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Глобально: картинки в тексте не выходят за колонки */
.content-text img {
    display: block;
    max-width: 100%;
    height: auto;
}

.diploma-item h3 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.diploma-item p {
    font-size: 14px;
    color: var(--dark-text);
    opacity: 0.8;
    margin: 0;
}

/* <!-- Анимации появления --> */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* <!-- Адаптивность для планшетов --> */
@media (max-width: 1024px) {
    .page-section {
        padding: 100px 0 60px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .content-image {
        position: static;
        order: -1;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .diplomas-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 30px;
    }
}

/* <!-- Адаптивность для мобильных устройств --> */
@media (max-width: 768px) {
    .page-section {
        padding: 80px 0 40px;
    }
    
    .page-title {
        font-size: 28px;
        letter-spacing: 2px;
    }
    
    .page-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .content-text h2 {
        font-size: 20px;
        margin: 30px 0 15px;
    }
    
    .content-text h3 {
        font-size: 16px;
        margin: 25px 0 12px;
    }
    
    .content-text p {
        font-size: 14px;
    }
    
    .education-list li {
        font-size: 14px;
    }
    
    .image-placeholder {
        height: 200px;
    }
    
    .gallery-filters {
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .filter-btn {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-image {
        aspect-ratio: 1 / 1;
    }
    
    .gallery-overlay {
        padding: 15px;
    }
    
    .gallery-overlay h3 {
        font-size: 14px;
    }
    
    .gallery-overlay p {
        font-size: 12px;
    }
    
    .diplomas-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .diploma-item {
        padding: 20px 15px;
    }
    
    .diploma-image .image-placeholder {
        height: 150px;
    }
    
    .diploma-item h3 {
        font-size: 14px;
    }
    
    .diploma-item p {
        font-size: 12px;
    }
    
    /* Адаптивность для страницы услуг */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        
    }

    .service-item {
        width: 100%;
        box-sizing: border-box;
        padding: 25px 20px;
        margin: 0;
    }

    /* Доп. отступы у контейнера секции Процедуры, чтобы не прилипало к краям */
    #procedure .container-content {
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }
    
    .service-item {
        padding: 30px 20px;
    }
    
    .service-item h3 {
        font-size: 18px;
    }
    
    .service-description h4 {
        font-size: 14px;
    }
    
    .service-description li,
    .service-description p {
        font-size: 13px;
    }
    
    .prices-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .price-card {
        padding: 25px 20px;
    }
    
    .price-card h3 {
        font-size: 18px;
    }
    
    .service-name,
    .service-price {
        font-size: 13px;
    }
    
    .price-notes {
        padding: 25px 20px;
    }
    
    .price-notes h3 {
        font-size: 16px;
    }
    
    .price-notes li {
        font-size: 13px;
    }
    
    .masterclass-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .program-item {
        padding: 20px 15px;
    }
    
    .program-item h4 {
        font-size: 14px;
    }
    
    .program-item li {
        font-size: 13px;
    }
    
    .masterclass-details {
        padding: 20px 15px;
    }
    
    .masterclass-details h3 {
        font-size: 14px;
    }
    
    .detail-item h4,
    .detail-item p {
        font-size: 13px;
    }
    
    .masterclass-form {
        padding: 25px 20px;
    }
    
    .masterclass-form h3 {
        font-size: 16px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .submit-btn {
        font-size: 13px;
        padding: 12px 25px;
    }
    
    /* Адаптивность для страницы рекомендаций */
    .attention-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .attention-item {
        padding: 25px 20px;
    }
    
    .attention-item h3 {
        font-size: 16px;
    }
    
    .attention-item li {
        font-size: 13px;
    }
    
    .before-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .before-timeline {
        padding: 25px 20px;
    }
    
    .before-timeline h3 {
        font-size: 18px;
    }
    
    .timeline-item {
        gap: 15px;
    }
    
    .timeline-marker {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .timeline-content h4 {
        font-size: 14px;
    }
    
    .timeline-content li {
        font-size: 13px;
    }
    
    .before-checklist {
        padding: 25px 20px;
    }
    
    .before-checklist h3 {
        font-size: 16px;
    }
    
    .checklist-item {
        font-size: 13px;
    }
    
    .after-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .recovery-stages {
        padding: 25px 20px;
    }
    
    .recovery-stages h3 {
        font-size: 18px;
    }
    
    .stage-header {
        padding: 12px 15px;
    }
    
    .stage-header h4 {
        font-size: 14px;
    }
    
    .stage-duration {
        font-size: 11px;
    }
    
    .stage-content {
        padding: 15px;
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stage-symptoms h5,
    .stage-care h5 {
        font-size: 13px;
    }
    
    .stage-symptoms li,
    .stage-care li {
        font-size: 12px;
    }
    
    .care-rules {
        padding: 25px 20px;
    }
    
    .care-rules h3 {
        font-size: 16px;
    }
    
    .rules-category h4 {
        font-size: 14px;
    }
    
    .rules-category li {
        font-size: 12px;
    }
    
    /* Адаптивность для страницы контактов */
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-item {
        padding: 20px 15px;
        gap: 15px;
    }
    
    .contact-icon {
        font-size: 25px;
    }
    
    .contact-details h3 {
        font-size: 14px;
    }
    
    .contact-details p {
        font-size: 13px;
    }
    
    .contact-form-section {
        padding: 25px 20px;
    }
    
    .contact-form-section h3 {
        font-size: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .checkbox-label {
        font-size: 11px;
    }
    
    .map-placeholder {
        height: 200px;
    }
    
    .map-content p {
        font-size: 14px;
    }
    
    .map-content p:first-child {
        font-size: 16px;
    }
    
    .social-links {
        gap: 20px;
    }
    
    .social-link {
        padding: 15px;
        min-width: 100px;
    }
    
    .social-icon {
        font-size: 25px;
    }
    
    .social-link span:last-child {
        font-size: 12px;
    }
}

/* <!-- Адаптивность для очень маленьких экранов --> */
@media (max-width: 480px) {
    .page-title {
        font-size: 24px;
    }
    
    .page-subtitle {
        font-size: 14px;
    }
    
    .content-text h2 {
        font-size: 18px;
    }
    
    .content-text h3 {
        font-size: 14px;
    }
    
    .content-text p {
        font-size: 13px;
    }
    
    .education-list li {
        font-size: 13px;
    }
    
    .image-placeholder {
        height: 150px;
        font-size: 14px;
    }
    
    .gallery-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
    
    .gallery-image {
        aspect-ratio: 1 / 1;
    }
    
    .diploma-image .image-placeholder {
        height: 120px;
    }
}

/* <!-- Стили для активного пункта меню --> */
.nav-item.active .nav-link {
    color: var(--text-hover);
}

.mobile-dropdown.active > a {
    color: var(--text-hover);
}

/* <!-- Дополнительные стили для улучшения UX --> */
.gallery-item {
    cursor: pointer;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    background: rgba(0, 0, 0, 0.1);
}

.gallery-overlay {
    position: relative;
    z-index: 2;
}

/* <!-- Стили для загрузки изображений --> */
.gallery-item.loading {
    opacity: 0.7;
}

.gallery-item.loading::after {
    content: 'Загрузка...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--dark-text);
    font-size: 14px;
    z-index: 3;
}

/* <!-- Стили для страницы услуг --> */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 60px;
}

.service-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    margin-bottom: 30px;
}

.icon-placeholder {
    width: 80px;
    height: 80px;
    
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto;
}

.service-item h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: var(--dark-text);
}

.service-description h4 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 20px 0 10px;
    color: var(--dark-text);
    text-align: left;
}

.service-description h4:first-child {
    margin-top: 0;
}

.service-description ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 20px;
}

.service-description li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--dark-text);
}

.service-description li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--dark-text);
    font-weight: bold;
}

.service-description p {
    font-size: 14px;
    text-align: left;
    margin-bottom: 15px;
    color: var(--dark-text);
}

/* <!-- Стили для секции цен --> */
.prices-section {
    background: rgba(255, 255, 255, 0.5);
}

.prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.price-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
}

.price-card h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 25px;
    color: var(--dark-text);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.service-name {
    font-size: 14px;
    color: var(--dark-text);
    flex: 1;
}

.service-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-text);
    white-space: nowrap;
}

.price-notes {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-notes:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.price-notes h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.price-notes ul {
    list-style: none;
    padding: 0;
}

.price-notes li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--dark-text);
}

.price-notes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--dark-text);
    font-weight: bold;
}

/* <!-- Стили для мастер-класса --> */
.masterclass-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

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

.program-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.program-item h4 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.program-item ul {
    list-style: none;
    padding: 0;
}

.program-item li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--dark-text);
}

.program-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--dark-text);
    font-weight: bold;
}

.masterclass-details {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.masterclass-details h3 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.details-grid {
    display: grid;
    gap: 15px;
}

.detail-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-text);
}

.detail-item p {
    font-size: 14px;
    color: var(--dark-text);
    margin: 0;
}

/* <!-- Форма записи на мастер-класс --> */
.masterclass-form {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.masterclass-form h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: var(--dark-text);
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 14px;
    color: var(--dark-text);
    background: rgba(255, 255, 255, 0.9);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--dark-text);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    background: var(--dark-text);
    color: var(--primary-color);
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--text-hover);
    transform: translateY(-2px);
}

/* <!-- Стили для модального окна галереи --> */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.gallery-modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* Кнопки навигации модалки галереи */
.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 22px;
    cursor: pointer;
}

.gallery-modal-prev { left: -60px; }
.gallery-modal-next { right: -60px; }

.gallery-modal-info {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
}

.gallery-modal-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.gallery-modal-info p {
    font-size: 14px;
    opacity: 0.8;
}

/* <!-- Стили для страницы рекомендаций --> */
.attention-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.attention-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-left: 0px solid;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.attention-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.attention-item.warning {
    border-left-color: #445764;
}

.attention-item.info {
    border-left-color: #445764;
}

.attention-item.important {
    border-left-color: #445764;
}

.attention-icon {
    font-size: 40px;
    margin-bottom: 20px;
    text-align: center;
}

.attention-item h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--dark-text);
    text-align: center;
}

.attention-item ul {
    list-style: none;
    padding: 0;
}

.attention-item li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--dark-text);
}

.attention-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--dark-text);
    font-weight: bold;
}

/* <!-- Стили для секции "До процедуры" --> */
.before-section {
    background: rgba(255, 255, 255, 0.5);
}

.before-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-top: 50px;
}

.before-timeline {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.before-timeline:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.before-timeline h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 30px;
    color: var(--dark-text);
    text-align: center;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.timeline-marker {
    width: 40px;
    height: 40px;
    background: var(--dark-text);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

.timeline-content h4 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.timeline-content ul {
    list-style: none;
    padding: 0;
}

.timeline-content li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--dark-text);
}

.timeline-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--dark-text);
    font-weight: bold;
}

/* <!-- Чеклист --> */
.before-checklist {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: fit-content;
    max-width: 100%;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.before-checklist:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.before-checklist h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: var(--dark-text);
    text-align: center;
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 100%;
}

.checklist-item {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--dark-text);
    min-width: 0;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.checklist-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--dark-text);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checklist-item input[type="checkbox"]:checked + .checkmark {
    background: var(--dark-text);
    color: var(--primary-color);
}

.checklist-item input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    font-size: 12px;
    font-weight: bold;
}

/* <!-- Стили для секции "После процедуры" --> */
.after-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-top: 50px;
}

.recovery-stages {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recovery-stages:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.recovery-stages h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 30px;
    color: var(--dark-text);
    text-align: center;
}

.stage-item {
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.stage-header {
    background: var(--primary-color);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stage-header h4 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--dark-text);
    margin: 0;
}

.stage-duration {
    font-size: 12px;
    color: var(--dark-text);
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.8);
    padding: 4px 8px;
    border-radius: 12px;
}

.stage-content {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stage-symptoms h5,
.stage-care h5 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.stage-symptoms ul,
.stage-care ul {
    list-style: none;
    padding: 0;
}

.stage-symptoms li,
.stage-care li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--dark-text);
}

.stage-symptoms li::before,
.stage-care li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--dark-text);
    font-weight: bold;
}

/* <!-- Правила ухода --> */
.care-rules {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: fit-content;
    max-width: 100%;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.care-rules:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.care-rules h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: var(--dark-text);
    text-align: center;
}

.rules-category {
    margin-bottom: 25px;
}

.rules-category h4 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.rules-category ul {
    list-style: none;
    padding: 0;
    max-width: 100%;
}

.rules-category li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--dark-text);
    word-break: break-word;
    overflow-wrap: anywhere;
}

.rules-category li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--dark-text);
    font-weight: bold;
}

/* <!-- Стили для страницы контактов --> */
.contacts-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    font-size: 30px;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.contact-details p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--dark-text);
    margin-bottom: 5px;
}

.contact-details a {
    color: var(--dark-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--text-hover);
}

/* <!-- Форма контактов --> */
.contact-form-section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: fit-content;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.contact-form-section h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: var(--dark-text);
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group select {
    padding: 12px 15px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 14px;
    color: var(--dark-text);
    background: rgba(255, 255, 255, 0.9);
    transition: border-color 0.3s ease;
    width: 100%;
}

.form-group select:focus {
    outline: none;
    border-color: var(--dark-text);
}

.checkbox-group {
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.4;
    color: var(--dark-text);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-label .checkmark {
    width: 16px;
    height: 16px;
    border: 2px solid var(--dark-text);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--dark-text);
    color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    font-size: 10px;
    font-weight: bold;
}

.link {
    color: var(--dark-text);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.link:hover {
    color: var(--text-hover);
}

/* <!-- Карта --> */
.map-section {
    margin-top: 60px;
}

.map-section h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: var(--dark-text);
    text-align: center;
}

.map-placeholder {
    height: 300px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px dashed var(--dark-text);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.map-content {
    text-align: center;
    color: var(--dark-text);
}

.map-content p {
    margin-bottom: 10px;
    font-size: 16px;
}

.map-content p:first-child {
    font-size: 20px;
    font-weight: 600;
}

/* <!-- Социальные сети --> */
.social-section {
    margin-top: 60px;
    text-align: center;
}

.social-section h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: var(--dark-text);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    text-decoration: none;
    color: var(--dark-text);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-width: 120px;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.social-icon {
    font-size: 30px;
}

.social-link span:last-child {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
}
