* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a2e;
    background: #fff;
    line-height: 1.6;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid #f0f0f0;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #2563eb;
}

.header__tagline {
    font-size: 12px;
    color: #6b7280;
    display: block;
}

.header__phone {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    text-decoration: none;
}

.header__worktime {
    font-size: 13px;
    color: #6b7280;
}

.header__contacts {
    text-align: right;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
}

.btn--primary {
    background: #2563eb;
    color: #fff;
}

.btn--primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    border: 2px solid #e5e7eb;
    color: #374151;
}

.btn--outline:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.btn--lg {
    padding: 16px 36px;
    font-size: 17px;
}

/* Hero */
.hero {
    margin-top: 70px;
    padding: 60px 0 80px;
    background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%);
}

.hero__title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 18px;
    color: #4b5563;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 48px;
}

.hero__note {
    font-size: 14px;
    color: #6b7280;
}

.hero__note a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.hero__stats {
    display: flex;
    gap: 48px;
}

.stat__number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #2563eb;
}

.stat__label {
    font-size: 14px;
    color: #6b7280;
}

/* Section Titles */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 36px;
}

.section-title--light {
    color: #fff;
}

/* Problems */
.problems {
    padding: 60px 0;
}

.problems__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.problem-card {
    background: #f9fafb;
    border: 2px solid #f3f4f6;
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.problem-card:hover {
    border-color: #2563eb;
    background: #eff6ff;
    transform: translateY(-2px);
}

.problem-card__icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.problem-card__text {
    font-size: 14px;
    font-weight: 500;
}

/* Services */
.services {
    padding: 80px 0 120px;
    background: linear-gradient(to bottom, #f9fafb 60%, #1e3a5f);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.service-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.service-card__title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.service-card__desc {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 16px;
}

.service-card__price {
    font-size: 20px;
    font-weight: 700;
    color: #2563eb;
}

.service-card__note {
    font-size: 12px;
    color: #9ca3af;
}

/* Quiz */
.quiz-section {
    padding: 0 0 80px;
    background: linear-gradient(135deg, #1e3a5f 0%, #1a1a2e 100%);
}

.quiz-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.quiz-desc {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 32px;
}

.quiz {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.quiz__step {
    display: none;
}

.quiz__step.active {
    display: block;
}

.quiz__question {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
}

.quiz__options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.quiz__option {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.quiz__option:hover {
    border-color: #2563eb;
    background: #f0f7ff;
}

.quiz__option input {
    margin-right: 12px;
    accent-color: #2563eb;
}

.quiz__option-text {
    font-size: 15px;
}

.quiz__input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    margin-bottom: 12px;
    outline: none;
    font-family: inherit;
}

.quiz__input:focus {
    border-color: #2563eb;
}

.quiz__checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
    margin-bottom: 20px;
}

.quiz__checkbox input {
    accent-color: #2563eb;
}

.quiz__nav {
    display: flex;
    gap: 12px;
}

.quiz__nav .btn {
    flex: 1;
}

.quiz__next, .quiz__submit {
    width: 100%;
}

.quiz__success {
    text-align: center;
}

.quiz__success-icon {
    width: 64px;
    height: 64px;
    background: #10b981;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.quiz__discount {
    margin-top: 16px;
    font-size: 18px;
    color: #2563eb;
}

/* Works */
.works {
    padding: 80px 0;
}

.works__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.work-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.work-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.work-card__images {
    display: flex;
}

.work-card__img {
    flex: 1;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
    position: relative;
}

.work-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.work-card__img span {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.9);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    z-index: 1;
}

.work-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-card__img--before {
    background: #fef2f2;
}

.work-card__img--after {
    background: #f0fdf4;
}

.work-card__img span {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
}

.work-card__desc {
    padding: 16px;
    font-weight: 500;
    text-align: center;
    font-size: 15px;
}

/* Reviews */
.reviews {
    padding: 80px 0;
}

.reviews__rating {
    text-align: center;
    margin-bottom: 40px;
}

.reviews__score-number {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a2e;
    margin-right: 12px;
}

.reviews__score-stars {
    font-size: 28px;
    color: #f59e0b;
    margin-right: 12px;
}

.reviews__score-count {
    font-size: 16px;
    color: #6b7280;
}

.reviews__carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    border-radius: 12px;
}

.reviews__track {
    display: flex;
    transition: transform 0.4s ease;
}

.reviews__slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews__slide img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 12px;
}

.reviews__arrow {
    position: absolute;
    bottom: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: 1px solid #e5e7eb;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.reviews__arrow:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.reviews__arrow--prev { left: 12px; }
.reviews__arrow--next { right: 12px; }

.reviews__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.reviews__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.reviews__dot.active {
    background: #2563eb;
    transform: scale(1.2);
}

.reviews__cta {
    text-align: center;
}

/* Contacts */
.contacts {
    padding: 80px 0;
    background: #f9fafb;
}

.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contacts__item {
    margin-bottom: 20px;
}

.contacts__label {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 4px;
}

.contacts__value {
    font-size: 17px;
    font-weight: 500;
    color: #1a1a2e;
    text-decoration: none;
}

.contacts__map {
    border-radius: 12px;
    overflow: hidden;
}

.contacts__map-card {
    background: #f9fafb;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.contacts__map-pin {
    font-size: 48px;
    margin-bottom: 12px;
}

.contacts__map-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contacts__map-address {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 4px;
}

.contacts__map-worktime {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 24px;
}

.contacts__map-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    padding: 32px 0;
    border-top: 1px solid #e5e7eb;
}

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

.footer__logo {
    font-size: 20px;
    font-weight: 700;
    color: #2563eb;
}

.footer__text {
    font-size: 13px;
    color: #6b7280;
}

.footer__text a {
    color: #6b7280;
}

.footer__contacts a {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    text-decoration: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.modal__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    margin: 20px;
}

.modal__close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e7eb;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.modal-quiz {
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* Responsive */
@keyframes chatPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,99,235,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,99,235,0.7), 0 0 0 10px rgba(37,99,235,0.1); }
}
@media (max-width: 768px) {
    .header__inner {
        flex-wrap: wrap;
        height: auto;
        padding: 12px 0;
        gap: 8px;
    }
    .hero {
        margin-top: 110px;
    }
    .hero__title { font-size: 32px; }
    .hero__actions { flex-direction: column; align-items: flex-start; }
    .hero__stats { flex-direction: column; gap: 20px; }
    .problems__grid { grid-template-columns: repeat(2, 1fr); }
    .works__grid { grid-template-columns: 1fr; }
    .reviews__arrow { width: 36px; height: 36px; font-size: 16px; }
    .services__grid { grid-template-columns: 1fr; }
    .reviews__grid { grid-template-columns: 1fr; }
    .reviews__score-number { font-size: 36px; }
    .reviews__score-stars { font-size: 22px; }
    .contacts__inner { grid-template-columns: 1fr; }
    .section-title { font-size: 28px; }
    .footer__inner { flex-direction: column; gap: 12px; text-align: center; }
}
