/*
Theme Name: Transport Site
Theme URI: 
Author: 
Author URI: 
Description: Тема для транспортного сайта, перенесенная с Flexbe
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: transport-site
*/

/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    padding-top: 80px; /* Компенсация для фиксированной шапки */
}

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

/* Стили для шапки */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: fixed;
    top: 22px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
    width: 100%;
    box-sizing: border-box;
}

.site-header.hidden {
    transform: translateY(-100%);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.site-branding {
    flex-shrink: 0;
}

.site-branding img {
    max-height: 50px;
    width: auto;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-phone {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.header-phone:hover {
    color: #0073aa;
}

.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #4A90E2;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    transition: background 0.3s;
    white-space: nowrap;
}

.btn-primary:hover {
    background: #357ABD;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

.main-navigation a:hover {
    color: #0073aa;
}

/* На десктопе меню всегда видно */
@media (min-width: 769px) {
    .main-navigation {
        display: block !important;
    }
    
    .header-right {
        display: flex !important;
    }
}

/* Стили для основного контента */
.site-main {
    min-height: 60vh;
}

/* Hero секция */
.hero-banner {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    margin-bottom: 1rem;
    overflow: hidden;
}

.hero-background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
    background: #000;
}

/* Убеждаемся, что видео видно */
.hero-banner:has(.hero-background-video) {
    background: #000;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-features {
    list-style: none;
    margin-bottom: 2rem;
}

.hero-features li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.hero-features li::before {
    content: '✓ ';
    margin-right: 0.5rem;
    font-weight: bold;
}

/* Секция опыта */
.experience-section {
    padding: 1rem 0;
}

/* Верхняя часть: текст слева, 4 изображения справа */
.experience-content-top {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 3rem;
    margin-bottom: 3rem;
}

.experience-text-box {
    padding: 2rem;
    border: 2px solid #4A90E2;
    border-radius: 10px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.experience-text-box h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    color: #4A90E2;
}

.experience-text-box ul {
    list-style: none;
    margin-top: 1rem;
    margin-bottom: 0;
}

.experience-text-box li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.experience-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    max-height: 500px;
}

.experience-image-item {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.experience-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
    display: block;
}

.experience-image-item img:hover {
    transform: scale(1.05);
}

.experience-image-large {
    grid-row: span 2;
}

.experience-image-item:not(.experience-image-large) img {
    aspect-ratio: 1;
}

/* Нижняя часть: большое изображение слева, текст справа */
.experience-content-bottom {
    display: grid;
    grid-template-columns: 46% 54%;
    gap: 3rem;
    align-items: center;
}

.experience-large-image {
    width: 100%;
}

.experience-large-image img {
    width: 100%;
    max-height: 255px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.experience-description {
    padding: 2rem;
}

.experience-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

/* Секция готовых решений */
.ready-solutions {
    padding: 1rem 0;
}

.ready-solutions h2,
.benefits-section h2,
.news-section h2,
.suitable-solutions h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
    color: #333;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.solution-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    height: 200px;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.solution-card {
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.solution-card h3 {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 2rem;
    text-align: center;
    font-weight: 600;
}

/* Секция преимуществ */
.benefits-section {
    padding: 1rem 0;
    margin-top: 2rem;
}

.benefits-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-item {
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.benefit-icon svg {    
    
    display: inline-block;
    width: 60px;
    height: 60px;
    fill: #0077b6;
    fill-rule: evenodd;
    stroke: #0077b6;
    stroke-width: 0;
}

.benefit-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.benefit-item p {
    color: #333;
    line-height: 1.6;
}

/* Секция энергетических решений */
.energy-solutions {
    padding: 1rem 0;
}

.energy-solutions-content {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 3rem;
    align-items: center;
}

.energy-solutions-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.energy-solutions-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    max-height: 300px;
    object-fit: cover;
}

/* Секция новостей */
.news-section {
    padding: 1rem 0;
    margin-top: 2rem;
}

.news-section h2 {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #0073aa;
}

.news-carousel {
    position: relative;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Сетка для архива новостей (2 колонки) */
.news-archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.news-card {
    position: relative;
    background: #4A90E2;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 300px;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.news-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.85) 90%, rgba(0,0,0,0.95) 100%);
    z-index: 1;
    border-radius: 10px;
}

.news-card-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    min-height: 100%;
}

.news-card-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.news-card-description {
    flex: 1;
    max-height: 120px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.5rem;
    margin-top: 0.5rem;
    position: relative;
    /* Кастомный скроллбар */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
    /* Градиент внизу для плавного перехода */
    mask-image: linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
}

.news-card-description::-webkit-scrollbar {
    width: 4px;
}

.news-card-description::-webkit-scrollbar-track {
    background: transparent;
}

.news-card-description::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
}

.news-card-description::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.news-card .entry-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    /* Ограничиваем заголовок до 2 строк */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

.news-card .entry-title a {
    color: #fff;
    text-decoration: none;
}

.news-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.4;
    /* Ограничиваем заголовок до 2 строк */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

.news-card h3 a {
    color: #fff;
    text-decoration: none;
}

.news-card .entry-content p,
.news-card p {
    color: #fff;
    margin-bottom: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    line-height: 1.6;
    font-size: 1rem;
}

.news-card-description p {
    color: #fff;
    margin-bottom: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    line-height: 1.6;
    font-size: 1rem;
    padding-bottom: 0.5rem;
}


.news-card .read-more {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #4A90E2;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    flex-shrink: 0;
    margin-top: auto;
    position: relative;
    z-index: 4;
}

.news-card .read-more:hover {
    background: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}

.news-card .entry-content {
    flex: 1;
    margin-bottom: 0;
}

/* Заголовок архива */
.archive-header {
    margin-bottom: 3rem;
}

.archive-title {
    font-size: 3rem;
    font-weight: 700;
    color: #4A90E2;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.archive-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    background: #fff;
    color: #4A90E2;
    text-decoration: none;
    border: 2px solid #4A90E2;
    border-radius: 10px;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 1rem;
    min-width: 44px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.pagination a:hover {
    background: #4A90E2;
    color: #fff;
    border-color: #4A90E2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.pagination .current,
.pagination span.current {
    background: #4A90E2;
    color: #fff;
    border-color: #4A90E2;
    cursor: default;
}

.pagination .prev,
.pagination .next {
    padding: 0.75rem 1.5rem;
}

/* Стили для стандартной пагинации WordPress */
.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.page-numbers a,
.page-numbers span {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    background: #fff;
    color: #4A90E2;
    text-decoration: none;
    border: 2px solid #4A90E2;
    border-radius: 10px;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 1rem;
    min-width: 44px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.page-numbers a:hover {
    background: #4A90E2;
    color: #fff;
    border-color: #4A90E2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.page-numbers .current {
    background: #4A90E2;
    color: #fff;
    border-color: #4A90E2;
    cursor: default;
}

/* Секция подходящих решений */
.suitable-solutions {
    padding: 1rem 0;
}

.suitable-solutions h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.suitable-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.suitable-card {
    position: relative;
    min-height: 400px;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-align: center;
    display: block;
    text-decoration: none;
    color: inherit;
}

.suitable-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.suitable-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    z-index: 1;
}

.suitable-card h3 {
    position: relative;
    z-index: 2;
    color: #000;
    font-size: 1rem;
    font-weight: 400;
    background-color: #fff;
    border-radius: 10px;
    padding: 1rem 0;
}

/* CTA секция */
.cta-section {
    position: relative;
    min-height: 500px;
    display: flex;
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1110px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.cta-content h2 {
    max-width: 50%;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    color: #fff;
    text-align: left;
}

.cta-content p {
    max-width: 50%;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    text-align: left;
}

.btn-large {
    max-width: 350px;
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #30b7ff;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.3s;
    box-shadow: 0 0 10px #30b7ff;
    margin-left: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #fff;
}

.btn-large svg {
    width: 25px;
    height: auto;
    fill: #fff;
    stroke: #fff;
    color: #fff;
}
.btn-large span {
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
}

.btn-large:hover {
    background: #357ABD;
}

/* Стили для футера */
.site-footer {
    background-color: #0077b6;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 30% 30% 40%;
    /* gap: 3rem; */
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fff;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #555;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.footer-social a:hover {
    background: #4A90E2;
}

/* Стили для контактов в футере */
.footer-call-now {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.footer-phone-wrapper {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-phone-link {
    color: #fff;
    font-weight: bold;
}

.footer-phone-link:hover {
    color: #fff;
    opacity: 0.8;
}

/* Стили для информации о компании в футере */
.footer-company-name {
    font-weight: bold;
    color: #fff;
    margin-bottom: 1.5rem;
    text-align: right;
}

.footer-privacy {
    margin-bottom: 0.5rem;
    text-align: right;
}

.footer-address {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: right;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* ============================================
   СТРАНИЦА "ДЛЯ БИЗНЕСА"
   ============================================ */

/* Hero секция для бизнеса */
.business-hero {
    padding: 4rem 0;
    background: #fff;
}

.business-hero-content {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 4rem;
    align-items: center;
}

.business-hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #4A90E2;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.btn-business-hero {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: #4A90E2;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    font-size: 1.1rem;
    border: 2px solid #fff;
    transition: all 0.3s;
}

.btn-business-hero svg {
    width: 24px;
    height: 24px;
    background: #fff;
    color: #4A90E2;
    border-radius: 50%;
    padding: 4px;
}

.btn-business-hero:hover {
    background: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.business-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

/* Секция ключевых преимуществ */
.business-benefits {
    padding: 4rem 0;
}

.benefits-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: #fff;
    padding: 1.5rem 1rem;
    border-radius: 10px;
    border: 2px solid #4A90E2;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.benefit-card-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}
.benefit-card-icon svg {
    width: 60px;
    height: 60px;
    fill: #4A90E2;
    stroke: #4A90E2;
    color: #4A90E2;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Секция решений для предприятий */
.business-solutions {
    padding: 4rem 0;
    background: #fff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4A90E2;
    text-align: center;
    margin-bottom: 3rem;
}

.solutions-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.solution-card-item {
    position: relative;
    min-height: 400px;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.solution-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.solution-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    z-index: 1;
}

.solution-card-content {
    position: relative;
    z-index: 2;
    color: #fff !important;
    width: 100%;
}

.solution-card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff !important;
}

.solution-card-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: #fff !important;
}

.solution-card-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #4A90E2;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    transition: background 0.3s;
}

.solution-card-link:hover {
    background: #357ABD;
}

/* Секция экономии и инвестиций */
.business-savings {
    padding: 4rem 0;
}

.savings-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.savings-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.savings-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4A90E2;
    margin-bottom: 1rem;
}

.savings-text h3 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 1.5rem;
}

.savings-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.savings-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.metric-item {
    text-align: center;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: #4A90E2;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.9rem;
    color: #666;
}

.btn-savings {
    display: inline-block;
    padding: 1rem 2rem;
    background: #4A90E2;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    font-size: 1.1rem;
    border: 2px solid #fff;
    transition: all 0.3s;
}

.btn-savings:hover {
    background: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

/* Секция преимуществ для компаний - Аккордеон */
.business-advantages {
    padding: 4rem 0;
    background: #fff;
}

.advantages-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid #e0e0e0;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s;
}

.accordion-item:first-child {
    border-top: 1px solid #e0e0e0;
    border-radius: 10px 10px 0 0;
}

.accordion-item:last-child {
    border-radius: 0 0 10px 10px;
    margin-bottom: 0;
}

.accordion-item:only-child {
    border-radius: 10px;
}

.accordion-item.active {
    border-color: #4A90E2;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.1);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: #f8f9fa;
    transition: background 0.3s;
}

.accordion-item.active .accordion-header {
    background: #fff;
}

.accordion-header:hover {
    background: #e9ecef;
}

.accordion-item.active .accordion-header:hover {
    background: #f8f9fa;
}

.accordion-title {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
    flex: 1;
}

.accordion-chevron {
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.3s;
    color: #4A90E2;
}

.accordion-item.active .accordion-chevron {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.accordion-content p {
    color: #666;
    line-height: 1.8;
    margin: 0;
    padding-top: 1rem;
}

/* Адаптивность для страницы "Для бизнеса" */
@media (max-width: 1024px) {
    .business-hero-content {
        grid-template-columns: 1fr;
    }
    
    .business-hero-text h1 {
        font-size: 2.5rem;
    }
    
    .benefits-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solutions-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .savings-content {
        grid-template-columns: 1fr;
    }
    
    .savings-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .business-hero-text h1 {
        font-size: 2rem;
    }
    
    .benefits-cards,
    .solutions-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .savings-metrics {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Стили для записей */
.post-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.post-thumbnail {
    margin-bottom: 1rem;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.entry-header {
    margin-bottom: 1rem;
}

.entry-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.entry-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.entry-title a:hover {
    color: #0073aa;
}

.entry-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.entry-content {
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #4A90E2;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.3s;
}

.read-more:hover {
    background: #357ABD;
}

/* Стили для архива */
.archive-header {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding-top: 1rem;
    border-bottom: 2px solid #eee;
}

.archive-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.archive-description {
    font-size: 1.1rem;
    color: #666;
}

/* Стили для страницы 404 */
.error-404 {
    text-align: center;
    padding: 4rem 0;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #4A90E2;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.3s;
}

.button:hover {
    background: #357ABD;
}

/* Адаптивность */
@media (max-width: 1024px) {
    /* Адаптация футера для планшетов */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-section:last-child {
        grid-column: 1 / -1;
    }
    
    .footer-company-name,
    .footer-privacy,
    .footer-address {
        text-align: center;
    }
    
    .benefits-grid,
    .suitable-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Адаптация hero-секции для планшетов */
    .hero-banner {
        height: auto;
        min-height: 80vh;
        padding: 4rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-features li {
        font-size: 1.05rem;
    }
    
    .btn-large {
        max-width: 100%;
        margin-left: 0;
    }
    
    .hero-background-video {
        min-width: 100%;
        min-height: 100%;
    }
    
    /* Адаптация CTA секции для планшетов */
    .cta-section {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .cta-content h2 {
        max-width: 80%;
        font-size: 2.2rem;
    }
    
    .cta-content p {
        max-width: 80%;
        font-size: 1.1rem;
    }
    
    .cta-content .btn-large {
        max-width: 100%;
        margin-left: 0;
    }
    
    .ready-solutions h2,
    .benefits-section h2,
    .news-section h2,
    .suitable-solutions h2 {
        font-size: 2rem;
    }
}

/* Кнопка бургер-меню */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle .hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    /* Увеличиваем отступ сверху для мобильной версии */
    body {
        padding-top: 50px;
    }
    
    .site-header {
        top: 0;
        padding: 1rem 0;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 1rem;
        position: relative;
    }
    
    /* Показываем кнопку бургер-меню на мобильных */
    .mobile-menu-toggle {
        display: flex;
        order: 2;
        margin-left: auto;
    }
    
    /* Скрываем меню по умолчанию на мобильных */
    .main-navigation {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e0e0e0;
    }
    
    /* Показываем меню при открытии */
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        text-align: left;
        width: 100%;
        list-style: none;
    }
    
    .main-navigation ul li {
        border-bottom: 1px solid #e0e0e0;
    }
    
    .main-navigation ul li:last-child {
        border-bottom: none;
    }
    
    .main-navigation a {
        display: block;
        padding: 1rem;
        color: #333;
        text-decoration: none;
        transition: background-color 0.3s, color 0.3s;
    }
    
    .main-navigation a:hover {
        background-color: #f8f9fa;
        color: #4A90E2;
    }
    
    /* Скрываем правую часть на мобильных, показываем в меню */
    .header-right {
        display: none;
        width: 100%;
        order: 4;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e0e0e0;
    }
    
    .main-navigation.active ~ .header-right,
    .header-right.active {
        display: flex;
    }
    
    .header-phone {
        padding: 1rem;
        text-align: center;
        background-color: #f8f9fa;
        border-radius: 8px;
    }
    
    .header-right .btn-primary {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
    
    /* Мобильная адаптация hero-секции */
    .hero-banner {
        height: auto;
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .hero-features {
        margin-bottom: 1.5rem;
        padding: 0;
    }
    
    .hero-features li {
        font-size: 0.95rem;
        padding: 0.4rem 0;
        line-height: 1.5;
    }
    
    .btn-large {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .btn-large svg {
        width: 20px;
        height: 20px;
    }
    
    .btn-large span {
        font-size: 0.95rem;
    }
    
    .ready-solutions h2,
    .benefits-section h2,
    .news-section h2,
    .suitable-solutions h2 {
        font-size: 1.8rem;
    }
    
    .experience-text h2,
    .energy-solutions-text h2 {
        font-size: 1.5rem;
    }
    
    /* Мобильная адаптация CTA секции */
    .cta-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .cta-content {
        padding: 0 15px;
    }
    
    .cta-content h2 {
        max-width: 100%;
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .cta-content p {
        max-width: 100%;
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .cta-content .btn-large {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .experience-content-top,
    .experience-content-bottom,
    .energy-solutions-content,
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid,
    .suitable-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-archive-grid {
        grid-template-columns: 1fr;
    }
    
    /* Адаптация футера для мобильных */
    .site-footer {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-call-now {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-phone-wrapper {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-menu {
        text-align: center;
    }
    
    .footer-menu li {
        margin-bottom: 0.75rem;
    }
    
    .footer-company-name {
        text-align: center !important;
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-privacy {
        text-align: center !important;
        margin-bottom: 1rem;
    }
    
    .footer-address {
        text-align: center !important;
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
        line-height: 1.6;
        padding: 0 1rem;
    }
    
    .experience-images {
        grid-template-columns: 1fr;
    }
    
    .solution-card {
        min-height: 300px;
    }
    
    .solution-card h3 {
        font-size: 1.5rem;
    }
    
    .suitable-card {
        min-height: 200px;
    }
    
    .suitable-card h3 {
        font-size: 1.1rem;
    }
    
    .benefit-item {
        padding: 1.5rem;
    }
    
    .benefit-item h3 {
        font-size: 1.3rem;
    }
}

/* ============================================
   СТРАНИЦА "ЧАСТНЫМ ЛИЦАМ"
   ============================================ */

/* Hero секция для частных лиц */
.private-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: #fff;
    margin-bottom: 1rem;
}

.private-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.private-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.private-hero-content h1, .private-hero-content p {
    font-size: 3.5rem;
    /* margin-bottom: 1.5rem; */
    line-height: 1.2;
    font-weight: 700;
    color: #4A90E2;
    text-shadow: none;
}
.private-hero-content p{
    color: #fff;
}

.private-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.btn-private-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: #30b7ff;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
    margin-bottom: 3rem;
    box-shadow: 0px 0px 19px 0px rgba(48, 183, 255, 0.45);
}

.btn-private-hero svg {
    width: 24px;
    height: 24px;
}

.btn-private-hero:hover {
    background: #6BB6D6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(135, 206, 235, 0.3);
}

.private-problems {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.private-problem-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    /* background: rgba(255, 255, 255, 0.1); */
    padding: 1rem 1.5rem;
    border-radius: 10px;
    /* backdrop-filter: blur(10px); */
    width: 600px;
}

.private-problem-item svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;


    color: #4A90E2;
}

.private-problem-item p {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    font-size: 1.2rem;
    text-align: left;
}

/* Секция "Как работает" */
.how-works-section {
    padding: 4rem 0;
    background: #fff;
}

.how-works-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}
.how-works-header svg{
    width: 100px;
    height: 100px;
}

.how-works-icon {
    width: 48px;
    height: 48px;
}

.how-works-header h2 {
    font-size: 2.5rem;
    color: #4A90E2;
    margin: 0;
    font-weight: 600;
}

.how-works-text-top {
    margin-bottom: 3rem;
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
}

.how-works-text-top p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
}

.how-works-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.law-block {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #4A90E2;
}

.law-block h3 {
    font-size: 1.5rem;
    color: #4A90E2;
    margin-bottom: 1rem;
    font-weight: 600;
}

.law-block p {
    color: #666;
    margin: 0;
}

.how-works-diagram {
    position: relative;
}

.how-works-diagram img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.diagram-components {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.diagram-component-item {
    border-bottom: 1px solid #e0e0e0;
    overflow: hidden;
}

.diagram-component-item:first-child {
    border-top: 1px solid #e0e0e0;
    border-radius: 10px 10px 0 0;
}

.diagram-component-item:last-child {
    border-radius: 0 0 10px 10px;
}

.diagram-component-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    background: #f8f9fa;
    transition: background 0.3s;
}

.diagram-component-header:hover {
    background: #e9ecef;
}

.component-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #4A90E2;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.diagram-component-header h4 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
}

.component-chevron {
    flex-shrink: 0;
    transition: transform 0.3s;
}

.diagram-component-item.active .component-chevron {
    transform: rotate(180deg);
}

.diagram-component-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem;
}

.diagram-component-item.active .diagram-component-content {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.diagram-component-content p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Секция консультации */
.consultation-section {
    padding: 4rem 0;
    background: #fff;
}

.consultation-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #4A90E2;
}

.consultation-box svg {
    width: 64px;
    height: 64px;
    margin: 0 auto 2rem;
    color: #4A90E2;
}

.consultation-questions {
    margin-bottom: 2rem;
    text-align: left;
}

.consultation-questions p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.consultation-questions p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #4A90E2;
    border-radius: 2px;
}

.consultation-text {
    font-size: 1rem;
    color: #333;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: left;
}

.btn-consultation {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(180deg, #4A90E2 0%, #357ABD 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.btn-consultation svg {
    width: 24px;
    height: 24px;
    color: #fff;
    margin: 0;
}

.btn-consultation:hover {
    background: linear-gradient(180deg, #357ABD 0%, #2a5f8f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 144, 226, 0.4);
}

/* Секция типов станций */
.station-types-section {
    padding: 4rem 0;
    background: #fff;
}

.station-types-section h2 {
    font-size: 2.5rem;
    color: #4A90E2;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.station-types-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.station-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.station-type-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s;
}

.station-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.station-type-card h3 {
    font-size: 1.5rem;
    color: #4A90E2;
    margin-bottom: 1rem;
    font-weight: 600;
}

.station-type-card p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* Адаптивность для страницы "Частным лицам" */
@media (max-width: 1024px) {
    .how-works-content {
        grid-template-columns: 1fr;
    }
    
    .station-types-grid {
        grid-template-columns: 1fr;
    }
    
    .private-problems {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .private-hero-content h1 {
        font-size: 2.8rem;
    }
    
    .private-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .private-problem-item {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    /* Мобильная адаптация hero-секции для частных лиц */
    .private-hero {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .private-hero-content {
        padding: 0 15px;
    }
    
    .private-hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .private-hero-content p {
        font-size: 1.8rem;
    }
    
    .private-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .btn-private-hero {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        margin-bottom: 2rem;
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }
    
    .btn-private-hero svg {
        width: 20px;
        height: 20px;
    }
    
    .private-problems {
        gap: 1rem;
        margin-top: 1.5rem;
        width: 100%;
    }
    
    .private-problem-item {
        width: 100%;
        max-width: 100%;
        padding: 0.875rem 1rem;
        flex-wrap: wrap;
    }
    
    .private-problem-item svg {
        width: 24px;
        height: 24px;
    }
    
    .private-problem-item p {
        font-size: 0.95rem;
        line-height: 1.4;
        flex: 1;
        min-width: 0;
    }
    
    .how-works-header h2 {
        font-size: 2rem;
    }
    
    .station-types-section h2 {
        font-size: 2rem;
    }
    
    .consultation-box {
        padding: 2rem 1.5rem;
    }
}

/* ============================================
   СТРАНИЦА "О КОМПАНИИ"
   ============================================ */

/* Hero секция */
.about-hero {
    padding: 2rem 0;
    background: #fff;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    color: #4A90E2;
    text-align: left;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-hero-image {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
}

.about-hero-image img {
    width: 100%;
    max-height: 550px;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Секция контактов */
.about-contacts {
    padding: 4rem 0;
    background: #fff;
}

.contacts-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #4A90E2;
    margin-bottom: 2rem;
    text-align: left;
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.office-hours {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
    line-height: 1.6;
    border-bottom: 1px solid #9b9b9b;
    padding-bottom: 1rem;
}

.contact-address,
.contact-phone,
.contact-email {
    font-size: 1rem;
    color: #333;
    margin: 0;
    line-height: 1.6;
}
.contact-address{
    padding-bottom: 1rem;
    border-bottom: 1px solid #9b9b9b;

}

.contact-address strong,
.contact-phone strong,
.contact-email strong {
    color: #4A90E2;
    font-weight: 600;
}

.contact-phone a,
.contact-email a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-phone a:hover,
.contact-email a:hover {
    color: #4A90E2;
}

.contact-social-icons {
    display: flex;
    gap: 1rem;
    margin: 0.5rem 0;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    color: #4A90E2;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #4A90E2;
    color: #fff;
    transform: translateY(-2px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.btn-callback {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #30b7ff;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 1rem;
    align-self: flex-start;
}

.btn-callback svg {
    width: 20px;
    height: 20px;
}

.btn-callback:hover {
    background: #6BB6D6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(135, 206, 235, 0.3);
}

.contacts-map {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contacts-map iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

/* Описание компании */
.about-description {
    padding: 4rem 0;
    background: #f8f9fa;
}

.about-text {
    max-width: 1150px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin: 0;
    text-align: left;
}

/* Адаптивность для страницы "О компании" */
@media (max-width: 1024px) {
    .contacts-content {
        grid-template-columns: 1fr;
    }
    
    .contacts-map {
        order: -1;
    }
}

/* Адаптивность для карточек новостей */
@media (max-width: 1024px) {
    .news-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-card {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .news-archive-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card {
        min-height: 300px;
    }
    
    .news-card-content {
        padding: 1.5rem;
    }
    
    .news-card .entry-title,
    .news-card h3 {
        font-size: 1.3rem;
    }
    
    .news-card .entry-content p,
    .news-card p {
        font-size: 0.95rem;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .contacts-title {
        font-size: 2rem;
    }
    
    .about-text p {
        font-size: 1rem;
        text-align: left;
    }
}

/* Страница политики конфиденциальности */
.privacy-policy-page {
    max-width: 1150px;
    margin: 0 auto;
    padding: 2rem 0;
}

.privacy-policy-page .entry-header {
    margin-bottom: 2rem;
}

.privacy-policy-page .entry-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4A90E2;
    margin-bottom: 1rem;
    text-align: center;
}

.privacy-policy-page .entry-content {
    line-height: 1.8;
    color: #333;
}

.privacy-policy-page .entry-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #4A90E2;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.privacy-policy-page .entry-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-policy-page .entry-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.privacy-policy-page .entry-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.privacy-policy-page .entry-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.privacy-policy-page .entry-content a {
    color: #4A90E2;
    text-decoration: none;
    transition: color 0.3s;
}

.privacy-policy-page .entry-content a:hover {
    color: #357ABD;
    text-decoration: underline;
}

.privacy-policy-page .entry-content strong {
    font-weight: 600;
    color: #333;
}

.privacy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.privacy-table th {
    background: #4A90E2;
    color: #fff;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    width: 30%;
    vertical-align: top;
}

.privacy-table td {
    padding: 1rem;
    border-top: 1px solid #e0e0e0;
    vertical-align: top;
}

.privacy-table tr:first-child td {
    border-top: none;
}

.privacy-table ul {
    margin: 0;
    padding-left: 1.5rem;
}

.privacy-table ul li {
    margin-bottom: 0.5rem;
}

/* Адаптивность для страницы политики конфиденциальности */
@media (max-width: 768px) {
    .privacy-policy-page {
        padding: 1rem;
    }
    
    .privacy-policy-page .entry-title {
        font-size: 2rem;
    }
    
    .privacy-policy-page .entry-content h2 {
        font-size: 1.5rem;
    }
    
    .privacy-policy-page .entry-content h3 {
        font-size: 1.3rem;
    }
    
    .privacy-table {
        display: block;
        overflow-x: auto;
    }
    
    .privacy-table th,
    .privacy-table td {
        display: block;
        width: 100%;
    }
    
    .privacy-table th {
        border-bottom: 2px solid #357ABD;
    }
    
    .privacy-table tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        overflow: hidden;
    }
}

/* ============================================
   СТРАНИЦА "ИНВЕСТОРАМ"
   ============================================ */

/* Hero секция для инвесторов */
.investors-hero {
    padding: 4rem 0;
    background: #fff;
}

.investors-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.investors-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.investors-text {
    margin-bottom: 3rem;
    text-align: left;
}

.investors-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

.investors-read-more {
    margin-top: 1.5rem;
    margin-bottom: 0 !important;
}

.investors-link-more {
    color: #4A90E2;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.investors-link-more:hover {
    color: #357ABD;
    text-decoration: underline;
}

.investors-image {
    margin-top: 3rem;
    text-align: center;
}

.investors-image img {
    width: 100%;
    height: 690px;
    border-radius: 10px;
    object-fit: cover;
}

/* Адаптивность для страницы инвесторов */
@media (max-width: 768px) {
    .investors-content h1 {
        font-size: 2rem;
    }
    
    .investors-text p {
        font-size: 1rem;
    }
    
    .investors-hero {
        padding: 2rem 0;
    }
}

/* ============================================
   СТРАНИЦА "ИНВЕСТОРАМ ПОДРОБНЕЕ"
   ============================================ */

/* Hero секция */
.investors-detail-hero {
    padding: 4rem 0;
    background: #fff;
    text-align: center;
}

.investors-detail-title {
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    margin: 0;
}

/* Секция "Почему солнце?" */
.investors-why-solar {
    padding: 4rem 0;
    background: #fff;
}

.investors-why-content {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 4rem;
    align-items: center;
}

.investors-why-image {
    width: 100%;
}

.investors-why-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.investors-why-text {
    display: flex;
    flex-direction: column;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 2rem;
}

.investors-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.investors-benefits-list li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.investors-benefits-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4A90E2;
    font-size: 1.5rem;
    line-height: 1.4;
}

.investors-why-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

/* Секция "Для кого будет ваша СЭС?" */
.investors-who-for {
    padding: 4rem 0;
    background: #f8f9fa;
}

.investors-who-for .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.investors-who-content {
    max-width: 900px;
    margin: 0 auto;
}

.investors-who-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.investors-quote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4A90E2;
    font-style: italic;
    text-align: center;
    margin: 2rem 0 0 0;
    padding: 1.5rem;
    background: #fff;
    border-left: 4px solid #4A90E2;
    border-radius: 5px;
}

/* Секция "Кто заинтересован в СЭС?" */
.investors-interested {
    padding: 4rem 0;
    background: #fff;
}

.investors-interested-content {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 4rem;
    align-items: center;
}

.investors-interested-image {
    width: 100%;
}

.investors-interested-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.investors-interested-text {
    display: flex;
    flex-direction: column;
}

.investors-interested-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

.investors-industries-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.investors-industries-list li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 0.8rem;
}

/* Секция "Как инвестировать в СЭС?" */
.investors-how-invest {
    padding: 4rem 0;
    background: #f8f9fa;
}

.investors-how-invest .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.investors-how-content {
    max-width: 900px;
    margin: 0 auto;
}

.investors-how-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.investors-how-content p:last-child {
    margin-bottom: 0;
}

/* CTA секция */
.investors-cta {
    padding: 4rem 0;
    background: #fff;
    text-align: center;
}

.investors-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4A90E2;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.btn-investors-callback {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #4A90E2;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-investors-callback svg {
    width: 24px;
    height: 24px;
}

.btn-investors-callback:hover {
    background: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

/* Галерея */
.investors-gallery {
    padding: 4rem 0;
    background: #f8f9fa;
}

.investors-gallery-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #4A90E2 #f8f9fa;
}

.investors-gallery-slider::-webkit-scrollbar {
    height: 8px;
}

.investors-gallery-slider::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 4px;
}

.investors-gallery-slider::-webkit-scrollbar-thumb {
    background: #4A90E2;
    border-radius: 4px;
}

.investors-gallery-item {
    flex: 0 0 auto;
    width: 100%;
    max-width: 600px;
    scroll-snap-align: start;
}

.investors-gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

/* Адаптивность для страницы "Инвесторам подробнее" */
@media (max-width: 1024px) {
    .investors-why-content,
    .investors-interested-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .investors-why-image,
    .investors-interested-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .investors-detail-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .investors-why-solar,
    .investors-who-for,
    .investors-interested,
    .investors-how-invest,
    .investors-cta,
    .investors-gallery {
        padding: 2rem 0;
    }
    
    .investors-cta-title {
        font-size: 1.8rem;
    }
    
    .investors-benefits-list li,
    .investors-why-text p,
    .investors-who-content p,
    .investors-interested-text p,
    .investors-how-content p {
        font-size: 1rem;
    }
    
    .investors-gallery-item {
        max-width: 100%;
    }
}

/* ============================================
   СТРАНИЦА "ДЕТАЛЬНОЕ ОПИСАНИЕ ПРОЕКТА"
   ============================================ */

/* Hero секция для детального описания проекта - заголовок + картинка */
.project-detail-hero {
    padding: 4rem 0;
    background: #fff;
}

.project-detail-hero-content {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 4rem;
    align-items: center;
}

.project-detail-hero-text {
    display: flex;
    flex-direction: column;
}

.project-detail-title-large {
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    line-height: 1.1;
    margin: 0;
    display: flex;
    flex-direction: column;
    letter-spacing: -0.02em;
}

.project-detail-title-large .title-line {
    display: block;
}

.project-detail-hero-image {
    width: 100%;
    height: auto;
}

.project-detail-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

/* Блок с описанием под hero */
.project-detail-description-section {
    padding: 2rem 0 4rem;
}

.project-detail-description-content {
    max-width: 100%;
}

.project-detail-description-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1.5rem;
    text-align: center;
}

.project-detail-description-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-detail-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

.project-detail-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

/* Секция проектов по регионам */
.project-regions {
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.project-region-block {
    width: 100%;
    background: #fff;
    border-radius: 10px;
    height: auto;
}

.project-region-block:last-child {
    margin-bottom: 0;
}

.project-region-block h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-align: center;
}

.project-region-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.project-region-text {
    flex: 1;
}

.project-region-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.project-region-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
}

.project-region-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-project-detail {
    display: inline-block;
    padding: 1rem 2rem;
    background: #30b7ff;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid #30b7ff;
}

.btn-project-detail:hover {
    background: #6BB6D6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(48, 183, 255, 0.3);
}

.btn-project-calculate {
    display: inline-block;
    padding: 1rem 2rem;
    background: #4A90E2;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid #4A90E2;
}

.btn-project-calculate:hover {
    background: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.project-region-note {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
}

.project-region-image {
    width: 700px;
    /* width: 100%; */
    height: auto;
}

.project-region-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

/* CTA секция для расчета */
.project-calculate-cta {
    padding: 4rem 0;
    background: #fff;
}

.calculate-cta-box {
    max-width: 800px;
    margin: 0 auto;
    background: #e8f4f8;
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
}

.calculate-cta-box h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1.5rem;
}

.calculate-cta-box p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 2rem;
}

.btn-calculate-form {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: #4A90E2;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-calculate-form svg {
    width: 24px;
    height: 24px;
}

.btn-calculate-form:hover {
    background: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

/* Галерея проектов */
.project-gallery {
    padding: 4rem 0;
    background: #f8f9fa;
}

.project-gallery h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 3rem;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.project-gallery-item {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.project-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-gallery-item:hover img {
    transform: scale(1.05);
}

/* Секция "Нам доверяют" */
.trust-section {
    padding: 4rem 0;
    background: #fff;
}

.trust-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4A90E2;
    text-align: center;
    margin-bottom: 3rem;
}

.trust-logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.trust-logo-item {
    opacity: 0.6;
    transition: opacity 0.3s;
    filter: grayscale(100%);
}

.trust-logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.trust-logo-item img {
    width: 300px;
    height: 250px;
    object-fit: contain;
}

/* Адаптивность для страницы детального описания проекта */
@media (max-width: 1024px) {
    .project-detail-hero-content {
        grid-template-columns: 1fr;
    }
    
    .project-region-block {
        width: 100%;
        padding: 2rem;
    }
    
    .project-region-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .project-region-image {
        width: 100%;
        max-width: 100%;
    }
    
    .project-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-logos {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .project-detail-title-large {
        font-size: 2.5rem;
    }
    
    .project-detail-hero-content {
        grid-template-columns: 1fr;
    }
    
    /* Мобильная адаптация для секции проектов по регионам */
    .project-regions {
        padding: 2rem 0;
        gap: 2rem;
    }
    
    .project-region-block {
        padding: 1.5rem;
        width: 100%;
    }
    
    .project-region-block h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .project-region-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    /* На мобильных всегда: текст сверху, картинка снизу */
    .project-region-content .project-region-text {
        order: 1;
    }
    
    .project-region-content .project-region-image {
        order: 2;
        width: 100%;
        max-width: 100%;
    }
    
    .project-region-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .project-region-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .project-region-buttons {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .btn-project-detail,
    .btn-project-calculate {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
    }
    
    .project-region-note {
        font-size: 0.875rem;
        margin-top: 0.5rem;
    }
    
    .calculate-cta-box {
        padding: 2rem 1.5rem;
    }
    
    .calculate-cta-box h2 {
        font-size: 2rem;
    }
    
    .project-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-logos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-logo-item img {
        width: 100%;
        max-width: 200px;
        height: auto;
    }
}

/* Модальное окно кейса */
.project-case-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    overflow-y: auto;
}

.project-case-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: #fff;
    border-radius: 10px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    margin: 2rem auto;
    overflow-y: auto;
    z-index: 10001;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10002;
    color: #333;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.modal-close:hover {
    color: #4A90E2;
    background: rgba(74, 144, 226, 0.1);
}

.modal-body {
    padding: 3rem;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-align: center;
}

.modal-section {
    margin-bottom: 2rem;
}

.modal-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.modal-image-wrapper {
    margin-bottom: 2rem;
    width: 100%;
}

.modal-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.modal-text-content {
    margin-bottom: 2rem;
}

.modal-text-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

.modal-text-content p:last-child {
    margin-bottom: 0;
}

.modal-button-wrapper {
    text-align: center;
    margin-top: 2rem;
}

.btn-modal-calculate {
    display: inline-block;
    background: #4A90E2;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-modal-calculate:hover {
    background: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

/* Адаптивность для модального окна */
@media (max-width: 768px) {
    .modal-content {
        box-sizing: border-box;
        width: 95%;
        margin: 1rem auto;
        max-height: 80vh;
    }
    
    .modal-body {
        padding: 2rem 1.5rem;
    }
    
    .modal-title {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 35px;
        height: 35px;
    }
}

