body {
    background-color: #e2e8f0; 
    color: #1e293b;            
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка сайта и навигация */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #cbd5e1;
    padding: 30px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-area h1 {
    margin: 0;
    font-size: 32px;
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-area p {
    margin: 5px 0 0 0;
    color: #10b981; 
    font-size: 16px;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #10b981;
}

/* Главный блок */
.hero-section {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.hero-text h2 {
    margin-top: 0;
    color: #0f172a;
    font-size: 24px;
}

.schedule-box {
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 20px;
}

.schedule-box h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.schedule-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.schedule-box li {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

/* Сетка услуг */
.services-title {
    text-align: center;
    margin-bottom: 10px;
    font-size: 28px;
    color: #0f172a;
}

.services-subtitle {
    text-align: center;
    color: #475569;
    margin-bottom: 30px;
    font-size: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.service-card {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 20px;
    cursor: pointer;
    position: relative;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.1);
    border-color: #10b981;
}

.service-icon {
    background-color: #ecfdf5;
    color: #10b981;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.service-info h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #0f172a;
}

.service-info ul {
    margin: 0;
    padding-left: 20px;
    color: #334155;
    font-size: 14px;
}

.service-info li {
    margin-bottom: 6px;
}

/* Прайс-лист */
.price-table-container {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 50px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.price-table-container h2 {
    margin-top: 0;
    color: #0f172a;
    font-size: 24px;
    margin-bottom: 5px;
}

.price-table-container p {
    color: #475569;
    font-size: 15px;
    margin-bottom: 20px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.price-table th, .price-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 15px;
}

.price-table th {
    background-color: #f8fafc;
    color: #0f172a;
    font-weight: 700;
}

.price-table td:last-child {
    font-weight: 600;
    color: #10b981;
    white-space: nowrap;
}

.price-table tr:hover {
    background-color: #f8fafc;
}

/* Контентные страницы (Обо мне, Статьи) */
.content-section {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.content-section h2 {
    margin-top: 0;
    color: #0f172a;
    font-size: 24px;
    border-bottom: 1px solid #cbd5e1;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.content-section p {
    color: #334155;
    font-size: 15px;
}

.articles-list {
    display: grid;
    gap: 20px;
}

.article-item {
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #f8fafc;
    transition: border-color 0.2s;
}

.article-item:hover {
    border-color: #10b981;
}

.article-item h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #0f172a;
}

.article-item p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

/* Модальные окна */
.modal-overlay {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(15, 23, 42, 0.6); 
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: modalFadeIn 0.2s ease-out;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #cbd5e1;
    padding-bottom: 15px;
}

.modal-header h3 {
    margin: 0;
    font-size: 22px;
    color: #0f172a;
}

.modal-body h4 {
    color: #0f172a;
    margin: 15px 0 5px 0;
    font-size: 16px;
}

.modal-body p {
    color: #334155;
    font-size: 15px;
    margin: 0 0 15px 0;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.close-btn:hover {
    color: #ef4444;
}

/* Контакты */
.contacts-block {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
    margin-bottom: 50px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.contacts-block h2 {
    margin: 0 0 15px 0;
    font-size: 22px;
    color: #0f172a;
    border-bottom: 1px solid #cbd5e1;
    padding-bottom: 10px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.contact-card {
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-card strong {
    display: inline;
    margin-right: 5px;
    color: #475569;
}

.contact-card a {
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    text-decoration: underline;
}

footer {
    background-color: #ffffff;
    border-top: 1px solid #cbd5e1;
    text-align: center;
    padding: 40px 0;
    color: #64748b;
    font-size: 14px;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
    .hero-section { grid-template-columns: 1fr; }
    .logo-area h1 { font-size: 26px; }
    .header-content { flex-direction: column; align-items: flex-start; }
    .price-table { font-size: 14px; }
}
/* Стили для нового логотипа */
.logo-area a.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-icon-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-text h1 {
    margin: 0;
    font-size: 28px;
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.logo-text p {
    margin: 2px 0 0 0;
    color: #10b981; 
    font-size: 14px;
    font-weight: 500;
}