* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Quiz Section */
.marquiz__container {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.quiz-invite {
    background-color: #3A715C;
    /* тёплый зелёный */
    padding: 40px 20px;
    text-align: center;
}

.quiz-invite-title {
    color: #e8c15f;
    /* золотой */
    font-size: 26px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 auto;
    max-width: 900px;
}


.review-photos {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.review-photos img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-link:hover {
    opacity: 0.85;
}





body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #F9F9F9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.logo-text h1 {
    font-size: 24px;
    color: #3A715C;
    font-weight: 700;
}

.logo-text p {
    font-size: 14px;
    color: #666;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-primary {
    background: #3A715C;
    color: white;
}

.btn-primary:hover {
    background: #2d5647;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #e8c15f;
    color: #333;
}

.btn-secondary:hover {
    background: #e8c15f;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background:
        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600'><polyline fill='none' stroke='%23e8c15f' stroke-width='2' points='0,300 400,200 800,350 1200,250'/></svg>") no-repeat center / cover,
        linear-gradient(135deg, #3A715C);
    background-size: cover;
    padding: 70px 0 40px;
    color: white;
    text-align: center;
    margin-top: 80px;
}

.hero h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.carousel {
    max-width: 800px;
    margin: 40px auto;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    aspect-ratio: 16 / 9;
    /* адаптивная высота */
    position: relative;
    background-size: contain;
    /* не обрезать, вписывать */
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Размытый фон */
.slide-blur-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(5px);
    transform: scale(1);
    z-index: 1;
}

/* Основное изображение */
.slide-main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
}

/* Затемнение для лучшей читаемости текста */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 3;
}

/*Стрелки карусели*/
.carousel-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 4;
    pointer-events: none;
    /* не мешает другим кликам */
    padding: 0 15px;
}

.arrow {
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, transform 0.2s ease;
    user-select: none;
}

.arrow:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

/*Стрелки карусели*/

.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(41, 38, 38, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Benefits Section */
.benefits {
    padding: 20px 0 20px;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #3A715C;
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.benefit-card {
    background: #F9F9F9;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #EEEEEE;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #e8c15f, rgb(218, 172, 111));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.benefit-card h3 {
    font-size: 20px;
    color: #3A715C;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* Quiz Section */
.quiz {
    background: linear-gradient(135deg, #3A715C, #4CAF50);
    padding: 80px 0;
    color: white;
}

.quiz-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.quiz-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.quiz-step.active {
    display: block;
}

.quiz-step h3 {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 600;
}

.quiz-options {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

.quiz-option {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.quiz-option:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.quiz-option.selected {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
}

.quiz-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin-bottom: 30px;
    overflow: hidden;
}

.quiz-progress-bar {
    height: 100%;
    background: white;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.contact-form {
    display: grid;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.form-input {
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    background: white;
    color: #333;
}

.form-input::placeholder {
    color: #999;
}

/* Statistics */
.stats {
    background: #EEEEEE;
    padding: 20px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    background: white;
    padding: 20px 20px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #3A715C;
    margin-bottom: 10px;
}

.stat-text {
    color: #666;
    font-weight: 500;
}

/* Projects */
.projects {
    padding: 80px 0;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: #F9F9F9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 250px;
    background: linear-gradient(45deg, #E6C79C, #D9B382);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    font-weight: 600;
}

.project-content {
    padding: 25px;
}

.project-title {
    font-size: 20px;
    font-weight: 600;
    color: #3A715C;
    margin-bottom: 10px;
}

.project-specs {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-price {
    font-size: 24px;
    font-weight: 700;
    color: #3A715C;
}

/* Process */
.process {
    background: #EEEEEE;
    padding: 20px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 20px 20px;
    background: white;
    border-radius: 20px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #3A715C;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: #3A715C;
    margin-bottom: 10px;
    font-weight: bold;
}

.step-text {
    color: #666;
    font-size: 14px;
    font-weight: 400;
}

/* Reviews */
.reviews {
    padding: 20px 0;
    background: white;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: #F9F9F9;
    padding: 30px;
    border-radius: 20px;
    border-left: 5px solid #ad8e3e;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e8c15f, #e8c15f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.review-name {
    font-weight: 600;
    color: #3A715C;
}

.review-text {
    color: #666;
    line-height: 1.6;
    font-style: italic;
}

.stars {
    color: #E6C79C;
    margin-bottom: 15px;
    font-size: 20px;
}

/* Footer */
.footer {
    background: #3A715C;
    color: white;
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #e8c15f;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Mobile Styles */
@media (max-width: 768px) {

    .benefits {
        padding: 20px 0;
        background: white;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .carousel {
        margin: 20px auto;
    }

    .carousel-slide {
        height: 300px;
        aspect-ratio: 4 / 3;
        padding: 10px;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }

    .header-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .benefits-grid,
    .projects-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .header {
        position: static;
        box-shadow: none;
    }

    .hero {
        margin-top: 4px;
        padding: 20px 0 40px;
    }

    .arrow {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}



@media (max-width: 576px) {
    body {
        font-size: 14px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .logo-text p {
        font-size: 12px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .benefit-card h3 {
        font-size: 16px;
        font-weight: bold;
    }

    .benefit-card p {
        font-size: 15px;
    }

    .quiz-step h3 {
        font-size: 20px;
    }

    .project-title {
        font-size: 16px;
    }

    .project-price {
        font-size: 20px;
    }

    .review-name {
        font-size: 14px;
    }

    .review-text {
        font-size: 13px;
    }

    .step-title {
        font-size: 16px;
        font-weight: 600;
        color: #3A715C;
        margin-bottom: 10px;
        font-weight: bold;
    }

    .step-text {
        color: #666;
        font-size: 14px;
        font-weight: 400;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-text {
        font-size: 15px;
    }

    .footer-section h4 {
        font-size: 16px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 13px;
    }
}