/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}
header {
    background: url('/images/header.png') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 150px 20px;
    position: relative;
}
header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}
header p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}
.consultation-form {
    background-color: rgba(255,255,255,0.9);
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}
.consultation-form h3 {
    color: #333;
    margin-bottom: 15px;
}
.consultation-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.consultation-form button {
    width: 100%;
    padding: 12px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}
.consultation-form button:hover {
    background-color: #0069d9;
}
.success-message {
    display: none;
    color: green;
    margin-top: 10px;
    text-align: center;
}
section {
    padding: 60px 20px;
}
.about {
    background-color: #fff;
    text-align: center;
}
.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.about p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}
.services {
    background-color: #f4f4f4;
    text-align: center;
}
.service {
    display: inline-block;
    width: calc(25% - 20px);
    margin: 10px;
    padding: 20px;
    background-color: #fff;
    vertical-align: top;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}
.service img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 8px;
}
.service h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
@media (max-width: 1200px) {
    .service {
        width: calc(33.33% - 20px);
    }
}
@media (max-width: 768px) {
    .service {
        width: calc(50% - 20px);
    }
}
@media (max-width: 576px) {
    .service {
        width: 100%;
    }
}
.price {
    background-color: #eaeaea;
    text-align: center;
    padding: 40px 20px;
}
.price-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
}
.price-table th, .price-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #ddd;
}
.price-table th {
    background-color: #007BFF;
    color: white;
}
.subscribe {
    background-color: #fff;
    text-align: center;
    padding: 40px 20px;
}
.subscribe form {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.subscribe input[type="email"] {
    padding: 10px;
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.subscribe button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
footer {
    background-color: #333;
    color: white;
    padding: 40px 20px;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
    padding: 0 15px;
}
.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
}
.footer-column p, .footer-column a {
    color: #ddd;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
}
.footer-column a:hover {
    color: #fff;
    text-decoration: underline;
}
.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    margin-top: 20px;
    color: #ddd;
}
@media (max-width: 768px) {
    .footer-column {
        flex: 100%;
        text-align: center;
    }
}

/* Стили для модального окна */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
}
.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}
.modal-content h2 {
    margin-bottom: 20px;
    text-align: center;
}
.modal-content form {
    display: flex;
    flex-direction: column;
}
.modal-content input {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.modal-content button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.success-message {
    display: none;
    color: green;
    text-align: center;
    margin-top: 15px;
}
/* Стили для аккордеона */
.accordion {
    width: 100%;
    margin: 20px 0;
}

.accordion-item {
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.accordion-button {
    width: 100%;
    padding: 15px 20px;
    text-align: left;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-button:after {
    content: '+';
    font-size: 1.5rem;
}

.accordion-button.active:after {
    content: '-';
}

.accordion-button:hover {
    background-color: #0069d9;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: white;
}

.accordion-content p {
    padding: 20px;
    margin: 0;
}
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.blog-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 700px;
    margin: 0 auto;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.article-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.article-image {
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 20px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.article-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.article-excerpt {
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: #3498db;
    font-weight: 600;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

.loading {
    text-align: center;
    padding: 50px;
    font-size: 1.2rem;
    color: #7f8c8d;
}

.error-message {
    text-align: center;
    padding: 50px;
    color: #e74c3c;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-header h1 {
        font-size: 2rem;
    }
}
.article-hero {
    margin: 25px 0 40px;
    text-align: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.image-caption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}
.article-hero {
    margin: 25px 0 40px;
    text-align: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.image-caption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}
/* Blog Page Specific Styles */
.blog-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    line-height: 1.8;
    font-size: 1.1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-top: 40px;
    margin-bottom: 40px;
}

.blog-header {
    text-align: center;
    margin-bottom: 30px;
}

.blog-title {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.blog-intro {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.article-hero {
    margin: 0 auto 40px;
    text-align: center;
    max-width: 100%;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.image-caption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.product-section {
    margin-bottom: 60px;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
}

.product-title {
    color: #2980b9;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.product-subtitle {
    font-weight: bold;
    color: #2c3e50;
    margin: 25px 0 15px;
    font-size: 1.3rem;
}

.features-list {
    margin: 20px 0;
    padding-left: 25px;
}

.features-list li {
    margin-bottom: 10px;
    position: relative;
    list-style-type: none;
}

.features-list li:before {
    content: "•";
    color: #2980b9;
    position: absolute;
    left: -15px;
    font-weight: bold;
}

.science-block {
    background: #f0f7fd;
    padding: 20px;
    border-left: 4px solid #2980b9;
    margin: 25px 0;
}

.conclusion {
    font-style: italic;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 5px;
    margin-top: 30px;
}

.author-note {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #7f8c8d;
}

@media (max-width: 768px) {
    .blog-article {
        padding: 30px 15px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .blog-title {
        font-size: 1.8rem;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-section {
        padding: 20px;
    }
}
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
header {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 0 0 15px 15px;
    margin-bottom: 30px;
}
h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.blog-intro {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}
.article-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.hero-image {
    width: 100%;
    border-radius: 10px;
    margin: 20px 0;
    height: 400px;
    object-fit: cover;
}
.image-caption {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-bottom: 30px;
}
.section-title {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-top: 40px;
}
.conclusion {
    background-color: #e8f4fc;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #3498db;
}
.science-block {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #e74c3c;
}
.features-list {
    list-style-type: none;
    padding: 0;
}
.features-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
    position: relative;
    padding-left: 30px;
}
.features-list li:before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 20px;
}
.consultation-form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin: 30px auto;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.consultation-form h3 {
    margin-top: 0;
    color: #2c3e50;
}
.consultation-form input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}
.consultation-form button {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: background 0.3s;
}
.consultation-form button:hover {
    background: #2980b9;
}
footer {
    background: #2c3e50;
    color: white;
    padding: 30px 0;
    margin-top: 50px;
    border-radius: 15px 15px 0 0;
}
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-column {
    flex: 1;
    min-width: 250px;
    padding: 15px;
}
.footer-column h3 {
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}
.footer-column a {
    color: #ddd;
    text-decoration: none;
    display: block;
    margin: 8px 0;
    transition: color 0.3s;
}
.footer-column a:hover {
    color: #3498db;
}
.copyright {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #34495e;
}
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    .footer-container {
        flex-direction: column;
    }
}