/* ============================================================
   workshop52.ru — Стили главной страницы (index.html)
   ============================================================ */

/* ===== ГЕРОЙ (классический) ===== */
.hero-main {
    padding: 60px 0 70px;
    background: linear-gradient(135deg, #eef2f7 0%, #ffffff 100%);
    text-align: center;
}

.hero-main h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.hero-main h1 .highlight {
    color: inherit;
    background: transparent;
    padding: 0;
}

.hero-main p {
    font-size: 20px;
    color: #4a4a5e;
    max-width: 600px;
    margin: 0 auto 32px;
}

/* ===== ГЕРОЙ С ФОРМОЙ (2 КОЛОНКИ) ===== */
.hero-main-two {
    padding: 60px 0 70px;
    background: linear-gradient(135deg, rgba(238, 242, 247, 0.9) 0%, rgba(255, 255, 255, 0.92) 100%),
        url('/assets/Background1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-two-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 50px;
    align-items: center;
}

.hero-two-left h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.hero-two-left h1 .highlight {
    color: inherit;
    background: transparent;
    padding: 0;
}

.hero-two-left .sub {
    font-size: 18px;
    color: #4a4a5e;
    margin-bottom: 8px;
}

.hero-two-left .desc {
    font-size: 16px;
    color: #5a5a72;
    margin-bottom: 16px;
}

.hero-two-left .badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-two-left .badges span {
    background: #e8edf4;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    color: #2a2a42;
}

.hero-form {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaef;
}

.hero-form .form-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
    color: #1a1a2e;
}

.hero-form .form-title .highlight {
    color: #f5a623;
}

.hero-form .form-sub {
    font-size: 14px;
    color: #6a6a82;
    margin-bottom: 20px;
}

.hero-form label {
    font-weight: 600;
    font-size: 13px;
    display: block;
    margin-bottom: 4px;
    color: #4a4a5e;
}

.hero-form input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #dce3ed;
    background: #f8f9fb;
    color: #1a1a2e;
    font-size: 16px;
    margin-bottom: 16px;
    outline: none;
    transition: 0.2s;
    font-family: inherit;
}

.hero-form input:focus {
    border-color: #f5a623;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.10);
}

.hero-form input::placeholder {
    color: #aaaabc;
}

.hero-form .btn {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    margin-bottom: 12px;
}

.hero-form .privacy {
    font-size: 12px;
    color: #8a8aa2;
    text-align: center;
    line-height: 1.4;
}

.hero-form .privacy a {
    color: #f5a623;
    text-decoration: none;
}

.hero-form .privacy a:hover {
    text-decoration: underline;
}

/* ===== НАПРАВЛЕНИЯ ===== */
.directions {
    padding: 60px 0 80px;
    background: #ffffff;
}

