* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #fff;
    color: #333;
}

/* Контейнеры общего уровня */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

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

.logo img {
    width: 150px;
}

.contacts p {
    margin: 5px 0;
    font-size: 16px;
}

.contacts i {
    margin-right: 8px;
    color: #007bff;
}

/* Showcase */
.showcase-container {
    padding: 40px 0;
}

.showcase-container h1 {
    text-align: center;
    color: #007bff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.showcase-item {
    display: flex;
    gap: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: #fff;
    padding: 20px;
    overflow: hidden;
}

.text-side {
    flex: 1;
    padding: 20px;
    word-wrap: break-word;
}

.image-side {
    flex: 1;
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.row_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Hero */
.hero-container {
    background: #f4f7fb;
    padding: 40px 0;
}

.hero-container .container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-left {
    flex: 1;
    min-width: 300px;
}

.hero-left h1 {
    font-size: 36px;
    color: #007bff;
    font-weight: 700;
}

.hero-left h2 {
    font-size: 20px;
    margin-top: 10px;
    font-weight: 600;
}

.hero-left p {
    font-size: 16px;
    color: #666;
    margin-top: 10px;
}

.hero-right {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.hero-right h2 {
    font-size: 24px;
    color: #007bff;
    margin-bottom: 20px;
}

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

.messenger-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    font-size: 18px;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-weight: 600;
}

.telegram { background-color: #0088cc; }
.viber { background-color: #665CAC; }
.email { background-color: #f39c12; }
.phone { background-color: #27ae60; }

.messenger-button i {
    margin-right: 10px;
    font-size: 22px;
}

/* Pricing */
.pricing-container {
    background: #f9f9f9;
    padding: 40px 0;
}

.pricing-title {
    text-align: center;
    font-size: 36px;
    color: #007bff;
    margin-bottom: 40px;
}

.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.pricing-card {
    background: #fff;
    padding: 30px;
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: 0.3s;
}

.pricing-card:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.plan-title {
    font-size: 24px;
    color: #007bff;
    margin-bottom: 15px;
}

.plan-image img {
    width: 100%;
    border-radius: 10px;
}

.plan-description {
    font-size: 16px;
    color: #666;
    margin: 20px 0;
}

.plan-price {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    color: #666;
    font-size: 16px;
}

.plan-features li {
    margin-bottom: 10px;
}

/* FAQ */
.faq-container {
    padding: 40px 0;
}

.faq-title {
    font-size: 36px;
    color: #007bff;
    text-align: center;
    margin-bottom: 30px;
}

.faq-item {
    background: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.faq-question {
    font-size: 20px;
    margin-bottom: 10px;
}

.faq-answer {
    font-size: 16px;
    color: #666;
}

/* Statistics */
.statistics {
    background: url('/img/Divio.png') center/cover no-repeat;
    padding: 100px 15px;
    text-align: center;
    position: relative;
}

.statistics::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
}

.statistics .container {
    position: relative;
    color: white;
}

.statistics h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.statistics p {
    font-size: 20px;
    color: #ddd;
    margin-bottom: 30px;
}

.btn-warning {
    background-color: #dcad23;
    border: none;
    padding: 14px 30px;
    font-size: 18px;
    border-radius: 6px;
    transition: 0.3s;
    color: white;
    text-decoration: none;
}

.btn-warning:hover {
    background-color: #b88c1d;
}

/* Results */
.result {
    padding: 100px 15px;
    background: #f8f9fa;
    text-align: center;
}

.result .list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.result .list-item {
    background: white;
    padding: 50px;
    width: calc(50% - 15px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.result h1 {
    font-size: 80px;
    color: #dcad23;
    font-weight: bold;
    margin-bottom: 10px;
}

.result h5 {
    font-size: 18px;
    color: gray;
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    font-size: 16px;
    text-align: center;
}

.social-links a {
    color: #fff;
    margin: 0 10px;
    font-size: 18px;
    text-decoration: none;
}

.social-links a:hover {
    color: #007bff;
}

/* Gallery modal */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 60px;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 10px;
    display: block;
    margin: auto;
}

.close {
    position: absolute;
    top: 20px; right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.gallery-swiper {
    width: 80%;
    height: 80%;
    margin: auto;
}

/* Zoom icon for gallery */
.image-side {
    position: relative;
}

.zoom-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 50px;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}

.image-side:hover .zoom-icon {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .showcase-item {
        flex-direction: column;
    }
    .row_img {
        height: 300px;
    }
    .zoom-icon {
        opacity: 0.5;
    }
    .messenger-grid {
        grid-template-columns: 1fr;
    }
    .hero-container .container {
        flex-direction: column;
    }
    .result .list-item {
        width: 100%;
    }
    .pricing-card {
        width: 90%;
    }
    .footer .container {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
