/* Общие стили */
body { 
    font-family: 'Roboto', sans-serif; 
    background-color: #f4f7f6; 
    color: #495057; 
    line-height: 1.7; 
    margin: 0; 
    padding: 0; 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
    font-size: 17px; 
    padding-bottom: 60px;
}
.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* --- СТАТИЧЕСКОЕ МЕНЮ (ВОЗВРАЩЕНО) --- */
.site-header { 
    background-color: #ffffff; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
    z-index: 1000; 
}
.header-top-bar { 
    background-color: #343a40; 
    color: #adb5bd; 
    font-size: 0.85rem; 
    padding: 5px 0; 
}
.header-top-bar-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
}
.header-info span { 
    margin-right: 15px; 
    display: inline-block; 
    margin-bottom: 3px; 
}
.header-info span:last-child { margin-right: 0; }
.header-info i, .header-contact-short i, .header-email i { 
    margin-right: 5px; 
    color: #FF7F50; 
}
.header-contact-short a, .header-email a { 
    color: #ffffff; 
    text-decoration: none; 
    font-weight: bold; 
    transition: color 0.3s ease; 
}
.header-contact-short a:hover, .header-email a:hover { 
    color: #FF7F50; 
    text-decoration: none; 
}
.header-main { padding: 10px 0; }
.header-main-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.site-logo-link { display: inline-block; }
.site-logo { 
    max-height: 100px; 
    width: auto; 
    vertical-align: middle; 
    transition: transform 0.3s ease; 
}
.site-logo:hover { transform: scale(1.05); }
.main-navigation { margin-left: auto; }
.main-navigation a { 
    color: #0056b3; 
    margin-left: 20px; 
    margin-right: 0; 
    text-decoration: none; 
    font-weight: 700; 
    transition: color 0.3s ease; 
    display: inline-block; 
    padding: 5px 0; 
    position: relative; 
    font-size: 0.95rem; 
}
.main-navigation a::after { 
    content: ''; 
    position: absolute; 
    width: 0; 
    height: 2px; 
    bottom: 0; 
    left: 0; 
    background-color: #FF7F50; 
    transition: width 0.3s ease; 
}
.main-navigation a:hover::after { width: 100%; }
.main-navigation a:hover { 
    color: #FF7F50; 
    text-decoration: none; 
}
/* --- КОНЕЦ СТАТИЧЕСКОГО МЕНЮ --- */

/* --- СТИЛИ ДЛЯ ГЛАВНОЙ СТРАНИЦЫ --- */
.hero-section-wrapper { 
    background-color: #003366; 
    color: white; 
    padding: 50px 0;
    position: relative;
    display: flex; 
    align-items: center;
    box-sizing: border-box;
    min-height: 500px;
}
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to right, rgba(0, 20, 40, 0.85) 50%, rgba(0, 20, 40, 0.3)); z-index: 1; }
.hero-content-container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-text-content { flex: 1 1 55%; max-width: 550px; }
.hero-text-content h1 { font-size: 2.2rem; color: white; border-bottom: none; margin-bottom: 0.5em; line-height: 1.25; font-weight: 700; text-shadow: 1px 1px 3px rgba(0,0,0,0.3); }
.hero-subtitle { font-size: 1.05rem; margin-bottom: 1.5em; line-height: 1.6; opacity: 0.9; }
.hero-image-placeholder-container { flex: 1 1 45%; max-width: 380px; display: flex; align-items: center; justify-content: center; }
.hero-actual-image { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); display: block; }

/* ИСПРАВЛЕННЫЕ СТИЛИ ДЛЯ МИНИМАЛИСТИЧНОЙ ФОРМЫ */
.hero-minimal-form-wrapper { margin-top: 20px; }
.hero-minimal-form .hero-minimal-form-group {
    position: relative;
    margin-bottom: 20px;
}
.hero-minimal-form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 3px;
}
.hero-minimal-form-group input {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    font-size: 1.1rem;
    padding: 8px 0;
    width: 100%;
    transition: border-color 0.3s ease;
}
.hero-minimal-form-group input:focus {
    outline: none;
    border-bottom-color: #ffffff;
}
.btn-minimal-outline {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    width: 100%;
}
.btn-minimal-outline:hover {
    background-color: #ffffff;
    color: #0056b3 !important;
    transform: translateY(-2px);
}
/* КОНЕЦ СТИЛЕЙ ДЛЯ ФОРМЫ */