.directions h2 {
    font-size: 34px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.directions .sub {
    text-align: center;
    font-size: 18px;
    color: #5a5a72;
    margin-bottom: 48px;
}

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

.dir-card {
    background: #f8f9fb;
    border-radius: 20px;
    padding: 32px 20px 28px;
    text-align: center;
    border: 1px solid #eaeaef;
    transition: 0.3s ease;
    text-decoration: none;
    color: #1a1a2e;
    display: block;
}

.dir-card:hover {
    border-color: #f5a623;
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(245, 166, 35, 0.12);
}

.dir-card .icon {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

.dir-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.dir-card p {
    font-size: 14px;
    color: #5a5a72;
    margin-bottom: 12px;
    line-height: 1.4;
}

.dir-card .meta {
    font-size: 13px;
    color: #6a6a82;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.dir-card .meta span {
    background: #eaeaef;
    padding: 2px 12px;
    border-radius: 40px;
}

.dir-card .price-tag {
    display: inline-block;
    margin-top: 14px;
    font-weight: 800;
    font-size: 22px;
    color: #f5a623;
}

.dir-card .price-tag small {
    font-weight: 400;
    font-size: 14px;
    color: #6a6a82;
}

.dir-card .more {
    display: inline-block;
    margin-top: 8px;
    font-weight: 700;
    font-size: 14px;
    color: #f5a623;
    text-decoration: none;
    transition: transform 0.2s, color 0.2s;
}

.dir-card:hover .more {
    color: #e0951a;
    transform: translateX(2px);
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.benefits {
    padding: 60px 0;
    background: #f8f9fb;
}

.benefits h2 {
    font-size: 34px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

.benefit-item .icon {
    font-size: 36px;
    display: block;
    margin-bottom: 10px;
}

.benefit-item h4 {
    font-size: 16px;
    font-weight: 700;
}

.benefit-item p {
    font-size: 14px;
    color: #5a5a72;
}

/* ===== ПОДПИСКА ===== */
.subscribe {
    padding: 60px 0;
    background: #1a1a2e;
    color: #fff;
    text-align: center;
}

.subscribe h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 8px;
}

.subscribe p {
    color: #b0b0cc;
    margin-bottom: 28px;
}

.subscribe-form {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.subscribe-form input {
    flex: 1;
    min-width: 200px;
    padding: 14px 20px;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 16px;
    outline: none;
}

.subscribe-form input::placeholder {
    color: #8888aa;
}

.subscribe-form input:focus {
    border-color: #f5a623;
}

.subscribe-form .btn {
    padding: 14px 32px;
}

.subscribe .privacy {
    font-size: 13px;
    color: #6a6a82;
    margin-top: 16px;
}

.subscribe .privacy a {
    color: #f5a623;
    text-decoration: none;
}

/* ===== ОТЗЫВЫ ===== */
.reviews {
    padding: 60px 0;
    background: #ffffff;
}

.reviews h2 {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

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

.review-card {
    background: #f8f9fb;
    border-radius: 16px;
    padding: 24px 20px;
    border: 1px solid #eaeaef;
}

.review-card .review-text {
    font-size: 15px;
    color: #1a1a2e;
    line-height: 1.6;
    margin-bottom: 12px;
    font-style: italic;
}

.review-card .review-text::before {
    content: '"';
    color: #f5a623;
    font-size: 20px;
    font-weight: 700;
}

.review-card .review-text::after {
    content: '"';
    color: #f5a623;
    font-size: 20px;
    font-weight: 700;
}

.review-card .review-author {
    font-size: 13px;
    color: #6a6a82;
    font-weight: 600;
}

/* ===== БЛОК ПОМОЩИ С ВЫБОРОМ ===== */
.help-block {
    text-align: center;
    margin-top: 40px;
    padding: 24px;
    background: #f8f9fb;
    border-radius: 16px;
    border: 1px solid #eaeaef;
}

.help-block p {
    font-size: 16px;
    color: #4a4a5e;
    margin-bottom: 12px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 992px) {
    .hero-two-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-two-left {
        text-align: center;
    }

    .hero-two-left .badges {
        justify-content: center;
    }

    .hero-form {
        max-width: 480px;
        margin: 0 auto;
    }

    .directions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero-main h1 {
        font-size: 34px;
    }
}

@media (max-width: 820px) {
    .reviews-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .hero-main-two {
        padding: 40px 0 50px;
    }

    .hero-two-left h1 {
        font-size: 28px;
    }

    .hero-two-left .sub {
        font-size: 16px;
    }

    .hero-two-left .desc {
        font-size: 14px;
    }

    .hero-form {
        padding: 24px 18px;
    }

    .hero-form .form-title {
        font-size: 17px;
    }

    .hero-form .btn {
        font-size: 16px;
        padding: 14px;
    }

    .hero-main h1 {
        font-size: 28px;
    }

    .hero-main p {
        font-size: 17px;
    }

    .directions-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }

    .benefits-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .subscribe-form {
        flex-direction: column;
        padding: 0 16px;
    }

    .subscribe-form input {
        min-width: auto;
    }

    .directions h2,
    .benefits h2 {
        font-size: 26px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card {
        padding: 18px 16px;
    }

    .help-block {
        padding: 16px;
    }
}

@media (max-width: 420px) {
    .dir-card {
        padding: 24px 16px;
    }
}