.key-services-section-main { padding-top: 50px; padding-bottom: 50px; background-color: #ffffff; }
.key-services-section-main h2,
.advantages-section h2,
.about-company-teaser h2,
.short-price-section-main h2,
.portfolio-section h2,
.reviews-section h2,
.seo-block-section-main h2,
.faq-section-main h2,
.discount-section-main h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.8rem;
}
.section-subtitle { text-align: center; font-size: 1.1rem; color: #6c757d; margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }
.key-services-grid-main { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; } 
.key-service-item-main { background-color: #f8f9fa; padding: 25px; border-radius: 8px; text-align: center; border: 1px solid #e9ecef; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.key-service-item-main:hover { transform: translateY(-8px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.key-service-icon-placeholder { height: 50px; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; } 
.key-service-icon-placeholder img { max-height: 100%; width: auto; } 
.key-service-item-main h3 { font-size: 1.25rem; color: #212529; margin-top: 0; margin-bottom: 10px; }
.key-service-item-main h3 a { color: inherit; text-decoration: none; }
.key-service-item-main h3 a:hover { color: #FF7F50; }
.key-service-item-main p { font-size: 0.95rem; color: #495057; line-height: 1.6; margin-bottom: auto; padding-bottom: 15px; }
.service-link-main { font-weight: bold; color: #0056b3; text-decoration: none; font-size: 0.9rem; margin-top: auto; display: inline-block; padding: 5px 0; }
.service-link-main i { margin-left: 5px; transition: transform 0.2s ease; }
.service-link-main:hover i { transform: translateX(3px); }
.service-link-main:hover { color: #FF7F50; }
.all-services-link-main { text-align: center; margin-top: 10px; }
.cta-button-outline-main { display: inline-block; padding: 12px 30px; border: 2px solid #0056b3; color: #0056b3 !important; border-radius: 5px; font-weight: bold; text-decoration: none !important; transition: all 0.3s ease; font-size: 1rem; }
.cta-button-outline-main:hover { background-color: #0056b3; color: white !important; transform: translateY(-2px); }

.about-company-teaser { background-color: #ffffff; padding: 50px 0; }
.about-company-teaser-content { display: flex; align-items: center; gap: 40px; }
.about-teaser-text { flex: 1 1 60%; }
.about-teaser-text h2 { text-align: left; margin-bottom: 20px; } 
.about-teaser-text p { margin-bottom: 1.5em; }
.about-teaser-image-placeholder { flex: 1 1 35%; max-width: 350px; display: flex; align-items: center; justify-content: center;}
.about-teaser-image-placeholder .hero-actual-image { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); display: block; }
.about-teaser-image-placeholder img + .hero-image-placeholder-inner { display: none; }

.short-price-section-main { padding-top: 50px; padding-bottom: 50px; }
.short-price-grid-main { display: grid; grid-template-columns: 1fr; gap: 0; margin-bottom: 40px; border: 1px solid #e0e0e0; border-radius: 5px; overflow: hidden; background-color: #ffffff; }
.short-price-item-main { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid #e9ecef; }
.short-price-item-main:last-child { border-bottom: none; }
.short-price-item-main:nth-child(odd) { background-color: #f8f9fa; }
.short-price-item-main h4 { margin: 0; font-size: 1.05rem; font-weight: 500; color: #333; }
.short-price-item-main h4 a { color: inherit; }
.short-price-item-main h4 a:hover { color: #FF7F50; }
.short-price-item-main .price { margin: 0; font-weight: 700; color: #0056b3; font-size: 1.05rem; white-space: nowrap; }

.advantages-section { padding: 50px 0 !important; }
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.advantage-item { background-color: #ffffff; padding: 25px; border-radius: 8px; text-align: center; border: 1px solid #eee; box-shadow: 0 2px 5px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.advantage-item:hover { transform: translateY(-5px); box-shadow: 0 8px 15px rgba(0,0,0,0.1); }
.advantage-icon { margin-bottom: 20px; line-height: 1; display: inline-block; transition: transform 0.3s ease; font-size: 2.8em; }
.advantage-item:hover .advantage-icon { transform: rotate(10deg) scale(1.1); }
.advantage-icon .icon-advantage {}
.advantage-icon .icon-color-blue { color: #0056b3; }
.advantage-icon .icon-color-coral { color: #FF7F50; }
.advantage-item h3 { font-size: 1.2rem; color: #212529; margin-top: 0; margin-bottom: 10px; }
.advantage-item p { font-size: 0.95rem; color: #495057; line-height: 1.6; margin-bottom: 0; }

.section-final-cta { background-color: #0056b3; color: white; padding: 50px 0; text-align: center; margin-bottom: 0; border-radius: 0; box-shadow: none; }
.section-final-cta h2 { color: white; border-bottom: none; margin-bottom: 0.8em; }
.section-final-cta p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 1.5em; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-final-cta .hero-cta-button { background-color: #FF7F50; }
.section-final-cta .hero-cta-button:hover { background-color: #E57348; }

.seo-block-section-main { padding-top: 50px; padding-bottom: 30px; background-color: #ffffff;}
.faq-section-main { padding-top: 50px; padding-bottom: 50px; }
.seo-block-section-main h2, .faq-section-main h2 { text-align: center; margin-bottom: 30px; font-size: 1.8rem; }
.seo-key-grid, .faq-grid-main { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.seo-key-item, .faq-item { background-color: #f8f9fa; padding: 20px; border-radius: 5px; border: 1px solid #e9ecef; }
.seo-key-item h3 { font-size: 1.15rem; color: #0056b3; margin-top: 0; margin-bottom: 10px; }
.faq-item h3 { font-size: 1.15rem; color: #007bff; margin-top: 0; margin-bottom: 10px; }
.seo-key-item p, .faq-item p { font-size: 0.95rem; line-height: 1.6; margin-bottom: 0; }

.discount-section-main { background-color: #fffef0; border-top: 1px solid #f0e68c; border-bottom: 1px solid #f0e68c; padding: 40px 0; margin-bottom: 20px;}
.discount-content-container { display: flex; align-items: center; gap: 30px; }
.discount-image-placeholder { flex: 0 0 200px; height: 200px; display: flex; align-items: center; justify-content: center; background-color: #FF7F50; border-radius: 8px; overflow: hidden; }
.discount-image-placeholder img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.discount-image-placeholder img + .placeholder-text { display:none; }
.discount-image-placeholder .placeholder-text { color: white; font-size: 2.5rem; font-weight: bold; text-align: center; line-height: 1.1; }
.discount-text-content { flex: 1; }
.discount-text-content h2 { color: #E57348; margin-top: 0; font-size: 1.7rem; }
.discount-text-content p { font-size: 1rem; margin-bottom: 1em; }
.discount-text-content .cta-button { font-size: 1rem; padding: 10px 25px; }
/* --- КОНЕЦ СТИЛЕЙ ДЛЯ ГЛАВНОЙ СТРАНИЦЫ --- */

/* --- ОБЩИЕ СТИЛИ ДЛЯ ОСТАЛЬНЫХ СТРАНИЦ И ЭЛЕМЕНТОВ --- */
/* Основной контент (для страниц, не являющихся главной) */
main > .container > .content-section { padding-top: 40px; padding-bottom: 40px; background-color: #ffffff; border-radius: 5px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); margin-bottom: 20px; }
main > .container > .content-section:last-child { margin-bottom: 0; padding-bottom: 0; }
/* Секции с серым фоном (если будут на других страницах) */
main > .section-alt-bg { background-color: #f8f9fa; border-top: 1px solid #e9ecef; border-bottom: 1px solid #e9ecef; padding: 40px 0; margin-bottom: 20px; border-radius: 0; box-shadow: none; }
main > .section-alt-bg .container { padding-top: 0; padding-bottom: 0; }
main > .section-alt-bg:last-child { margin-bottom: 0; padding-bottom: 0; }

/* Типографика */
h1, h2, h3, h4, h5, h6 { color: #212529; font-weight: 700; line-height: 1.4; margin-top: 1.5em; margin-bottom: 0.8em; }
h1 { font-size: 2.2rem; margin-top: 0; border-bottom: 2px solid #0056b3; padding-bottom: 0.5em; }
h2 { font-size: 1.7rem; } /* Для обычных страниц */
h3 { font-size: 1.3rem; } /* Для обычных страниц */
h4 { font-size: 1.1rem; }
.container > h1:first-child, .container > .content-section > h1:first-child, .container > .content-section > h2:first-child, .container > .content-section > h3:first-child { margin-top: 0; }
p { margin-top: 0; margin-bottom: 1.2em; }
*:last-child > p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.5em; margin-bottom: 1.2em; }
li { margin-bottom: 0.6em; padding-left: 0.4em; }
*:last-child > ul:last-child, *:last-child > ol:last-child { margin-bottom: 0; }
a { color: #0056b3; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #FF7F50; }

table { width: 100%; border-collapse: collapse; margin-top: 20px; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); background-color: #ffffff; }
th, td { border: 1px solid #ddd; padding: 10px; text-align: left; font-size: 0.95rem; }
th { background-color: #e9ecef; color: #495057; font-weight: bold; }
tr:nth-child(even) { background-color: #f8f9fa; }
tr:hover { background-color: #e2e6ea; }
form label { display: block; margin-bottom: 5px; font-weight: bold; color: #495057; }
form input[type="text"], form input[type="tel"], form textarea { width: calc(100% - 22px); padding: 10px; margin-bottom: 15px; border: 1px solid #ced4da; border-radius: 4px; font-size: 1rem; color: #495057; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
form input[type="text"]:focus, form input[type="tel"]:focus, form textarea:focus { border-color: #0056b3; box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25); outline: none; }
form textarea { resize: vertical; }
form button[type="submit"] { background-color: #FF7F50; color: white; padding: 12px 25px; border: none; border-radius: 4px; cursor: pointer; font-size: 1rem; font-weight: bold; transition: background-color 0.3s ease, transform 0.2s ease; }
form button[type="submit"]:hover { background-color: #E57348; transform: translateY(-2px); }
#content .contact-links ul { list-style: none; padding-left: 0; }
#content .contact-links li { margin-bottom: 15px; font-size: 1.1rem; }
#content .contact-links strong { display: inline-block; min-width: 90px; }
#content .contact-links i { color: #6c757d; font-size: 0.9rem; }
.alert { padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 4px; }
.alert-success { color: #0f5132; background-color: #d1e7dd; border-color: #badbcc; }
.alert-danger { color: #842029; background-color: #f8d7da; border-color: #f5c2c7; }
.how-i-work-list { list-style: none; padding-left: 0; margin-top: 20px; counter-reset: step-counter; margin-bottom: 1.2em; }
.how-i-work-list li { display: flex; align-items: flex-start; margin-bottom: 25px; position: relative; padding: 10px; border-radius: 5px; transition: background-color 0.3s ease; }
.how-i-work-list li:hover { background-color: #eef4fa; }
.how-i-work-list .step-icon { background-color: #0056b3; color: white; border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-right: 15px; flex-shrink: 0; z-index: 1; transition: transform 0.3s ease; }
.how-i-work-list li:hover .step-icon { transform: rotate(15deg); }
.how-i-work-list li::before { content: ''; position: absolute; left: 20px; top: 55px; bottom: -15px; width: 2px; background-color: #e0e0e0; z-index: 0; transition: background-color 0.3s ease; }
.how-i-work-list li:hover::before { background-color: #0056b3; }
.how-i-work-list li:last-child::before { display: none; }
.how-i-work-list .step-text { flex-grow: 1; }
.how-i-work-list .step-text strong { display: block; margin-bottom: 5px; font-size: 1.1rem; color: #212529; }
.portfolio-placeholder { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-top: 15px; margin-bottom: 1.2em; }
.photo-item-actual { background-color: #e9ecef; border: 1px solid #ced4da; border-radius: 4px; overflow: hidden; aspect-ratio: 1 / 1; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.photo-item-actual:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.photo-item-actual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-placeholder { min-height: 80px; text-align: center; color: #6c757d; padding: 15px; border: 2px dashed #ced4da; margin-top: 15px; border-radius: 5px; background-color: #ffffff; margin-bottom: 1.2em; }
.review-placeholder p { margin-bottom: 10px; border-bottom: 1px dotted #ddd; padding-bottom: 10px; }
.review-placeholder p:first-of-type { font-style: italic; }
.review-placeholder p strong { font-style: normal; font-weight: bold; color: #212529; }
.review-placeholder p:last-child { border-bottom: none; }
.cta-block-top { background-color: #fff8f0; border: 1px solid #ffe8cc; border-radius: 5px; padding: 20px; margin-bottom: 30px; }
.cta-text { font-size: 1.1rem; margin-bottom: 20px; color: #555; text-align: center; }
.cta-text strong { color: #E57348; }
.cta-contact-bar { background-color: #e74c3c; color: white; padding: 12px 20px; border-radius: 4px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.cta-contact-bar-left { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; justify-content: flex-start; flex-grow: 1; }
.cta-contact-bar-left span { white-space: nowrap; margin-right: 5px; }
.cta-contact-bar-left a.cta-phone { color: white; font-weight: bold; text-decoration: none; white-space: nowrap; }
.cta-contact-bar-left a.cta-phone:hover { text-decoration: underline; }
.cta-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; color: white !important; font-size: 1.1rem; text-decoration: none !important; transition: transform 0.2s ease; vertical-align: middle; flex-shrink: 0; }
.cta-icon:hover { transform: scale(1.1); }
.whatsapp-icon { background-color: #25D366 !important; }
.telegram-icon { background-color: #0088cc !important; }
.cta-icon i { color: white; }
.cta-contact-bar-right { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; justify-content: flex-end; flex-shrink: 0; }
.cta-button-inline { display: inline-block; padding: 8px 15px; border-radius: 4px; color: white !important; text-decoration: none !important; font-weight: bold; transition: background-color 0.3s ease, transform 0.2s ease; font-size: 0.9rem; cursor: pointer; border: 1px solid transparent; white-space: nowrap; }
.cta-button-inline:hover { transform: translateY(-1px); text-decoration: none !important; }
.cta-button-order { background-color: #f0ad4e; border-color: #eea236; }
.cta-button-order:hover { background-color: #ec971f; border-color: #d58512; }
.cta-button-callback { background-color: #5bc0de; border-color: #46b8da; }
.cta-button-callback:hover { background-color: #31b0d5; border-color: #269abc; }
.cta-divider { border: none; border-top: 1px solid #eee; margin-top: 30px; margin-bottom: 30px; }
.image-container { margin-bottom: 1.5em; max-width: 100%; overflow: hidden; }
.content-image { display: block; max-width: 100%; height: auto; border-radius: 5px; box-shadow: 0 3px 8px rgba(0,0,0,0.1); margin-bottom: 0.5em; }
.image-caption { font-size: 0.85em; color: #6c757d; text-align: center; margin-top: 0; margin-bottom: 0; }
.image-left .content-image { float: left; max-width: 45%; margin-right: 1.5em; margin-bottom: 0.5em; }
.image-left .image-caption { clear: left; text-align: left; }
.image-right .content-image { float: right; max-width: 45%; margin-left: 1.5em; margin-bottom: 0.5em; }
.image-right .image-caption { clear: right; text-align: right; }
.image-center { text-align: center; }
.image-center .content-image { margin-left: auto; margin-right: auto; }
.content-image-medium { max-width: 65%; }
.content-image-large { max-width: 80%; }
.faq-section { margin-top: 30px; margin-bottom: 30px; border-top: 1px solid #eee; padding-top: 20px; } /* Для страниц услуг */
.faq-section h3 { font-size: 1.2rem; color: #0056b3; margin-top: 1em; margin-bottom: 0.5em; }
.faq-section h3:first-child { margin-top: 0; }
.reviews-inline-section { margin-top: 30px; margin-bottom: 30px; border-top: 1px solid #eee; padding-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; } /* Для страниц услуг */
.review-item { border: 1px solid #e9ecef; padding: 15px; border-radius: 5px; background-color: #f8f9fa; text-align: center; }
.review-item img { width: 80px; height: 80px; border-radius: 50%; margin-bottom: 10px; object-fit: cover; }
.review-item p { margin-bottom: 0.5em; font-size: 0.95em; color: #495057; }
.review-item p:first-of-type { font-style: italic; }
.review-item p strong { font-style: normal; font-weight: bold; color: #212529; }
.cta-section-inline { background-color: #eef4fa; border: 1px solid #d1e3f7; border-radius: 5px; padding: 25px; margin: 30px 0; text-align: center; }
.cta-section-inline h3 { margin-top: 0; margin-bottom: 10px; font-size: 1.4rem; color: #0056b3; }
.cta-section-inline p { margin-bottom: 15px; }
.cta-section-inline .cta-button { font-size: 0.95rem; padding: 10px 20px; }
#sticky-mobile-bar { background-color: #343a40; padding: 0; box-shadow: 0 -2px 5px rgba(0,0,0,0.15); z-index: 1001; border-top: 1px solid #454d55; position: fixed; bottom: 0; left: 0; width: 100%; }
.sticky-bar-content { display: flex; justify-content: space-around; align-items: center; padding: 8px 10px; gap: 10px; }
.mobile-bar-button { display: flex; align-items: center; justify-content: center; flex-grow: 1; flex-basis: 0; padding: 8px 10px; border-radius: 4px; color: white !important; text-decoration: none !important; font-size: 0.85rem; font-weight: 500; gap: 6px; text-align: center; transition: background-color 0.2s ease, transform 0.2s ease; border: 1px solid transparent; }
.mobile-bar-button i { font-size: 1.2rem; }
.mobile-bar-button span { line-height: 1.2; }
.mobile-bar-button.whatsapp { background-color: #25D366; border-color: #1ebe57; }
.mobile-bar-button.whatsapp:hover { background-color: #1DA851; }
.mobile-bar-button.whatsapp i { color: white !important; }
.mobile-bar-button.telegram { background-color: #0088cc; border-color: #007abb; }
.mobile-bar-button.telegram:hover { background-color: #007AB8; }
.mobile-bar-button.telegram i { color: white !important; }
.mobile-bar-button.callback { background-color: #f0ad4e; border-color: #eea236; color: #212529 !important; }
.mobile-bar-button.callback:hover { background-color: #ec971f; }
.mobile-bar-button.callback i, .mobile-bar-button.callback span { color: #212529 !important; }

/* ИСПРАВЛЕННЫЕ СТИЛИ КНОПКИ "НАВЕРХ" */
.to-top-button { 
    display: none; 
    position: fixed; 
    bottom: 80px; 
    right: 20px; 
    z-index: 999; 
    background-color: #0056b3; /* синий фон */
    color: white; /* белая стрелка */
    border: none; 
    outline: none; 
    cursor: pointer; 
    padding: 0; 
    width: 45px; 
    height: 45px; 
    border-radius: 50%; 
    font-size: 1.2rem; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); 
    transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease; 
    align-items: center; 
    justify-content: center; 
    text-decoration: none !important; 
}
.to-top-button:hover { 
    background-color: #FF7F50; /* оранжевый при наведении */
    transform: translateY(-3px); 
}
.to-top-button i { line-height: 1; }

/* === [ФУТЕР: ТЁМНЫЙ СТИЛЬ] === */
.site-footer {
  background-color: #343a40;
  color: #adb5bd;
  padding: 30px 0;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #FF7F50;
}

/* === [CTA-КНОПКИ: УНИВЕРСАЛЬНЫЙ СТИЛЬ] === */
.cta-button,
.btn-cta,
.button-cta {
  display: inline-block;
  padding: 12px 25px;
  background-color: #FF7F50;
  color: white !important;
  text-decoration: none !important;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
}

.cta-button:hover,
.btn-cta:hover,
.button-cta:hover {
  background-color: #E57348;
  transform: translateY(-2px);
}

/* === [ОТСТУП ПОД CTA НА НЕ-ГЛАВНОЙ] === */
body:not(.home) main {
  padding-bottom: 80px;
}

/* === СТИЛИ ДЛЯ НОВОГО БЛОКА "ВСЕ ВИДЫ УСЛУГ" (версия 3.0) === */
.services-intro-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px; /* Отступ до списков услуг */
}
.services-intro-image {
    flex: 0 0 300px;
    max-width: 300px;
}
.services-intro-text {
    flex: 1;
}
.services-intro-text p {
    font-size: 1.05rem;
    margin-bottom: 1em;
}
.services-intro-text p:last-child {
    margin-bottom: 0;
}
.service-columns-container {
    display: flex;
    gap: 30px;
}
.service-column {
    flex: 1; /* Каждая колонка занимает равное пространство */
}
.service-column h4 {
    margin-top: 0;
    font-size: 1.15rem;
    color: #212529;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5em;
    margin-bottom: 1em;
}
.service-column ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}
.service-column li {
    padding-left: 1.4em;
    position: relative;
    margin-bottom: 0.9em;
}
.service-column li a {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}
.service-column li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #FF7F50;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.9em;
}

/* === СТИЛИ ДЛЯ СТРАНИЦЫ /SERVICES === */
.service-page-list h3 {
    font-size: 1.4rem;
    color: #0056b3;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #ddd;
    padding-top: 1.5em;
    margin-top: 1.5em;
}
.service-page-list h3:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 1em;
}
.service-page-list p {
    margin-left: 32px; /* Отступ под иконкой заголовка */
    margin-bottom: 1.5em;
}
.service-page-list ul {
    list-style-type: none;
    padding-left: 32px;
}
.service-page-list li {
    position: relative;
    padding-left: 1.5em;
}
.service-page-list li::before {
    content: '\f105'; /* Иконка-стрелка от FontAwesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #FF7F50;
    position: absolute;
    left: 0;
    top: 0;
}


/* --- АДАПТИВНЫЕ СТИЛИ --- */
@media (max-width: 991px) {
    .hero-content-container { flex-direction: column; text-align: center; }
    .hero-text-content { order: 2; max-width: 100%; text-align: center; }
    .hero-text-content h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-image-placeholder-container { order: 1; margin-bottom: 30px; max-width: 300px; }
    .key-services-grid-main { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
    .about-company-teaser-content { flex-direction: column; }
    .about-teaser-text { order: 2; text-align: center; }
    .about-teaser-text h2 { text-align: center; }
    .about-teaser-image-placeholder { order: 1; margin-bottom: 20px; }
    .discount-content-container { flex-direction: column; text-align: center; }
    .discount-image-placeholder { margin-bottom: 20px; flex: 0 0 150px; height: 150px; }
    .discount-text-content h2 { text-align: center; }
    
    .services-intro-wrapper {
        flex-direction: column;
        text-align: center;
        margin-bottom: 30px;
    }
}
@media (max-width: 768px) {
    .header-main-content { flex-direction: column; padding-top: 10px; padding-bottom: 10px; }
    .site-logo-link { margin-bottom: 15px; display: block; text-align: center; }
    .site-logo { max-height: 80px; }
    .main-navigation { text-align: center; width: 100%; margin-left: 0; }
    .main-navigation a { margin: 0 8px; font-size: 0.95rem; display: inline-block; }
    .main-navigation a::after { display: none; }

    .hero-section-wrapper { padding: 30px 15px; min-height: 0; }
    .hero-text-content { flex-basis: auto; text-align: center; }
    .hero-image-placeholder-container { display: none; } 

    body { font-size: 16px; }
    .container { padding: 0 15px; }
    h1 { font-size: 1.8rem; } h2 { font-size: 1.4rem; } h3 { font-size: 1.2rem; }
    main > .container > .content-section, main > .section-alt-bg { border-radius: 0; margin-bottom: 0; box-shadow: none; padding: 30px 15px; }
    .content-section + .section-alt-bg, .section-alt-bg + .content-section { margin-top: 10px; } /* Добавляем небольшой отступ между секциями */

    .section-alt-bg { border-left: none; border-right: none; }
    .container > h2, .container > h1 { margin-bottom: 20px; }
    .section-subtitle { margin-bottom: 30px; }
    
    .image-left .content-image, .image-right .content-image { float: none; max-width: 90%; margin: 0 auto 0.5em auto; display: block; }
    .image-left .image-caption, .image-right .image-caption { text-align: center; clear: both; }
    .content-image-medium, .content-image-large { max-width: 100%; }
    .cta-contact-bar { flex-direction: column; align-items: stretch; padding: 15px; }
    .cta-contact-bar-left { flex-direction: column; align-items: center; margin-bottom: 15px; width: 100%; text-align: center; }
    .cta-contact-bar-left span { white-space: normal; display: block; margin-bottom: 10px; margin-right: 0; }
    .cta-contact-bar-left .icons-wrapper { display: flex; gap: 15px; margin-top: 5px; justify-content: center; }
    .cta-contact-bar-right { margin-left: 0; width: 100%; display: flex; flex-direction: column; align-items: stretch; }
    .cta-contact-bar-right a.cta-button-inline { display: block; margin: 8px auto; max-width: 240px; width: 100%; box-sizing: border-box; text-align: center; }
    .how-i-work-list .step-icon { width: 35px; height: 35px; font-size: 1rem; margin-right: 10px; }
    .how-i-work-list li::before { left: 17px; top: 40px; }
    .advantages-grid { grid-template-columns: 1fr; gap: 20px; }
    .portfolio-placeholder { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
    table { font-size: 0.9rem; }
    th, td { padding: 8px; }
    #sticky-mobile-bar .sticky-bar-content { justify-content: space-around; }
    .mobile-bar-button { padding: 6px; flex-direction: column; font-size: 0.7rem; gap: 1px; border-radius: 4px;}
    .mobile-bar-button i { font-size: 1.3rem; margin-bottom: 2px; }
    .mobile-bar-button span { display: block; }
    .seo-key-grid, .faq-grid-main { grid-template-columns: 1fr; gap: 15px; }
    .seo-block-section-main h2, .faq-section-main h2 { margin-bottom: 20px; font-size: 1.6rem; }
    
    .service-columns-container { flex-direction: column; gap: 0; }
    .service-column { margin-bottom: 25px; }
    .service-column:last-child { margin-bottom: 0; }
}
@media (max-width: 480px) {
     .hero-text-content h1 { font-size: 1.6rem; }
     .hero-subtitle { font-size: 1rem; margin-bottom: 1.5em; }
     h1 { font-size: 1.6rem; } h2 { font-size: 1.3rem; } h3 { font-size: 1.1rem; }
     .container { padding: 0 15px; }
     main > .container > .content-section, main > .section-alt-bg { padding: 25px 15px; }
     
     .how-i-work-list li::before { display: none; }
     form input[type="text"], form input[type="tel"], form textarea { width: calc(100% - 20px); }
     .table-responsive-wrapper { overflow-x: auto; margin-left: -10px; margin-right: -10px; padding-left: 10px; padding-right: 10px; }
     #sticky-mobile-bar .mobile-bar-button span { display: none; }
     #sticky-mobile-bar .mobile-bar-button { padding: 8px 5px; flex-grow: 0; }
     #sticky-mobile-bar .sticky-bar-content { justify-content: space-around; }
     #sticky-mobile-bar .mobile-bar-button i { font-size: 1.6rem; margin-bottom: 0; }
     .key-services-grid-main { grid-template-columns: 1fr; }
}
/* --- КОНЕЦ АДАПТИВНЫХ СТИЛЕЙ --- */